/* ============================================================
   base.css â€” root variables, body, typography, helpers
   White + green theme (Hyperliquid-style)
   ============================================================ */

:root {
    /* Backgrounds */
    --bg-primary:    #ffffff;
    --bg-secondary:  #f0faf5;   /* very light green tint */
    --bg-tertiary:   #e6f7ee;   /* slightly stronger green tint */

    /* Text */
    --text-primary:    #0d1b1e;
    --text-secondary:  #4a5b5e;
    --text-muted:      #8aa0a4;

    /* Borders */
    --border:         #d8e8df;
    --border-strong:  #a8c8b5;

    /* Brand green */
    --green:        #00d384;    /* primary accent â€” Hyperliquid green */
    --green-dark:   #00875a;   /* darker, for text on white / button hover */
    --green-bg:     rgba(0, 211, 132, 0.12);
    --green-bg-2:   rgba(0, 135, 90, 0.08);

    /* Semantic */
    --red:      #e5394c;
    --red-bg:   rgba(229, 57, 76, 0.10);
    --yellow:   #d4a017;
    --yellow-bg: rgba(212, 160, 23, 0.14);

    /* Shadows */
    --shadow:        0 1px 4px rgba(13, 27, 30, 0.06), 0 2px 8px rgba(13, 27, 30, 0.04);
    --shadow-strong: 0 2px 10px rgba(0, 135, 90, 0.08), 0 4px 16px rgba(13, 27, 30, 0.05);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Layout tokens (used by the landing page) */
    --container: 1140px;
    --container-narrow: 760px;
    --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --font-mono: "Consolas", "Courier New", monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}
p { margin: 0; }

/* ============================================================
   Typography helpers
   ============================================================ */
.text-small { font-size: 0.78rem; }
.text-muted-trading { color: var(--text-muted) !important; }
.text-secondary-trading { color: var(--text-secondary) !important; }
.text-mono { font-family: var(--font-mono); }

.text-success { color: var(--green-dark) !important; }
.text-danger  { color: var(--red) !important; }

/* ============================================================
   Error icon
   ============================================================ */
.error-icon { font-size: 3rem; color: var(--red); }

