/* ============================================
   Am I ADHD — Premium Design System
   Hims/Hers-inspired · Animated · Elite
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Sora:wght@400;500;600;700;800&display=swap');

/* --- Custom Properties --- */
:root {
  --teal:        #0D6B6E;
  --teal-dark:   #094B4E;
  --teal-light:  #E6F2F2;
  --teal-glow:   rgba(13,107,110,0.15);
  --orange:      #E8704A;
  --orange-dark: #D4593A;
  --orange-glow: rgba(232,112,74,0.15);
  --cream:       #FFF8F0;
  --white:       #FFFFFF;
  --dark:        #1A1A2E;
  --grey:        #6B7280;
  --grey-light:  #F3F4F6;
  --border:      #E5E7EB;

  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:   1240px;
  --section-py:  120px;
  --section-px:  32px;

  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.04);
  --shadow:      0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.1);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.14);
  --shadow-glow: 0 0 60px rgba(13,107,110,0.15);

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.4s var(--ease);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { color: var(--grey); max-width: 640px; }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

section { padding: var(--section-py) 0; position: relative; }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.5s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,112,74,0.3);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--orange-dark), #c94520);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(232,112,74,0.45);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px var(--teal-glow);
}

.btn-secondary::before {
  background: linear-gradient(135deg, var(--teal-dark), #063a3c);
}

.btn-secondary:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(13,107,110,0.35);
}

.btn-secondary:hover::before { opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(26,26,46,0.15);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
  background: var(--teal-light);
}

.btn-sm { padding: 12px 28px; font-size: 14px; }
.btn-lg { padding: 22px 52px; font-size: 18px; }

/* Magnetic button wrapper */
.magnetic-wrap { display: inline-block; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.5s var(--ease);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.logo:hover { transform: scale(1.05); color: var(--teal); }
.logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--teal); }

.nav-cta { margin-left: 8px; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  padding: 4px 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.nav-drawer { display: none; }

/* --- Floating Orbs (Background decoration) --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb-teal {
  background: radial-gradient(circle, rgba(13,107,110,0.25), transparent 70%);
}

.orb-orange {
  background: radial-gradient(circle, rgba(232,112,74,0.2), transparent 70%);
}

.orb-cream {
  background: radial-gradient(circle, rgba(255,248,240,0.8), transparent 70%);
}

/* --- Hero --- */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(13,107,110,0.08);
  backdrop-filter: blur(10px);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  border: 1px solid rgba(13,107,110,0.12);
  letter-spacing: 0.02em;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 1.05;
}

.hero h1 .highlight {
  position: relative;
  color: var(--teal);
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--orange-glow);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 1s 0.8s var(--ease) forwards;
}

@keyframes underline-grow {
  to { transform: scaleX(1); }
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.75;
  color: var(--grey);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Brain Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brain-container {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated rings */
.brain-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0;
  animation: ring-pulse 4s ease-in-out infinite;
}

.brain-ring:nth-child(1) {
  width: 70%;
  height: 70%;
  border-color: rgba(13,107,110,0.15);
  animation-delay: 0s;
}

.brain-ring:nth-child(2) {
  width: 85%;
  height: 85%;
  border-color: rgba(13,107,110,0.1);
  animation-delay: 1s;
}

.brain-ring:nth-child(3) {
  width: 100%;
  height: 100%;
  border-color: rgba(13,107,110,0.05);
  animation-delay: 2s;
}

@keyframes ring-pulse {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1); }
}

/* Floating particles around brain */
.brain-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: float-particle 6s ease-in-out infinite;
}

.brain-particle:nth-child(4) {
  background: var(--teal);
  top: 15%;
  right: 20%;
  animation-delay: 0s;
  width: 10px;
  height: 10px;
}

.brain-particle:nth-child(5) {
  background: var(--orange);
  bottom: 25%;
  left: 10%;
  animation-delay: 1s;
  width: 6px;
  height: 6px;
}

.brain-particle:nth-child(6) {
  background: var(--teal);
  top: 40%;
  left: 5%;
  animation-delay: 2s;
  opacity: 0.6;
}

