/* ==========================================================================
   Trade with Hassan — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Bricolage+Grotesque:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Noto+Nastaliq+Urdu:wght@400;600;700&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f8;
  --border: #e7eaf1;
  --border-strong: #d7dce6;

  --ink: #101c30;
  --ink-2: #29313f;
  --navy-deep: #101c30; /* brand accent — stays dark regardless of theme */
  --glass-bg: rgba(255, 255, 255, .75);
  --glass-border: rgba(255, 255, 255, .6);
  --glass-surface: rgba(255, 255, 255, .72);
  --muted: #64707e;
  --muted-2: #96a1b0;

  --blue-700: #192e4c;
  --blue-600: #223d63;
  --blue-500: #2c507f;
  --blue-400: #4a71a0;
  --blue-100: #dde5ef;
  --blue-50: #f0f3f8;

  --gold-600: #a67a24;
  --gold-500: #c9973b;
  --gold-300: #e2bd76;
  --gold-100: #f6ebd4;

  --up: #2fac40;
  --down: #ef3439;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 1px 1px rgba(11, 18, 32, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(11, 18, 32, 0.12), 0 2px 8px -2px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 24px 60px -16px rgba(25, 46, 76, 0.18), 0 8px 24px -8px rgba(11, 18, 32, 0.08);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-sans: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
}

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

[dir="rtl"] {
  --font-ur: "Noto Nastaliq Urdu", "Noto Sans Arabic", serif;
  text-align: right;
}
[dir="rtl"] body { font-family: var(--font-ur); }
[dir="rtl"] .font-display, [dir="rtl"] .font-mono { font-family: var(--font-ur); }
[dir="rtl"] .navbar-inner, [dir="rtl"] .nav-actions, [dir="rtl"] .nav, [dir="rtl"] .footer-socials,
[dir="rtl"] .hero-ctas, [dir="rtl"] .flex, [dir="rtl"] .mobile-actions, [dir="rtl"] .bot-flow,
[dir="rtl"] .pillar-tags, [dir="rtl"] .blog-filter-row, [dir="rtl"] .faq-cat-row { flex-direction: row-reverse; }
[dir="rtl"] .grid { direction: rtl; }
[dir="rtl"] .nav-toggle, [dir="rtl"] .scroll-top-btn, [dir="rtl"] .whatsapp-float { left: 24px; right: auto; }
[dir="rtl"] .accordion-trigger, [dir="rtl"] .faq-plain-trigger { flex-direction: row-reverse; }
[dir="rtl"] .accordion-panel-inner { padding-right: 4px; padding-left: 0; }
[dir="rtl"] .faq-dark .accordion-panel-inner { padding-right: 60px; padding-left: 0; }
[dir="rtl"] .check-icon, [dir="rtl"] li svg { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
[dir="rtl"] .market-card-head, [dir="rtl"] .contact-info-card, [dir="rtl"] .blog-meta { flex-direction: row-reverse; }
[dir="rtl"] .field label { text-align: right; }
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { text-align: right; }
[dir="rtl"] .lang-toggle-inactive-note { direction: ltr; }

[data-theme="dark"] {
  --bg: #0a1120;
  --surface: #121c30;
  --surface-2: #1a2740;
  --border: #253552;
  --border-strong: #34486b;

  --ink: #eef2f9;
  --ink-2: #c9d3e3;
  --muted: #93a1ba;
  --muted-2: #6c7994;

  --blue-700: #4d7ec4;
  --blue-600: #5f8fd1;
  --blue-500: #79a4dd;
  --blue-400: #9dbde6;
  --blue-100: #1e3352;
  --blue-50: #16263f;

  --gold-600: #d9a94a;
  --gold-500: #e0b768;
  --gold-300: #edd097;
  --gold-100: #3a2f1a;

  --up: #3ecf7e;
  --down: #ff6b64;

  --glass-bg: rgba(10, 17, 32, .78);
  --glass-border: rgba(255, 255, 255, .08);
  --glass-surface: rgba(18, 28, 48, .75);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5), 0 2px 8px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, 0.6), 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

html, body, .navbar, .card, .btn, .footer, .section, [class*="bg-"] {
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--blue-100); color: var(--blue-700); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.text-gradient-blue {
  background: linear-gradient(100deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--blue-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-gold {
  background: linear-gradient(100deg, var(--gold-600) 0%, var(--gold-500) 60%, var(--gold-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { position: relative; padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--bg); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--navy-deep); color: #fff; }
@media (max-width: 640px) { .section { padding: 60px 0; } }

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(11,18,32,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-600);
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
}
.eyebrow--gold { border-color: rgba(226,189,118,.5); background: var(--gold-100); color: var(--gold-600); }
.eyebrow--neutral { border-color: var(--border); background: var(--surface-2); color: var(--ink-2); }

.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--up); }
.pulse-dot { animation: pulse-dot 2s var(--ease-in-out) infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(22,160,106,.45); }
  70% { box-shadow: 0 0 0 8px rgba(22,160,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,160,106,0); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; white-space: nowrap; user-select: none;
  border-radius: var(--radius-md); padding: 13px 22px; font-size: 15px;
  transition: transform .25s var(--ease-out), box-shadow .35s var(--ease-out), filter .35s var(--ease-out), border-color .3s;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease-out); pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: var(--radius-md); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: var(--radius-sm); }

.btn-primary {
  color: #fff; background: linear-gradient(100deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 10px 30px -10px rgba(25,46,76,.55);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 18px 40px -10px rgba(25,46,76,.7); }

.btn-gold {
  color: #fff; background: linear-gradient(100deg, var(--gold-600), var(--gold-500));
  box-shadow: 0 10px 30px -10px rgba(166,122,36,.55);
}
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 18px 40px -10px rgba(166,122,36,.7); }