/* ============================================================
   Landing page â€” layout helpers
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

.section {
    padding: 88px 0;
    border-top: 1px solid var(--border);
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section-head-left { text-align: left; margin-left: 0; }
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: 34px;
    margin-bottom: 14px;
}
.section-sub {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.text-accent { color: var(--green-dark); }
.text-loss   { color: var(--red); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    user-select: none;
    text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-sm   { padding: 8px 14px; font-size: 13px; }
.btn-lg   { padding: 13px 24px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
    background: var(--green);
    color: #04140F;
    box-shadow: 0 1px 2px rgba(0, 135, 90, 0.18), 0 4px 12px -4px rgba(0, 211, 132, 0.5);
}
.btn-primary:hover {
    background: var(--green-dark);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 135, 90, 0.3), 0 6px 18px -4px rgba(0, 135, 90, 0.4);
}
.btn-secondary {
    background: var(--bg-primary);
    color: var(--green-dark);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--green);
    color: var(--green-dark);
    text-decoration: none;
}
.btn:disabled { opacity: 0.6; cursor: default; }

.link-muted {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}
.link-muted:hover { color: var(--text-primary); text-decoration: none; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: gap 0.15s ease;
}
.link-arrow:hover { gap: 10px; text-decoration: none; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 17px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--green);
    color: #04140F;
    box-shadow: 0 2px 8px -1px rgba(0, 135, 90, 0.35);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
    background: var(--bg-secondary);
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}
.hero-glow-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 211, 132, 0.35) 0%, transparent 70%);
    top: -160px;
    right: -100px;
}
.hero-glow-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 135, 90, 0.18) 0%, transparent 70%);
    bottom: -120px;
    left: -80px;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(168, 200, 181, 0.18) 1px, transparent 1px),
            linear-gradient(90deg, rgba(168, 200, 181, 0.18) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--green-bg);
    border: 1px solid rgba(0, 211, 132, 0.35);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 26px;
}
.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(0, 211, 132, 0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 211, 132, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(0, 211, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 211, 132, 0); }
}
.hero-title {
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 34px;
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}
.trust-item svg { color: var(--green-dark); }

/* ============================================================
   Track Record â€” stats grid + chart
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-card-warn {
    background: linear-gradient(180deg, var(--red-bg) 0%, var(--bg-primary) 70%);
    border-color: rgba(229, 57, 76, 0.25);
}
.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.stat-note {
    font-size: 12px;
    color: var(--text-muted);
}

.equity-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-strong);
}
.equity-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 14px;
}
.equity-head h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.sample-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-warning {
    background: var(--yellow-bg);
    color: var(--yellow);
    border: 1px solid rgba(212, 160, 23, 0.3);
}
.equity-legend {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 18px;
}
.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: middle;
}
.legend-green { background: var(--green); }

/* SVG chart container â€” responsive */
.chart-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 38.89%; /* 280/720 aspect ratio */
    margin: 0 -4px 8px;
}
.chart-wrap svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.chart-grid-line { stroke: var(--border); stroke-width: 1; }
.chart-axis-label {
    font-family: var(--font-body);
    font-size: 11px;
    fill: var(--text-muted);
}
.chart-line {
    fill: none;
    stroke: var(--green);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.chart-area { fill: url(#chartGradient); }
.chart-end-dot {
    fill: var(--green);
    stroke: var(--bg-primary);
    stroke-width: 2;
}
.disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 14px;
    font-style: italic;
}

/* ============================================================
   How It Works
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.step-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px 24px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.step-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-strong);
    transform: translateY(-2px);
}
.step-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.step-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-bg);
    border: 1px solid rgba(0, 211, 132, 0.3);
    border-radius: 10px;
    color: var(--green-dark);
    margin-bottom: 18px;
}
.step-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ============================================================
   Markets
   ============================================================ */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.market-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.market-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-strong);
}
.market-card-top {
    border-color: var(--green);
    background: linear-gradient(180deg, var(--green-bg) 0%, var(--bg-primary) 60%);
}
.market-card-warn { border-color: rgba(212, 160, 23, 0.3); }
.market-card-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
    border: 1px dashed var(--border-strong);
    box-shadow: none;
}
.market-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.market-symbol {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}
.market-symbol.muted { color: var(--text-muted); }
.market-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.market-name.muted { color: var(--text-muted); }
.market-status {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 100px;
}
.status-active {
    color: var(--green-dark);
    background: var(--green-bg);
}
.status-review {
    color: var(--yellow);
    background: var(--yellow-bg);
}
.market-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.micro-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.micro-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.markets-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-style: italic;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto 32px;
}
.price-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.price-card-featured {
    border-color: var(--green);
    background: linear-gradient(180deg, var(--green-bg) 0%, var(--bg-primary) 30%);
    box-shadow: 0 0 0 1px var(--green), 0 8px 28px -8px rgba(0, 135, 90, 0.25);
}
.price-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #04140F;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 100px;
}
.price-head { margin-bottom: 22px; }
.price-head h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}
.price-amount {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}
.price-currency {
    font-size: 22px;
    vertical-align: top;
    margin-right: 2px;
    color: var(--text-secondary);
}
.price-period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}
.price-features {
    flex: 1;
    margin-bottom: 24px;
}
.price-features li {
    position: relative;
    padding: 10px 0 10px 26px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    background: var(--green-bg);
    border-radius: 50%;
}
.price-features li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 18px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--green-dark);
    border-bottom: 2px solid var(--green-dark);
    transform: rotate(-45deg);
}
.price-features strong { font-weight: 600; }

.pricing-example {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}
.example-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.example-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-primary);
}
.example-row-muted { color: var(--text-secondary); }
.example-row-muted .example-num { color: var(--red); }
.example-row-total {
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 14px;
    font-weight: 600;
    font-size: 16px;
}
.example-row-total .example-num {
    color: var(--green-dark);
    font-size: 20px;
    font-weight: 700;
}
.example-num {
    font-family: var(--font-mono);
    font-weight: 600;
}
.example-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

