/* ──────────────────────────────────────────────────────────
   NextFinance AI — Landing page styles
   ────────────────────────────────────────────────────────── */

:root {
  --navy:   #0f1729;
  --navy2:  #1a2a4a;
  --navy3:  #243554;
  --gold:   #c9a227;
  --gold2:  #e8c04a;
  --white:  #ffffff;
  --gray:   #64748b;
  --gray2:  #94a3b8;
  --light:  #f8fafc;
  --light2: #f1f5f9;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --font:   'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, p, a, li, span, div {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: 38px;
  object-fit: cover;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
}

.logo-label { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.logo-name { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.logo-name span { color: var(--gold); }
.logo-tagline { font-size: 0.63rem; color: rgba(255,255,255,0.45); font-weight: 500; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.navbar-right { display: flex; align-items: center; gap: 0.85rem; }

.nav-login-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-login-link:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

/* ── Hamburger ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ───────────────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1.25rem 1.25rem;
  position: sticky;
  top: 57px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu a:last-of-type { border-bottom: none; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-lg { padding: 0.9rem 1.85rem; font-size: 1rem; }
.btn-xl { padding: 1.05rem 2.25rem; font-size: 1.05rem; border-radius: 12px; }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--navy); background: var(--light2); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy2); transform: translateY(-1px); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, #162340 55%, #0d1e35 100%);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,80,140,0.3) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.28);
  color: var(--gold2);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.hero-text h1 span { color: var(--gold); }

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.75rem; }

.hero-trust {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ── Chat mockup ───────────────────────────────────────────── */
.chat-mockup {
  background: #0b1120;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}

.mockup-header {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title { display: flex; align-items: center; gap: 0.5rem; }
.mockup-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.mockup-name { font-size: 0.82rem; font-weight: 700; color: white; }
.mockup-status { font-size: 0.68rem; color: #4ade80; }

.mockup-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.65rem; }

.mock-msg { display: flex; }
.mock-msg.user { justify-content: flex-end; }

.mock-bubble {
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 88%;
}
.mock-bubble strong { color: white; }

.mock-bubble.user-bubble {
  background: rgba(201,162,39,0.18);
  border: 1px solid rgba(201,162,39,0.3);
  color: #e8c04a;
}

.bloque-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.mock-bubble.teoria { border-left: 2px solid #60a5fa; }
.mock-bubble.teoria .bloque-tag { background: rgba(96,165,250,0.15); color: #93c5fd; }

.mock-bubble.formula { border-left: 2px solid var(--gold); background: rgba(201,162,39,0.08); }
.formula-tag { background: rgba(201,162,39,0.2); color: var(--gold2); }
.formula-display { font-family: 'Courier New', monospace; font-size: 0.88rem; color: var(--gold2); margin: 0.3rem 0; font-weight: 700; }
.formula-sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

.mock-bubble.ejercicio { border-left: 2px solid #a78bfa; }
.ejercicio-tag { background: rgba(167,139,250,0.15); color: #c4b5fd; }

/* ── Context bar ───────────────────────────────────────────── */
.context-bar {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
}
.context-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.context-stat { display: flex; align-items: center; gap: 0.75rem; }
.context-num { font-size: 2rem; font-weight: 900; color: var(--gold); letter-spacing: -0.03em; line-height: 1; }
.context-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); max-width: 180px; line-height: 1.4; }
.context-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 5.5rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
}
.section-alt {
  max-width: 100%;
  background: var(--light);
}
.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: rgba(201,162,39,0.8); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
}
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ── Steps ─────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.step-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201,162,39,0.12);
  transform: translateY(-3px);
}

.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
  background: rgba(201,162,39,0.1);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.step-icon { font-size: 2rem; margin-bottom: 0.85rem; }

.step-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; margin-bottom: 1rem; }

.step-detail {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  background: rgba(201,162,39,0.08);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  line-height: 1.5;
}

/* ── Modules ───────────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.module-card-wide { grid-column: span 2; }

.module-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}
.module-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,162,39,0.12);
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.module-num {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.module-icon { font-size: 1.4rem; }

.module-card h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.4rem; }
.module-card > p { font-size: 0.8rem; color: var(--gray); line-height: 1.55; margin-bottom: 1rem; }

.module-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.module-topics li {
  font-size: 0.76rem;
  color: var(--gray);
  padding-left: 0.85rem;
  position: relative;
  line-height: 1.5;
}
.module-topics li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

/* ── Features ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(201,162,39,0.1);
  transform: translateY(-2px);
}

.feature-icon { font-size: 1.8rem; margin-bottom: 0.9rem; }
.feature-card h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.65; }

/* ── Profile section ───────────────────────────────────────── */
.profile-section {
  background: linear-gradient(145deg, var(--navy) 0%, #162340 60%, #0d1e35 100%);
  padding: 5.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.profile-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.profile-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.profile-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.profile-features li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pf-check {
  color: #4ade80;
  font-weight: 800;
  font-size: 0.85rem;
}

.disclaimer-dark {
  background: rgba(255,251,235,0.06);
  border: 1px solid rgba(251,191,36,0.18);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}
.disclaimer-dark strong { color: rgba(255,255,255,0.65); }

/* Profile card demo */
.profile-card-demo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.demo-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.demo-hero-tipo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.demo-stat-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.demo-stat-value { font-size: 0.95rem; font-weight: 800; color: white; }

.demo-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 1rem; }
.demo-scores-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }

.demo-scores { display: flex; flex-direction: column; gap: 0.55rem; }
.demo-score-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.demo-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.demo-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
}
.demo-num { width: 30px; text-align: right; color: var(--gold); font-weight: 700; font-size: 0.72rem; }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.pricing-card:hover:not(.featured) { border-color: #cbd5e1; box-shadow: var(--shadow); }

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 16px 56px rgba(201,162,39,0.2);
  transform: scale(1.03);
}

.pricing-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.pricing-pill.free { background: var(--light2); color: var(--gray); }
.pricing-pill.beta { background: rgba(74,222,128,0.12); color: #15803d; border: 1px solid rgba(74,222,128,0.3); }

.pricing-name { font-size: 0.95rem; font-weight: 700; color: var(--gray); margin-bottom: 0.5rem; }

.pricing-amount {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.2rem;
}
.pricing-currency { font-size: 1.8rem; }

.pricing-period { color: var(--gray2); font-size: 0.82rem; margin-bottom: 2rem; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 1.75rem;
}
.pricing-features li { font-size: 0.86rem; color: var(--navy); }
.pricing-features li.inactive { color: var(--gray2); }
.pricing-features li.active { color: var(--navy); }

.pricing-note { font-size: 0.72rem; color: var(--gray2); margin-top: 0.75rem; line-height: 1.5; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item:hover, .faq-item.open { border-color: var(--gold); }

.faq-q {
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.7;
  padding: 0 1.25rem;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.25rem 1.1rem; }

/* ── CTA section ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(145deg, var(--navy) 0%, #162340 60%, #0d1e35 100%);
  color: var(--white);
  text-align: center;
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-badge {
  display: inline-block;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.25);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-section h2 span { color: var(--gold); }

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-disclaimer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Disclaimer ─────────────────────────────────────────────── */
.disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: #92400e;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 2.5rem 2rem 1.75rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { width: 36px; height: 36px; object-fit: cover; border-radius: 9px; }
.footer-brand-name { font-size: 0.95rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-top: 0.1rem; }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-inner { grid-template-columns: 1fr; gap: 3rem; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.9rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-login-link { display: none; }

  .hero { padding: 3.5rem 1.25rem 3rem; }
  .section { padding: 4rem 1.25rem; }
  .profile-section { padding: 4rem 1.25rem; }
  .cta-section { padding: 5rem 1.25rem; }

  .context-inner { gap: 2rem; }
  .context-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .faq-grid { grid-template-columns: 1fr; padding: 0 1.25rem; }

  .modules-grid { grid-template-columns: 1fr; padding: 0 1.25rem; }
  .module-card-wide { grid-column: span 1; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .context-stat { flex-direction: column; text-align: center; gap: 0.3rem; }
  .context-label { max-width: 100%; }
  .demo-stats { grid-template-columns: 1fr 1fr; }
}