.btn-secondary {
  color: var(--ink); background: var(--bg); border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.btn-secondary-dark {
  color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.2);
}
.btn-secondary-dark:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }

.ripple-circle {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.5); pointer-events: none;
  animation: ripple-anim .7s var(--ease-out);
}
.btn-secondary .ripple-circle, .btn-secondary-dark .ripple-circle { background: rgba(25,46,76,.12); }
@keyframes ripple-anim { to { transform: scale(3.2); opacity: 0; } }

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: sticky; top: 0; z-index: 70; width: 100%;
  background: transparent; transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.navbar.is-scrolled {
  background: var(--glass-bg); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 58px; width: auto; display: block; transition: transform .4s var(--ease-out); }
.brand:hover .brand-logo { transform: scale(1.03); }

.nav-links { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  border-radius: 999px; padding: 9px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.nav-link:hover, .nav-link.is-active { background: var(--surface); color: var(--ink); }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: 5px; border-radius: 999px; padding: 9px 16px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s;
}
.nav-dropdown-btn svg { width: 13px; height: 13px; transition: transform .3s var(--ease-out); }
.nav-dropdown.is-open .nav-dropdown-btn { background: var(--surface); color: var(--ink); }
.nav-dropdown.is-open .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px) scale(.98);
  width: 320px; margin-top: 8px; padding: 8px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.nav-dropdown-item { display: block; border-radius: var(--radius-sm); padding: 12px 14px; transition: background .2s; }
.nav-dropdown-item:hover { background: var(--surface); }
.nav-dropdown-item strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav-dropdown-item span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }

.nav-actions { display: none; align-items: center; gap: 10px; }
@media (min-width: 1024px) { .nav-actions { display: flex; } }

.nav-toggle {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 999px; transition: background .2s;
}
.nav-toggle:hover { background: var(--surface); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none; overflow: hidden; max-height: 0; border-top: 1px solid var(--border);
  background: var(--bg); transition: max-height .4s var(--ease-out);
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu.is-open { max-height: 640px; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px 24px; }
.mobile-link { border-radius: var(--radius-sm); padding: 11px 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.mobile-link.is-active { background: var(--surface); color: var(--ink); }
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  animation: whatsapp-pulse 2.6s var(--ease-in-out) infinite;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px -6px rgba(37,211,102,.75); }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 10px 30px -6px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 30px -6px rgba(37,211,102,.6), 0 0 0 10px rgba(37,211,102,0); }
}
@media (max-width: 640px) { .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } .scroll-top-btn { right: 16px; bottom: 78px; } }

.lang-toggle {
  display: none !important; align-items: center; justify-content: center; height: 40px; padding: 0 12px; flex-shrink: 0;
  border-radius: 999px; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .2s, color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--blue-100); color: var(--blue-600); background: var(--surface); }

.theme-toggle {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 999px; color: var(--ink-2); transition: background .2s, color .2s;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle svg { width: 19px; height: 19px; position: absolute; transition: opacity .25s, transform .35s; }
.theme-toggle { position: relative; }
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-60deg) scale(.5); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(60deg) scale(.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.mobile-actions { display: flex; gap: 10px; margin-top: 8px; align-items: center; }
.mobile-actions .btn { flex: 1; }
.mobile-actions .theme-toggle { border: 1px solid var(--border); }

/* Market ticker */
.ticker { width: 100%; overflow: hidden; background: var(--navy-deep); border-bottom: 1px solid var(--border); }
.ticker-track { display: flex; width: max-content; padding: 10px 0; animation: marquee 34s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 8px; padding: 0 24px; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.ticker-symbol { color: rgba(255,255,255,.5); }
.ticker-price { color: rgba(255,255,255,.9); }
.ticker-up { color: #4ADE9C; }
.ticker-down { color: #FF8A80; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 100%; z-index: 80;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform .1s linear;
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed; bottom: 96px; right: 26px; z-index: 60; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px) scale(.6); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.scroll-top-btn.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-top-btn:hover { transform: translateY(-4px); }
.scroll-top-btn svg { width: 18px; height: 18px; }

/* Preloader */
.preloader {
  position: fixed; top:0; right:0; bottom:0; left:0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: var(--bg); transition: opacity .5s var(--ease-in-out);
}
.preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.preloader-logo { height: 68px; width: auto; opacity: 0; animation: preload-fade .5s ease-out forwards; }
@keyframes preload-fade { to { opacity: 1; } }
.preloader-bar { position: relative; width: 160px; height: 2px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.preloader-bar span {
  position: absolute; top:0; right:0; bottom:0; left:0; background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  animation: preload-sweep .9s ease-in-out infinite;
}
@keyframes preload-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Custom cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; }
.cursor-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue-600); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--blue-400);
  opacity: .35; transform: translate(-50%, -50%);
  transition: width .2s ease-out, height .2s ease-out, opacity .2s ease-out;
}
.cursor-ring.is-hover { width: 52px; height: 52px; opacity: .55; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* Floating shapes */
@keyframes float-slow { 0%,100% { transform: translate3d(var(--px,0px), var(--py,0px), 0) rotate(0) scale(1); opacity: .65; } 50% { transform: translate3d(var(--px,0px), calc(var(--py,0px) - 22px), 0) rotate(4deg) scale(1.12); opacity: .9; } }
@keyframes float-slower { 0%,100% { transform: translate3d(var(--px,0px), var(--py,0px), 0) scale(1); opacity: .6; } 50% { transform: translate3d(calc(var(--px,0px) + 14px), calc(var(--py,0px) - 14px), 0) scale(1.08); opacity: .85; } }
.float-slow { animation: float-slow 9s var(--ease-in-out) infinite; }
.float-slower { animation: float-slower 13s var(--ease-in-out) infinite; }
[data-parallax] { will-change: transform; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] { opacity: 0; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); }
[data-reveal="up"] { transform: translateY(28px); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="blur"] { transform: translateY(16px); filter: blur(10px); }
[data-reveal].in-view { opacity: 1; transform: none; filter: blur(0); }