/* ============================================================
   Security
   ============================================================ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.security-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
}
.security-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-bg);
    border-radius: 10px;
    color: var(--green-dark);
    margin-bottom: 16px;
}
.security-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}
.security-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}
.security-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Referral
   ============================================================ */
.referral-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-strong);
}
.referral-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0 24px;
}
.referral-level {
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 14px;
}
.level-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.level-pct {
    font-size: 30px;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.level-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.referral-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: var(--shadow);
}
.faq-item[open] {
    border-color: var(--green);
    box-shadow: var(--shadow-strong);
}
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-dark); }
.faq-chevron {
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}
.faq-chevron::before, .faq-chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 9px;
    background: currentColor;
    border-radius: 1px;
    transform-origin: center;
}
.faq-chevron::before { transform: translate(-50%, -50%) rotate(40deg); }
.faq-chevron::after  { transform: translate(-50%, -50%) rotate(-40deg); }
.faq-item[open] .faq-chevron {
    color: var(--green-dark);
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 22px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}
.faq-answer p + p { margin-top: 10px; }

/* ============================================================
   Final CTA / Waitlist
   ============================================================ */
.final-cta { background: var(--bg-tertiary); }
.cta-card {
    text-align: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px 40px;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 211, 132, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.cta-card h2 {
    font-size: 30px;
    margin-bottom: 14px;
    position: relative;
}
.cta-sub {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    position: relative;
}
.waitlist-form {
    max-width: 460px;
    margin: 0 auto;
    position: relative;
}
.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.form-row input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input::placeholder { color: var(--text-muted); }
.form-row input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 211, 132, 0.18);
    background: var(--bg-primary);
}
.form-row input:disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
}
.form-row .btn { flex-shrink: 0; }
.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--green-bg);
    border: 1px solid var(--green);
    border-radius: var(--radius-sm);
}
.form-success.visible { display: flex; }
.form-success-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #04140F;
    border-radius: 50%;
}
.form-success-text {
    font-size: 14px;
    color: var(--text-primary);
}
.form-success-text strong { color: var(--green-dark); }
.form-msg {
    font-size: 13px;
    margin-top: 14px;
    min-height: 18px;
    font-weight: 500;
}
.form-msg.success { color: var(--green-dark); }
.form-msg.error   { color: var(--red); }
.form-fineprint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}
.cta-trust {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.cta-trust .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--green-dark); text-decoration: none; }

.footer-risk {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-bottom: 28px;
}
.footer-risk p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.footer-risk strong { color: var(--text-secondary); font-weight: 600; }
.footer-risk p:last-child { margin-bottom: 0; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .markets-grid { grid-template-columns: repeat(3, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .referral-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .hero-title { font-size: 42px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head h2 { font-size: 26px; }
    .section-sub { font-size: 15px; }

    .nav-links, .nav-actions .link-muted { display: none; }
    .nav-toggle { display: flex; }
    .nav-container { gap: 12px; }
    .nav-actions .btn { padding: 8px 14px; font-size: 13px; }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 14px;
        box-shadow: var(--shadow-strong);
    }

    .hero { padding: 64px 0 56px; }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 26px; }
    .hero-cta { gap: 14px; flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-cta .link-arrow { justify-content: center; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-value { font-size: 24px; }

    .equity-card { padding: 20px; }
    .chart-wrap { padding-bottom: 50%; }

    .steps-grid { grid-template-columns: 1fr; }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: 1fr; }

    .pricing-grid { grid-template-columns: 1fr; }
    .price-card { padding: 28px 22px; }
    .price-amount { font-size: 36px; }

    .referral-card { padding: 28px 22px; }
    .referral-grid { grid-template-columns: repeat(2, 1fr); }
    .level-pct { font-size: 24px; }

    .cta-card { padding: 40px 22px; }
    .cta-card h2 { font-size: 24px; }
    .form-row { flex-direction: column; }
    .form-row .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 16px 12px; }
    .markets-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 26px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}