/* ============================================================
   Flexsysbyte FX — Light fintech design system
   Palette: deep blue #1A3D7C · teal #2FB7A4 · navy text #0B1F33
   Backgrounds: light grey #F5F7FA · white cards
   Type: Poppins (headings) · Inter (body)
   ============================================================ */

:root {
  --brand: #1A3D7C;
  --brand-dark: #13305E;
  --brand-soft: #EAF0F9;
  --teal: #2FB7A4;
  --teal-dark: #239185;
  --green: #2FB7A4;              /* legacy alias — teal */
  --green-soft: rgba(47, 183, 164, 0.10);
  --gold: #B7791F;               /* risk/warning amber for light backgrounds */
  --red: #D64545;
  --bg: #F5F7FA;                 /* page background */
  --bg-soft: #EEF2F7;
  --bg-deep: #FFFFFF;            /* alternating band background */
  --surface: #FFFFFF;
  --text: #0B1F33;
  --muted: #44566E;
  --muted-2: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 31, 51, 0.07);
  --shadow-lg: 0 16px 40px rgba(11, 31, 51, 0.10);
  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

::selection { background: rgba(47, 183, 164, 0.25); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: 88px 0; }
.section-tight { padding: 44px 0; }

.text-green { color: var(--teal-dark); }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px;
  background: var(--teal); border-radius: 2px;
}
.grad-text { color: var(--teal-dark); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-size: 14.5px; font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 16px 32px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-outline { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

.btn-ghost { color: var(--muted); padding: 13px 18px; }
.btn-ghost:hover { color: var(--brand); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ---------- Badges ---------- */
.demo-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(183, 121, 31, 0.09);
  border: 1px solid rgba(183, 121, 31, 0.35);
  border-radius: 99px;
  padding: 5px 13px;
}
.demo-badge svg { width: 14px; height: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.logo em { font-style: normal; color: var(--teal-dark); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.logo-mark svg { width: 22px; height: 22px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 42px; height: 42px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 74px) 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 85% 0%, rgba(47, 183, 164, 0.09), transparent 60%),
    radial-gradient(ellipse 45% 60% at 5% 100%, rgba(26, 61, 124, 0.07), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800; letter-spacing: -0.028em;
  line-height: 1.08; margin-bottom: 22px;
}
.hero-sub { color: var(--muted); font-size: 17.5px; max-width: 540px; margin-bottom: 30px; }
.hero-tag {
  font-size: 13.5px; font-weight: 600; color: var(--brand);
  letter-spacing: 0.02em; margin-bottom: 26px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 15px;
}
.trust-pill svg { width: 15px; height: 15px; color: var(--teal-dark); }

.hero-risk {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--muted-2);
  background: rgba(183, 121, 31, 0.07);
  border: 1px solid rgba(183, 121, 31, 0.28);
  border-radius: 12px; padding: 12px 16px;
  max-width: 560px;
}
.hero-risk svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 1px; }
.hero-risk b { color: var(--gold); }
.hero-risk a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* ---------- Hero demo dashboard visual ---------- */
.hero-demo {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px 24px;
}
.hero-demo .demo-badge { position: absolute; top: -14px; right: 22px; background: #FFF9EE; }
.demo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.demo-head h3 { font-size: 15px; font-weight: 600; color: var(--muted-2); font-family: var(--font-body); }
.demo-balance { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.demo-balance .delta { display: inline-block; margin-left: 10px; }
.delta {
  font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
}
.delta.up { color: var(--teal-dark); background: var(--green-soft); }
.delta.down { color: var(--red); background: rgba(214, 69, 69, 0.10); }

.demo-rows { display: grid; gap: 13px; margin-bottom: 20px; }
.demo-row { display: grid; grid-template-columns: 92px 1fr 44px; gap: 12px; align-items: center; font-size: 12.5px; }
.demo-row .name { font-weight: 600; color: var(--muted); }
.demo-row .val { text-align: right; font-weight: 600; color: var(--muted-2); }
.demo-track { height: 7px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.demo-fill { height: 100%; border-radius: 99px; background: var(--brand); }
.demo-fill.t2 { background: var(--teal); }
.demo-fill.t3 { background: #7FA6DC; }
.demo-fill.t4 { background: #B9C8DE; }

.demo-foot {
  border-top: 1px solid var(--border); padding-top: 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
}
.demo-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-chip {
  font-size: 11.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(26, 61, 124, 0.16);
  border-radius: 99px; padding: 5px 11px;
}
.demo-spark { width: 132px; height: 44px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 66px) 0 66px;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 80% at 90% 0%, rgba(26, 61, 124, 0.06), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 620px; }
.breadcrumbs { font-size: 13px; color: var(--muted-2); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--brand); font-weight: 600; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- Platform stats (inline stat rows) ---------- */
.platform-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.platform-stat b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.platform-stat span { color: var(--muted-2); font-size: 13px; }

/* ---------- Reveal animation (JS-gated: content stays visible without scripting) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.step-num {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--teal-dark); background: var(--green-soft);
  border: 1px solid rgba(47, 183, 164, 0.3);
  width: fit-content; padding: 5px 13px; border-radius: 99px;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.step-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
.step-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.step-link:hover svg { transform: translateX(4px); }

/* ---------- Value / feature cards ---------- */
.value-card, .feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover, .feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.value-card h3, .feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p, .feature-card p { color: var(--muted); font-size: 14.5px; }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--teal-dark);
  background: var(--green-soft);
  border: 1px solid rgba(47, 183, 164, 0.25);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }

/* ---------- Risk panel ---------- */
.risk-panel {
  background: #FFF9EE;
  border: 1px solid rgba(183, 121, 31, 0.35);
  border-radius: var(--radius-lg);
  padding: 46px 44px;
}
.risk-panel-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 34px; }
.risk-warn-icon {
  width: 54px; height: 54px; flex: none;
  border-radius: 14px; display: grid; place-items: center;
  color: var(--gold); background: rgba(183, 121, 31, 0.12);
  border: 1px solid rgba(183, 121, 31, 0.35);
}
.risk-warn-icon svg { width: 26px; height: 26px; }
.risk-panel h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin-bottom: 10px; }
.risk-panel-head p { color: var(--muted); font-size: 15.5px; max-width: 640px; }
.risk-panel .eyebrow { color: var(--gold); }
.risk-panel .eyebrow::before { background: var(--gold); }
.risk-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.risk-point { display: flex; gap: 15px; align-items: flex-start; }
.risk-point .ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px; display: grid; place-items: center;
  color: var(--gold); background: rgba(183, 121, 31, 0.10);
  border: 1px solid rgba(183, 121, 31, 0.3);
}
.risk-point .ico svg { width: 19px; height: 19px; }
.risk-point h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.risk-point p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.risk-note {
  margin-top: 30px; padding-top: 24px;
  border-top: 1px dashed rgba(183, 121, 31, 0.4);
  color: var(--muted); font-size: 13.5px;
}