/* Stagger children */
[data-reveal-group] [data-reveal-item] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-reveal-group].in-view [data-reveal-item] { opacity: 1; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-blob-a { position: absolute; left: -96px; top: 96px; width: 288px; height: 288px; border-radius: 999px; background: var(--blue-50); filter: blur(60px); }
.hero-blob-b { position: absolute; right: 0; top: 160px; width: 320px; height: 320px; border-radius: 999px; background: rgba(246,235,212,.7); filter: blur(60px); }
.hero-inner { position: relative; padding: 64px 0 40px; }
@media (min-width: 768px) { .hero-inner { padding: 96px 0 40px; } }

.hero-title {
  margin-top: 28px; max-width: 760px; font-weight: 600; letter-spacing: -.02em; line-height: 1.08;
  font-size: 42px;
}
@media (min-width: 640px) { .hero-title { font-size: 56px; } }
@media (min-width: 900px) { .hero-title { font-size: 68px; } }
.hero-title span.line { display: block; overflow: hidden; }
.hero-title span.line b {
  display: block; font-weight: 600; transform: translateY(110%); opacity: 0;
  animation: line-up .9s var(--ease-out) forwards;
}
.hero-title span.line:nth-child(1) b { animation-delay: .15s; }
.hero-title span.line:nth-child(2) b { animation-delay: .27s; }
.hero-title span.line:nth-child(3) b { animation-delay: .39s; }
@keyframes line-up { to { transform: translateY(0); opacity: 1; } }

.hero-lead {
  margin-top: 24px; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--muted);
  opacity: 0; animation: fade-up .7s var(--ease-out) .55s forwards;
}
@media (min-width: 768px) { .hero-lead { font-size: 18px; } }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: fade-up .7s var(--ease-out) .7s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(2,1fr); gap: 32px;
  padding-top: 40px; border-top: 1px solid var(--border);
  opacity: 0; animation: fade-in .8s var(--ease-out) 1s forwards;
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4,1fr); } }
@keyframes fade-in { to { opacity: 1; } }
.hero-stat-value { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 600; font-size: 30px; }
@media (min-width: 768px) { .hero-stat-value { font-size: 36px; } }
.hero-stat-label { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--muted); }

.hero-chart-wrap { position: relative; border-top: 1px solid var(--border); background: var(--surface); }
.hero-chart-inner { position: relative; overflow: hidden; padding: 32px 0; }
.hero-chart-svg { height: 90px; width: 100%; }

/* ==========================================================================
   Credentials / expertise (About page)
   ========================================================================== */

.credential-strip {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--bg); padding: 10px 20px 10px 10px;
  box-shadow: var(--shadow-sm);
}
.credential-strip-avatar {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400)); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.credential-strip-text { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.credential-strip-sep { width: 3px; height: 3px; border-radius: 999px; background: var(--muted-2); }
.credential-strip-years { font-family: var(--font-mono); font-size: 12.5px; color: var(--blue-600); font-weight: 600; }

.expertise-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--bg); padding: 30px; height: 100%;
}
.expertise-card-num {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--blue-50); color: var(--blue-600); font-family: var(--font-mono); font-size: 14px; font-weight: 600;
}
.expertise-card h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.expertise-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.expertise-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); padding: 6px 12px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--ink-2);
}


.hero-badge {
  position: absolute; z-index: 2; display: none; align-items: center; gap: 6px;
  border-radius: 999px; padding: 8px 16px; font-size: 12.5px; font-weight: 500; color: #fff;
  background: var(--navy-deep); box-shadow: var(--shadow-md);
  animation: float-slow 7s var(--ease-in-out) infinite;
}
@media (min-width: 1080px) { .hero-badge { display: inline-flex; } }
.hero-badge svg { width: 13px; height: 13px; opacity: .85; }

/* ==========================================================================
   Hero bento grid (replaces the single hero-visual-card)
   ========================================================================== */

.bento-wrap { position: relative; margin: 0 auto; max-width: 760px; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 108px; gap: 14px; }
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--bg); box-shadow: var(--shadow-md); padding: 18px;
  transition: transform .15s var(--ease-out), box-shadow .3s var(--ease-out);
}
.bento-card:hover { box-shadow: var(--shadow-lg); }
.bento-card.chart {
  grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-700) 0%, #0c1729 65%, #0a1420 100%); color: #fff; border-color: transparent;
}
.bento-chart-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.55); }
.bento-chart-top .pair { font-family: var(--font-mono); color: rgba(255,255,255,.85); font-size: 12.5px; }
.bento-chart-svg-wrap { flex: 1; margin: 10px 0; }
.bento-brand { display: flex; align-items: center; gap: 8px; }
.bento-brand img { height: 20px; width: auto; border-radius: 4px; }
.bento-brand span { font-size: 11.5px; color: rgba(255,255,255,.7); }
.bento-card.stat { display: flex; flex-direction: column; justify-content: center; }
.bento-stat-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-600); margin-bottom: 8px; }
.bento-stat-icon svg { width: 15px; height: 15px; }
.bento-stat-value { font-family: var(--font-mono); font-size: 22px; font-weight: 600; line-height: 1; }
.bento-stat-label { margin-top: 5px; font-size: 11px; color: var(--muted); }
.bento-card.cta {
  display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, var(--blue-50), var(--bg));
}
.bento-cta-avatar { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--navy-deep); color: #fff; }
.bento-cta-avatar svg { width: 16px; height: 16px; }
.bento-cta-text { display: flex; flex-direction: column; }
.bento-cta-text strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.bento-cta-text span { font-size: 11.5px; color: var(--muted); }
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
  .bento-card.chart { grid-column: span 2; grid-row: span 2; }
}

