/* ============================================
   HABIT BEATS MARKETING — STYLES
   ============================================ */

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

:root {
  /* Brand */
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-dark: #7C3AED;
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --green: #10B981;
  --amber: #F59E0B;
  --pink: #EC4899;
  --teal: #14B8A6;
  --orange: #F97316;
  --gray: #6B7280;

  /* Neutrals */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-850: #172033;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--slate-950);
  color: var(--slate-300);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 50%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--slate-50);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-400);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3), 0 0 0 0 rgba(139, 92, 246, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4), 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-200);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--slate-900);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Store buttons */
.btn-store {
  background: rgba(255, 255, 255, 0.06);
  color: var(--slate-100);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 1.5rem;
  gap: 0.65rem;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-store svg {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-sub {
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.store-name {
  font-size: 1rem;
  font-weight: 600;
}

.btn-store-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--slate-900);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-store-light:hover {
  background: white;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-store-light .store-sub {
  opacity: 0.6;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-50);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-400);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--slate-100);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-300);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  top: -200px;
  right: -100px;
  opacity: 0.15;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  bottom: -150px;
  left: -100px;
  opacity: 0.12;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--purple-light);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-light);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.08);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  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-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--slate-50);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-coming-soon {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 3rem;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--slate-50);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Social Proof ---------- */
.social-proof {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}

.social-proof .container {
  text-align: center;
}

.social-proof-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-500);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.proof-logo:hover {
  opacity: 1;
}

/* ---------- Features ---------- */
.features {
  padding: var(--section-pad) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  color: var(--icon-color);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate-100);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

/* Features highlight */
.features-highlight {
  max-width: 700px;
  margin: 0 auto;
}

.highlight-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.highlight-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
}

.highlight-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-100);
  margin-bottom: 0.5rem;
}

.highlight-content p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ---------- Mental States ---------- */
.states {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.state-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.state-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--state-color);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.state-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--state-color) 25%, transparent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.state-card:hover::before {
  opacity: 1;
}

.state-freq {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--state-color);
  margin-bottom: 0.25rem;
}

.state-wave {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.state-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-100);
  margin-bottom: 0.5rem;
}

.state-desc {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.5;
}

/* ---------- Science ---------- */
.science {
  padding: var(--section-pad) 0;
}

.science-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.science-text {
  font-size: 1.05rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.science-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.science-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate-50);
}

.science-stat-label {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.science-evidence {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.evidence-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.evidence-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.evidence-strong { background: var(--green); }
.evidence-moderate { background: var(--amber); }
.evidence-preliminary { background: var(--blue-light); }

.evidence-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--slate-200);
  margin-bottom: 0.15rem;
}

.evidence-item p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Brain visualization */
.science-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-visualization {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ring-rotate 20s linear infinite;
}

.brain-ring .wave-label {
  position: absolute;
  top: -10px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--slate-950);
}

.brain-ring-1 {
  width: 340px; height: 340px;
  border-color: rgba(139, 92, 246, 0.15);
  animation-duration: 30s;
}
.brain-ring-1 .wave-label { color: var(--purple-light); }

.brain-ring-2 {
  width: 280px; height: 280px;
  border-color: rgba(20, 184, 166, 0.15);
  animation-duration: 25s;
  animation-direction: reverse;
}
.brain-ring-2 .wave-label { color: var(--teal); }

.brain-ring-3 {
  width: 220px; height: 220px;
  border-color: rgba(16, 185, 129, 0.15);
  animation-duration: 20s;
}
.brain-ring-3 .wave-label { color: var(--green); }

.brain-ring-4 {
  width: 160px; height: 160px;
  border-color: rgba(59, 130, 246, 0.15);
  animation-duration: 18s;
  animation-direction: reverse;
}
.brain-ring-4 .wave-label { color: var(--blue-light); }

.brain-ring-5 {
  width: 100px; height: 100px;
  border-color: rgba(249, 115, 22, 0.15);
  animation-duration: 15s;
}
.brain-ring-5 .wave-label { color: var(--orange); }

@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brain-core {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.2); }
  50% { box-shadow: 0 0 30px 10px rgba(139, 92, 246, 0.1); }
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.03), transparent);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.3), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s var(--ease-out);
}

.step:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-100);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ---------- Quote ---------- */
.quote-section {
  padding: var(--section-pad) 0;
}

.quote-card {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  color: var(--purple);
}

blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--slate-200);
  line-height: 1.7;
  margin-bottom: 1rem;
}

cite {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-style: normal;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: var(--section-pad) 0;
}

.cta-card {
  position: relative;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--blue));
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.15);
  top: -100px;
  right: -50px;
}

.cta-orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(59, 130, 246, 0.3);
  bottom: -100px;
  left: -50px;
}

.cta-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-subtitle {
  position: relative;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-stores {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.cta-card .btn-store-light {
  position: relative;
}

.cta-note {
  position: relative;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-200);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--slate-200);
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--slate-600);
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: var(--slate-700) !important;
  max-width: 500px;
  text-align: right;
}

/* ---------- State card research link ---------- */
.state-research-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--state-color);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease-out);
}

.state-card:hover .state-research-link {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-400);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--slate-100);
}

.modal-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-freq {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.15rem;
}

.modal-band {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-50);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.5;
}

.modal-body {
  padding: 1.5rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-study {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.modal-study:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.modal-study:last-child {
  margin-bottom: 0;
}

.study-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.study-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}

.study-evidence {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.study-evidence-strong {
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
}

.study-evidence-moderate {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
}

.study-evidence-limited {
  color: var(--blue-light);
  background: rgba(96, 165, 250, 0.1);
}

.study-evidence-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.study-summary {
  font-size: 0.9rem;
  color: var(--slate-200);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.study-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.study-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--purple-light);
  transition: color 0.2s;
}

.study-link:hover {
  color: var(--purple);
}

.modal-footer {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.modal-no-studies {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--slate-500);
  font-size: 0.9rem;
}

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .states-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .science-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .science-visual {
    order: -1;
  }

  .brain-visualization {
    width: 300px;
    height: 300px;
  }

  .brain-ring-1 { width: 280px; height: 280px; }
  .brain-ring-2 { width: 230px; height: 230px; }
  .brain-ring-3 { width: 180px; height: 180px; }
  .brain-ring-4 { width: 130px; height: 130px; }
  .brain-ring-5 { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .step {
    flex-direction: column;
    gap: 1rem;
  }

  .highlight-inner {
    flex-direction: column;
    text-align: center;
  }

  .science-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-links-group {
    gap: 2.5rem;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center !important;
  }

  .social-proof-logos {
    gap: 1.5rem;
  }

  .proof-logo {
    font-size: 0.8rem;
  }

  .cta-card {
    padding: 3.5rem 1.5rem;
  }

  .quote-card {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}