.brain-particle:nth-child(7) {
  background: var(--orange);
  bottom: 15%;
  right: 15%;
  animation-delay: 3s;
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.brain-particle:nth-child(8) {
  background: var(--teal-dark);
  top: 10%;
  left: 30%;
  animation-delay: 4s;
  width: 5px;
  height: 5px;
}

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10px, -15px) scale(1.2); }
  50% { transform: translate(-5px, -25px) scale(0.8); }
  75% { transform: translate(15px, -10px) scale(1.1); }
}

/* Brain SVG */
.brain-svg {
  width: 55%;
  height: 55%;
  position: relative;
  z-index: 2;
}

.brain-svg svg {
  width: 100%;
  height: 100%;
}

/* Neural path animation */
.neural-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-neural 3s ease-in-out infinite alternate;
}

@keyframes draw-neural {
  to { stroke-dashoffset: 0; }
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 48px 0;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: all var(--transition);
}

.trust-item:hover .trust-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 20px var(--teal-glow);
}

.trust-icon svg { width: 22px; height: 22px; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--orange-glow);
  border-radius: var(--radius-full);
}

.section-header h2 { margin-bottom: 20px; }
.section-header p { font-size: 19px; margin: 0 auto; line-height: 1.7; }

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-light), var(--orange-glow), var(--teal-light));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 48px 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.5s var(--ease);
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(232,112,74,0.3);
  transition: all 0.5s var(--ease);
}

.step-card:hover .step-number {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 32px rgba(232,112,74,0.45);
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all 0.5s var(--ease);
}

.step-card:hover .step-icon { transform: scale(1.1); }
.step-icon svg { width: 32px; height: 32px; }
.step-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.step-card p { margin: 0 auto; font-size: 15px; line-height: 1.7; }

/* --- Features / Why Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--teal), var(--orange));
  transition: height 0.6s var(--ease);
  border-radius: 0 0 4px 0;
}

.feature-card:hover::before { height: 100%; }

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: all 0.5s var(--ease);
}

.feature-card:hover .feature-icon {
  background: var(--teal);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
}

.feature-icon svg { width: 26px; height: 26px; }
.feature-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-content p { font-size: 15px; line-height: 1.7; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.5s var(--ease);
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* 3D tilt is handled by JS */
.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
}

.testimonial-card .quote-mark {
  font-size: 64px;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 17px;
  font-family: var(--font-display);
}

.testimonial-author .name { font-weight: 700; font-size: 15px; color: var(--dark); }
.testimonial-author .role { font-size: 13px; color: var(--grey); }

/* --- Stats / Counter --- */
.stats-section {
  background: var(--teal);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.stat-item h3 .counter-suffix {
  font-size: 2rem;
  opacity: 0.8;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange) 0%, #D4593A 50%, #c94520 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  border-radius: 50%;
  animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  margin: 0 auto 40px;
  max-width: 560px;
}

.cta-section .btn {
  background: var(--white);
  color: var(--orange);
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.cta-section .btn:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.cta-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.cta-teal .btn { color: var(--teal); }
.cta-teal .btn:hover { color: var(--white); }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}

.footer-brand .logo { color: var(--white); font-size: 1.6rem; margin-bottom: 20px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 15px; line-height: 1.8; }

.footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer ul li { margin-bottom: 14px; }

.footer ul a {
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: all var(--transition);
}

.footer ul a:hover { color: var(--white); transform: translateX(4px); display: inline-block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

.acknowledgment {
  background: rgba(0,0,0,0.2);
  padding: 24px 0;
  text-align: center;
}

.acknowledgment p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--teal-light) 0%, var(--cream) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  animation: float-slow 12s ease-in-out infinite;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
  animation: float-slow 10s ease-in-out infinite reverse;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 20px; margin: 0 auto; line-height: 1.7; }

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--orange), var(--teal));
  border-radius: 3px;
}

.timeline-item {
  display: flex;
  gap: 36px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-marker {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 20px var(--teal-glow);
  transition: all 0.5s var(--ease);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.15);
  box-shadow: 0 8px 32px var(--teal-glow);
}

