/**
 * ══════════════════════════════════════════════════════════════════════════
 * QUANT PRIME - Main Stylesheet
 * ══════════════════════════════════════════════════════════════════════════
 * 
 * Table of Contents:
 * 1. Reset & Variables (Light/Dark mode)
 * 2. Base Typography
 * 3. Layout (Container, Section)
 * 4. Navigation
 * 5. Hero Section
 * 6. Philosophy Section
 * 7. Journey CTA
 * 8. Page Header
 * 9. Instrument Cards
 * 10. Compounding Calculator
 * 11. Results Section
 * 12. Pricing Cards
 * 13. Stats Section
 * 14. Instruments Preview
 * 15. Included Section
 * 16. CTA Buttons
 * 17. Footer
 * 18. Animations & Utilities
 * 19. Gradients & Accents
 * 20. Responsive (900px, 650px breakpoints)
 * 21. Dark Mode Overrides
 * 22. Accessibility
 * 
 * Last updated: 2026-09-04
 * ══════════════════════════════════════════════════════════════════════════
 */

/* ══════════════════════════════════════════════════════════════════════════
   1. RESET & VARIABLES
   ══════════════════════════════════════════════════════════════════════════ */

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

:root, [data-theme="light"] {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-dim: #f2f1ed;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-tertiary: #9a9a9a;
  --gold: #b8962e;
  --gold-soft: #d4b94e;
  --gold-bg: #faf6eb;
  --cyan: #0088cc;
  --cyan-soft: #e8f4fa;
  --green: #16a34a;
  --border: #e8e6e0;
  --border-light: #f0eeea;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --radius: 16px;
  --radius-sm: 10px;
  --premium-gradient: linear-gradient(180deg, var(--gold), var(--cyan));
}

