/* ============================================================
   FinLitGo — Shared Design System
   "Learn the language of money."
   ============================================================ */

:root {
  /* Palette */
  --cream: #FBF7EE;
  --cream-soft: #F4EFE2;
  --forest: #0E3B2E;
  --forest-deep: #082820;
  --forest-tint: #E7EFE9;
  --green: #33D17A;
  --green-bright: #4CE28C;
  --green-dark: #1F9D5C;
  --yellow: #FFC94A;
  --yellow-soft: #FFE9B8;
  --coral: #FF7A59;
  --ink: #10241C;
  --ink-soft: #48594F;
  --white: #FFFFFF;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(14, 59, 46, 0.08);
  --shadow-md: 0 12px 32px rgba(14, 59, 46, 0.12);
  --shadow-lg: 0 24px 60px rgba(14, 59, 46, 0.18);

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

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--forest-tint);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-accent {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: var(--forest-deep);
  box-shadow: 0 12px 30px rgba(51, 209, 122, 0.35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(51, 209, 122, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-yellow {
  background: var(--yellow);
  color: var(--forest-deep);
  box-shadow: 0 12px 26px rgba(255, 201, 74, 0.4);
}
.btn-yellow:hover { transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 20px 40px; font-size: 18px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 238, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 59, 46, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--forest-deep);
}
.logo .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-bright), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  color: var(--forest);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--forest-tint); }
.nav-links a.active { background: var(--forest); color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest-tint);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--forest);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: var(--cream);
  border-bottom: 1px solid rgba(14,59,46,0.08);
}
.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--forest);
}
.mobile-menu a.active { background: var(--forest); color: white; }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,59,46,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--yellow-soft);
  color: #8A5A00;
}
.badge.green { background: var(--forest-tint); color: var(--green-dark); }
.badge.forest { background: var(--forest); color: white; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Hero blob / gradients ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Phone mockup ---------- */
.phone {
  width: 280px;
  background: var(--forest-deep);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin: 0 auto;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--forest-deep);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  background: var(--cream);
  border-radius: 30px;
  overflow: hidden;
  min-height: 520px;
  padding: 30px 16px 16px;
  position: relative;
}
.phone-app-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 12px; font-weight: 800; color: var(--forest); }
.phone-video {
  background: linear-gradient(160deg, var(--forest), #145238);
  border-radius: var(--radius-md);
  height: 200px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.phone-video .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center; color: var(--forest); font-size: 18px;
}
.phone-video .tag { color: white; font-size: 12px; font-weight: 800; background: rgba(255,255,255,0.18); padding: 6px 10px; border-radius: var(--radius-pill); }
.phone-progressbar { height: 8px; background: var(--forest-tint); border-radius: var(--radius-pill); overflow: hidden; margin: 10px 0; }
.phone-progressbar > div { height: 100%; background: linear-gradient(90deg, var(--green), var(--green-bright)); border-radius: var(--radius-pill); }
.phone-stats { display: flex; gap: 8px; margin-top: 12px; }
.phone-stat { flex: 1; background: white; border-radius: 14px; padding: 10px; text-align: center; box-shadow: var(--shadow-sm); }
.phone-stat .num { font-family: var(--font-display); font-weight: 900; font-size: 16px; color: var(--forest); }
.phone-stat .lbl { font-size: 10px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; }
.phone-badges { display: flex; gap: 8px; margin-top: 14px; }
.phone-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { color: white; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,0.7); font-weight: 600; }
.footer-col a:hover { color: var(--green-bright); }
.footer-logo { color: white; font-family: var(--font-display); font-weight: 900; font-size: 22px; margin-bottom: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  max-width: 900px;
  margin-top: 18px;
  line-height: 1.6;
}
/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.free-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest); color: white; font-weight: 800; font-size: 13px;
  padding: 8px 16px; border-radius: var(--radius-pill);
}
.free-pill::before { content: '●'; color: var(--green-bright); }

.page-hero {
  padding: 64px 0 40px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(34px, 5.5vw, 56px); max-width: 780px; margin-left: auto; margin-right: auto; }
.page-hero p.lead { font-size: 19px; max-width: 620px; margin: 20px auto 0; }

hr.divider { border: none; border-top: 1px solid rgba(14,59,46,0.1); margin: 0; }

/* ---------- Responsive layout helpers ---------- */
.hero-grid { display:grid; grid-template-columns: 1.15fr 0.85fr; gap:48px; align-items:center; position:relative; z-index:1; }
.promo-grid { display:grid; grid-template-columns:1.3fr 0.7fr; gap:32px; align-items:center; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:center; }
@media (max-width: 900px) {
  .hero-grid, .promo-grid, .two-col { grid-template-columns: 1fr; }
  .hero-grid > div:last-child, .promo-grid > div:last-child { order: -1; }
}