.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all 0.5s var(--ease);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.timeline-content h3 { margin-bottom: 10px; color: var(--teal); }
.timeline-content p { font-size: 15px; line-height: 1.8; max-width: 100%; }
.timeline-content ul { margin-top: 16px; list-style: disc; padding-left: 20px; }
.timeline-content ul li { color: var(--grey); font-size: 15px; margin-bottom: 8px; }

/* --- Symptoms Cards --- */
.symptom-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.symptom-type-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--teal);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.symptom-type-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  transition: height 0.6s var(--ease);
  opacity: 0.03;
}

.symptom-type-card:hover::after { height: 100%; }

.symptom-type-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.symptom-type-card.inattentive { border-top-color: var(--teal); }
.symptom-type-card.inattentive::after { background: var(--teal); }
.symptom-type-card.hyperactive { border-top-color: var(--orange); }
.symptom-type-card.hyperactive::after { background: var(--orange); }
.symptom-type-card.combined { border-top-color: var(--dark); }
.symptom-type-card.combined::after { background: var(--dark); }

.symptom-type-card h3 { margin-bottom: 16px; position: relative; z-index: 1; }

.symptom-type-card ul { list-style: none; padding: 0; position: relative; z-index: 1; }

.symptom-type-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--grey);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.3s var(--ease);
}

.symptom-type-card ul li:hover {
  transform: translateX(4px);
  color: var(--dark);
}

.symptom-type-card ul li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D6B6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.symptom-type-card.hyperactive ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8704A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-color: var(--orange-glow);
}

.symptom-type-card.combined ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-color: rgba(26,26,46,0.08);
}

.symptom-type-card ul li:last-child { border-bottom: none; }

/* Myth cards */
.myths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.myth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.myth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
}

.myth-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.myth-card .myth-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 6px;
}

.myth-card .myth-text { font-weight: 700; color: var(--dark); margin-bottom: 16px; font-size: 16px; }

.myth-card .fact-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 6px;
}

.myth-card .fact-text { color: var(--grey); font-size: 15px; max-width: 100%; line-height: 1.7; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: all 0.5s var(--ease);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.pricing-card.featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.pricing-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(232,112,74,0.3);
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 4px;
}

.pricing-card .price sup { font-size: 1.4rem; vertical-align: super; }
.pricing-card .price-note { font-size: 14px; color: var(--grey); margin-bottom: 28px; }

.pricing-card ul { text-align: left; margin-bottom: 32px; }

.pricing-card ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--grey);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing-card ul li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D6B6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-info {
  max-width: 800px;
  margin: 56px auto 0;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(13,107,110,0.1);
}

.pricing-info h3 { color: var(--teal); margin-bottom: 12px; }
.pricing-info p { margin: 0 auto; font-size: 16px; line-height: 1.7; }

/* --- FAQ Accordion --- */
.faq-categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.faq-categories button {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.faq-categories button.active,
.faq-categories button:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 16px var(--teal-glow);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow); }

.faq-item.open {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--teal); }

.faq-question .icon {
  width: 28px;
  height: 28px;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--grey);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
  color: var(--orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.8;
}

