/* FinFlash Landing — brand: primaryBrown #BA9D75, accentGold #FFC107 */
:root {
  --brown: #BA9D75;
  --brown-dark: #8f7452;
  --brown-darker: #5f4c33;
  --gold: #FFC107;
  --gold-dark: #d9a406;
  --cream: #FBF7F1;
  --ink: #2b2118;
  --ink-soft: #6b5d4d;
  --white: #ffffff;
  --green: #2ECC71;
  --red: #FF5252;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(95, 76, 51, 0.12);
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(186, 157, 117, 0.25);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.25rem; color: var(--ink);
  text-decoration: none;
}
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--brown-dark); }
.lang-switch {
  font-size: 0.85rem; padding: 4px 10px; border: 1px solid var(--brown);
  border-radius: 999px; color: var(--brown-dark) !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink); box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}
.btn-secondary {
  background: var(--white); color: var(--brown-darker);
  border: 2px solid var(--brown);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.15; font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--brown-dark); }
.hero .sub {
  margin: 20px 0 28px; font-size: 1.15rem; color: var(--ink-soft); max-width: 34em;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-soft); }

/* Phone mockup */
.phone {
  width: 290px; margin: 0 auto; background: var(--white);
  border-radius: 36px; border: 10px solid var(--ink);
  box-shadow: var(--shadow); padding: 22px 18px; position: relative;
}
.phone .statusbar {
  display: flex; justify-content: space-between; font-size: 0.75rem;
  color: var(--ink-soft); margin-bottom: 14px;
}
.phone .streak-row {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 16px;
}
.phone .card {
  background: linear-gradient(160deg, var(--brown), var(--brown-dark));
  color: var(--white); border-radius: var(--radius); padding: 22px 18px;
  min-height: 150px; display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.phone .card .q { font-size: 0.8rem; opacity: 0.85; margin-bottom: 8px; }
.phone .card .a { font-weight: 800; font-size: 1.05rem; }
.phone .progress {
  height: 8px; background: #eee2d2; border-radius: 999px; margin: 18px 0 12px;
  overflow: hidden;
}
.phone .progress span {
  display: block; height: 100%; width: 62%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 999px;
}
.phone .xp {
  text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--green);
}

/* ---------- Stats strip ---------- */
.stats { background: var(--brown-darker); color: var(--cream); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: 1.5rem; color: var(--gold); }
.stats span { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 42em; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em;
}
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 1.05rem; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brown-dark); margin-bottom: 10px;
}

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow);
}
.feature .icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.6rem;
  background: linear-gradient(135deg, #fdf3d8, #fbe6ae); margin-bottom: 16px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 32px 24px 28px; box-shadow: var(--shadow); counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.5);
}
.step h3 { font-size: 1.05rem; margin: 8px 0; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* Paths */
.paths-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.path {
  background: var(--white); border-radius: var(--radius); padding: 22px 20px;
  box-shadow: var(--shadow); border-top: 4px solid var(--brown);
}
.path .emoji { font-size: 1.8rem; }
.path h3 { font-size: 1rem; margin: 10px 0 6px; }
.path p { font-size: 0.85rem; color: var(--ink-soft); }
.path .lessons { display: inline-block; margin-top: 10px; font-size: 0.75rem; font-weight: 700;
  color: var(--brown-dark); background: #f3e9db; padding: 3px 10px; border-radius: 999px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
.plan {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); position: relative;
}
.plan.featured { border: 2px solid var(--gold); }
.plan .badge {
  position: absolute; top: -14px; right: 24px; background: var(--gold);
  color: var(--ink); font-size: 0.75rem; font-weight: 800; padding: 4px 14px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.2rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 12px 0 2px; }
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.plan .yearly { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 18px 0 24px; }
.plan li { padding: 7px 0 7px 30px; position: relative; font-size: 0.95rem; }
.plan li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800;
}
.plan li.muted { color: var(--ink-soft); }
.plan li.muted::before { content: "—"; color: #c9bda9; }
.pricing-note { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 12px; padding: 0 24px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 20px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brown-dark); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brown), var(--brown-darker));
  border-radius: 24px; color: var(--cream); text-align: center;
  padding: 56px 32px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { opacity: 0.9; margin-bottom: 26px; }

/* Footer */
.site-footer {
  background: var(--ink); color: #cfc4b4; padding: 48px 0 32px; margin-top: 72px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--cream); margin-bottom: 12px; font-size: 0.95rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfc4b4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  font-size: 0.78rem; opacity: 0.75; line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .features-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.always { display: flex; }
  section { padding: 56px 0; }
}
