/* ============================================
   MyFinanceSheet — Landing Page Styles
   ============================================ */

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

/* ─── CSS Variables ─── */
:root {
  --bg-primary:      #040108;
  --bg-secondary:    #0a0414;
  --bg-card:         rgba(139,92,246,0.03);
  --bg-card-hover:   rgba(139,92,246,0.07);
  --border:          rgba(255,255,255,0.06);
  --border-hover:    rgba(139,92,246,0.4);

  --accent-indigo:   #7c3aed;
  --accent-violet:   #a78bfa;
  --accent-green:    #10b981;
  --accent-red:      #ef4444;
  --accent-blue:     #3b82f6;
  --accent-amber:    #f59e0b;

  --text-primary:    #f5f3ff;
  --text-secondary:  #a7a6ba;
  --text-muted:      #524f6b;

  --gradient-hero:   linear-gradient(135deg, #7c3aed 0%, #c084fc 50%, #059669 100%);
  --gradient-cta:    linear-gradient(135deg, #7c3aed, #a78bfa);
  --gradient-green:  linear-gradient(135deg, #059669, #10b981);

  --glow-indigo:     0 0 60px rgba(124,58,237,0.25);
  --glow-violet:     0 0 40px rgba(167,139,250,0.2);

  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;

  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 3px; }

/* ─── Background Orbs ─── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: orbFloat 10s ease-in-out infinite alternate;
}
.orb-1 { width: 600px; height: 600px; background: #7c3aed; top: -200px; left: -200px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: #059669; top: 40%; right: -150px; animation-delay: -3s; }
.orb-3 { width: 400px; height: 400px; background: #3b82f6; bottom: -100px; left: 30%; animation-delay: -6s; }

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

/* ─── Noise Texture Overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ─── Layout Wrapper ─── */
.page-wrapper { position: relative; z-index: 1; }

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

.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(99,102,241,0.1);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

/* ─── Section Label ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: 20px;
}

/* ─── Section Title ─── */
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Divider ─── */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-cta);
  border-radius: 2px;
  margin: 0 auto 48px;
}

/* ──────────────────────────────────────── */
/* NAVBAR */
/* ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta { padding: 10px 22px; font-size: 0.9rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,12,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-menu .nav-links a {
  font-size: 1.2rem;
  padding: 12px 32px;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}

/* ──────────────────────────────────────── */
/* HERO SECTION */
/* ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-indigo);
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInDown 0.7s ease 0.3s both;
}

/* Hero Stats Strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}
.hero-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.hero-stats-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInUp 0.9s ease 0.5s both;
}
.hero-mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-mockup-frame {
  background: rgba(15,17,23,0.8);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(99,102,241,0.15),
    0 40px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(99,102,241,0.1);
}
.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.mockup-dot.red   { background: #ff5f57; }
.mockup-dot.amber { background: #ffbd2e; }
.mockup-dot.green { background: #28c840; }
.mockup-url-bar {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 12px;
}
.hero-mockup-img {
  width: 100%;
  display: block;
}

/* Floating Cards on Hero */
.hero-float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(15,18,28,0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-size: 0.82rem;
  animation: floatCard 4s ease-in-out infinite alternate;
  z-index: 10;
}
.hero-float-card-1 {
  left: -20px;
  top: 20%;
  animation-delay: 0s;
}
.hero-float-card-2 {
  right: -20px;
  top: 35%;
  animation-delay: -2s;
}

@keyframes floatCard {
  from { transform: translateY(0px); }
  to   { transform: translateY(-12px); }
}
.float-card-header {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.float-card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.float-card-sub {
  font-size: 0.72rem;
  color: var(--accent-green);
  margin-top: 2px;
}


/* ──────────────────────────────────────── */
/* SOCIAL PROOF / TICKER BAR */
/* ──────────────────────────────────────── */
.trust-bar {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-item svg { color: var(--accent-indigo); flex-shrink: 0; }


/* ──────────────────────────────────────── */
/* FEATURES SECTION */
/* ──────────────────────────────────────── */
.features {
  padding: 120px 0;
}
.features-header {
  text-align: center;
  margin-bottom: 72px;
}

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

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), var(--glow-indigo);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.icon-indigo { background: rgba(99,102,241,0.15); color: var(--accent-indigo); }
.icon-violet { background: rgba(139,92,246,0.15); color: var(--accent-violet); }
.icon-green  { background: rgba(34,197,94,0.15);  color: var(--accent-green);  }
.icon-blue   { background: rgba(59,130,246,0.15);  color: var(--accent-blue);   }
.icon-amber  { background: rgba(245,158,11,0.15);  color: var(--accent-amber);  }
.icon-red    { background: rgba(239,68,68,0.15);   color: var(--accent-red);    }

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ──────────────────────────────────────── */
/* HOW IT WORKS */
/* ──────────────────────────────────────── */
.how-it-works {
  padding: 120px 0;
  position: relative;
}
.how-it-works-header { text-align: center; margin-bottom: 80px; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line between steps */
.steps-row::after {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-indigo), transparent);
  opacity: 0.4;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 4px 24px rgba(99,102,241,0.4);
}
.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ──────────────────────────────────────── */
/* TESTIMONIALS */
/* ──────────────────────────────────────── */
.testimonials {
  padding: 120px 0;
}
.testimonials-header { text-align: center; margin-bottom: 72px; }

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

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.testimonial-card.featured {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.3);
}
.testimonial-card.featured:hover {
  box-shadow: 0 16px 40px rgba(99,102,241,0.15);
}

.quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-indigo);
  opacity: 0.5;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.author-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star { color: var(--accent-amber); font-size: 0.9rem; }

/* ──────────────────────────────────────── */
/* PRICING SECTION */
/* ──────────────────────────────────────── */
.pricing {
  padding: 120px 0;
}
.pricing-header { text-align: center; margin-bottom: 72px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.popular {
  background: rgba(99,102,241,0.07);
  border-color: rgba(99,102,241,0.4);
  box-shadow: var(--glow-indigo);
}
.pricing-card.popular:hover {
  box-shadow: 0 0 80px rgba(99,102,241,0.3);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 100px;
  background: var(--gradient-cta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sup {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  margin-top: 8px;
}
.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.plan-features li .check {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-features li .cross {
  color: var(--text-muted);
  flex-shrink: 0;
}
.plan-cta { width: 100%; justify-content: center; }

/* ──────────────────────────────────────── */
/* FAQ SECTION */
/* ──────────────────────────────────────── */
.faq {
  padding: 120px 0;
}
.faq-header { text-align: center; margin-bottom: 72px; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--accent-indigo); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent-indigo); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ──────────────────────────────────────── */
/* FINAL CTA SECTION */
/* ──────────────────────────────────────── */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  border-radius: var(--radius-xl);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}
.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.cta-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ──────────────────────────────────────── */
/* FOOTER */
/* ──────────────────────────────────────── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo img { width: 28px; height: 28px; border-radius: 6px; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-links-group a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ──────────────────────────────────────── */
/* ANIMATIONS */
/* ──────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ──────────────────────────────────────── */
/* RESPONSIVE */
/* ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; }
  .steps-row     { grid-template-columns: 1fr; }
  .steps-row::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-stats-divider { display: none; }
  .hero-float-card { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .features, .how-it-works, .testimonials, .pricing, .faq, .cta-section { padding: 80px 0; }

  .cta-card { padding: 48px 24px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ──────────────────────────────────────── */
/* UNIQUE MYFINANCESHEET DIFF ACCENTS */
/* ──────────────────────────────────────── */

/* Glowing card class */
.glow-card {
  position: relative;
  background: rgba(13, 17, 28, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
}
.glow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s;
}
.glow-card:hover {
  transform: translateY(-4px);
  background: rgba(13, 17, 28, 0.6);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.8), 0 0 25px -5px rgba(99, 102, 241, 0.15);
}

/* AI Coach Soundwave Player widget */
.coach-widget {
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 24px;
  max-width: 440px;
  margin: 30px auto 0 auto;
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.1);
}
.coach-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.coach-voice-toggles {
  display: flex;
  gap: 8px;
}
.voice-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.voice-btn:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}
.voice-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 12px rgba(99,102,241,0.4);
}
.soundwave-container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 0 20px;
}
.soundwave-bar {
  width: 3px;
  height: 8px;
  background: #818cf8;
  border-radius: 2px;
  transition: height 0.15s ease;
}
.soundwave-bar.animating {
  animation: wavePulse 1s ease-in-out infinite alternate;
}
@keyframes wavePulse {
  0% { height: 6px; }
  100% { height: 48px; }
}

/* Journal Simulator Widget */
.journal-widget {
  background: rgba(13, 17, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.tag-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tag-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tag-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}
.tag-pill.active-warning {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}
.tag-pill.active-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}
.metric-highlight {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  transition: color 0.3s;
}
.widget-feedback {
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 72px;
  display: flex;
  align-items: center;
}

/* Galton Board CSS Styles */
.peg {
  fill: rgba(255, 255, 255, 0.25);
  transition: fill 0.1s, r 0.1s;
}
.peg.hit {
  fill: #818cf8;
  r: 5px;
}
.ball {
  fill: #6366f1;
  filter: drop-shadow(0 0 3px rgba(99, 102, 241, 0.8));
}
.bin-border {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5;
}
