/* ============================================================
   Template 21 — Apex Dark
   uipro: Social Proof-Focused · Dark Mode OLED · IBM Plex Sans + Syne
   Colors: Amber #F59E0B · Indigo #8B5CF6 · Midnight #0A0A1A
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Design tokens (uipro palette) ───────────────────────── */
:root {
  --bg:          #0A0A1A;
  --bg-2:        #0D0D24;
  --bg-3:        #12122E;
  --glass:       rgba(255,255,255,0.04);
  --glass-2:     rgba(255,255,255,0.07);
  --glass-3:     rgba(255,255,255,0.11);
  --border-g:    rgba(255,255,255,0.09);
  --border-2:    rgba(255,255,255,0.15);
  --amber:       #F59E0B;
  --amber-2:     #FBBF24;
  --amber-dim:   rgba(245,158,11,0.12);
  --indigo:      #8B5CF6;
  --indigo-2:    #A78BFA;
  --indigo-dim:  rgba(139,92,246,0.12);
  --text-1:      #F8FAFC;
  --text-2:      #CBD5E1;
  --text-3:      #64748B;
  --text-4:      #334155;
  --green:       #10B981;
  --red:         #EF4444;
  --blur:        blur(20px) saturate(150%);
  --blur-sm:     blur(12px) saturate(130%);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(245,158,11,0.15);
  --header-h:    68px;
  --font-h:      'Syne', sans-serif;
  --font-b:      'IBM Plex Sans', sans-serif;
}

/* ── Global ───────────────────────────────────────────────── */
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.wrap { min-height: 100vh; display: flex; flex-direction: column; position: relative; }

/* ── Aurora background ────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora__layer {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(80px);
  will-change: transform, opacity;
  animation: aurora-drift linear infinite;
}
.aurora__layer--1 {
  width: 700px; height: 500px;
  top: -15%; left: 55%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.22) 0%, transparent 70%);
  animation-duration: 28s;
  animation-delay: 0s;
}
.aurora__layer--2 {
  width: 600px; height: 400px;
  top: 5%; left: -10%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.14) 0%, transparent 70%);
  animation-duration: 36s;
  animation-delay: -12s;
}
.aurora__layer--3 {
  width: 500px; height: 350px;
  top: 40%; right: -5%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 70%);
  animation-duration: 44s;
  animation-delay: -22s;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-60px, 40px) scale(1.08); }
  66%  { transform: translate(40px, -30px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora__layer { animation: none; }
}

/* ── HEADER ───────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 40px;
  background: rgba(10,10,26,0.75);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border-g);
}
.logo-link { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; color: var(--text-1); flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--amber), var(--indigo)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.logo-img { height: 32px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; padding: 0 40px; }
.site-nav a { font-size: 0.875rem; font-weight: 500; color: var(--text-2); padding: 6px 12px; border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text-1); background: var(--glass-2); }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-b); font-weight: 600; font-size: 0.9rem; border-radius: 50px; padding: 11px 24px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #0A0A1A; box-shadow: 0 4px 20px rgba(245,158,11,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245,158,11,0.5); }
.btn-indigo { background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); color: #fff; box-shadow: 0 4px 20px rgba(139,92,246,0.35); }
.btn-indigo:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(139,92,246,0.5); }
.btn-ghost { background: var(--glass-2); color: var(--text-1); border: 1px solid var(--border-g); }
.btn-ghost:hover { background: var(--glass-3); border-color: var(--border-2); }

/* ── MOBILE NAV ───────────────────────────────────────────── */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 6px; border-radius: var(--radius-sm); background: var(--glass-2); border: 1px solid var(--border-g); }
.nav-toggle__bar { width: 100%; height: 2px; background: var(--text-1); border-radius: 2px; transition: all 0.25s; }
@media(max-width:860px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  header { padding: 0 20px; }
}
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(10,10,26,0.97); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); flex-direction: column; padding: 24px; }
.mobile-nav.is-open { display: flex; }
.mobile-nav__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav__close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--glass-2); border-radius: var(--radius-sm); color: var(--text-1); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav nav a { font-size: 1.1rem; font-weight: 500; color: var(--text-2); padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid transparent; transition: all 0.2s; }
.mobile-nav nav a:hover { color: var(--text-1); background: var(--glass-2); border-color: var(--border-g); }
.mobile-nav__cta { margin-top: 24px; width: 100%; justify-content: center; }
body.nav-open { overflow: hidden; }