/* ---------- Learn page: paths & lessons ---------- */
.path-tabs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.path-tab {
  padding:12px 22px; border-radius:var(--radius-pill); font-weight:800; font-size:14px;
  background:var(--white); border:1px solid rgba(14,59,46,0.12); cursor:pointer; color:var(--ink-soft);
}
.path-tab.active { background:var(--forest); color:white; border-color:var(--forest); }

.path-card {
  background:white; border-radius:var(--radius-lg); padding:36px; box-shadow:var(--shadow-sm);
  border:1px solid rgba(14,59,46,0.06);
}
.path-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:20px; flex-wrap:wrap; }
.path-progress-track { height:12px; background:var(--forest-tint); border-radius:var(--radius-pill); overflow:hidden; margin: 6px 0 24px; }
.path-progress-track > div { height:100%; border-radius:var(--radius-pill); background:linear-gradient(90deg, var(--green), var(--green-bright)); }

.lesson-list { display:flex; flex-direction:column; gap:10px; }
.lesson-row {
  display:flex; align-items:center; gap:16px; padding:16px 18px; border-radius:16px;
  background:var(--cream-soft); border:1px solid transparent;
}
.lesson-row.done { background:var(--forest-tint); }
.lesson-row.locked { opacity:0.55; }
.lesson-icon {
  width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:16px; flex-shrink:0; background:white;
}
.lesson-row.done .lesson-icon { background:var(--green); color:white; }
.lesson-title { font-weight:700; font-size:15px; color:var(--forest-deep); flex:1; }
.lesson-meta { font-size:12px; color:var(--ink-soft); font-weight:700; }

.topic-card { display:flex; align-items:flex-start; gap:16px; }
.topic-icon { width:52px; height:52px; border-radius:14px; background:var(--forest-tint); display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; }

/* Quiz */
.quiz-box { background:white; border-radius:var(--radius-lg); padding:36px; box-shadow:var(--shadow-md); border:1px solid rgba(14,59,46,0.06); }
.quiz-options { display:flex; flex-direction:column; gap:12px; margin:24px 0; }
.quiz-option {
  padding:16px 20px; border-radius:16px; border:2px solid rgba(14,59,46,0.12);
  background:var(--cream-soft); cursor:pointer; font-weight:700; font-size:15px; transition: 0.2s;
}
.quiz-option:hover { border-color:var(--green); }
.quiz-option.correct { background: var(--forest-tint); border-color: var(--green); color: var(--green-dark); }
.quiz-option.incorrect { background: #FDEAE6; border-color: var(--coral); color: #B3311B; }
.quiz-feedback { font-weight:800; opacity:0; transition:0.3s; min-height:24px; }
.quiz-feedback.show { opacity:1; }

/* FAQ */
.faq-item { border-bottom:1px solid rgba(14,59,46,0.1); padding:22px 0; }
.faq-q { display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:800; font-size:16px; color:var(--forest-deep); }
.faq-q::after { content:'+'; font-size:22px; color:var(--green-dark); transition:0.2s; }
.faq-item.open .faq-q::after { content:'−'; }
.faq-a { max-height:0; overflow:hidden; transition:0.3s ease; font-size:15px; }
.faq-item.open .faq-a { max-height:300px; margin-top:14px; }

/* Timeline */
.timeline { display:flex; flex-direction:column; gap:0; }
.timeline-step { display:flex; gap:20px; }
.timeline-marker { display:flex; flex-direction:column; align-items:center; }
.timeline-dot { width:44px; height:44px; border-radius:50%; background:var(--forest); color:white; display:flex; align-items:center; justify-content:center; font-weight:900; flex-shrink:0; }
.timeline-line { width:2px; flex:1; background:rgba(14,59,46,0.15); min-height:40px; }
.timeline-content { padding-bottom:36px; }

/* Form */
.form-group { margin-bottom:22px; }
.form-group label { display:block; font-weight:800; font-size:14px; margin-bottom:8px; color:var(--forest-deep); }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:14px 16px; border-radius:14px; border:1.5px solid rgba(14,59,46,0.15);
  font-family: var(--font-body); font-size:15px; background:white; color:var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline:none; border-color:var(--green); }
.role-options { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
@media (max-width:640px){ .role-options{ grid-template-columns:1fr; } }
.role-option { display:flex; align-items:center; gap:10px; padding:14px 16px; border-radius:14px; border:1.5px solid rgba(14,59,46,0.15); font-weight:700; font-size:14px; cursor:pointer; }
.role-option input { width:auto; }

.founder-card { display:grid; grid-template-columns:220px 1fr; gap:36px; align-items:center; }
@media (max-width:640px) { .founder-card { grid-template-columns:1fr; text-align:center; } }