.hero-visual { position: relative; margin: 0 auto; max-width: 760px; }
.hero-visual-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue-700) 0%, #0c1729 60%, #0a1420 100%);
  box-shadow: var(--shadow-lg); padding: 18px;
}
.hero-visual-topbar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.hero-visual-title { display: flex; align-items: center; gap: 10px; }
.hero-visual-title img { height: 22px; width: auto; border-radius: 5px; }
.hero-visual-title span { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.hero-visual-body { position: relative; border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,.03); padding: 22px; min-height: 260px; }
.hero-visual-stat-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-visual-pair { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.55); }
.hero-visual-date { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.4); }
.hero-visual-chart { margin-top: 18px; height: 130px; }
.hero-visual-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; gap: 12px; }
.hero-visual-metrics { display: flex; gap: 22px; }
.hero-visual-metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: rgba(255,255,255,.4); }
.hero-visual-metric-value { margin-top: 3px; font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: #fff; }
.hero-visual-cta {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 12.5px; font-weight: 500;
  transition: background .25s;
}
.hero-visual-cta:hover { background: rgba(255,255,255,.18); }
.hero-visual-cta .play-dot { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--down); }
.hero-visual-cta .play-dot svg { width: 9px; height: 9px; }

.stop-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 780px) { .stop-cards { grid-template-columns: repeat(3, 1fr); } }
.stop-card { text-align: center; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg); padding: 32px 24px; }
.stop-card-icon {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto;
  border-radius: var(--radius-md); background: linear-gradient(135deg, var(--blue-700), var(--blue-400)); color: #fff;
}
.stop-card-icon svg { width: 24px; height: 24px; }
.stop-card h3 { margin-top: 18px; font-size: 17px; font-weight: 600; }
.stop-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Phase stepper
   ========================================================================== */

.phase-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.phase-tab {
  display: flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); padding: 9px 16px 9px 9px; font-size: 13px; font-weight: 500; color: var(--muted);
  transition: border-color .25s, color .25s, background .25s;
}
.phase-tab-num {
  display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  transition: background .25s, color .25s;
}
.phase-tab.is-active { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.phase-tab.is-active .phase-tab-num { background: var(--blue-600); color: #fff; }

.phase-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); min-height: 260px;
  display: flex; align-items: flex-end; padding: 32px; box-shadow: var(--shadow-lg);
}
.phase-panel-bg { position: absolute; top:0; right:0; bottom:0; left:0; z-index: 0; }
.phase-panel-bg::after {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
  animation: phase-glow-drift 9s var(--ease-in-out) infinite;
}
@keyframes phase-glow-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-6%, 8%) scale(1.15); }
}
.phase-panel-watermark {
  position: absolute; z-index: 1; right: 8px; bottom: -34px; font-family: var(--font-mono); font-weight: 700;
  font-size: 160px; line-height: 1; color: rgba(255,255,255,.06); user-select: none; pointer-events: none;
}
.phase-panel-scrim { position: absolute; top:0; right:0; bottom:0; left:0; z-index: 1; background: linear-gradient(0deg, rgba(11,18,32,.88) 10%, rgba(11,18,32,.35) 55%, rgba(11,18,32,.1) 100%); }
.phase-panel-content { position: relative; z-index: 2; color: #fff; max-width: 480px; }
.phase-panel-content .eyebrow { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
.phase-panel-content h3 { margin-top: 14px; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.phase-panel-content ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.phase-panel-content li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.phase-panel-content li svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; color: var(--up); }

/* ==========================================================================
   Three pillars (dark)
   ========================================================================== */

.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 820px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
.pillar-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 34px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.pillar-card.span-2 { grid-column: 1 / -1; }
.pillar-card.tone-a { background: linear-gradient(135deg, var(--blue-700), #0c1a30); }
.pillar-card.tone-b { background: linear-gradient(135deg, #123a4a, #0c2430); }
.pillar-card.tone-c { background: linear-gradient(120deg, #1a1030, var(--blue-700) 120%); }
.pillar-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: #fff; max-width: 320px; }
.pillar-card p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.65); max-width: 340px; }
.pillar-card .btn { margin-top: 20px; align-self: flex-start; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pillar-tag { border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 500; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.12); }
.pillar-icon {
  position: absolute; right: -18px; bottom: -18px; width: 150px; height: 150px; opacity: .16; color: #fff;
  animation: pillar-icon-drift 10s var(--ease-in-out) infinite; transition: opacity .4s var(--ease-out);
}
.pillar-card:hover .pillar-icon { opacity: .28; }
@keyframes pillar-icon-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-8px, -10px) rotate(8deg) scale(1.06); }
}

/* ==========================================================================
   Testimonial grid extras
   ========================================================================== */

.testimonial-source { font-size: 11.5px; color: var(--muted-2); }
.show-more-btn {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); padding: 9px 18px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: border-color .2s;
}
.show-more-btn:hover { border-color: var(--border-strong); }
.testimonial-extra { display: none; }
.testimonial-extra.is-visible { display: block; }

/* ==========================================================================
   Pricing toggle
   ========================================================================== */

.pricing-toggle-panel { display: none; }
.pricing-toggle-panel.is-active { display: block; }

/* ==========================================================================
   Plain FAQ list (light)
   ========================================================================== */

.faq-plain-list { display: flex; flex-direction: column; }
.faq-plain-item { border-bottom: 1px solid var(--border); }
.faq-plain-item:first-child { border-top: 1px solid var(--border); }
.faq-plain-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 4px; text-align: left; }
.faq-plain-trigger span.q { font-size: 15px; font-weight: 500; color: var(--ink); }
.faq-plain-toggle {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); font-size: 15px; line-height: 1;
  transition: background .25s, color .25s, border-color .25s;
}
.faq-plain-item.is-open .faq-plain-toggle { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.faq-plain-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-plain-panel-inner { padding: 0 4px 18px; font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 720px; }


/* ==========================================================================
   Cards
   ========================================================================== */

.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.card-lift { transition: transform .15s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out); transform-style: preserve-3d; }
.card-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