[data-theme="dark"] {
  --bg: #0a0a0f;
  --surface: #141419;
  --surface-dim: #1c1c24;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #6b6b75;
  --gold: #d4b94e;
  --gold-soft: #b8962e;
  --gold-bg: #1f1c14;
  --cyan: #22b8ff;
  --cyan-soft: #0f1a20;
  --green: #22c55e;
  --border: #2a2a35;
  --border-light: #1f1f28;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.25);
  --premium-gradient: linear-gradient(180deg, var(--gold), var(--cyan));
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
.mono { font-family: 'JetBrains Mono', monospace; }
.gold { color: var(--gold); }
.cyan { color: var(--cyan); }
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 500;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-left { display: flex; align-items: center; gap: 0.5rem; position: relative; }
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-dropdown-btn {
  background: none; border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
  display: flex;
  align-items: center;
}
.nav-dropdown-btn:hover { color: var(--gold); }
.nav-dropdown-btn.active svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
}
.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid var(--border-light);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--gold-bg); color: var(--gold); }
.nav-cta {
  font-size: 0.8rem; font-weight: 600;
  padding: 0.65rem 1.8rem;
  background: var(--gold, #c9a84c);
  color: #fff;
  border: none; border-radius: 100px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.nav-cta:hover { 
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45);
  background: #d4b85a;
}
.nav-cta:hover::before {
  transform: translateX(100%);
}
.nav-cta:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 680px; }
.hero-label { margin-bottom: 2rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--gold); font-weight: 300; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-cta, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem; font-weight: 500;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: #fff;
  border: none; border-radius: 100px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
  position: relative;
  overflow: hidden;
}
.hero-cta::before, .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.hero-cta:hover, .btn-primary:hover { 
  background: var(--text); 
  transform: translateY(-2px) scale(1.02); 
  box-shadow: var(--shadow-lg); 
}
.hero-cta:hover::before, .btn-primary:hover::before {
  transform: translateX(100%);
}
.hero-cta:active, .btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}
.hero-cta svg, .btn-primary svg { width: 16px; height: 16px; }
.hero-glow {
  position: absolute;
  top: 10%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,150,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── PHILOSOPHY ── */
.philosophy { background: var(--surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
.philosophy-item { padding: 2rem 0; }
.philosophy-item .label { margin-bottom: 1rem; }
.philosophy-item h3 { margin-bottom: 0.8rem; color: var(--text); }
.philosophy-item p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── JOURNEY CTA ── */
.journey-cta { padding: 8rem 0; text-align: center; }
.journey-content h2 { margin-bottom: 1rem; }
.journey-content p { color: var(--text-secondary); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── PAGE HEADER ── */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  text-align: center;
}
.page-header .label { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header h1 em { font-style: normal; color: var(--gold); font-weight: 300; }
.page-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ── INSTRUMENT CARDS ── */
.instrument-section { padding: 5rem 0; }
.instrument-section:nth-child(even) { background: var(--surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.instrument-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.instrument-text h2 { margin-bottom: 1.2rem; }
.instrument-text h2 em { font-style: normal; color: var(--gold); font-weight: 300; }
.instrument-desc { color: var(--text-secondary); font-size: 1rem; margin-bottom: 2rem; line-height: 1.75; }
.instrument-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat-card { padding: 1.2rem 1.4rem; background: var(--surface-dim); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.stat-value { font-family: 'JetBrains Mono', monospace; font-size: 1.3rem; font-weight: 500; color: var(--text); }
.stat-label { font-size: 0.75rem; color: var(--text-tertiary); margin-top: 0.2rem; }
.instrument-visual { aspect-ratio: 4/3; background: var(--surface-dim); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; position: relative; }
.instrument-visual canvas { width: 100%; height: 100%; display: block; }

/* ── NEXT SECTION CTA ── */
.next-section { padding: 5rem 0; text-align: center; border-top: 1px solid var(--border-light); }
.next-section p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ── COMPOUNDING ── */
.compound-section { padding: 5rem 0; }
.compound-intro { color: var(--text-secondary); max-width: 600px; margin-top: 1rem; margin-bottom: 3rem; }
.compound-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; margin-bottom: 3rem; }
.compound-card { padding: 1.5rem 1rem; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--border); text-align: center; }
.compound-period { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-tertiary); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.compound-value { font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 500; color: var(--gold); }
.compound-note { font-size: 0.65rem; color: var(--text-tertiary); margin-top: 0.3rem; }
.compound-explanation { background: var(--surface); border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--border); }
.compound-explanation h3 { margin-bottom: 1rem; }
.compound-explanation p { color: var(--text-secondary); line-height: 1.8; }

/* ── RESULTS ── */
.results-section { padding: 5rem 0; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.result-card { padding: 2.5rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.result-card-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.result-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.result-card h3 { font-weight: 500; font-size: 1rem; }
.result-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.result-stat-val { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; font-weight: 500; }
.result-stat-lbl { font-size: 0.72rem; color: var(--text-tertiary); }
.result-note { font-size: 0.78rem; color: var(--text-tertiary); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border-light); }

/* ── PRICING ── */
.pricing-section { padding: 5rem 0; }
.pricing-intro { text-align: center; color: var(--text-secondary); margin-bottom: 3rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.price-card { padding: 1.8rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.price-card::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--premium-gradient); opacity: 0; transition: all 0.35s ease; }
.price-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg), 0 0 40px -15px rgba(201, 168, 76, 0.4); transform: translateY(-4px); }
.price-card:hover::after { opacity: 1; width: 5px; }
.price-card.featured { border-color: var(--gold); background: var(--gold-bg); }
.price-card.featured::after { opacity: 1; }
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.1em;
  background: var(--gold); color: #fff;
  padding: 0.2rem 0.6rem; border-radius: 100px;
  white-space: nowrap;
}
.price-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.price-amount { font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 500; color: var(--gold); }
.price-amount span { font-size: 0.75rem; color: var(--text-tertiary); font-weight: 400; }
.price-alt { font-size: 0.7rem; color: var(--text-tertiary); margin-top: 0.3rem; font-family: 'JetBrains Mono', monospace; }
.price-desc { font-size: 0.8rem; color: var(--text-secondary); margin: 0.8rem 0; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-light); }
.price-features { list-style: none; }
.price-features li { font-size: 0.78rem; color: var(--text-secondary); padding: 0.3rem 0; padding-left: 1rem; position: relative; }
.price-features li::before { content: ''; position: absolute; left: 0; top: 0.6rem; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.price-btn { display: block; width: 100%; margin-top: 1.2rem; padding: 0.6rem; text-align: center; font-size: 0.78rem; font-weight: 500; border: 1px solid var(--border); background: transparent; color: var(--text); border-radius: 100px; cursor: pointer; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); text-decoration: none; position: relative; overflow: hidden; }
.price-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%); transform: translateX(-100%); transition: transform 0.5s ease; }
.price-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateY(-1px); }
.price-btn:hover::before { transform: translateX(100%); }
.price-btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.price-card.featured .price-btn { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 2px 10px rgba(201, 168, 76, 0.25); }
.price-card.featured .price-btn:hover { background: var(--text); border-color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
footer { padding: 3rem 0; border-top: 1px solid var(--border-light); text-align: center; }
footer p { font-size: 0.75rem; color: var(--text-tertiary); max-width: 600px; margin: 0 auto; }
footer .nav-logo { display: block; margin-bottom: 1rem; }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered reveals */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Smooth link transitions */
a { transition: color 0.2s ease, border-color 0.2s ease; }

/* Premium gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
/* ── STATS SECTION ── */
.stats-section { padding: 4rem 0; background: var(--surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item .stat-number { font-family: 'JetBrains Mono', monospace; font-size: 2.5rem; font-weight: 600; color: var(--gold); }
.stat-item .stat-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.5rem; }

/* ── INSTRUMENTS PREVIEW ── */
.instruments-preview { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .label { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-desc { color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.instruments-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.instrument-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.instrument-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--premium-gradient); transition: width 0.3s ease; }
.instrument-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 50%, rgba(201,168,76,0.05) 0%, transparent 50%); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.instrument-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 0 40px -15px rgba(201, 168, 76, 0.3); }
.instrument-card:hover::before { width: 5px; }
.instrument-card:hover::after { opacity: 1; }
.instrument-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.instrument-icon.gold { background: var(--gold-bg); color: var(--gold); }
.instrument-icon.cyan { background: var(--cyan-soft); color: var(--cyan); }
.instrument-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.25rem; }
.instrument-card .instrument-type { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-tertiary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.instrument-card .instrument-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.instrument-card .instrument-stats { display: flex; gap: 0.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-tertiary); }
.instruments-cta { text-align: center; }

