/* =======================================================================
   SCOREFORGE — DESIGN SYSTEM
   Palette: deep navy ground, single electric-blue signal, paper-white
   surfaces. Green/amber/red reserved ONLY for assessment outcomes —
   nowhere else on the site — so when they appear, they mean something.
   Type: Plus Jakarta Sans (display, geometric/confident) + Inter (body)
   + IBM Plex Mono (numbers — money, scores, percentages).
   Signature motif: the readiness dial. A semicircular gauge that fills
   from red → amber → green. It is the simulator's own result graphic,
   reused as the site's visual signature (favicon mark, section dividers,
   loading states) instead of a generic logo lockup.
   ======================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --navy:        #0B1A33;
  --navy-2:      #10233F;
  --navy-3:      #16294A;
  --blue:        #2F6FED;
  --blue-deep:   #1E4FBF;
  --blue-soft:   #E8F0FE;
  --paper:       #F6F7FA;
  --paper-raised:#FFFFFF;
  --ink:         #0F1B2D;
  --ink-soft:    #55617A;
  --line:        #E1E5EC;
  --line-soft:   #EDF0F5;
  --green:       #17845C;
  --green-bg:    #E4F5EC;
  --amber:       #B5750E;
  --amber-bg:    #FBF0DA;
  --red:         #C2413A;
  --red-bg:      #FBE9E7;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-card: 0 1px 2px rgba(11,26,51,.04), 0 8px 24px -12px rgba(11,26,51,.12);
  --shadow-lift: 0 20px 60px -20px rgba(11,26,51,.35);
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{ overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}

h1,h2,h3,h4{ font-family:'Plus Jakarta Sans',sans-serif; color:var(--navy); margin:0; letter-spacing:-0.01em; }
h1{ font-weight:800; }
h2{ font-weight:700; }
h3{ font-weight:700; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
.mono{ font-family:'IBM Plex Mono',monospace; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
@media (max-width:760px){
  .section{ padding:56px 0; }
  .section-tight{ padding:40px 0; }
}

.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blue-deep);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:'';
  width:16px; height:1px;
  background:var(--blue);
}

.lede{ font-size:18px; color:var(--ink-soft); max-width:640px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-weight:600; font-size:15px; padding:14px 24px; border-radius:12px;
  border:1px solid transparent; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 10px 24px -10px rgba(47,111,237,.55); }
.btn-primary:hover{ background:var(--blue-deep); }
.btn-ghost{ background:transparent; color:var(--paper); border-color:rgba(255,255,255,.28); }
.btn-ghost:hover{ border-color:rgba(255,255,255,.55); }
.btn-outline{ background:transparent; color:var(--navy); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--navy); }
.btn-whatsapp{ background:#1F8A5F; color:#fff; }
.btn-whatsapp:hover{ background:#166B48; }
.btn-sm{ padding:10px 16px; font-size:13.5px; border-radius:10px; }
.btn-lg{ padding:19px 30px; font-size:17.5px; border-radius:14px; gap:12px; }
.btn-block{ width:100%; }

/* ---------- Nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(11,26,51,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:19px; color:#fff; }
.brand-mark{ width:30px; height:22px; }
.brand small{ font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:10px; letter-spacing:.16em; color:#8FA6D6; display:block; text-transform:uppercase; margin-top:1px; }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ color:#C7D2E6; font-size:14.5px; font-weight:500; transition:color .15s; }
.nav-links a:hover{ color:#fff; }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:none; background:none; border:none; padding:8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:22px; height:2px; background:#fff; position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:72px 0 0 0; background:var(--navy); flex-direction:column;
    justify-content:flex-start; padding:32px 24px; gap:22px; transform:translateX(100%);
    transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:18px; }
  .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{ background:radial-gradient(120% 140% at 15% -10%, #16294A 0%, var(--navy) 55%, #081327 100%); color:#fff; position:relative; overflow:hidden; }
.hero::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(47,111,237,.25), transparent 70%);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; padding:88px 0 96px; position:relative; z-index:1; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; padding:56px 0 48px; gap:44px; } }

.hero h1{ font-size:clamp(34px,4.6vw,54px); line-height:1.06; color:#fff; }
.hero .lede{ color:#B9C4DC; margin-top:20px; font-size:17.5px; max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:22px; margin-top:36px; flex-wrap:wrap; }
.hero-meta div{ font-size:13px; color:#93A2C2; }
.hero-meta strong{ display:block; color:#fff; font-family:'IBM Plex Mono',monospace; font-size:19px; font-weight:600; }

@media (max-width:640px){
  .hero-grid > div:first-child{ text-align:center; }
  .hero .eyebrow{ justify-content:center; }
  .hero .lede{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-meta{ justify-content:center; gap:28px; text-align:center; }
}

/* Dashboard mock */
.mock{
  background:linear-gradient(180deg,#101F3B,#0C1A32);
  border:1px solid rgba(255,255,255,.09);
  border-radius:var(--radius-l);
  padding:22px;
  box-shadow:var(--shadow-lift);
}
.mock-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.mock-dots{ display:flex; gap:6px; }
.mock-dots span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.18); }
.mock-tag{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:.12em; color:#7C8BB0; text-transform:uppercase; }
.mock-card{ background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); border-radius:14px; padding:18px; }
.mock-row{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.06); font-size:13.5px; }
.mock-row:last-child{ border-bottom:none; }
.mock-row span:first-child{ color:#9AA8C6; }
.mock-row span:last-child{ font-family:'IBM Plex Mono',monospace; color:#fff; font-weight:600; }
.mock-badge{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; padding:5px 10px; border-radius:999px; background:var(--green-bg); color:var(--green); font-family:'IBM Plex Mono',monospace; letter-spacing:.03em; }
.mock-gauge-wrap{ display:flex; flex-direction:column; align-items:center; padding:8px 0 4px; }
.mock-gauge-label{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:#7C8BB0; letter-spacing:.1em; text-transform:uppercase; margin-top:4px; }
.mock-strengths{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.mock-chip{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:#C7D2E6; }
.mock-chip .dot{ width:6px; height:6px; border-radius:50%; flex:none; }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:22px; }
.grid-2{ grid-template-columns:1fr 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:1fr 1fr; } }
@media (max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--paper-raised); border:1px solid var(--line); border-radius:var(--radius-m);
  padding:26px; box-shadow:var(--shadow-card);
}
.card h3{ font-size:18px; margin-bottom:8px; }
.card p{ color:var(--ink-soft); font-size:14.5px; }
.card-icon{ width:42px; height:42px; border-radius:11px; background:var(--blue-soft); color:var(--blue-deep); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }

.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Step flow (How it works) */
.flow{ display:flex; gap:0; counter-reset:step; }
.flow-step{ flex:1; position:relative; padding:0 18px 0 0; }
.flow-step:first-child{ padding-left:0; }
.flow-num{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--blue-deep); font-weight:700; margin-bottom:10px; }
.flow-line{ position:absolute; top:9px; left:-11px; width:22px; height:1px; background:var(--line); }
@media (max-width:820px){ .flow{ flex-direction:column; gap:28px; } .flow-line{ display:none; } .flow-step{ padding:0; } }

/* ---------- Panels for good/bad ---------- */
.panel{ border-radius:var(--radius-m); border:1px solid var(--line); background:var(--paper-raised); padding:24px; }
.panel-head{ display:flex; align-items:center; gap:10px; margin-bottom:14px; font-weight:700; font-size:15px; }
.panel ul{ display:flex; flex-direction:column; gap:10px; font-size:14px; color:var(--ink-soft); }
.panel ul li strong{ color:var(--ink); }

/* Badges by category */
.badge{ display:inline-flex; align-items:center; gap:7px; font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:13px; padding:7px 13px; border-radius:999px; }
.badge-strong,.badge-good{ background:var(--green-bg); color:var(--green); }
.badge-moderate{ background:var(--amber-bg); color:var(--amber); }
.badge-weak,.badge-high{ background:var(--red-bg); color:var(--red); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy); color:#AEB9D1; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-grid h4{ color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.08em; font-family:'IBM Plex Mono',monospace; margin-bottom:16px; }
.footer-grid a{ display:block; font-size:14px; color:#AEB9D1; margin-bottom:10px; transition:color .15s; }
.footer-grid a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:12.5px; color:#7E8BAA; flex-wrap:wrap; gap:12px; }
.footer-disclaimer{ font-size:12.5px; color:#7E8BAA; max-width:760px; line-height:1.7; margin:24px 0; padding:18px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(255,255,255,.02); }

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:60;
  background:#1F8A5F; color:#fff; width:72px; height:72px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:0 12px 34px -8px rgba(31,138,95,.65);
  transition:transform .15s ease;
}
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:34px; height:34px; }

/* ---------- Utility ---------- */
.tag-row{ display:flex; flex-wrap:wrap; gap:10px; }
.tag{ font-size:12.5px; font-weight:600; padding:7px 13px; border-radius:999px; background:var(--blue-soft); color:var(--blue-deep); }
.divider-dial{ display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.center{ text-align:center; }
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:32px; } }
.small-print{ font-size:12.5px; color:var(--ink-soft); line-height:1.7; }
.stat-block strong{ display:block; font-family:'IBM Plex Mono',monospace; font-size:30px; color:var(--navy); }
.stat-block span{ font-size:13px; color:var(--ink-soft); }
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