.feature-card { display: flex; flex-direction: column; height: 100%; }
.feature-card-top { display: flex; align-items: center; justify-content: space-between; }
.feature-tag { border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: 11.5px; font-weight: 500; padding: 4px 10px; }
.feature-card h3 { margin-top: 20px; font-size: 19px; font-weight: 600; }
.feature-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.feature-arrow { width: 16px; height: 16px; color: var(--muted-2); transition: transform .3s var(--ease-out), color .3s; }
.feature-card:hover .feature-arrow { transform: translate(2px,-2px); color: var(--blue-600); }

.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.testimonial-card p { font-family: var(--font-display); font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.testimonial-person { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.avatar {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); color: var(--blue-700);
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.testimonial-name { font-size: 14px; font-weight: 500; }
.testimonial-role { font-size: 12.5px; color: var(--muted); }

.pricing-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg); padding: 32px; }
.pricing-card.is-highlighted {
  border-color: var(--blue-500); background: linear-gradient(180deg, var(--blue-50), #fff 38%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .pricing-card.is-highlighted { transform: translateY(-12px); } }
.pricing-badge {
  display: inline-flex; align-self: flex-start; margin-bottom: 16px; border-radius: 999px; padding: 4px 12px;
  font-size: 11.5px; font-weight: 500; color: #fff; background: linear-gradient(100deg, var(--blue-700), var(--blue-500));
}
.pricing-card h3 { font-size: 20px; font-weight: 600; }
.pricing-card > p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.pricing-price { margin-top: 24px; display: flex; align-items: flex-end; gap: 6px; }
.pricing-price strong { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -.02em; }
.pricing-price span { padding-bottom: 4px; font-size: 13px; color: var(--muted); }
.pricing-features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pricing-features svg { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-600); }
.pricing-card .btn { margin-top: 32px; width: 100%; }

/* ==========================================================================
   Grids
   ========================================================================== */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.section-head { max-width: 640px; }
.section-head.centered { margin: 0 auto; text-align: center; }
.section-head h2 { margin-top: 18px; font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
@media (min-width: 768px) { .section-head h2 { font-size: 36px; } }

/* ==========================================================================
   Timeline / Process
   ========================================================================== */

.timeline { position: relative; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(4,1fr); gap: 24px; } .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: var(--border); } }
.timeline-item { position: relative; }
.timeline-step {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--blue-100); background: var(--bg);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--blue-600); box-shadow: var(--shadow-sm);
}
.timeline-item.gold .timeline-step { border-color: rgba(226,189,118,.5); color: var(--gold-600); }
.timeline-item h4 { margin-top: 16px; font-size: 16.5px; font-weight: 600; }
.timeline-item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Table
   ========================================================================== */