/* --- Contact / Book Form --- */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group .error-msg { font-size: 13px; color: #DC2626; margin-top: 6px; display: none; }
.form-group.error input, .form-group.error textarea { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220,38,38,0.1); }
.form-group.error .error-msg { display: block; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 { margin-bottom: 24px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.contact-detail:hover { transform: translateX(4px); }

.contact-detail .icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-detail .icon-wrap svg { width: 22px; height: 22px; }
.contact-detail h4 { font-size: 15px; margin-bottom: 4px; }
.contact-detail p { font-size: 15px; }

.reassurance {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}

.reassurance-item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }

/* --- About Page --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-content.reversed { direction: rtl; }
.about-content.reversed > * { direction: ltr; }

.about-visual {
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--teal-glow);
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.about-visual svg { width: 40%; height: 40%; color: var(--teal); opacity: 0.3; position: relative; z-index: 1; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 44px 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}

.value-card:hover::before { transform: scaleX(1); }

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all 0.5s var(--ease);
}

.value-card:hover .value-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
}

.value-icon svg { width: 32px; height: 32px; }
.value-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.value-card p { font-size: 15px; margin: 0 auto; line-height: 1.7; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s var(--ease);
}

.team-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,107,110,0.05) 100%);
}

.team-photo svg { width: 40%; height: 40%; color: var(--teal); opacity: 0.2; position: relative; z-index: 1; }

.team-info { padding: 28px; }
.team-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-info .role { font-size: 14px; color: var(--orange); font-weight: 600; margin-bottom: 12px; }
.team-info p { font-size: 14px; line-height: 1.7; }

/* Content sections */
.content-section { padding: var(--section-py) 0; }
.content-section:nth-child(even) { background: var(--white); }

.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { margin-bottom: 24px; }
.content-block p { margin-bottom: 18px; max-width: 100%; line-height: 1.8; }
.content-block h3 { margin-top: 36px; margin-bottom: 14px; }

/* Info box */
.info-box {
  background: linear-gradient(135deg, var(--teal-light), rgba(13,107,110,0.06));
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 36px 0;
  border-left: 4px solid var(--teal);
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: var(--teal-glow);
  border-radius: 50%;
}

.info-box h4 { color: var(--teal); margin-bottom: 10px; position: relative; z-index: 1; }
.info-box p { font-size: 15px; max-width: 100%; position: relative; z-index: 1; line-height: 1.8; }

/* Cards (generic) */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 40px;
  transition: all 0.5s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* --- Scroll Reveal (enhanced) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Parallax layer --- */
[data-parallax] {
  will-change: transform;
  transition: none;
}

/* --- Animated counter --- */
.counter { font-variant-numeric: tabular-nums; }

/* --- Smooth section transitions --- */
.section-divider {
  height: 120px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.section-divider.white-to-cream {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

/* Wavy divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* --- Mobile Orb Drift Animation --- */
@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-15px, -50px) scale(0.95); }
  75% { transform: translate(25px, -20px) scale(1.02); }
  100% { transform: translate(-10px, -40px) scale(1); }
}

/* --- Page Hero Animated SVG Visual --- */
.page-hero-visual {
  max-width: 320px;
  margin: 36px auto 0;
  position: relative;
  z-index: 2;
}

.page-hero-visual svg {
  width: 100%;
  height: auto;
}

/* Animated SVG paths for inner pages */
.animated-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-neural 3s ease-in-out infinite alternate;
}

.animated-path:nth-child(2) { animation-delay: 0.3s; animation-duration: 3.5s; }
.animated-path:nth-child(3) { animation-delay: 0.6s; animation-duration: 4s; }
.animated-path:nth-child(4) { animation-delay: 0.9s; animation-duration: 3.2s; }
.animated-path:nth-child(5) { animation-delay: 1.2s; animation-duration: 4.5s; }
.animated-path:nth-child(6) { animation-delay: 1.5s; animation-duration: 3.8s; }

/* Animated nodes pulse */
.animated-node {
  animation: node-pulse 3s ease-in-out infinite;
}

.animated-node:nth-child(even) { animation-delay: 1s; }
.animated-node:nth-child(3n) { animation-delay: 1.5s; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.4; r: 3; }
  50% { opacity: 1; r: 5; }
}

/* Rotating ring for page hero visuals */
.hero-ring {
  animation: hero-ring-spin 20s linear infinite;
  transform-origin: center;
}

.hero-ring:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 25s;
}

@keyframes hero-ring-spin {
  to { transform: rotate(360deg); }
}

/* Floating dots animation */
@keyframes float-dot {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  25% { transform: translate(5px, -8px); opacity: 0.8; }
  50% { transform: translate(-3px, -15px); opacity: 0.6; }
  75% { transform: translate(8px, -5px); opacity: 0.9; }
}

.float-dot {
  animation: float-dot 4s ease-in-out infinite;
}