/* ── INCLUDED SECTION ── */
.included-section { padding: 5rem 0; background: var(--surface); border-top: 1px solid var(--border-light); }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 700px; margin: 0 auto; }
.included-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; }
.included-item span { font-size: 0.9rem; color: var(--text-secondary); }

/* ── CTA BUTTONS ── */
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.8rem; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-secondary svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .philosophy-grid, .instrument-grid, .results-grid, .instruments-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .compound-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .instrument-grid { gap: 2rem; }
  section { padding: 4rem 0; }
}
@media (max-width: 650px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .compound-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  * {
    max-width: 100%;
  }
  
  /* Ensure images don't overflow */
  img, video, iframe {
    max-width: 100%;
    height: auto;
  }
  
  /* Mobile Typography - comfortable reading */
  h1 { font-size: 2rem; line-height: 1.2; }
  h2 { font-size: 1.6rem; line-height: 1.25; }
  h3 { font-size: 1.15rem; }
  
  /* Section spacing - not too cramped */
  section { padding: 3rem 0; }
  .page-header { padding-top: 7rem; padding-bottom: 2.5rem; }
  
  /* Hero mobile optimization */
  .hero { min-height: auto; padding-top: 6rem; padding-bottom: 3rem; }
  .hero-content { max-width: 100%; }
  .hero-sub { font-size: 1rem; line-height: 1.65; margin-bottom: 2rem; }
  .hero-label { margin-bottom: 1.5rem; }
  
  /* Touch-friendly buttons - minimum 44px */
  .hero-cta, .btn-primary, .nav-cta {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Nav mobile polish */
  nav { padding: 0.75rem 0; }
  nav .container { gap: 0.5rem; }
  .nav-logo { font-size: 0.75rem; }
  .nav-cta { 
    padding: 0.6rem 1.2rem; 
    font-size: 0.75rem;
    min-height: 40px;
  }
  .nav-dropdown { 
    min-width: 160px; 
    left: 0;
    right: auto;
  }
  .nav-dropdown a { 
    padding: 0.9rem 1rem; 
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Philosophy cards - stack nicely */
  .philosophy-grid { gap: 1.5rem; }
  .philosophy-item { padding: 1.25rem 0; }
  .philosophy-item h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
  .philosophy-item p { font-size: 0.9rem; }
  
  /* Stat cards */
  .stat-item .stat-number { font-size: 2rem; }
  .stat-item .stat-desc { font-size: 0.8rem; }
  
  /* Instrument cards mobile */
  .instrument-card { padding: 1.5rem; }
  .instrument-card h3 { font-size: 1.2rem; }
  .instrument-card .instrument-desc { font-size: 0.9rem; }
  
  /* Included section */
  .included-item { padding: 0.6rem 0; }
  .included-item span { font-size: 0.88rem; }
  
  /* Footer */
  footer { padding: 2rem 0; }
  footer p { font-size: 0.72rem; line-height: 1.7; }
  
  /* Price cards - touch friendly */
  .price-card { padding: 1.5rem; }
  .price-btn { 
    padding: 0.75rem; 
    min-height: 48px; 
    font-size: 0.85rem;
  }
  
  /* Compound grid */
  .compound-card { padding: 1.2rem 0.8rem; }
  .compound-value { font-size: 1.2rem; }
  .compound-explanation { padding: 1.5rem; }
  
  /* Results cards */
  .result-card { padding: 1.5rem; }
  
  /* CTA buttons group */
  .cta-buttons { 
    flex-direction: column; 
    gap: 0.75rem;
    width: 100%;
    padding: 0 1rem;
  }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  /* Journey CTA section */
  .journey-cta { padding: 4rem 0; }
  .journey-content h2 { font-size: 1.5rem; }
}

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] nav {
  background: rgba(10,10,15,0.92);
}

[data-theme="dark"] .nav-dropdown {
  background: var(--surface);
}

[data-theme="dark"] footer {
  background: var(--surface);
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATION UTILITIES - Subtle, professional polish
   ══════════════════════════════════════════════════════════════════════════ */

/* Subtle fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle hover lift for cards */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Button hover with subtle scale */
.btn-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hover:hover {
  transform: translateY(-2px);
}
.btn-hover:active {
  transform: translateY(0);
}

/* Stagger delay utilities */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }

/* ══════════════════════════════════════════════════════════════════════════
   GRADIENT UTILITIES - Premium gold→cyan accents
   ══════════════════════════════════════════════════════════════════════════ */

/* Gradient accent bar/divider */
.gradient-accent {
  background: linear-gradient(135deg, #C9A84C 0%, #4ECDC4 100%);
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, #C9A84C 0%, #4ECDC4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient border */
.gradient-border {
  border-image: linear-gradient(135deg, #C9A84C 0%, #4ECDC4 100%) 1;
}

/* Gradient underline on hover */
.gradient-underline {
  position: relative;
  display: inline-block;
}
.gradient-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #C9A84C 0%, #4ECDC4 100%);
  transition: width 0.3s ease;
}
.gradient-underline:hover::after {
  width: 100%;
}

/* Section divider with gradient */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9A84C 30%, #4ECDC4 70%, transparent);
  border: none;
  margin: 4rem auto;
  max-width: 200px;
  opacity: 0.6;
}

/* Premium CTA with gradient border */
.gradient-cta {
  position: relative;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 100px;
  overflow: visible;
}
.gradient-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #C9A84C 0%, #4ECDC4 100%);
  border-radius: inherit;
  z-index: -1;
}

/* Subtle gradient glow on hover */
.gradient-glow {
  transition: box-shadow 0.3s ease;
}
.gradient-glow:hover {
  box-shadow: 0 0 30px -10px rgba(201, 168, 76, 0.4), 0 0 30px -10px rgba(78, 205, 196, 0.3);
}

/* Gradient dot/bullet */
.gradient-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C 0%, #4ECDC4 100%);
}

/* Animated gradient shimmer */
@keyframes gradient-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-shimmer {
  background: linear-gradient(135deg, #C9A84C, #4ECDC4, #C9A84C);
  background-size: 200% 200%;
  animation: gradient-shimmer 3s ease infinite;
}

/* ══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ══════════════════════════════════════════════════════════════════════════ */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* Focus states for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Remove outline for mouse users, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* Nav dropdown focus */
.nav-dropdown-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Price card focus */
.price-card:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold);
}

/* Form focus enhancements */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