.results-table-wrap { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg); }
.results-table-scroll { overflow-x: auto; }
table.results-table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; }
.results-table thead tr { border-bottom: 1px solid var(--border); background: var(--surface); }
.results-table th { padding: 16px 24px; font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--muted-2); }
.results-table td { padding: 16px 24px; font-size: 13.5px; border-bottom: 1px solid var(--border); color: var(--ink-2); }
.results-table tr:last-child td { border-bottom: none; }
.results-table tbody tr { transition: background .2s; }
.results-table tbody tr:hover { background: rgba(246,248,251,.6); }
.cell-strong { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.cell-mono { font-family: var(--font-mono); }

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; }
.badge-up { background: #E9F9F1; color: var(--up); }
.badge-down { background: #FDEDEB; color: var(--down); }

/* ==========================================================================
   Accordion / FAQ
   ========================================================================== */

.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg); transition: border-color .3s; }
.accordion-item.is-open { border-color: var(--blue-100); }
.accordion-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px; text-align: left; }
.accordion-trigger span.q { font-size: 15.5px; font-weight: 500; }
.accordion-icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 999px; background: var(--surface); color: var(--ink-2); transition: transform .3s var(--ease-out), background .3s, color .3s;
}
.accordion-item.is-open .accordion-icon { background: var(--blue-600); color: #fff; transform: rotate(135deg); }
.accordion-icon svg { width: 14px; height: 14px; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.accordion-panel-inner { padding: 0 24px 20px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   Tabs
   ========================================================================== */

.tabs-list { display: inline-flex; flex-wrap: wrap; gap: 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); padding: 6px; }
.tabs-btn { position: relative; border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.tabs-btn.is-active { color: #fff; }
.tabs-btn.is-active::before {
  content: ""; position: absolute; top:0; right:0; bottom:0; left:0; z-index: -1; border-radius: 999px;
  background: linear-gradient(100deg, var(--blue-700), var(--blue-500));
}
.tabs-panel { display: none; margin-top: 28px; animation: fade-up .4s var(--ease-out); }
.tabs-panel.is-active { display: block; }

/* ==========================================================================
   Misc widgets
   ========================================================================== */

.alert { border-radius: var(--radius-md); border: 1px solid; padding: 16px 20px; }
.alert-info { border-color: var(--blue-100); background: var(--blue-50); color: var(--blue-700); }
.alert-warning { border-color: rgba(226,189,118,.5); background: var(--gold-100); color: var(--gold-600); }
.alert-success { border-color: #bfe9d5; background: #E9F9F1; color: var(--up); }
.alert-title { font-size: 14px; font-weight: 500; }
.alert-body { margin-top: 4px; font-size: 13.5px; line-height: 1.6; opacity: .9; }

.progress-row { margin-bottom: 20px; }
.progress-row:last-child { margin-bottom: 0; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.progress-track { height: 8px; width: 100%; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-700), var(--blue-400)); width: 0; transition: width 1s var(--ease-out); }

.skeleton { border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 40%, var(--surface) 80%); background-size: 800px 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.glass { background: var(--glass-bg); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--glass-border); }
.glass-surface { background: var(--glass-surface); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid var(--border); }

/* Toast */
.toast-stack { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 768px) { .toast-stack { left: auto; right: 28px; transform: none; align-items: flex-end; } }
.toast {
  display: flex; align-items: center; gap: 12px; min-width: 280px; border-radius: var(--radius-md); padding: 14px 16px;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.95); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.toast svg.icon-success { width: 20px; height: 20px; flex-shrink: 0; color: var(--up); }
.toast svg.icon-error { width: 20px; height: 20px; flex-shrink: 0; color: var(--down); }
.toast-msg { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.toast-close { margin-left: auto; color: var(--muted-2); }
.toast-close svg { width: 16px; height: 16px; }

/* Tooltip */
.tooltip { position: relative; display: inline-flex; }
.tooltip-bubble {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; background: var(--navy-deep); color: #fff; font-size: 12px; padding: 6px 10px;
  border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.tooltip:hover .tooltip-bubble { opacity: 1; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg);
  padding: 12px 16px; font-size: 14.5px; color: var(--ink); outline: none; transition: border-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-400); }
.field textarea { resize: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--down); }
.field-error { font-size: 12.5px; color: var(--down); }

.newsletter-form { display: flex; align-items: center; gap: 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); padding: 4px 4px 4px 16px; }
.newsletter-form:focus-within { border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-50); }
.newsletter-form input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.newsletter-form button {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 999px; background: var(--navy-deep); color: #fff; transition: transform .2s;
}
.newsletter-form button:hover { transform: scale(1.05); }

/* Spinner */
.spinner { width: 16px; height: 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Range slider */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); outline: none; cursor: pointer; margin-top: 12px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 999px; background: var(--blue-600); cursor: pointer; box-shadow: 0 2px 6px rgba(25,46,76,.4); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: none; border-radius: 999px; background: var(--blue-600); cursor: pointer; }

/* ==========================================================================
   Live markets section
   ========================================================================== */

.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .market-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .market-grid { grid-template-columns: repeat(5, 1fr); } }

.market-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); padding: 20px; }
.market-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.market-symbol { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.market-name { margin-top: 2px; font-size: 12px; color: var(--muted); }
.market-live-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 999px; background: var(--up); margin-top: 5px; }
.market-price { font-family: var(--font-mono); font-size: 23px; font-weight: 600; color: var(--ink); margin-top: 16px; }
.market-change { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12.5px; font-weight: 500; }
.market-change.up { color: var(--up); }
.market-change.down { color: var(--down); }

.live-markets-badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); padding: 5px 12px; font-size: 12px; font-weight: 500; color: var(--ink-2);
}
.live-markets-notice {
  display: block; margin-top: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); padding: 10px 14px; font-size: 12.5px; line-height: 1.6;
}

/* ==========================================================================
   Dark FAQ section (homepage)
   ========================================================================== */