.float-dot:nth-child(even) { animation-delay: 1.5s; animation-duration: 5s; }
.float-dot:nth-child(3n) { animation-delay: 2.5s; animation-duration: 6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root { --section-py: 80px; --section-px: 24px; }

  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-content { max-width: 100%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 0 auto; }

  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .symptom-types { grid-template-columns: 1fr; }
  .myths-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .about-content { grid-template-columns: 1fr; gap: 36px; }
  .about-content.reversed { direction: ltr; }
  .values-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; --section-px: 20px; }

  body { font-size: 16px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: 100px 36px 36px;
    box-shadow: var(--shadow-xl);
    transition: right 0.5s var(--ease);
    z-index: 999;
    gap: 4px;
  }

  .nav-drawer.open { right: 0; }

  .nav-drawer a {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
  }

  .nav-drawer a:hover { color: var(--teal); transform: translateX(4px); }

  .nav-drawer .btn { margin-top: 20px; text-align: center; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    transition: opacity var(--transition);
  }

  .nav-overlay.open { display: block; }

  .hero { padding: 130px 0 60px; min-height: 100vh; min-height: 100dvh; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 17px; }
  .brain-container { max-width: 380px; }

  /* Autonomous orb animation on mobile (no mouse) */
  .orb { animation: orb-drift 8s ease-in-out infinite alternate; }
  .orb:nth-child(2) { animation-delay: -2s; animation-duration: 10s; }
  .orb:nth-child(3) { animation-delay: -4s; animation-duration: 12s; }

  /* Touch-friendly card interactions */
  .testimonial-card:active,
  .step-card:active,
  .feature-card:active,
  .value-card:active,
  .pricing-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.15s var(--ease) !important;
  }

  /* Enhanced mobile nav drawer */
  .nav-drawer a {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--ease);
  }

  .nav-drawer.open a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-drawer.open a:nth-child(1) { transition-delay: 0.1s; }
  .nav-drawer.open a:nth-child(2) { transition-delay: 0.15s; }
  .nav-drawer.open a:nth-child(3) { transition-delay: 0.2s; }
  .nav-drawer.open a:nth-child(4) { transition-delay: 0.25s; }
  .nav-drawer.open a:nth-child(5) { transition-delay: 0.3s; }
  .nav-drawer.open a:nth-child(6) { transition-delay: 0.35s; }
  .nav-drawer.open a:nth-child(7) { transition-delay: 0.4s; }

  /* Bigger particles on mobile for visibility */
  .brain-particle { transform: scale(1.3); }

  /* Page hero animated SVGs on mobile */
  .page-hero-visual { max-width: 260px; margin: 24px auto 0; }
  .page-hero-visual svg { width: 100%; height: auto; }

  .trust-bar .container { flex-direction: column; align-items: center; gap: 20px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item h3 { font-size: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .team-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

  .timeline::before { left: 24px; }
  .timeline-marker { width: 48px; height: 48px; font-size: 18px; }
  .timeline-item { gap: 20px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 340px; }

  .page-hero { padding: 130px 0 60px; }
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 14px 28px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 10000;
  font-family: var(--font-display);
}

.skip-link:focus { top: 16px; color: var(--white); }

/* ============================================
   Thought Cloud Section
   ============================================ */
.thought-cloud-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 40%, #0a8a7a 100%);
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.thought-cloud-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-py) var(--section-px);
  text-align: center;
}

.thought-cloud-words {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thought-word {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.2vw, 1.1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  animation: thought-float 8s ease-in-out var(--delay) infinite alternate,
             thought-pulse 4s ease-in-out var(--delay) infinite alternate;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
  user-select: none;
}

.thought-word:nth-child(odd) {
  animation-duration: 10s, 5s;
}

.thought-word:nth-child(3n) {
  font-size: clamp(0.65rem, 1vw, 0.95rem);
  color: rgba(232, 112, 74, 0.2);
}

.thought-word:nth-child(4n+1) {
  font-size: clamp(0.85rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.3);
}

@keyframes thought-float {
  0% {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  }
  33% {
    transform: translate(calc(-50% + var(--x) + 15px), calc(-50% + var(--y) - 12px));
  }
  66% {
    transform: translate(calc(-50% + var(--x) - 10px), calc(-50% + var(--y) + 8px));
  }
  100% {
    transform: translate(calc(-50% + var(--x) + 8px), calc(-50% + var(--y) - 18px));
  }
}

@keyframes thought-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.thought-cloud-center {
  position: relative;
  z-index: 3;
  padding: 3rem 2rem;
}

.thought-cloud-center::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(9, 75, 78, 0.7) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
}