/* ---------- Plan cards ---------- */
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card.popular { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-md); }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.plan-head h3 { font-size: 20px; font-weight: 700; }
.plan-tag { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.plan-chip {
  font-size: 12px; font-weight: 700;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid rgba(26, 61, 124, 0.16);
  padding: 6px 13px; border-radius: 99px; white-space: nowrap;
}
.plan-roi { margin-bottom: 20px; }
.plan-roi .num { font-family: var(--font-head); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); line-height: 1; }
.plan-roi .lbl { font-size: 13px; color: var(--muted-2); margin-top: 8px; }
.plan-range { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.plan-fact { background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 11px 14px; }
.plan-fact span { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 2px; }
.plan-fact b { font-size: 13.5px; }
.plan-note { margin-top: 30px; color: var(--muted-2); font-size: 13.5px; text-align: center; }
.plan-note a { color: var(--gold); }
.plan-note a:hover { text-decoration: underline; }

/* ---------- Service-tier feature lists ---------- */
.plan-roi .num.range { font-size: 26px; letter-spacing: -0.01em; }
.plan-features { display: grid; gap: 9px; margin-bottom: 16px; }
.plan-features li { position: relative; padding-left: 24px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--green-soft);
}
.plan-features li::after {
  content: ""; position: absolute; left: 4px; top: 7.5px;
  width: 7px; height: 3.5px;
  border-left: 1.8px solid var(--teal-dark);
  border-bottom: 1.8px solid var(--teal-dark);
  transform: rotate(-45deg);
}
.plan-returns {
  font-size: 12px; font-weight: 600; color: var(--gold);
  background: rgba(183, 121, 31, 0.07);
  border: 1px solid rgba(183, 121, 31, 0.25);
  border-radius: 9px; padding: 8px 11px; margin-bottom: 16px;
}