.cta-band{ background:var(--navy); border-radius:var(--radius-l); padding:56px; display:flex; align-items:center; justify-content:space-between; gap:32px; color:#fff; position:relative; overflow:hidden; }
.cta-band::after{ content:''; position:absolute; inset:0; background:radial-gradient(420px 220px at 90% 10%, rgba(47,111,237,.3), transparent 70%); pointer-events:none; }
.cta-band > *{ position:relative; z-index:1; }
@media (max-width:760px){ .cta-band{ flex-direction:column; align-items:flex-start; padding:36px 24px; } }

/* prose pages (privacy/terms) */
.prose h2{ font-size:22px; margin:36px 0 12px; }
.prose h2:first-child{ margin-top:0; }
.prose p, .prose li{ color:var(--ink-soft); font-size:15px; margin-bottom:12px; }
.prose ul{ list-style:disc; padding-left:22px; margin-bottom:16px; }
.prose{ max-width:760px; }

/* =======================================================================
   SIMULATOR APP (mounted into #sf-app on simulator.html)
   ======================================================================= */
#sf-app{ max-width:980px; margin:0 auto; }
.sf-topbar{ display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; }
.sf-brandmini{ display:flex; align-items:center; gap:10px; }
.sf-brandmini-mark{ width:30px; height:30px; border-radius:8px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:15px; }
.sf-brandmini-name{ font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; font-size:16px; color:var(--navy); line-height:1.1; }
.sf-brandmini-sub{ font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); }
.sf-step-count{ font-size:12px; color:var(--ink-soft); }
.sf-progress{ height:3px; background:var(--line-soft); border-radius:3px; margin-bottom:22px; }
.sf-progress-bar{ height:100%; background:var(--blue); border-radius:3px; transition:width .25s ease; }
.sf-rail{ display:none; gap:4px; margin-bottom:26px; }
@media (min-width:860px){ .sf-rail{ display:flex; } }