.thought-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.thought-cloud-center h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.thought-cloud-center .gradient-text {
  background: linear-gradient(135deg, var(--orange), #f4a261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.thought-cloud-center .btn {
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.thought-cloud-center .btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .thought-cloud-section {
    min-height: 500px;
  }

  .thought-word {
    font-size: clamp(0.6rem, 2.5vw, 0.85rem);
  }

  .thought-word:nth-child(4n+1) {
    font-size: clamp(0.7rem, 3vw, 1rem);
  }

  .thought-cloud-center {
    padding: 2rem 1rem;
  }
}

/* ============================================
   Pricing Journey
   ============================================ */
.pricing-journey {
  position: relative;
}

.journey-connector {
  display: none;
}

.pricing-step {
  position: relative;
  overflow: visible;
}

.pricing-step::before {
  content: attr(data-step);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(13, 107, 110, 0.3);
  z-index: 2;
  animation: step-number-glow 3s ease-in-out infinite alternate;
}

.pricing-step-alt::before {
  background: var(--orange);
  box-shadow: 0 4px 16px rgba(232, 112, 74, 0.3);
  animation-name: step-number-glow-orange;
  width: 36px;
  height: 36px;
  font-size: 0.7rem;
}

@keyframes step-number-glow {
  0% { box-shadow: 0 4px 16px rgba(13, 107, 110, 0.3); }
  100% { box-shadow: 0 4px 24px rgba(13, 107, 110, 0.5), 0 0 40px rgba(13, 107, 110, 0.15); }
}

@keyframes step-number-glow-orange {
  0% { box-shadow: 0 4px 16px rgba(232, 112, 74, 0.3); }
  100% { box-shadow: 0 4px 24px rgba(232, 112, 74, 0.5), 0 0 40px rgba(232, 112, 74, 0.15); }
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.step-badge-required {
  background: rgba(13, 107, 110, 0.1);
  color: var(--teal);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  animation: required-pulse 2s ease-in-out infinite;
}

.step-badge-alt {
  color: var(--orange);
}

@keyframes required-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.step-flow-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 4px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

.step-flow-arrow svg {
  animation: arrow-bounce 2s ease-in-out infinite;
  width: 18px;
  height: 18px;
}

.step-flow-complete {
  color: var(--orange);
}

.step-flow-complete svg {
  animation: check-pop 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes check-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Animated border on hover for pricing steps */
.pricing-step.pricing-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.pricing-step.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-step[data-step="1"]:hover {
  border-color: rgba(13, 107, 110, 0.2);
}

.pricing-step[data-step="2"]:hover {
  border-color: rgba(13, 107, 110, 0.2);
}

.pricing-step[data-step="R"]:hover {
  border-color: rgba(232, 112, 74, 0.2);
}

/* Journey connector line between cards (desktop) */
@media (min-width: 900px) {
  .journey-connector {
    display: block;
    position: absolute;
    top: 50px;
    left: calc(33.33% - 20px);
    right: calc(33.33% - 20px);
    height: 3px;
    z-index: 1;
  }

  .connector-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--teal), var(--teal) 45%, var(--orange) 100%);
    border-radius: 4px;
    opacity: 0.2;
  }

  .connector-pulse {
    position: absolute;
    top: -2px;
    left: 0;
    width: 40px;
    height: 7px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    border-radius: 4px;
    animation: pulse-travel 3s ease-in-out infinite;
  }

  @keyframes pulse-travel {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 40px); opacity: 0; }
  }
}

/* Mobile: vertical flow arrows */
@media (max-width: 899px) {
  .step-flow-arrow svg {
    transform: none;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}