/* ── LANG DROPDOWN ────────────────────────────────────────── */
.lang-dropdown { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-2); padding: 7px 12px; border-radius: var(--radius-sm); background: var(--glass-2); border: 1px solid var(--border-g); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.lang-btn:hover { background: var(--glass-3); color: var(--text-1); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius-md); padding: 6px; min-width: 140px; z-index: 50; box-shadow: var(--shadow-card); display: none; }
.lang-menu.open { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 0.82rem; font-weight: 500; color: var(--text-2); border-radius: var(--radius-sm); transition: all 0.15s; }
.lang-menu a:hover { background: var(--glass-2); color: var(--text-1); }

/* ── MAIN CONTENT ─────────────────────────────────────────── */
main { position: relative; z-index: 1; flex: 1; padding-top: var(--header-h); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media(max-width:700px) { .container { padding: 0 20px; } }

/* ── SECTION COMMONS ──────────────────────────────────────── */
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-h { font-family: var(--font-h); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.12; color: var(--text-1); }
.section-h em { font-style: normal; background: linear-gradient(135deg, var(--amber), var(--indigo-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-sub { font-size: 1.05rem; color: var(--text-2); line-height: 1.7; max-width: 600px; margin-top: 16px; }

/* ── GLASS CARD ───────────────────────────────────────────── */
.glass-card {
  background: var(--glass);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-outer { position: relative; overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - var(--header-h));
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}
@media(max-width:900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 20px; gap: 40px; min-height: auto; }
}

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); background: var(--amber-dim); border: 1px solid rgba(245,158,11,0.25); border-radius: 50px; padding: 6px 14px; margin-bottom: 24px; }
.hero-eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }

.hero-h1 { font-family: var(--font-h); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; color: var(--text-1); margin-bottom: 20px; }
.hero-h1 em { font-style: normal; background: linear-gradient(135deg, var(--amber), var(--indigo-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.05rem; color: var(--text-2); line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust__item { font-size: 0.78rem; font-weight: 600; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.hero-trust__item::before { content: ''; display: block; width: 16px; height: 16px; background: var(--amber-dim); border-radius: 50%; border: 1.5px solid rgba(245,158,11,0.4); }

/* Hero right — live stats card */
.hero-card {
  background: var(--glass-2);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.6), transparent);
}
.hero-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hero-card__title { font-size: 0.82rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-card__live { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; color: var(--green); background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); border-radius: 50px; padding: 4px 10px; }
.hero-card__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-dot 1.5s ease-in-out infinite; }
.portfolio-total { font-family: var(--font-h); font-size: 2.6rem; font-weight: 800; color: var(--text-1); letter-spacing: -0.02em; }
.portfolio-change { font-size: 0.9rem; font-weight: 700; color: var(--green); margin-top: 4px; margin-bottom: 20px; }

/* Mini chart SVG */
.mini-chart { width: 100%; height: 70px; margin-bottom: 20px; }
.mini-chart path { stroke: var(--amber); stroke-width: 2; fill: none; }
.mini-chart .chart-fill { fill: url(#chartGrad); stroke: none; }

/* Asset rows */
.asset-list { display: flex; flex-direction: column; gap: 12px; }
.asset-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-md); transition: background 0.2s; }
.asset-row:hover { background: var(--glass-2); }
.asset-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; }
.asset-info { flex: 1; }
.asset-name { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.asset-symbol { font-size: 0.75rem; color: var(--text-3); }
.asset-value { text-align: right; }
.asset-price { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.asset-pct { font-size: 0.75rem; font-weight: 700; }
.asset-pct.up { color: var(--green); }
.asset-pct.down { color: var(--red); }

/* ============================================================
   TICKER STRIP
   ============================================================ */
.ticker-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border-g);
  border-bottom: 1px solid var(--border-g);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  border-right: 1px solid var(--border-g);
}
.ticker-item__name { color: var(--text-2); }
.ticker-item__price { color: var(--text-1); }
.ticker-item__chg.up { color: var(--green); }
.ticker-item__chg.down { color: var(--red); }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section { padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-g);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-g);
}
@media(max-width:700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  background: var(--glass);
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  transition: background 0.2s;
}
.stat-item:hover { background: var(--glass-2); }
.stat-num { font-family: var(--font-h); font-size: 2.4rem; font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 8px; }
.stat-num.amber { color: var(--amber); }
.stat-num.indigo { color: var(--indigo-2); }
.stat-lbl { font-size: 0.82rem; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   FEATURES — editorial split grid
   ============================================================ */
.features-section { padding: 96px 0; }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-g);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-g);
}
@media(max-width:860px) { .features-grid { grid-template-columns: 1fr; } }
.feature-cell {
  background: var(--glass);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  transition: background 0.2s;
  cursor: default;
}
.feature-cell:hover { background: var(--glass-2); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.feature-icon.indigo { background: var(--indigo-dim); border-color: rgba(139,92,246,0.2); color: var(--indigo-2); }
.feature-title { font-family: var(--font-h); font-size: 1.05rem; font-weight: 700; color: var(--text-1); }
.feature-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   SOCIAL PROOF — logos + testimonials
   ============================================================ */
.proof-section { padding: 96px 0; }
.logos-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 48px 0 72px; }
.logo-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--border-g);
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 700; color: var(--text-3);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.logo-pill:hover { background: var(--glass-2); color: var(--text-2); border-color: var(--border-2); }
.logo-pill svg { opacity: 0.5; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media(max-width:860px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  transition: all 0.25s;
}
.testimonial-card:hover { background: var(--glass-2); border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.stars { display: flex; gap: 3px; }
.star { width: 16px; height: 16px; color: var(--amber); }
.testimonial-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; color: #fff; }
.author-name { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.author-role { font-size: 0.75rem; color: var(--text-3); }

/* ============================================================
   HOW IT WORKS — 3 horizontal steps with SVG connector line
   ============================================================ */
.how-section { padding: 96px 0; }
.how-steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 0;
  margin-top: 64px;
}
@media(max-width:860px) {
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .how-connector { display: none; }
}
.how-step { text-align: center; padding: 0 16px; }
.how-step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #0A0A1A;
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.how-step:nth-child(3) .how-step__num { background: linear-gradient(135deg, var(--indigo), var(--indigo-2)); box-shadow: 0 4px 20px rgba(139,92,246,0.4); }
.how-step__title { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.how-step__desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }
.how-connector {
  display: flex; align-items: center; justify-content: center;
  padding-top: 26px;
  color: var(--border-2);
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-section { padding: 96px 0; }
.calc-inner {
  background: var(--glass);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-xl);
  padding: 56px;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; overflow: hidden;
}
.calc-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--amber), transparent); }
@media(max-width:860px) { .calc-inner { grid-template-columns: 1fr; padding: 32px 24px; gap: 40px; } }

.range-group { margin-bottom: 28px; }
.range-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.range-label span:first-child { font-size: 0.82rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.range-val { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--amber); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--glass-3); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); border: 3px solid var(--bg); box-shadow: 0 0 10px rgba(245,158,11,0.5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--amber); border: 3px solid var(--bg); cursor: pointer; }

.calc-results { display: flex; flex-direction: column; gap: 16px; }
.calc-result-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-md); }
.calc-result-row.highlight { background: var(--amber-dim); border-color: rgba(245,158,11,0.25); }
.calc-result-label { font-size: 0.82rem; color: var(--text-3); font-weight: 500; }
.calc-result-val { font-family: var(--font-h); font-size: 1.1rem; font-weight: 800; color: var(--text-1); }
.calc-result-row.highlight .calc-result-val { color: var(--amber); }
.calc-pct-badge { font-size: 0.75rem; font-weight: 700; color: var(--green); background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.2); border-radius: 50px; padding: 2px 8px; }

/* ============================================================
   LEAD FORM / CONTACT
   ============================================================ */