.sf-body-grid{ display:grid; grid-template-columns:1fr 280px; gap:28px; align-items:start; }
@media (max-width:860px){ .sf-body-grid{ grid-template-columns:1fr; } }
.sf-form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-m); padding:30px; box-shadow:var(--shadow-card); }
.sf-field-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:560px){ .sf-field-grid{ grid-template-columns:1fr; } }

.sf-label{ display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:8px; }
.sf-hint{ font-weight:400; color:var(--ink-soft); font-size:11.5px; margin-left:8px; }
.sf-input{ width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-size:14px; outline:none; font-family:inherit; background:#fff; color:var(--ink); }
.sf-input:focus{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-soft); }
.sf-money{ display:flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.sf-money-prefix{ padding:12px 12px; font-size:13px; color:var(--ink-soft); border-right:1px solid var(--line); }
.sf-money-input{ flex:1; border:none; outline:none; padding:12px 14px; font-size:14px; color:var(--ink); }
.sf-choices{ display:flex; flex-wrap:wrap; gap:8px; }
.sf-chip{ font-size:13px; padding:9px 15px; border-radius:9px; border:1px solid var(--line); background:#fff; color:var(--ink-soft); transition:.15s; }
.sf-chip:hover{ border-color:var(--blue); }
.sf-chip.active{ background:var(--navy); border-color:var(--navy); color:#fff; }
.sf-nav-row{ display:flex; justify-content:space-between; margin-top:30px; padding-top:22px; border-top:1px solid var(--line-soft); }

.sf-ledger{ position:sticky; top:90px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-m); padding:22px; box-shadow:var(--shadow-card); }
.sf-ledger-title{ font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--blue-deep); margin-bottom:16px; }
.sf-ledger-row{ display:flex; justify-content:space-between; font-size:13px; padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid var(--line-soft); color:var(--ink-soft); }
.sf-ledger-total{ display:flex; justify-content:space-between; font-size:14px; font-weight:700; color:var(--navy); }
.sf-ledger-note{ font-size:11px; color:var(--ink-soft); line-height:1.6; margin-top:14px; }
@media (max-width:860px){ .sf-ledger{ position:static; } }

.sf-results{ display:flex; flex-direction:column; gap:26px; }
.results-hero{ display:grid; grid-template-columns:auto 1fr; gap:30px; align-items:center; }
@media (max-width:600px){ .results-hero{ grid-template-columns:1fr; text-align:center; } .results-hero > div:first-child{ margin:0 auto; } }
.sf-chat-log{ max-height:260px; overflow-y:auto; margin-bottom:16px; padding-right:4px; }

/* breadcrumb-ish page header */
.page-head{ background:var(--navy); color:#fff; padding:64px 0 56px; }
.page-head .eyebrow{ color:#8FA6D6; }
.page-head .eyebrow::before{ background:#5C7BD6; }
.page-head h1{ color:#fff; font-size:clamp(28px,4vw,42px); }
.page-head p{ color:#B9C4DC; margin-top:14px; max-width:620px; font-size:16px; }

/* ---------- Logo (added) ---------- */
.brand-logo{
  width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0;
  box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.site-footer .brand-logo{ width:38px; height:38px; }
@media (max-width:900px){ .brand-logo{ width:36px; height:36px; } }

/* ---------- WhatsApp floating button — subtle animation (added) ---------- */
.wa-float{ animation:wa-pulse 2.6s ease-in-out infinite; }
.wa-float:hover{ transform:scale(1.08); animation-play-state:paused; }
.wa-float:active{ transform:scale(0.94); }
@keyframes wa-pulse{
  0%, 100%{ box-shadow:0 12px 34px -8px rgba(31,138,95,.65), 0 0 0 0 rgba(31,138,95,.45); }
  50%{ box-shadow:0 12px 34px -8px rgba(31,138,95,.65), 0 0 0 10px rgba(31,138,95,0); }
}
@media (prefers-reduced-motion: reduce){
  .wa-float{ animation:none; }
}
@media (max-width:600px){
  .wa-float{ right:16px; bottom:16px; width:60px; height:60px; }
  .wa-float svg{ width:28px; height:28px; }
}
