@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  color: #2E2E3A;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: 'DM Serif Display', serif;
}

.hero-gradient {
  background: linear-gradient(135deg, #F8F9FF 0%, #E8F0FE 100%);
}

.symptom-card:hover .symptom-icon {
  transform: scale(1.1);
  color: #6B46C1;
}

.symptom-card:hover {
  box-shadow: 0 10px 25px -5px rgba(107, 70, 193, 0.1);
}

.comparison-toggle {
  position: relative;
  width: 300px;
  height: 50px;
}

.comparison-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.comparison-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E9D8FD;
  transition: .4s;
  border-radius: 9999px;
}

.comparison-slider:before {
  position: absolute;
  content: "";
  height: 42px;
  width: 42px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.comparison-slider {
  background-color: #B794F4;
}

input:checked+.comparison-slider:before {
  transform: translateX(250px);
}

.comparison-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #4A5568;
}

.left-label {
  left: 20px;
}

.right-label {
  right: 20px;
}

input:checked~.left-label {
  color: white;
}

input:not(:checked)~.right-label {
  color: white;
}

.timeline-item.active .timeline-dot {
  background-color: #6B46C1;
  border-color: #6B46C1;
}

.timeline-item.active .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.floating-product {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.microscope-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(107, 70, 193, 0.1) 0%, rgba(107, 70, 193, 0) 70%);
  pointer-events: none;
}