.faq-dark { background: var(--navy-deep); }
.faq-dark .accordion-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.faq-dark .accordion-item.is-open { border-color: rgba(47,172,64,.5); background: rgba(255,255,255,.07); }
.faq-dark .accordion-trigger { display: flex; align-items: center; gap: 14px; }
.faq-dark .accordion-trigger .q-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--up); color: var(--up); }
.faq-dark .accordion-trigger .q-icon svg { width: 13px; height: 13px; }
.faq-dark .accordion-trigger span.q { flex: 1; color: #fff; }
.faq-dark .accordion-icon { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.faq-dark .accordion-item.is-open .accordion-icon { background: var(--up); color: #fff; }
.faq-dark .accordion-panel-inner { color: rgba(255,255,255,.62); padding-left: 60px; }
@media (max-width: 560px) { .faq-dark .accordion-panel-inner { padding-left: 24px; } }


/* ==========================================================================
   Trading Bot 2.0 — highlighted, animated components
   ========================================================================== */

.bot-new-badge {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 15px;
  background: linear-gradient(100deg, #6d28d9, var(--blue-600)); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; animation: bot-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes bot-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(109,40,217,.45); }
  50% { box-shadow: 0 0 0 9px rgba(109,40,217,0); }
}
.bot-new-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: #fff; }

.bot-glow-border {
  position: relative; border-radius: var(--radius-xl); padding: 2px;
  background: linear-gradient(120deg, var(--blue-600), #3ecf7e, var(--gold-500), #6d28d9, var(--blue-600));
  background-size: 300% 300%; animation: bot-gradient-shift 8s ease infinite;
  box-shadow: var(--shadow-lg);
}
@keyframes bot-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.bot-glow-inner { background: var(--bg); border-radius: calc(var(--radius-xl) - 2px); padding: 40px; }
.bot-glow-inner.is-dark { background: var(--navy-deep); }

.bot-feature-chip {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.bot-feature-chip svg { width: 15px; height: 15px; color: var(--blue-600); }

/* Animated signal-flow diagram */
.bot-flow { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.bot-flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 140px; text-align: center; }
.bot-flow-icon {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  border-radius: 18px; background: linear-gradient(135deg, var(--blue-700), var(--blue-400)); color: #fff; box-shadow: var(--shadow-md);
}
.bot-flow-icon svg { width: 26px; height: 26px; }
.bot-flow-node span { font-size: 12.5px; font-weight: 500; color: var(--ink-2); line-height: 1.4; }
.bot-flow-line { position: relative; flex: 1; min-width: 40px; height: 2px; background: var(--border); margin: 29px -6px 0; }
.bot-flow-dot { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 999px; background: var(--up); opacity: 0; animation: bot-flow-move 2.4s linear infinite; }
.bot-flow-dot.d2 { animation-delay: .8s; }
.bot-flow-dot.d3 { animation-delay: 1.6s; }
@keyframes bot-flow-move {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 680px) {
  .bot-flow-line { display: none; }
  .bot-flow { flex-direction: column; gap: 20px; }
}

.bot-stat-row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.bot-stat { text-align: center; }
.bot-stat-value { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--ink); }
.bot-stat-label { margin-top: 4px; font-size: 12px; color: var(--muted); }

.bot-section-home { position: relative; overflow: hidden; }
.bot-section-home .hero-blob-a, .bot-section-home .hero-blob-b { opacity: .6; }


/* ==========================================================================
   FAQ page redesign
   ========================================================================== */

.faq-search-wrap { position: relative; max-width: 520px; margin: 0 auto; }
.faq-search-wrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.faq-search-input {
  width: 100%; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg);
  padding: 14px 20px 14px 48px; font-size: 14.5px; color: var(--ink); outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.faq-search-input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.faq-search-input::placeholder { color: var(--muted-2); }

.faq-cat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.faq-cat-chip {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.72); padding: 9px 16px 9px 12px; font-size: 13px; font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
}
.faq-cat-chip svg { width: 15px; height: 15px; }
.faq-cat-chip.is-active, .faq-cat-chip:hover { border-color: var(--up); background: rgba(62,207,126,.12); color: #fff; }

.faq-empty-state { display: none; text-align: center; padding: 40px 20px; color: rgba(255,255,255,.5); font-size: 14px; }
.faq-empty-state.is-visible { display: block; }

.faq-cta-card {
  border-radius: var(--radius-xl); border: 1px solid var(--border); background: linear-gradient(160deg,var(--surface),var(--bg));
  padding: 40px; text-align: center;
}


/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--bg); padding: 18px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.contact-info-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-info-icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-600);
}
.contact-info-card h3 { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-info-card p { margin-top: 3px; font-size: 13.5px; color: var(--muted); }

.contact-social-row { display: flex; align-items: center; gap: 10px; }
.contact-social-link {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); color: var(--ink-2);
  transition: transform .2s, border-color .2s, color .2s, box-shadow .2s;
}
.contact-social-link:hover { transform: translateY(-2px); border-color: var(--blue-100); color: var(--blue-600); box-shadow: var(--shadow-sm); }

.contact-form-card {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--border);
  background: var(--bg); box-shadow: var(--shadow-lg); padding: 40px;
}
.contact-form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(100deg, var(--blue-700), var(--blue-400), var(--gold-500));
}
.contact-form-head { margin-bottom: 24px; }
.contact-form-head h2 { font-size: 20px; font-weight: 600; }
.contact-form-head p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.contact-privacy-note { margin-top: 16px; font-size: 12px; color: var(--muted-2); text-align: center; }
.contact-privacy-note a { color: var(--blue-600); }


/* ==========================================================================
   Blog cards
   ========================================================================== */

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 32px 28px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card { display: block; }
.blog-cover { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16/10.5; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.blog-card:hover .blog-cover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-cover svg { width: 100%; height: 100%; display: block; }
.blog-tag-badge { position: absolute; top: 14px; left: 14px; z-index: 2; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }

.blog-meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.blog-meta .dot-sep { width: 3px; height: 3px; border-radius: 999px; background: var(--muted-2); }
.blog-card h3 { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); transition: color .2s; }
.blog-card:hover h3 { color: var(--blue-600); }
.blog-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.blog-filter-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.blog-filter-chip { border-radius: 999px; border: 1px solid var(--border); background: var(--bg); padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.blog-filter-chip.is-active, .blog-filter-chip:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }

/* ==========================================================================
   Prose (privacy policy / long-form legal content)
   ========================================================================== */

.prose { max-width: 760px; margin: 0 auto; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { margin-top: 44px; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; padding-left: 4px; }
.prose ul li { display: flex; gap: 10px; }
.prose ul li svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; color: var(--blue-600); }
.prose ul.cross li svg { color: var(--down); }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose-updated { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; font-size: 12.5px; color: var(--muted); }


/* ==========================================================================
   Footer
   ========================================================================== */

