:root {
  --aligner-hero-bg: radial-gradient(circle at 18% 15%, rgba(106,211,255,0.35), transparent 55%),
                     radial-gradient(circle at 82% 12%, rgba(18,178,160,0.28), transparent 45%),
                     radial-gradient(circle at 50% 85%, rgba(3,15,39,0.18), transparent 65%),
                     #f5fbff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 120px) 0 84px;
  background: var(--aligner-hero-bg);
}

.hero__motion .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: float 14s ease-in-out infinite;
}

.hero__motion .orb--one {
  width: 240px;
  height: 240px;
  left: 5%;
  top: 12%;
  background: linear-gradient(135deg, rgba(106,211,255,0.65), rgba(18,178,160,0.85));
}

.hero__motion .orb--two {
  width: 320px;
  height: 320px;
  right: -6%;
  top: 6%;
  background: linear-gradient(135deg, rgba(18,178,160,0.6), rgba(2,24,48,0.45));
  animation-delay: -5s;
}

.hero__motion .orb--three {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: 25%;
  background: linear-gradient(135deg, rgba(106,211,255,0.55), rgba(18,178,160,0.4));
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-26px,0) scale(1.05); }
}

.hero-container {
  position: relative;
}

.hero__grid {
  display: grid;
  gap: clamp(32px, 6vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.hero__content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  font-weight: 600;
  color: #021830;
  box-shadow: 0 12px 30px rgba(2,24,48,0.1);
  backdrop-filter: blur(12px);
}

.hero__content h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.1;
}

.gradient {
  background: linear-gradient(135deg, #6ad3ff 0%, #12b2a0 50%, #0b1a2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero__cta {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #6ad3ff, #12b2a0);
  color: #fff;
  box-shadow: 0 12px 28px rgba(18,178,160,0.32);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(18,178,160,0.35);
}

.hero-button.outline {
  background: transparent;
  color: #021830;
  box-shadow: inset 0 0 0 2px rgba(106,211,255,0.45);
}

.hero-button.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 12px 28px rgba(18,140,126,0.32);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 24px;
  color: #021830;
}

.hero__stats dt {
  font-size: 1.8rem;
  font-weight: 800;
}

.hero__stats dd {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

.scan-card {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 24px 60px rgba(2,24,48,0.16);
  backdrop-filter: blur(14px);
}

.scan-card__canvas {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 240px;
  margin-bottom: 16px;
  background: radial-gradient(circle at 50% 40%, rgba(106,211,255,0.18), transparent 70%);
  border-radius: 20px;
  overflow: hidden;
}

.scan-card__meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.pulse {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(106,211,255,0.45);
  animation: pulse 4.5s ease-out infinite;
}

.pulse.delayed {
  animation-delay: -2.2s;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.6); }
}

.section {
  padding: clamp(72px, 10vw, 110px) 0;
  background: transparent;
}

.section--alt {
  background: linear-gradient(180deg, rgba(247,252,255,0.96), rgba(234,250,247,0.9));
}

.section__header {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}

.section__header h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 16px;
}

.section__header p {
  font-size: 1.05rem;
  color: var(--muted);
}

.section-nav-wrap {
  position: relative;
  margin: clamp(-60px, -7vw, -40px) auto clamp(40px, 8vw, 70px);
  padding: 0 clamp(16px, 5vw, 32px);
  max-width: 1120px;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  padding: clamp(14px, 3vw, 22px) clamp(18px, 4vw, 36px);
  border-radius: 30px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 60px rgba(2,24,48,0.12);
  backdrop-filter: blur(18px);
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.section-nav::-webkit-scrollbar {
  height: 6px;
}

.section-nav::-webkit-scrollbar-thumb {
  background: rgba(106,211,255,0.4);
  border-radius: 999px;
}

.section-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 18px;
  font-weight: 700;
  color: #021830;
  transition: background .2s ease, transform .2s ease;
  scroll-snap-align: center;
}

.section-nav__link i {
  font-size: 1.2rem;
  color: #12b2a0;
}

.section-nav__link:hover,
.section-nav__link:focus-visible {
  background: rgba(106,211,255,0.14);
  transform: translateY(-2px);
}

.section-nav__link.is-active {
  background: linear-gradient(135deg, rgba(106,211,255,0.22), rgba(18,178,160,0.32));
  box-shadow: inset 0 0 0 1px rgba(106,211,255,0.28);
}

.benefit-grid,
.tray-grid,
.material-grid,
.correction-grid,
.limit-grid,
.care-grid,
.faq-grid {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.benefit-card,
.tray-card,
.material-card,
.correction-card,
.limit-card,
.care-card,
.faq-card {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 40px rgba(2,24,48,0.12);
  backdrop-filter: blur(12px);
}

.benefit-card h3,
.tray-card h3,
.material-card h3,
.correction-card h3,
.limit-card h3,
.care-card h3,
.faq-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.note,
.insight {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(18px, 3vw, 24px);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(106,211,255,0.12), rgba(18,178,160,0.18));
  color: #021830;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(106,211,255,0.2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 4vw, 32px);
}

.timeline-card {
  position: relative;
  padding: clamp(20px, 3vw, 26px);
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 42px rgba(2,24,48,0.16);
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(106,211,255,0.15), rgba(18,178,160,0.15));
  opacity: 0;
  transition: opacity .3s ease;
}

.timeline-card:hover::before,
.timeline-card:focus-within::before {
  opacity: 1;
}

.timeline-card h3 {
  position: relative;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline-card p {
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
}

.journey-visual {
  margin-top: clamp(40px, 6vw, 60px);
  display: flex;
  justify-content: center;
}

.material-grid {
  margin-top: clamp(32px, 6vw, 48px);
}

.bullet {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.bullet li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.98rem;
}

.bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ad3ff, #12b2a0);
}

.care-card.negative {
  background: rgba(2,24,48,0.85);
  color: #e0faff;
}

.care-card.negative .bullet li {
  color: rgba(224,250,255,0.9);
}

.care-card.negative .bullet li::before {
  background: #ff6b6b;
}

.care-visual {
  margin-top: clamp(36px, 6vw, 56px);
  text-align: center;
}

.care-visual svg {
  max-width: 320px;
  width: 100%;
  margin: 0 auto 16px;
}

.doctor-grid {
  display: grid;
  gap: clamp(28px, 6vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.doctor-card {
  justify-self: center;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 44px rgba(2,24,48,0.14);
  text-align: center;
}

.doctor-card img {
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(2,24,48,0.18);
}

.doctor-card figcaption {
  margin-top: 14px;
  font-weight: 600;
  color: #021830;
}

.doctor-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}

.doctor-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.insight {
  font-weight: 500;
}

.faq-grid {
  margin-top: clamp(24px, 5vw, 40px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.contact-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  color: #021830;
  box-shadow: 0 16px 36px rgba(2,24,48,0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-card i {
  font-size: 1.6rem;
  color: #12b2a0;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(2,24,48,0.18);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 88px;
  }

  .section-nav-wrap {
    margin: -36px auto 48px;
  }

  .section__header {
    text-align: left;
  }

  .section-nav {
    border-radius: 24px;
  }

  .scan-card {
    padding: 20px;
  }

  .scan-card__canvas {
    height: 200px;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
  }

  .doctor-grid {
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