/* ---------- Calculator ---------- */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 46px 44px;
}
.calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.calc-label > span:first-child { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.calc-label .hint { font-size: 12px; color: var(--muted-2); }
.calc-amount { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 16px; margin-bottom: 16px; }
.calc-amount:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 183, 164, 0.15); }
.cur { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--muted-2); }
.calc-input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.range { width: 100%; appearance: none; height: 6px; border-radius: 99px; background: var(--bg-soft); outline: none; margin-bottom: 10px; }
.range::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--teal);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted-2); margin-bottom: 30px; }
.calc-plans { display: flex; gap: 9px; flex-wrap: wrap; }
.filter-pill {
  font-size: 12.5px; font-weight: 600;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 99px; padding: 9px 16px;
  transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--brand); color: var(--brand); }
.filter-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.calc-hint { min-height: 20px; margin-top: 14px; font-size: 12.5px; color: var(--gold); opacity: 0; transition: opacity 0.2s ease; }
.calc-hint.show { opacity: 1; }
.calc-results h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.result-rows { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; margin-bottom: 22px; }
.result-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 18px; font-size: 14px; background: var(--surface); }
.result-row + .result-row { border-top: 1px solid var(--border); }
.result-row span { color: var(--muted-2); }
.result-row b { font-weight: 600; }
.calc-total { background: var(--brand-soft); border: 1px solid rgba(26, 61, 124, 0.18); border-radius: 13px; padding: 20px 22px; }
.calc-total .lbl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.calc-total .amt { font-family: var(--font-head); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); margin: 4px 0; }
.calc-total .sub { font-size: 12px; color: var(--muted-2); }
.calc-note { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }
.calc-note a { color: var(--gold); text-decoration: underline; }

/* ---------- Platform / global ---------- */
.platform-list { display: grid; gap: 20px; margin-bottom: 8px; }
.platform-item { display: flex; gap: 15px; align-items: flex-start; }
.check {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--teal-dark); background: var(--green-soft);
  border: 1px solid rgba(47, 183, 164, 0.35);
}
.check svg { width: 13px; height: 13px; }
.platform-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.platform-item p { color: var(--muted); font-size: 13.5px; }
.platform-visual img { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); }