.contact-section { padding: 96px 0; }
.contact-inner {
  background: var(--glass);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-xl);
  padding: 64px;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  max-width: 720px; margin: 0 auto;
  text-align: center;
  position: relative; overflow: hidden;
}
.contact-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--indigo), transparent); }
@media(max-width:700px) { .contact-inner { padding: 36px 24px; } }
.contact-inner .section-h { margin-bottom: 12px; }
.contact-inner .section-sub { margin: 0 auto 36px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.rf-form-input {
  width: 100%; padding: 13px 16px;
  background: var(--glass-2); border: 1px solid var(--border-g);
  border-radius: var(--radius-md); color: var(--text-1);
  font-family: var(--font-b); font-size: 0.9rem;
  outline: none; transition: all 0.2s;
  -webkit-appearance: none;
}
.rf-form-input::placeholder { color: var(--text-4); }
.rf-form-input:focus { border-color: rgba(245,158,11,0.5); background: var(--glass-3); box-shadow: 0 0 0 3px rgba(245,158,11,0.1); }
.form-submit { width: 100%; margin-top: 8px; padding: 15px; font-size: 1rem; border-radius: 50px; }
.form-note { font-size: 0.75rem; color: var(--text-3); text-align: center; margin-top: 12px; }
.form_error { font-size: 0.8rem; color: var(--red); text-align: center; min-height: 20px; margin-top: 4px; }

/* intl-tel-input dark theme */
.iti-wrap { position: relative; }
.iti { width: 100%; }
.iti .rf-form-input { padding-left: 54px; }
.iti__flag-container { left: 0; }
.iti__selected-flag { background: transparent !important; border-right: 1px solid var(--border-g); border-radius: var(--radius-md) 0 0 var(--radius-md); padding: 0 8px 0 10px; }
.iti__selected-flag:hover, .iti__selected-flag:focus { background: var(--glass-2) !important; }
.iti__country-list { background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius-md); box-shadow: var(--shadow-card); color: var(--text-2); max-height: 220px; }
.iti__country-list .iti__country.iti__highlight, .iti__country-list .iti__country:hover { background: var(--glass-2); }
.iti__country-list .iti__dial-code { color: var(--amber); font-weight: 600; }
.iti__country-list .iti__country-name { color: var(--text-2); }
.error-msg { display: block; font-size: 0.75rem; color: var(--red); margin-top: 4px; }
.error-msg.hide { display: none; }
.phone-error .rf-form-input { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 96px 0; }
.faq { max-width: 720px; margin: 48px auto 0; }
.faq-item { background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-lg); margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(245,158,11,0.25); }
.faq-item summary { padding: 20px 24px; font-weight: 600; font-size: 0.95rem; color: var(--text-1); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: color 0.2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber); }
.faq-item summary::after { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%23F59E0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item__body { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border-g); padding: 40px 0; position: relative; z-index: 1; margin-top: auto; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.footer-links a { font-size: 0.82rem; color: var(--text-3); padding: 6px 12px; border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; }
.footer-links a:hover { color: var(--text-1); background: var(--glass-2); }
.footer-copy { font-size: 0.78rem; color: var(--text-4); line-height: 1.6; }

/* ============================================================
   SUBPAGES
   ============================================================ */
.page-hero { padding: 80px 40px 48px; max-width: 900px; margin: 0 auto; text-align: center; }
@media(max-width:700px) { .page-hero { padding: 60px 20px 36px; } }
.page-hero .section-sub { margin: 0 auto; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 0 40px 96px; align-items: start; }
@media(max-width:860px) { .about-grid { grid-template-columns: 1fr; padding: 0 20px 60px; } }
.about-text h2 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; color: var(--text-1); margin-bottom: 12px; margin-top: 28px; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 12px; }
.about-stats { display: flex; flex-direction: column; gap: 16px; }
.about-stat-card { background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-lg); padding: 24px 28px; }
.about-stat-card .big-num { font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: var(--amber); margin-bottom: 4px; }
.about-stat-card .lbl { font-size: 0.82rem; color: var(--text-3); font-weight: 500; }

/* Documents & Plans */
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; padding: 0 40px 96px; }
@media(max-width:700px) { .docs-grid { grid-template-columns: 1fr; padding: 0 20px 60px; } }
.doc-card { background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: all 0.2s; }
.doc-card:hover { background: var(--glass-2); border-color: var(--border-2); transform: translateY(-2px); }
.doc-card__icon { width: 44px; height: 44px; background: var(--amber-dim); border: 1px solid rgba(245,158,11,0.2); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--amber); }
.doc-card__title { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--text-1); }
.doc-card__desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; padding: 0 40px 96px; }
@media(max-width:860px) { .plans-grid { grid-template-columns: 1fr; padding: 0 20px 60px; } }
.plan-card { background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-xl); padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; position: relative; transition: all 0.25s; }
.plan-card:hover { background: var(--glass-2); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.plan-card.featured { border-color: rgba(245,158,11,0.35); background: var(--amber-dim); }
.plan-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--amber), var(--amber-2)); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.plan-badge { position: absolute; top: -12px; right: 20px; background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #0A0A1A; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; }
.plan-name { font-family: var(--font-h); font-size: 1.1rem; font-weight: 700; color: var(--text-1); }
.plan-price { font-family: var(--font-h); font-size: 2.2rem; font-weight: 800; color: var(--amber); line-height: 1; }
.plan-price span { font-size: 0.9rem; color: var(--text-3); font-weight: 500; }
.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-feature { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-2); }
.plan-feature::before { content: ''; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 9l4 4 7-7' stroke='%23F59E0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; flex-shrink: 0; }
.plan-cta { width: 100%; justify-content: center; }