.footer { position: relative; border-top: 1px solid var(--border); background: var(--surface); padding: 64px 0 0; }
.footer .brand-logo { height: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-desc { margin-top: 16px; max-width: 320px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.footer-socials { margin-top: 20px; display: flex; gap: 12px; }
.footer-social {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: transform .2s, border-color .2s, color .2s, box-shadow .2s;
}
.footer-social:hover { transform: translateY(-2px); border-color: var(--blue-100); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.footer-heading { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--muted-2); }
.footer-links { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.footer-links a:hover { color: var(--blue-600); }
.footer-bottom { margin-top: 56px; display: flex; flex-direction: column-reverse; align-items: center; gap: 16px; border-top: 1px solid var(--border); padding: 32px 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-disclaimer { max-width: 520px; }
@media (min-width: 768px) { .footer-disclaimer { text-align: right; } }

/* ==========================================================================
   Enroll modal
   ========================================================================== */

.enroll-overlay {
  position: fixed; top:0; right:0; bottom:0; left:0; z-index: 150; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(16, 28, 48, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.enroll-overlay.is-open { display: flex; opacity: 1; }
.enroll-modal {
  position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto;
  background: var(--bg); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.enroll-overlay.is-open .enroll-modal { transform: translateY(0) scale(1); opacity: 1; }

.enroll-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 28px 18px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.enroll-head-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.enroll-head-sub { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.enroll-close {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 999px; color: var(--muted); transition: background .2s, color .2s;
}
.enroll-close:hover { background: var(--surface); color: var(--ink); }
.enroll-close svg { width: 18px; height: 18px; }

.enroll-dots { display: flex; gap: 6px; padding: 16px 28px 0; }
.enroll-dot { flex: 1; height: 4px; border-radius: 999px; background: var(--surface-2); transition: background .3s; }
.enroll-dot.is-active, .enroll-dot.is-done { background: var(--blue-700); }

.enroll-body { padding: 24px 28px 8px; min-height: 280px; }
.enroll-step-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.enroll-step-desc { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.enroll-foot { position: sticky; bottom: 0; display: flex; gap: 12px; justify-content: space-between; padding: 20px 28px 28px; background: var(--bg); }
.enroll-foot .btn { flex: 1; }

/* Course radio cards */
.course-options { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.course-option {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; transition: border-color .2s, background .2s;
}
.course-option:hover { border-color: var(--border-strong); }
.course-option.is-selected { border-color: var(--blue-600); background: var(--blue-50); }
.course-option-radio {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s;
}
.course-option.is-selected .course-option-radio { border-color: var(--blue-600); }
.course-option-radio::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--blue-600); transform: scale(0); transition: transform .2s; }
.course-option.is-selected .course-option-radio::after { transform: scale(1); }
.course-option-info { flex: 1; }
.course-option-name { font-size: 15px; font-weight: 600; }
.course-option-desc { margin-top: 2px; font-size: 13px; color: var(--muted); }
.course-option-price { flex-shrink: 0; font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--ink); }

/* Payment step */
.pay-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px;
  border-radius: var(--radius-md); background: var(--surface); padding: 16px 18px;
}
.pay-summary-course { font-size: 13.5px; color: var(--muted); }
.pay-summary-course strong { display: block; margin-top: 2px; font-size: 15px; color: var(--ink); }
.pay-summary-amount { text-align: right; }
.pay-summary-amount .amount { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--ink); }
.pay-summary-amount .label { font-size: 11.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .03em; }

.network-tabs { display: flex; gap: 8px; margin-top: 18px; }
.network-tab {
  flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px; text-align: center;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, background .2s;
}
.network-tab.is-active { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }

.pay-address-row { margin-top: 16px; }
.pay-address-label { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.copy-field {
  margin-top: 8px; display: flex; align-items: center; gap: 8px; border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm); padding: 12px 14px; background: var(--surface);
}
.copy-field code { flex: 1; font-family: var(--font-mono); font-size: 12.5px; word-break: break-all; color: var(--ink); }
.copy-btn {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px; border-radius: var(--radius-sm); padding: 7px 12px;
  font-size: 12.5px; font-weight: 500; background: var(--navy-deep); color: #fff; transition: transform .2s;
}
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.is-copied { background: var(--up); }

.qr-wrap { display: flex; justify-content: center; margin-top: 18px; }
.qr-box { padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

.pay-steps { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.pay-step { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.pay-step-num {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 999px; background: var(--surface-2); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--ink-2);
}

.demo-warning {
  margin-top: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(226,189,118,.6); background: var(--gold-100);
  padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: var(--gold-600);
}

/* Confirmation step */
.enroll-success-icon {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto;
  border-radius: 999px; background: var(--blue-50); color: var(--up);
}
.enroll-success-icon svg { width: 30px; height: 30px; }
.enroll-summary-card { margin-top: 20px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); padding: 18px 20px; }
.enroll-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.enroll-summary-row:last-child { border-bottom: none; }
.enroll-summary-row span:first-child { color: var(--muted); }
.enroll-summary-row span:last-child { font-weight: 500; color: var(--ink); text-align: right; }

.enroll-support-row { display: flex; gap: 10px; margin-top: 18px; }
.enroll-support-row .btn { flex: 1; }

@media (max-width: 480px) {
  .enroll-head { padding: 20px 20px 14px; }
  .enroll-body { padding: 20px 20px 8px; }
  .enroll-foot { padding: 16px 20px 24px; flex-direction: column-reverse; }
  .pay-summary { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pay-summary-amount { text-align: left; }
  .network-tabs { flex-wrap: wrap; }
  .enroll-support-row { flex-direction: column; }
}


/* ==========================================================================
   Utility
   ========================================================================== */

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 40px; } .mt-6 { margin-top: 48px; } .mt-7 { margin-top: 56px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.max-w-sm { max-width: 420px; } .max-w-md { max-width: 560px; } .max-w-lg { max-width: 680px; } .max-w-xl { max-width: 780px; }
.text-muted { color: var(--muted); }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-title span.line b { animation: none; transform: none; opacity: 1; }
  .hero-lead, .hero-ctas, .hero-stats { animation: none; opacity: 1; }
}