.global-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.global-visual img { width: 100%; }
.global-caption { position: absolute; inset: auto 0 0 0; padding: 40px; background: linear-gradient(180deg, rgba(11, 31, 51, 0) 0%, rgba(11, 31, 51, 0.88) 70%); }
.global-caption h3 { color: #fff; font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.region-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.region-chip {
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 99px; padding: 6px 14px;
}

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 0 96px; }
.cta-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-card h2 .grad-text { color: #7FD9CB; }
.cta-card p { color: rgba(255, 255, 255, 0.78); font-size: 16px; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-card .btn-primary { background: var(--teal); }
.cta-card .btn-primary:hover { background: var(--teal-dark); }
.cta-card .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cta-card .btn-outline:hover { border-color: #fff; color: #fff; }
.cta-note { margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep, #0B1F33); background: #0B1F33; color: #B7C3D4; padding: 74px 0 36px; }
.footer a { color: #B7C3D4; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo-mark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.footer-brand p { font-size: 13.5px; line-height: 1.7; margin-bottom: 22px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  color: #B7C3D4; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}
.social:hover { color: #fff; border-color: var(--teal); }
.social svg { width: 16px; height: 16px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal); }

.risk-box {
  margin: 44px 0;
  background: rgba(245, 180, 69, 0.06);
  border: 1px solid rgba(245, 180, 69, 0.3);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.risk-box h5 { color: #F5B445; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.risk-box h5 svg { width: 16px; height: 16px; }
.risk-box p { font-size: 12.5px; line-height: 1.75; color: #C4CEBB; color: rgba(255, 255, 255, 0.6); }
.risk-box b { color: #F5B445; }

.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: #8291A7; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--teal); }

/* ---------- Forms & contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 42px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 183, 164, 0.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .error-msg { color: var(--red); font-size: 12.5px; margin-top: 7px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); }
.field.invalid .error-msg { display: block; }
.form-success {
  display: none;
  align-items: center; gap: 12px;
  color: var(--teal-dark);
  background: var(--green-soft);
  border: 1px solid rgba(47, 183, 164, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px; font-weight: 600;
  margin-bottom: 22px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; }

.info-stack { display: grid; gap: 18px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px;
  display: flex; gap: 17px; align-items: flex-start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover { border-color: rgba(47, 183, 164, 0.45); box-shadow: var(--shadow-sm); }
.info-card .feature-icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; flex: none; }
.info-card .feature-icon svg { width: 21px; height: 21px; }
.info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 14px; }
.info-card a { color: var(--teal-dark); font-weight: 500; }
.info-card a:hover { text-decoration: underline; }
.map-strip { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-strip img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.open { border-color: rgba(47, 183, 164, 0.5); }
.faq-q {
  width: 100%; text-align: left;
  background: none; border: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 21px 26px;
  font-size: 15.5px; font-weight: 600; color: var(--text);
}
.faq-q::after {
  content: "+"; font-family: var(--font-head);
  font-size: 21px; font-weight: 600; color: var(--teal-dark);
  transition: transform 0.25s ease; flex: none;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 26px 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- Timeline ---------- */
.timeline { max-width: 720px; margin-inline: auto; }
.tl-item { position: relative; padding: 0 0 40px 42px; border-left: 2px solid var(--border); }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -8px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--teal);
}
.tl-year { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.06em; }
.tl-item h4 { font-size: 17px; font-weight: 700; margin: 6px 0 6px; }
.tl-item p { color: var(--muted); font-size: 14px; }

/* ---------- Quote / team / offices ---------- */
.quote-block { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-mark { width: 46px; height: 46px; margin: 0 auto 24px; color: var(--teal); }
.quote-mark svg { width: 100%; height: 100%; }
.quote-text { font-family: var(--font-head); font-size: clamp(21px, 2.6vw, 28px); font-weight: 600; line-height: 1.5; letter-spacing: -0.015em; }
.quote-attr { margin-top: 28px; }
.quote-attr b { display: block; font-size: 15.5px; font-weight: 700; }
.quote-attr span { font-size: 13.5px; color: var(--muted-2); }

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(26, 61, 124, 0.25);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 17.5px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; color: var(--teal-dark); margin-bottom: 14px; }
.team-bio { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.office-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.office-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.office-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 13px; }
.office-head h3 { font-size: 18px; font-weight: 700; }
.office-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid rgba(26, 61, 124, 0.2);
  padding: 4px 11px; border-radius: 99px; white-space: nowrap;
}
.office-card address { font-style: normal; color: var(--muted); font-size: 13.5px; line-height: 1.65; margin-bottom: 15px; }
.office-meta { border-top: 1px solid var(--border); padding-top: 13px; display: grid; gap: 6px; font-size: 13px; color: var(--muted-2); }
.office-meta b { color: var(--text); font-weight: 600; }
.office-meta a { color: var(--teal-dark); font-weight: 600; }
.office-meta a:hover { text-decoration: underline; }

/* ---------- Referral calculator ---------- */
.ref-calc {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ref-calc > div { padding: 34px 38px; }
.ref-calc-in { border-right: 1px solid var(--border); }
.ref-calc-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.ref-calc-row {
  display: flex; align-items: center; gap: 6px;
  max-width: 340px;
  padding: 13px 18px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ref-calc-row:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 183, 164, 0.15); }
.ref-cur { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--muted-2); }
.ref-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.ref-calc-hint { margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.ref-out { display: flex; flex-direction: column; justify-content: center; }
.ref-out-lbl { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.ref-out-amt { font-family: var(--font-head); font-size: clamp(34px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: var(--teal-dark); line-height: 1.1; }
.ref-out-sub { margin-top: 10px; font-size: 13px; color: var(--muted-2); }

/* ---------- Risk consent modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(11, 31, 51, 0.55);
  padding: 20px;
}
.modal.open { display: flex; }
.modal > div, .modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 560px; width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: 88vh; overflow-y: auto;
}
.modal-head { padding: 26px 28px 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.modal-head h3 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 11px; }
.modal-head h3 svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.modal-close { background: none; border: 0; color: var(--muted-2); font-size: 26px; line-height: 1; padding: 2px 8px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 0 28px; }
.modal-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.modal-body [data-risk-context] { display: block; font-weight: 600; color: var(--gold); background: rgba(183, 121, 31, 0.08); border: 1px solid rgba(183, 121, 31, 0.3); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: 13.5px; }
.consent-row {
  display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg);
  font-size: 13.5px; color: var(--text); line-height: 1.6;
}
.consent-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--teal); cursor: pointer; }
.consent-row b { color: var(--gold); }
.modal-foot { font-size: 12px; color: var(--muted-2); margin: 12px 0 4px; }
.modal-actions { display: flex; gap: 12px; padding: 18px 28px 26px; }
.modal-actions .btn { flex: 1; }

/* ---------- Dashboard (demo) ---------- */
.dash-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(183, 121, 31, 0.09);
  border-bottom: 1px solid rgba(183, 121, 31, 0.3);
  color: var(--gold);
  font-size: 12.5px; font-weight: 600;
  padding: 11px 22px;
}
.demo-banner svg { width: 16px; height: 16px; flex: none; }
.dash-topbar { display: flex; align-items: center; gap: 7px; padding: 14px 22px; border-bottom: 1px solid var(--border); background: var(--bg); }
.dash-dot { width: 11px; height: 11px; border-radius: 50%; opacity: 0.85; }
.dash-body { display: grid; grid-template-columns: 210px 1fr; }
.dash-side { background: var(--bg); border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 5px; }
.dash-item { font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 10px 14px; border-radius: 10px; }
.dash-item.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.dash-main { padding: 28px; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.dash-tile { background: var(--bg); border: 1px solid var(--border); border-radius: 13px; padding: 18px 20px; }
.dash-tile .lbl { font-size: 12px; color: var(--muted-2); margin-bottom: 6px; }
.dash-tile .amt { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.dash-chart { border: 1px solid var(--border); border-radius: 13px; padding: 20px 22px; }
.dash-chart h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 14px; }
canvas.dash-canvas { width: 100%; height: 240px; display: block; }

/* ---------- Dashboard internals (dashboard.html) ---------- */
.dash-title { font-size: 12.5px; color: var(--muted-2); margin-left: 8px; font-weight: 500; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-head h4 { font-size: 20px; font-weight: 700; }
.dash-head .sub { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn-sm svg { width: 14px; height: 14px; }
.dash-tile .val { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.dash-tile .val small { font-size: 12px; font-weight: 600; margin-left: 6px; }
.dash-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 20px 22px; }
.dash-panel + .dash-panel { margin-top: 16px; }
.dash-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.dash-panel-head h5 { font-size: 14.5px; font-weight: 700; }
.legend { font-size: 12px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--teal); display: inline-block; }
.dash-chart-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-2); margin-top: 10px; }
.dash-chart-panel { background: var(--surface); }
.dash-bottom { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 16px; }
.dash-bottom .dash-panel { margin-top: 0; }
.txn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.txn-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted-2); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.txn-table td { padding: 11px 10px; border-bottom: 1px solid var(--border); color: var(--muted); }
.txn-table tr:last-child td { border-bottom: 0; }
.txn-table .num { font-family: var(--font-head); font-weight: 600; color: var(--text); }
.txn-table td b { font-weight: 600; }
.plan-badge { font-size: 11.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(26, 61, 124, 0.16); border-radius: 99px; padding: 4px 11px; }
.earn-bars { display: flex; align-items: flex-end; gap: 14px; height: 120px; padding-top: 6px; }
.earn-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.earn-bar { width: 100%; max-width: 34px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--teal), rgba(47, 183, 164, 0.45)); }
.earn-col span { font-size: 11px; color: var(--muted-2); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .calc-grid { grid-template-columns: 1fr; gap: 34px; }
  .calc-card { padding: 36px 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); overflow-x: auto; padding: 14px; }
  .dash-item { white-space: nowrap; }
  .dash-bottom { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0;
    padding: 10px 5%;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .risk-points { grid-template-columns: 1fr; }
  .risk-panel { padding: 32px 24px; }
  .risk-panel-head { flex-direction: column; gap: 14px; }
  .plan-facts { grid-template-columns: 1fr 1fr; }
  .dash-tiles { grid-template-columns: 1fr; }
  .dash-main { padding: 20px 18px; }
  .ref-calc { grid-template-columns: 1fr; }
  .ref-calc-in { border-right: 0; border-bottom: 1px solid var(--border); }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .plan-roi .num { font-size: 40px; }
  .calc-total .amt { font-size: 32px; }
  .hero-cta .btn { width: 100%; }
  .modal-head { padding: 20px 20px 12px; }
  .modal-body { padding: 0 20px; }
  .modal-actions { flex-direction: column-reverse; padding: 16px 20px 22px; }
  .modal-actions .btn { width: 100%; }
  .cta-card { padding: 44px 24px; }
  .form-card { padding: 32px 22px; }
}