/* Risk disclosure */
.risk-section { max-width: 900px; margin: 0 auto; padding: 0 40px 96px; }
@media(max-width:700px) { .risk-section { padding: 0 20px 60px; } }
.risk-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
@media(max-width:700px) { .risk-cards { grid-template-columns: 1fr; } }
.risk-card { background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-lg); padding: 24px; }
.risk-card h3 { font-family: var(--font-h); font-size: 0.95rem; font-weight: 700; color: var(--amber); margin-bottom: 8px; }
.risk-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* Articles */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0 40px 96px; }
@media(max-width:860px) { .articles-grid { grid-template-columns: 1fr; padding: 0 20px 60px; } }
.article-card { background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s; cursor: pointer; }
.article-card:hover { background: var(--glass-2); border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.article-card__img { width: 100%; height: 180px; object-fit: cover; }
.article-card__img-placeholder { height: 180px; display: flex; align-items: center; justify-content: center; background: var(--glass-2); font-size: 1.5rem; color: var(--amber); }
.article-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__date { font-size: 0.75rem; color: var(--text-3); font-weight: 500; }
.article-card__title { font-family: var(--font-h); font-size: 0.95rem; font-weight: 700; color: var(--text-1); line-height: 1.4; }
.article-card__preview { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; flex: 1; }
.article-card__more { font-size: 0.8rem; font-weight: 600; color: var(--amber); margin-top: 4px; }

/* Article single */
.article-hero { max-width: 760px; margin: 0 auto; padding: 0 40px 32px; }
@media(max-width:700px) { .article-hero { padding: 0 20px 24px; } }
.article-body { max-width: 760px; margin: 0 auto; padding: 0 40px 32px; font-size: 0.95rem; color: var(--text-2); line-height: 1.8; }
.article-body h2, .article-body h3 { font-family: var(--font-h); color: var(--text-1); margin: 24px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body a { color: var(--amber); }
@media(max-width:700px) { .article-body { padding: 0 20px 24px; } }

/* Thank you */
.thank-you-section { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - var(--header-h)); padding: 60px 20px; }
.thank-you-card { text-align: center; max-width: 500px; background: var(--glass); border: 1px solid var(--border-g); border-radius: var(--radius-xl); padding: 56px 48px; backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); }
.thank-you-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--amber), var(--amber-2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 0 40px rgba(245,158,11,0.4); }
.thank-you-card h1 { font-family: var(--font-h); font-size: 1.8rem; font-weight: 800; color: var(--text-1); margin-bottom: 12px; }
.thank-you-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 28px; }

/* Legal */
.legal-doc { padding: 0 40px 80px; max-width: 760px; margin: 0 auto; }
@media(max-width:700px) { .legal-doc { padding: 0 20px 60px; } }
.legal-doc h1 { font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-1); margin-bottom: 8px; }
.legal-doc section { margin-bottom: 28px; }
.legal-doc h2 { font-size: 1.05rem; font-weight: 700; color: var(--amber); margin-bottom: 8px; }
.legal-doc p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
.legal-doc a { color: var(--amber); }
.legal-doc ul { margin: 10px 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc ul li { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
@media(max-width:700px) { .prose-section { padding: 0 20px 60px; } }

/* Spinner for form submit */
@keyframes spin { to { transform: rotate(360deg); } }
.btn-spinner { animation: spin 0.8s linear infinite; }

/* Prose subpage text */
.prose-section { max-width: 760px; margin: 0 auto; padding: 0 40px 80px; font-size: 0.9rem; color: var(--text-2); line-height: 1.75; }
.prose-section h2 { font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; color: var(--text-1); margin: 28px 0 10px; }
.prose-section p { margin-bottom: 14px; }
