/* ==========================================================================
   GrowthCapital — main stylesheet
   Custom CSS (no framework). Organized: tokens, base, layout, components, pages.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --navy-900: #050b18;   /* near-black base */
    --navy-800: #0a1730;
    --navy-700: #0f2444;
    --navy-600: #173a6b;
    --accent:   #16c784;   /* growth green */
    --accent-d: #10a36c;
    --accent-bright: #25ef8a; /* vivid green for glows/highlights */
    --gold:     #f5b301;
    --red:      #e2483b;
    --ink:      #1a2433;
    --muted:    #5c6b80;
    --line:     #e4e9f0;
    --bg:       #ffffff;
    --bg-alt:   #f4f8fc;
    --white:    #ffffff;
    --glass:    rgba(255, 255, 255, 0.10);
    --glass-line: rgba(255, 255, 255, 0.22);

    --radius:   14px;
    --radius-sm: 9px;
    --shadow:   0 10px 30px rgba(5, 11, 24, 0.10);
    --shadow-lg: 0 24px 60px rgba(5, 11, 24, 0.22);
    --glow:     0 8px 30px rgba(22, 199, 132, 0.35);
    --container: 1180px;
    --header-h: 76px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Outfit', var(--font);
}

/* ---------- Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy-900); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
/* Display font for prominent numbers/brand */
.brand__name, .stat__num, .plan__price, .hero-chart__val,
.phone__price, .phone__balance b, .donut__hole b, .float-card__val,
.appshow__title span { font-family: var(--font-display); }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-700); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-xl { margin-top: 48px; }
.lead { font-size: 1.2rem; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: .12em;
    font-size: .78rem; font-weight: 700; color: var(--accent-d); margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 700;
    font-size: .95rem; cursor: pointer; border: 2px solid transparent; letter-spacing: .01em;
    transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .25s, background .25s, color .2s, border-color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* shine sweep */
.btn::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 140%; }

.btn--primary {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-d));
    color: #04231a; border-color: transparent; box-shadow: var(--glow);
}
.btn--primary:hover { box-shadow: 0 12px 38px rgba(22,199,132,.5); color: #04231a; }

.btn--ghost {
    background: var(--glass); color: var(--white); border-color: var(--glass-line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn--glass {
    background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: var(--accent); color: #04231a; border-color: var(--accent); }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--light:hover { background: #eef3f9; }
.btn--lg { padding: 15px 32px; font-size: 1.04rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #aebfd4; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 16px; }
.topbar__risk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 18px; flex-shrink: 0; }
.topbar__links a { color: #cdd9e9; }
.topbar__links a:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: var(--navy-800);
    transition: box-shadow .25s, background .25s;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.35); background: rgba(10,23,48,.92); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: flex-start; gap: 32px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.25rem; }
.brand__mark {
    width: 36px; height: 36px; border-radius: 10px; overflow: hidden; display: block; flex: none;
}
.brand__mark img { width: 100%; height: 100%; display: block; }
.brand__name { font-weight: 600; letter-spacing: -.01em; }
.brand__name strong { font-weight: 800; }
.brand--footer, .brand--platform { color: var(--navy-900); }

.main-nav { flex: 1; display: flex; align-items: center; gap: 24px; }
.main-nav__list { display: flex; gap: 6px; margin: 0 auto; }
.main-nav__list > li > a {
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
    color: #d7e1ee; font-weight: 500; font-size: .95rem; padding: 9px 14px; border-radius: 8px;
    position: relative; transition: color .2s, background .2s;
}
.main-nav__list > li > a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav__list > li > a.active { color: #fff; }
.main-nav__list > li > a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--accent); box-shadow: 0 0 10px rgba(37,239,138,.7);
}
.main-nav__auth { display: flex; gap: 12px; flex: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        linear-gradient(105deg, rgba(8,21,46,.96) 0%, rgba(11,37,69,.85) 45%, rgba(8,21,46,.55) 100%),
        url("../images/hero-trading.jpg") center/cover no-repeat;
    color: #fff; padding: 96px 0 100px; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(700px 400px at 85% 0%, rgba(22,199,132,.25), transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero > .container { position: relative; z-index: 1; }
@keyframes heroGlow { from { opacity: .5; } to { opacity: 1; } }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__lead { color: #c3d2e6; font-size: 1.18rem; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin: 28px 0; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.hero__badges li { color: #aebfd4; font-size: .9rem; }
.hero__badges strong { display: block; color: var(--accent); font-size: 1.5rem; }

.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.quote-card h3 { margin-bottom: 18px; }
.quote-card__steps { margin-bottom: 22px; display: grid; gap: 14px; }
.quote-card__steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.quote-card__steps span {
    width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg-alt); color: var(--accent-d); font-weight: 700; font-size: .85rem;
}
.quote-card__note { margin: 14px 0 0; text-align: center; font-size: .9rem; color: var(--muted); }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy-900); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.ticker__track { display: flex; gap: 40px; padding: 12px 0; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker__item { font-size: .92rem; color: #c3d2e6; }
.ticker__item b { color: #fff; margin: 0 4px; }
.ticker__item i { font-style: normal; font-weight: 600; }
.ticker__item .up { color: var(--accent); }
.ticker__item .down { color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature cards ---------- */
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem;
    background: rgba(22,199,132,.12); color: var(--accent-d); font-weight: 800; margin-bottom: 16px;
}
.feature-card p { color: var(--muted); margin: 0; }

/* ---------- Values ---------- */
.value { padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.value h3 { color: var(--navy-800); }
.value p { color: var(--muted); margin: 0; }
.section--alt .value { background: #fff; }
.value__icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(37,239,138,.18), rgba(22,199,132,.08));
    color: var(--accent-d); font-size: 1.4rem;
}

/* ---------- Card / stat icons ---------- */
.market-card__icon {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.16); backdrop-filter: blur(4px); margin-bottom: 10px; font-size: 1rem; color: #fff;
}
.stat__ico { font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; display: block; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-800); color: #fff; padding: 56px 0; }
.stat { text-align: center; }
.stat__num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.stat__label { color: #aebfd4; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent-d), var(--accent)); color: #04231a; padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #042c1f; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #0a3a2a; }

/* ---------- Page banner ---------- */
.page-banner {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff;
    padding: 64px 0; text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: #c3d2e6; margin: 0; }

/* ---------- Markets ---------- */
.market-rows .market-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.market-row h2 { font-size: 1.5rem; }
.market-row p { color: var(--muted); margin: 0; }

/* ---------- Pricing / plans ---------- */
.pricing { align-items: stretch; }
.plan {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 24px; display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #04231a; font-size: .75rem; font-weight: 700;
    padding: 4px 14px; border-radius: 99px;
}
.plan__name { color: var(--navy-800); }
.plan__price { font-size: 2rem; font-weight: 800; color: var(--navy-900); margin: 6px 0 18px; }
.plan__price span { display: block; font-size: .82rem; font-weight: 500; color: var(--muted); }
.plan__features { display: grid; gap: 10px; margin-bottom: 22px; flex: 1; }
.plan__features li { color: var(--ink); display: flex; align-items: center; gap: 10px; }
.plan__features li i { color: var(--accent-d); width: 16px; text-align: center; flex: none; }
.disclaimer { color: var(--muted); font-size: .88rem; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-info p { color: var(--muted); }
.contact-list { display: grid; gap: 14px; margin-top: 20px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; align-items: center; }
.contact-list span { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Forms ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy-800); }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,199,132,.15);
}
.form-row--inline { display: flex; align-items: center; justify-content: space-between; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.checkbox input { width: auto; }
.checkbox--block { margin: 6px 0 18px; }
.form-note, .form-card .form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }
.link { font-size: .88rem; }

/* ---------- Auth ---------- */
.auth { background: var(--bg-alt); padding: 64px 0; min-height: calc(100vh - var(--header-h) - 300px); }
.auth__inner { display: flex; justify-content: center; }
.auth-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; width: 100%; max-width: 420px; }
.auth-card--wide { max-width: 640px; }
.auth-card__title { text-align: center; margin-bottom: 4px; }
.auth-card__sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.auth-card__alt { text-align: center; font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.auth-form { margin-top: 8px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 20px; }
.alert--info { background: rgba(22,199,132,.1); color: var(--accent-d); border: 1px solid rgba(22,199,132,.25); }

/* ---------- Platform login (standalone) ---------- */
.platform-body { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); min-height: 100vh; }
.platform { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.platform__panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; }
.brand--platform { margin-bottom: 22px; }
.platform__sub { color: var(--muted); margin-bottom: 22px; }
.platform__links { display: flex; justify-content: space-between; margin-top: 18px; font-size: .88rem; }

/* ---------- Error page ---------- */
.error-page { padding: 110px 0; }
.error-page__code { font-size: 5rem; font-weight: 800; color: var(--accent); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfd4; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-about { color: #93a5bd; font-size: .92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #aebfd4; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; margin: 16px 0 0; }
.footer-contact li { display: flex; gap: 10px; color: #93a5bd; font-size: .9rem; align-items: flex-start; }
.footer-contact li i { color: var(--accent); margin-top: 3px; width: 16px; text-align: center; flex: none; }
.footer-contact a { color: #aebfd4; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #cdd9e9; font-size: .95rem; transition: transform .2s, background .2s, color .2s;
}
.footer-social a:hover { background: var(--accent); color: #04231a; transform: translateY(-3px); }
.footer-legal { padding-top: 24px; }
.footer-legal__warning { font-size: .82rem; color: #8497b1; }
.footer-legal__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-legal__bottom strong { color: #cdd9e9; }
.footer-legal__links { display: flex; gap: 18px; }
.footer-legal__links a { color: #8497b1; }
.footer-legal__links a:hover { color: #fff; }

/* ==========================================================================
   Header extras: sponsor badge, dropdowns, TradingView ticker
   ========================================================================== */
.site-header__left { display: flex; align-items: center; gap: 22px; flex: none; }

.sponsor-badge {
    display: flex; flex-direction: column; gap: 3px; padding-left: 22px;
    border-left: 1px solid rgba(255,255,255,.18); line-height: 1.1;
}
.sponsor-badge__label { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #93a5bd; display: flex; align-items: center; gap: 6px; }
.sponsor-badge__label i { background: var(--accent); color: #04231a; font-style: normal; font-weight: 800; font-size: .55rem; padding: 1px 5px; border-radius: 4px; }
.sponsor-badge__logo { font-weight: 900; color: #fff; font-size: .92rem; letter-spacing: .02em; }

.topbar__lang { color: #cdd9e9; }

/* Dropdown menus */
.has-dropdown { position: relative; }
.caret {
    display: inline-block; width: 0; height: 0; margin-left: 5px; vertical-align: middle;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid currentColor; transition: transform .25s; opacity: .8;
}
.dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    min-width: 260px; padding: 10px; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s; z-index: 60;
}
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown a {
    display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: var(--radius-sm);
    color: var(--navy-800) !important; transition: background .15s;
}
.dropdown a strong { font-weight: 700; font-size: .95rem; }
.dropdown a span { color: var(--muted); font-size: .8rem; }
.dropdown a:hover { background: var(--bg-alt); }
.dropdown a:hover::after { display: none; }

/* TradingView ticker tape strip */
.tv-ticker { background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.06); }
.tv-ticker .tradingview-widget-container { min-height: 46px; }

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.carousel { position: relative; overflow: hidden; background: var(--navy-900); }
.carousel__track { position: relative; height: clamp(560px, 78vh, 760px); }
.slide {
    position: absolute; inset: 0; display: flex; align-items: center; color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s ease; z-index: 1;
}
.slide--active { opacity: 1; visibility: visible; z-index: 2; }

/* Image layer (kept bright; Ken-Burns zoom while active) */
.slide__media {
    position: absolute; inset: 0; z-index: 0;
    background-image: var(--img); background-size: cover;
    background-position: var(--pos, center); background-repeat: no-repeat;
    filter: saturate(1.08) contrast(1.04);
}
.slide--active .slide__media { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Gradient overlay — lighter than before, directional per layout so the photo stays visible */
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.slide--center::before {
    background:
        linear-gradient(180deg, rgba(7,16,33,.4) 0%, rgba(7,16,33,.5) 60%, rgba(7,16,33,.72) 100%),
        radial-gradient(90% 70% at 50% 40%, rgba(22,199,132,.12), transparent 70%);
}
.slide--left::before {
    background: linear-gradient(90deg, rgba(7,16,33,.93) 0%, rgba(11,42,74,.66) 40%, rgba(22,199,132,.12) 78%, transparent 100%);
}
.slide--right::before {
    background: linear-gradient(90deg, transparent 0%, rgba(22,199,132,.12) 24%, rgba(11,42,74,.66) 56%, rgba(7,16,33,.95) 100%);
}
/* Vibrant gradient promo slide (no photo, fully colourful) */
.slide__media--promo {
    background: linear-gradient(125deg, #07142b 0%, #0c5a3f 44%, #16c784 100%);
    background-size: 220% 220%;
}
.slide--active .slide__media--promo { animation: promoShift 14s ease infinite; transform: none; }
@keyframes promoShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.slide--promo::before { background: radial-gradient(75% 95% at 50% 50%, rgba(5,11,24,.3), rgba(5,11,24,.55)); }
.eyebrow--light { color: rgba(255,255,255,.92); }
.text-pop { color: #ffd76a; text-shadow: 0 0 30px rgba(255,215,106,.65); }
.slide--promo h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }

/* Promo offer pill */
.promo-pill {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
    padding: 9px 18px; border-radius: 99px; box-shadow: 0 0 26px rgba(37,239,138,.45);
    animation: pillGlow 2.6s ease-in-out infinite;
}
.promo-pill i { color: #ffd76a; }
@keyframes pillGlow { 0%,100% { box-shadow: 0 0 22px rgba(37,239,138,.4); } 50% { box-shadow: 0 0 34px rgba(37,239,138,.7); } }

/* Floating % / + decorations on the promo slide */
.promo-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.promo-deco span {
    position: absolute; font-weight: 900; color: rgba(255,255,255,.10); line-height: 1;
    animation: floaty 7s ease-in-out infinite;
}
.promo-deco span:nth-child(1) { top: 14%; left: 8%;  font-size: 5rem;  animation-delay: 0s; }
.promo-deco span:nth-child(2) { top: 62%; left: 14%; font-size: 7rem;  animation-delay: .8s; }
.promo-deco span:nth-child(3) { top: 22%; right: 10%; font-size: 8rem; animation-delay: .4s; }
.promo-deco span:nth-child(4) { bottom: 12%; right: 16%; font-size: 5.5rem; animation-delay: 1.2s; }
.promo-deco span:nth-child(5) { top: 46%; left: 48%; font-size: 4rem; color: rgba(255,215,106,.14); animation-delay: .6s; }
.promo-deco span:nth-child(6) { bottom: 20%; left: 40%; font-size: 6rem; color: rgba(255,215,106,.12); animation-delay: 1s; }
/* subtle green glow accent on every slide */
.slide::after {
    content: ""; position: absolute; z-index: 1; pointer-events: none;
    width: 520px; height: 520px; border-radius: 50%; bottom: -180px; right: -120px;
    background: radial-gradient(circle, rgba(37,239,138,.22), transparent 65%);
}

.slide__inner { position: relative; z-index: 2; max-width: 600px; }
.slide__inner--center { max-width: 800px; margin: 0 auto; text-align: center; }
.slide__inner--right { margin-left: auto; max-width: 560px; text-align: left; }
.slide h1 {
    color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1.08;
    margin-bottom: 16px; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.slide p { color: #e3ebf7; font-size: clamp(1.02rem, 1.6vw, 1.3rem); max-width: 560px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.slide__inner--center p { margin-left: auto; margin-right: auto; }
.slide__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.slide__inner--center .slide__actions { justify-content: center; }
.slide__tnc { font-size: .78rem; color: #c6d3e6; margin-top: 16px; }

/* Animate active slide content in */
.slide--active .eyebrow,
.slide--active h1,
.slide--active p,
.slide--active .slide__actions,
.slide--active .slide__tnc { animation: slideUp .8s cubic-bezier(.22,.61,.36,1) both; }
.slide--active h1 { animation-delay: .1s; }
.slide--active p { animation-delay: .22s; }
.slide--active .slide__actions { animation-delay: .34s; }
.slide--active .slide__tnc { animation-delay: .44s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.carousel__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1;
    display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .2s;
}
.carousel__arrow:hover { background: var(--accent); color: #04231a; }
.carousel__arrow--prev { left: 22px; }
.carousel__arrow--next { right: 22px; }

.carousel__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.carousel__dots button {
    width: 28px; height: 5px; border-radius: 99px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.4); transition: background .25s, width .25s;
}
.carousel__dots button.active { background: var(--accent); width: 40px; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; flex-wrap: wrap; }
.trustbar__rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trustbar__rating strong { font-size: 1.05rem; color: var(--navy-900); }
.trustbar .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.trustbar__meta { color: var(--muted); font-size: .9rem; }
.trustbar__cta { display: flex; gap: 12px; }

/* ==========================================================================
   TradingView widget containers
   ========================================================================== */
.tv-overview, .tv-chart {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    background: var(--navy-900); border: 1px solid rgba(255,255,255,.06);
}
.tv-chart { height: 520px; }
.tv-chart .tradingview-widget-container,
.tv-chart .tradingview-widget-container__widget { height: 100%; }

/* Hide the TradingView attribution link (rendered as a sibling div in our DOM) */
.tradingview-widget-copyright { display: none !important; }

/* ==========================================================================
   Showcase cards (platforms)
   ========================================================================== */
.showcase-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.showcase-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.showcase-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.showcase-card:hover .showcase-card__media img { transform: scale(1.07); }
.showcase-card__tag {
    position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px;
    background: rgba(5,11,24,.7); backdrop-filter: blur(6px); color: #fff; font-size: .82rem; font-weight: 600;
    padding: 6px 12px; border-radius: 99px;
}
.showcase-card__tag i { color: var(--accent); }
.showcase-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.showcase-card__body p { color: var(--muted); margin: 0; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-d); margin-top: 8px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(5px); }

/* ==========================================================================
   Payment / funding logos
   ========================================================================== */
.pay-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.pay-logo {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 22px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pay-logo i { font-size: 2.2rem; color: var(--navy-700); transition: color .2s; }
.pay-logo span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.pay-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pay-logo:hover i { color: var(--accent-d); }
/* keep recognizable brand colours subtle on hover */
.pay-logo .fa-cc-visa:hover, .pay-logo:hover .fa-cc-visa { color: #1a1f71; }
.pay-logo:hover .fa-cc-mastercard { color: #eb001b; }
.pay-logo:hover .fa-cc-paypal { color: #003087; }
.pay-logo:hover .fa-bitcoin { color: #f7931a; }
.pay-logo:hover .fa-ethereum { color: #627eea; }
.pay-logo:hover .fa-cc-stripe { color: #635bff; }

/* Auto-scrolling single-line funding marquee */
.pay-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pay-marquee__track { display: flex; gap: 18px; width: max-content; animation: payScroll 36s linear infinite; }
.pay-marquee:hover .pay-marquee__track { animation-play-state: paused; }
.pay-marquee .pay-logo { min-width: 150px; flex: none; }
@keyframes payScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Clickable account cards (home) */
.plan--link { text-decoration: none; color: inherit; cursor: pointer; }
.plan--link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.plan--link .link-arrow { margin-top: auto; }

/* ==========================================================================
   SIP / Lumpsum calculator
   ========================================================================== */
.sip-calc {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 28px; max-width: 960px; margin: 0 auto;
}
.sip-calc__top {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; flex-wrap: wrap;
}
.sip-tabs {
    display: inline-flex; background: var(--bg-alt); border-radius: 99px; padding: 5px;
    width: max-content;
}
.sip-calc__top .sip-tabs { margin: 0; }
.sip-currency {
    font: inherit; font-weight: 600; color: var(--navy-800); background: #fff;
    border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; cursor: pointer; max-width: 220px;
}
.sip-currency:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,199,132,.15); }

/* Time-period unit toggle (Years / Months) */
.sip-period { display: flex; align-items: center; gap: 8px; }
.sip-unit { display: inline-flex; background: var(--bg-alt); border-radius: 8px; padding: 3px; }
.sip-unit__btn { border: 0; background: transparent; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 5px 10px; border-radius: 6px; transition: background .2s, color .2s; }
.sip-unit__btn.is-active { background: var(--accent); color: #04231a; }
.sip-tab {
    border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 700; color: var(--muted);
    padding: 10px 30px; border-radius: 99px; transition: background .2s, color .2s;
}
.sip-tab.is-active { background: var(--accent); color: #04231a; box-shadow: var(--glow); }

.sip-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }

.sip-field { margin-bottom: 24px; }
.sip-field__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.sip-field__top label { font-weight: 600; color: var(--navy-800); font-size: .95rem; }
.sip-box {
    display: inline-flex; align-items: center; gap: 4px; background: rgba(22,199,132,.1);
    border: 1px solid rgba(22,199,132,.3); border-radius: 8px; padding: 6px 12px; color: var(--accent-d); font-weight: 700;
}
.sip-box span { color: var(--accent-d); }
.sip-box input {
    border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--accent-d);
    width: 84px; text-align: right; -moz-appearance: textfield;
}
.sip-box input::-webkit-outer-spin-button, .sip-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sip-box input:focus { outline: none; }

/* Range sliders */
.sip-field input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px;
    background: var(--line); cursor: pointer; outline: none;
}
.sip-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
    border: 3px solid #fff; box-shadow: 0 2px 8px rgba(22,199,132,.5); cursor: pointer;
}
.sip-field input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; cursor: pointer;
}

.sip-summary { margin: 28px 0 0; display: grid; gap: 12px; }
.sip-summary li { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .95rem; }
.sip-summary li b { color: var(--navy-900); font-size: 1.05rem; }
.sip-summary__total { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; }
.sip-summary__total span { color: var(--navy-900); font-weight: 700; }
.sip-summary__total b { color: var(--accent-d); font-size: 1.4rem; }

/* Donut chart (conic-gradient) */
.sip-chart { text-align: center; }
.donut {
    width: 210px; height: 210px; border-radius: 50%; margin: 0 auto 18px;
    background: conic-gradient(var(--navy-700) 0 60%, var(--accent) 60% 100%);
    display: grid; place-items: center; transition: background .4s ease; position: relative;
}
.donut__hole {
    width: 64%; height: 64%; background: #fff; border-radius: 50%; display: grid; place-items: center; align-content: center;
}
.donut__hole span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.donut__hole b { font-size: 1.15rem; color: var(--navy-900); }
.donut-legend { display: flex; gap: 20px; justify-content: center; margin-bottom: 18px; font-size: .88rem; color: var(--muted); }
.donut-legend li { display: flex; align-items: center; gap: 7px; }
.dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dot--invested { background: var(--navy-700); }
.dot--returns { background: var(--accent); }
.sip-disclaimer { font-size: .8rem; color: var(--muted); text-align: center; margin: 24px 0 0; }

/* ==========================================================================
   Map embed
   ========================================================================== */
.map-embed {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid var(--line); line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

/* Office cards (contact) */
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.office-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.office-card__body { padding: 22px 24px 16px; }
.office-card__body h3 { display: flex; align-items: center; gap: 9px; color: var(--navy-800); }
.office-card__body h3 i { color: var(--accent-d); }
.office-card__body p { color: var(--muted); margin: 0; }
.office-card .map-embed { border: 0; border-radius: 0; box-shadow: none; }

/* ==========================================================================
   Client reviews
   ========================================================================== */
.review {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    margin: 0; display: flex; flex-direction: column; gap: 14px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.review__stars { color: var(--accent); font-size: .95rem; letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; flex: 1; }
.review blockquote::before { content: "\201C"; color: var(--accent); font-size: 1.6rem; font-weight: 800; margin-right: 2px; }
.review__person { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.review__person img {
    width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--bg-alt);
    border: 2px solid rgba(22,199,132,.3);
}
.review__id { display: flex; flex-direction: column; line-height: 1.3; }
.review__id b { color: var(--navy-900); font-size: .95rem; }
.review__id small { color: var(--muted); font-size: .82rem; }
.review__id small i { color: var(--accent-d); margin-right: 3px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq__item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px;
    transition: box-shadow .2s, border-color .2s;
}
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
    list-style: none; cursor: pointer; font-weight: 600; color: var(--navy-800);
    padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "\2b"; color: var(--accent-d); font-weight: 800; font-size: 1.2rem; transition: transform .2s; flex: none;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { color: var(--muted); margin: 0 0 16px; }

/* ==========================================================================
   Income plan highlight band
   ========================================================================== */
.income-plan {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff;
    border-radius: var(--radius); padding: 48px; position: relative; overflow: hidden;
}
.income-plan::after {
    content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -100px; top: -120px;
    background: radial-gradient(circle, rgba(37,239,138,.25), transparent 65%);
}
.income-plan__body { position: relative; z-index: 1; }
.income-plan h2 { color: #fff; }
.income-plan p { color: #d3def0; }
.income-plan__points { display: grid; gap: 10px; margin-top: 18px; }
.income-plan__points li { display: flex; align-items: center; gap: 10px; color: #e3ebf7; }
.income-plan__points i { color: var(--accent); width: 18px; text-align: center; }
.income-plan__cta { position: relative; z-index: 1; display: grid; gap: 12px; }

/* ==========================================================================
   Floating calculator widget (chatbot-style)
   ========================================================================== */
.calc-widget { position: fixed; right: 24px; bottom: 24px; z-index: 200; }

.calc-launcher {
    position: relative; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
    height: 56px; padding: 0 22px; border-radius: 99px; font: inherit; font-weight: 700;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-d)); color: #04231a;
    box-shadow: 0 10px 30px rgba(22,199,132,.45); transition: transform .2s, box-shadow .2s;
}
.calc-launcher i { font-size: 1.2rem; }
.calc-launcher:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(22,199,132,.6); }
.calc-launcher::after {
    content: ""; position: absolute; inset: 0; border-radius: 99px; box-shadow: 0 0 0 0 rgba(22,199,132,.5);
    animation: calcPulse 2.4s ease-out infinite;
}
@keyframes calcPulse { 0% { box-shadow: 0 0 0 0 rgba(22,199,132,.5); } 70% { box-shadow: 0 0 0 16px rgba(22,199,132,0); } 100% { box-shadow: 0 0 0 0 rgba(22,199,132,0); } }
.calc-widget.is-open .calc-launcher { transform: scale(.9); opacity: .85; }

.calc-panel {
    position: fixed; right: 24px; bottom: 92px; width: min(400px, calc(100vw - 32px));
    max-height: min(82vh, 660px); overflow-y: auto; background: #fff; border-radius: 16px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(.98); transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 201;
}
.calc-widget.is-open .calc-panel { opacity: 1; visibility: visible; transform: none; }

.calc-panel__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 18px; color: #fff; font-weight: 700;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    position: sticky; top: 0; z-index: 2; border-radius: 16px 16px 0 0;
}
.calc-panel__head i { color: var(--accent); }
.calc-panel__close {
    background: rgba(255,255,255,.12); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 8px;
    font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s;
}
.calc-panel__close:hover { background: rgba(255,255,255,.25); }
.calc-panel__body { padding: 4px; }

/* Compact the calculator inside the floating panel */
.calc-panel .sip-calc { box-shadow: none; border: 0; padding: 16px; max-width: none; margin: 0; }
.calc-panel .sip-grid { grid-template-columns: 1fr; gap: 18px; }
.calc-panel .sip-tabs { margin: 0 auto 18px; }
.calc-panel .donut { width: 170px; height: 170px; }
.calc-panel .sip-field { margin-bottom: 18px; }
.calc-panel .sip-summary { margin-top: 18px; }

/* ==========================================================================
   Animated hero (GSAP)
   ========================================================================== */
.hero2 {
    position: relative; overflow: hidden; color: #fff;
    /* top matches the header (navy-800) so the nav + hero blend seamlessly */
    background: linear-gradient(180deg, var(--navy-800) 0%, #0c2140 50%, #08182f 100%);
    padding: clamp(64px, 9vh, 110px) 0;
}
.hero2__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero2__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero2__glow--1 { width: 480px; height: 480px; top: -130px; right: -80px;
    background: radial-gradient(circle, rgba(22,199,132,.55), transparent 70%); animation: glowFloat 11s ease-in-out infinite; }
.hero2__glow--2 { width: 440px; height: 440px; bottom: -160px; left: -110px;
    background: radial-gradient(circle, rgba(23,58,107,.8), transparent 70%); animation: glowFloat 13s ease-in-out infinite reverse; }
.hero2__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at 62% 38%, #000 28%, transparent 76%);
    mask-image: radial-gradient(ellipse at 62% 38%, #000 28%, transparent 76%);
}
@keyframes glowFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px,32px); } }

.hero2__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero2__content h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; margin: 16px 0; }
.hero2__content p { color: #c3d2e6; font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 520px; }
.hero2__actions { display: flex; gap: 14px; margin: 28px 0 22px; flex-wrap: wrap; }
.hero2__trust { display: flex; gap: 22px; flex-wrap: wrap; color: #aebfd4; font-size: .9rem; }
.hero2__trust li { display: flex; align-items: center; gap: 7px; }
.hero2__trust .stars, .hero2__trust i { color: var(--accent); }

.glass {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.hero2__visual { position: relative; min-height: 360px; }
.hero2__cards { display: contents; } /* desktop: float cards positioned absolutely */
.hero-chart { padding: 22px; position: relative; z-index: 2; }
.hero-chart__head { display: flex; align-items: center; justify-content: space-between; color: #fff; font-weight: 600; }
.hero-chart__pair i { color: #f7931a; }
.hero-chart__chg.up { color: var(--accent-bright); font-weight: 700; font-size: .9rem; }
.hero-chart__val { font-size: 1.8rem; font-weight: 800; color: #fff; margin: 6px 0 8px; }
.hero-chart__svg { width: 100%; height: 150px; display: block; }
.hero-chart__area { fill: url(#areaFill); opacity: 0; transition: opacity .8s ease .9s; }
.hero-chart.is-drawn .hero-chart__area { opacity: 1; }
.hero-chart__line {
    fill: none; stroke: var(--accent-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1200; stroke-dashoffset: 1200; filter: drop-shadow(0 0 6px rgba(37,239,138,.6));
}
.hero-chart.is-drawn .hero-chart__line { animation: drawLine 1.9s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.float-card { position: absolute; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; z-index: 3; min-width: 122px; }
.float-card__pair { font-size: .78rem; color: #c3d2e6; }
.float-card__val { font-size: 1.05rem; font-weight: 800; color: #fff; }
.float-card__chg.up { font-size: .78rem; color: var(--accent-bright); font-weight: 700; }
.float-card__chg.down { font-size: .78rem; color: var(--red); font-weight: 700; }
.hero-chart__chg.down { color: var(--red); }
.float-card--1 { top: 24%; left: -11%; animation: floaty 6s ease-in-out infinite; }
.float-card--2 { top: 48%; right: -9%; animation: floaty 7s ease-in-out infinite .5s; }
.float-card--3 { bottom: -7%; left: 16%; animation: floaty 8s ease-in-out infinite 1s; }
/* price-change flash */
.flash-up { animation: flashUp .7s ease; }
.flash-down { animation: flashDown .7s ease; }
@keyframes flashUp { 0% { color: var(--accent-bright); } 100% { color: inherit; } }
@keyframes flashDown { 0% { color: var(--red); } 100% { color: inherit; } }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); margin-right: 6px; box-shadow: 0 0 0 0 rgba(37,239,138,.6); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(37,239,138,.6); } 70% { box-shadow: 0 0 0 7px rgba(37,239,138,0); } 100% { box-shadow: 0 0 0 0 rgba(37,239,138,0); } }

@media (max-width: 980px) {
    /* Centre the hero on mobile */
    .hero2__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero2__content p { margin-left: auto; margin-right: auto; }
    .hero2__actions, .hero2__trust { justify-content: center; }
    .hero2__visual { min-height: auto; max-width: 520px; margin: 0 auto; width: 100%; }
    /* Float cards reflow into a clean static row under the chart */
    .hero2__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
    .float-card { position: static; inset: auto; min-width: 0; padding: 12px; animation: none !important; }
    .float-card__pair { font-size: .72rem; }
    .float-card__val { font-size: .98rem; }

    /* Centre the trust bar + breathing room from the top */
    .trustbar { padding: 30px 0 22px; }
    .trustbar__inner { flex-direction: column; gap: 16px; justify-content: center; text-align: center; }
    .trustbar__rating { justify-content: center; flex-wrap: wrap; }
    .trustbar__cta { justify-content: center; width: 100%; }
}
@media (max-width: 400px) {
    .hero2__cards { grid-template-columns: 1fr 1fr; }
    .float-card--3 { grid-column: span 2; }
}

/* ==========================================================================
   Mobile app showcase (aurora + phone mockups)
   ========================================================================== */
.appshow {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(160deg, #060d1a, #0a1a30);
    padding: clamp(70px, 9vh, 120px) 0;
}
.appshow__aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.appshow .blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(90px); opacity: .5; }
.appshow .blob--green { background: radial-gradient(circle, rgba(29,185,84,.7), transparent 70%); top: -120px; left: 8%; animation: blobDrift 16s ease-in-out infinite; }
.appshow .blob--red   { background: radial-gradient(circle, rgba(226,72,59,.55), transparent 70%); bottom: -140px; right: 6%; animation: blobDrift 19s ease-in-out infinite reverse; }
@keyframes blobDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } }

.appshow__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.appshow__title { display: flex; flex-direction: column; line-height: .98; margin: 10px 0 18px; }
.appshow__title span { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -.02em; }
.appshow__title .text-accent { color: var(--accent); }
.appshow__text > p { color: #c3d2e6; font-size: 1.12rem; max-width: 460px; }
.appshow__badges { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.store-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff;
    backdrop-filter: blur(8px); transition: transform .2s, background .2s;
}
.store-badge:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); color: #fff; }
.store-badge i { font-size: 1.7rem; }
.store-badge span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.store-badge small { font-weight: 500; font-size: .66rem; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }

/* Uploaded video variant — the section becomes just the video */
.appshow--video { background: #05101f; padding: clamp(40px, 6vh, 80px) 0; }
.appshow__video { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }

/* Phone mockups */
.appshow__phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone {
    width: 250px; aspect-ratio: 9 / 19; border-radius: 34px; padding: 12px;
    background: linear-gradient(160deg, #0f2240, #0a1828); border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 70px rgba(0,0,0,.5); position: absolute;
}
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); }
.phone__screen { background: linear-gradient(170deg, #071426, #0b1d36); border-radius: 24px; height: 100%; padding: 26px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.phone--front { transform: rotate(-6deg) translate(36px, 0); z-index: 2; }
.phone--back  { transform: rotate(8deg) translate(-46px, -18px); z-index: 1; opacity: .96; }
.phone__bar { display: flex; align-items: center; justify-content: space-between; color: #fff; font-weight: 700; font-size: .9rem; }
.phone__bar .up { color: var(--accent-bright); }
.phone__bar i { color: #f7931a; }
.phone__price { color: #fff; font-size: 1.5rem; font-weight: 800; }
.phone__balance { display: flex; flex-direction: column; gap: 2px; }
.phone__balance small { color: #93a5bd; font-size: .72rem; }
.phone__balance b { color: #fff; font-size: 1.5rem; }
.phone__balance .up { color: var(--accent-bright); font-size: .78rem; font-weight: 700; }
.phone__chart svg { width: 100%; height: 78px; display: block; }
.phone__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__btns button { border: 0; border-radius: 10px; padding: 10px; font: inherit; font-weight: 700; cursor: pointer; color: #fff; }
.ph-buy { background: linear-gradient(135deg, var(--accent-bright), var(--accent-d)); color: #04231a; }
.ph-sell { background: rgba(226,72,59,.85); }
.phone__rows { display: grid; gap: 8px; margin-top: 2px; }
.ph-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.05); border-radius: 9px; padding: 8px 10px; font-size: .78rem; color: #d3def0; }
.ph-row .up { color: var(--accent-bright); font-weight: 700; }
.ph-row i { color: #f7931a; }
.ph-row .fa-ethereum { color: #627eea; }

@media (max-width: 980px) {
    .appshow__inner { grid-template-columns: 1fr; gap: 40px; }
    .appshow__phones { min-height: 480px; }
}
@media (max-width: 420px) {
    .phone { width: 210px; }
    .phone--front { transform: rotate(-5deg) translate(22px, 0); }
    .phone--back  { transform: rotate(7deg) translate(-30px, -14px); }
    .appshow__phones { min-height: 420px; }
}

/* ==========================================================================
   Scroll progress bar (cinematic)
   ========================================================================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--accent-bright), var(--accent-d));
    box-shadow: 0 0 10px rgba(37,239,138,.6); z-index: 999; transition: width .1s linear;
}

/* ==========================================================================
   Scroll-reveal animations
   ========================================================================== */
[data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(.92); }
[data-reveal].is-visible[data-reveal] { transform: none; }
/* stagger via inline --d on JS side */
[data-reveal] { transition-delay: var(--reveal-delay, 0s); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero::after, .float-img, .ticker__track, .logo-marquee__track, .pay-marquee__track,
    .promo-deco span, .promo-pill, .hero2__glow, .float-card, .appshow .blob { animation: none !important; }
    .hero-chart__line { stroke-dashoffset: 0 !important; animation: none !important; }
    .hero-chart__area { opacity: 1 !important; }
    .slide--active .eyebrow, .slide--active h1, .slide--active p,
    .slide--active .slide__actions, .slide--active .slide__tnc { animation: none !important; }
    .calc-launcher::after { animation: none !important; }
}

/* Fade-up keyframe used by hero content on load */
.fade-in-up { animation: fadeInUp .9s cubic-bezier(.22,.61,.36,1) both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Imagery components
   ========================================================================== */

/* Floating hero/feature image */
.float-img { animation: floaty 6s ease-in-out infinite; border-radius: var(--radius); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Sponsorship / athlete band */
.sponsor {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(90deg, rgba(8,21,46,.95) 0%, rgba(8,21,46,.6) 50%, rgba(8,21,46,.15) 100%),
                url("../images/athlete-football.jpg") center 25%/cover no-repeat;
    background-attachment: fixed;
}
.sponsor__inner { padding: 96px 0; max-width: 560px; }
.sponsor .eyebrow { color: var(--accent); }
.sponsor h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.sponsor p { color: #d3def0; font-size: 1.1rem; }
.sponsor__logos { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; align-items: center; opacity: .85; }
.sponsor__logos span { font-weight: 800; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.3); padding: 8px 14px; border-radius: 8px; font-size: .85rem; }

/* Market cards with images */
.market-card {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px;
    display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
    isolation: isolate;
}
.market-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform .6s ease;
}
.market-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(8,21,46,.05) 30%, rgba(8,21,46,.9) 100%);
}
.market-card:hover img { transform: scale(1.08); }
.market-card__body { padding: 24px; }
.market-card__body h3 { color: #fff; margin-bottom: 4px; }
.market-card__body p { color: #cdd9e9; margin: 0; font-size: .92rem; }

/* Split image + text feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.split__media:hover img { transform: scale(1.05); }
.split__media .badge-float {
    position: absolute; bottom: 18px; left: 18px; background: rgba(255,255,255,.95);
    color: var(--navy-800); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow);
    font-weight: 700; font-size: .9rem; backdrop-filter: blur(4px);
}
.split__content h2 { margin-bottom: 14px; }
.split__content p { color: var(--muted); }
.split__list { display: grid; gap: 12px; margin: 18px 0 26px; }
.split__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.split__list li i { color: var(--accent-d); width: 18px; text-align: center; }

/* Parallax CTA with photo */
.cta-photo {
    position: relative; color: #fff; text-align: center; overflow: hidden;
    background: linear-gradient(rgba(5,11,24,.7), rgba(5,11,24,.82)),
                url("../images/cta-trader.jpg") center/cover fixed no-repeat;
    padding: 100px 0;
}
.cta-photo h2 { color: #fff; }
.cta-photo p { color: #c3d2e6; max-width: 560px; margin: 0 auto 28px; }

/* Page banner with photo */
.page-banner--photo {
    background: linear-gradient(rgba(5,11,24,.62), rgba(5,11,24,.78)),
                var(--banner-img, url("../images/city-skyline.jpg")) center/cover fixed no-repeat;
}
.page-banner--photo h1 { text-shadow: 0 2px 20px rgba(0,0,0,.4); }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Compact header on small desktops/laptops */
@media (max-width: 1200px) {
    .sponsor-badge { display: none; }
    .main-nav { gap: 14px; }
    .main-nav__list { gap: 2px; }
    .main-nav__list > li > a { padding: 8px 10px; font-size: .9rem; }
    .main-nav__auth .btn { padding: 9px 14px; font-size: .88rem; }
}

/* Collapse navigation into a hamburger menu */
@media (max-width: 1080px) {
    .nav-toggle { display: flex; margin-left: auto; order: 5; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + 36px) 0 auto 0; flex-direction: column;
        align-items: stretch; gap: 0; background: var(--navy-800); padding: 8px 24px 24px;
        transform: translateY(-150%); transition: transform .3s; box-shadow: 0 12px 24px rgba(0,0,0,.3);
        max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto;
    }
    .main-nav.is-open { transform: translateY(0); }
    .main-nav__list { flex-direction: column; gap: 0; margin: 0; }
    .main-nav__list > li { width: 100%; }
    .main-nav__list > li > a {
        display: flex; justify-content: space-between; width: 100%; padding: 15px 2px; font-size: 1rem;
        border-radius: 0; background: transparent; border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .main-nav__list > li > a.active::after { display: none; }
    .main-nav__auth { margin-top: 16px; }
    .main-nav__auth .btn { flex: 1; padding: 12px 18px; font-size: .95rem; }

    .dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; min-width: 0; padding: 0 0 8px 12px; display: none; background: transparent;
    }
    .has-dropdown.open > .dropdown { display: block; }
    .has-dropdown.open > a .caret { transform: rotate(180deg); }
    .dropdown a { color: #d7e1ee !important; padding: 10px 0; }
    .dropdown a span { color: #93a5bd; }
    .dropdown a:hover { background: transparent; }
}

@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .pay-grid { grid-template-columns: repeat(4, 1fr); }
    /* Show the risk warning on mobile (legal); hide the utility links to fit */
    .topbar__inner { height: auto; min-height: 34px; padding: 6px 0; }
    .topbar__risk { white-space: normal; overflow: visible; text-overflow: clip; font-size: .72rem; line-height: 1.3; }
    .topbar__links { display: none; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split--reverse .split__media { order: 0; }
    /* fixed backgrounds are janky on mobile/touch */
    .sponsor, .cta-photo, .page-banner--photo { background-attachment: scroll; }
    .sponsor-badge { display: none; }
}

@media (max-width: 760px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .stats .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
    .pay-grid { grid-template-columns: repeat(3, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .sponsor__inner { padding: 64px 0; }
    .cta-photo { padding: 72px 0; }

    /* Carousel tweaks */
    .carousel__track { height: clamp(440px, 82vh, 580px); }
    .slide__inner, .slide__inner--center, .slide__inner--right { text-align: center; max-width: 100%; margin: 0 auto; }
    .slide__actions { justify-content: center; }
    /* On mobile, darken evenly so centered text is readable over any slide */
    .slide--left::before, .slide--right::before {
        background: linear-gradient(180deg, rgba(5,11,24,.55) 0%, rgba(5,11,24,.62) 55%, rgba(5,11,24,.82) 100%);
    }
    .slide--right .slide__media { background-position: 30% 12%; }
    .carousel__arrow { width: 38px; height: 38px; font-size: 1.3rem; }
    .carousel__arrow--prev { left: 8px; }
    .carousel__arrow--next { right: 8px; }

    .trustbar__inner { justify-content: center; text-align: center; }
    .tv-chart { height: 420px; }
    .sip-grid { grid-template-columns: 1fr; gap: 28px; }
    .sip-chart { order: -1; }
    .sip-calc { padding: 20px; }
    .income-plan { grid-template-columns: 1fr; padding: 32px 24px; }

    /* Floating calculator widget on mobile */
    .calc-widget { right: 14px; bottom: 14px; }
    .calc-launcher__txt { display: none; }
    .calc-launcher { height: 54px; width: 54px; padding: 0; justify-content: center; }
    .calc-panel { right: 8px; left: 8px; bottom: 80px; width: auto; max-height: 78vh; }
    .calc-panel .sip-chart { order: -1; }
}

/* Small phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .topbar__links a:not(:last-child) { display: none; } /* keep only language on tiny screens */
    .brand { font-size: 1.1rem; }
    .brand__mark { width: 30px; height: 30px; font-size: 1rem; }
    .slide h1 { font-size: 2rem; }
    .slide p { font-size: 1rem; }
    .btn--lg { padding: 13px 22px; font-size: .98rem; }
    .hero__badges { gap: 18px; }
    .section__head { margin-bottom: 32px; }
    .plan__price { font-size: 1.7rem; }
    .donut { width: 180px; height: 180px; }
    .sip-currency { max-width: 100%; width: 100%; }
    .sip-calc__top { flex-direction: column; align-items: stretch; }
    .footer-legal__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
