/* ── ArbiBoss Landing — landing.css ── */
/* Place in: wwwroot/css/landing.css    */

:root {
    --ab-gold:       #f0a500;
    --ab-gold-light: #ffc947;
    --ab-gold-dim:   rgba(240,165,0,0.15);
    --ab-bg:         #06060a;
    --ab-bg2:        #0d0d14;
    --ab-bg3:        #12121c;
    --ab-border:     rgba(240,165,0,0.18);
    --ab-text:       #e8e0d0;
    --ab-muted:      #6b6880;
    --ab-green:      #00d68f;
    --ab-green-dim:  rgba(0,214,143,0.12);
    --ab-red:        #ff4d6d;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--ab-bg);
    color: var(--ab-text);
    font-family: 'DM Mono', monospace;
    overflow-x: hidden;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 1; opacity: 0.4;
}

/* ── Cursor ── */
.ab-cursor {
    position: fixed; width: 10px; height: 10px;
    background: var(--ab-gold); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    mix-blend-mode: difference;
}
.ab-cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1px solid rgba(240,165,0,0.5); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%,-50%);
    transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
}

/* ── NAVBAR ── */
.ab-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 48px;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px);
    background: rgba(6,6,10,0.8);
    border-bottom: 1px solid rgba(240,165,0,0.08);
}
.ab-nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.ab-nav-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #f0a500, #ffc947);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-weight: 900; font-size: 20px;
    color: #06060a;
    box-shadow: 0 0 20px rgba(240,165,0,0.4);
}
.ab-nav-text {
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px;
    color: var(--ab-text); letter-spacing: -0.5px;
}
.ab-nav-text span { color: var(--ab-gold); }
.ab-nav-links { display: flex; align-items: center; gap: 32px; }
.ab-nav-links a {
    color: var(--ab-muted); text-decoration: none;
    font-size: 13px; letter-spacing: 0.05em; transition: color 0.2s;
}
.ab-nav-links a:hover { color: var(--ab-gold); }
.ab-hamburger {
    display: none; background: transparent; border: 1px solid rgba(255,255,255,0.15);
    color: var(--ab-text); padding: 6px 12px; border-radius: 6px;
    font-size: 18px; cursor: pointer;
}

/* Mobile menu */
.ab-mobile-menu {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: var(--ab-bg2); border-bottom: 1px solid var(--ab-border);
    padding: 20px; z-index: 99; flex-direction: column; gap: 12px;
}
.ab-mobile-menu.open { display: flex; }
.ab-mobile-menu a {
    color: var(--ab-text); text-decoration: none; font-size: 15px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
}
.ab-mobile-menu a:hover { color: var(--ab-gold); }

/* ── BUTTONS ── */
.ab-btn-gold, .ab-btn-gold-lg, .ab-btn-gold-sm {
    background: linear-gradient(135deg, #f0a500, #ffc947);
    color: #06060a; border: none; border-radius: 6px;
    font-family: 'Syne', sans-serif; font-weight: 800;
    cursor: pointer; transition: all 0.25s; text-decoration: none;
    display: inline-block; letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(240,165,0,0.3);
}
.ab-btn-gold    { padding: 10px 24px; font-size: 13px; }
.ab-btn-gold-lg { padding: 14px 36px; font-size: 15px; }
.ab-btn-gold-sm { padding: 10px 20px; font-size: 13px; text-align: center; }
.ab-btn-gold:hover, .ab-btn-gold-lg:hover, .ab-btn-gold-sm:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 40px rgba(240,165,0,0.55);
}
.ab-btn-outline {
    background: transparent; color: var(--ab-text);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 32px; border-radius: 6px;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
    cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.ab-btn-outline:hover { border-color: var(--ab-gold); color: var(--ab-gold); }

/* ── HERO ── */
.ab-hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px;
    position: relative; overflow: hidden;
}
.ab-hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(240,165,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240,165,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.ab-hero-glow {
    position: absolute; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 65%);
    top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.ab-hero-glow-2 {
    position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,214,143,0.06) 0%, transparent 70%);
    top: 30%; right: 15%; pointer-events: none;
}
.ab-hero-content { position: relative; z-index: 2; }

.ab-badge {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--ab-border); background: var(--ab-gold-dim);
    padding: 6px 16px; border-radius: 100px;
    font-size: 12px; letter-spacing: 0.1em; color: var(--ab-gold);
    margin-bottom: 32px;
    animation: abFadeUp 0.6s ease both;
}
.ab-badge-dot {
    width: 6px; height: 6px;
    background: var(--ab-green); border-radius: 50%;
    box-shadow: 0 0 8px var(--ab-green);
    animation: abPulse 2s infinite;
}
@keyframes abPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

.ab-hero h1 {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: clamp(52px, 8vw, 100px); line-height: 1.0;
    color: var(--ab-text); letter-spacing: -2px;
    animation: abFadeUp 0.6s 0.1s ease both;
}
.ab-hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--ab-gold), var(--ab-gold-light), var(--ab-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ab-hero-sub {
    font-size: clamp(14px, 2vw, 17px); color: var(--ab-muted);
    max-width: 620px; margin: 24px auto 0; line-height: 1.8;
    animation: abFadeUp 0.6s 0.2s ease both;
}
.ab-hero-sub strong { color: var(--ab-gold); }
.ab-hero-cta {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-top: 48px;
    animation: abFadeUp 0.6s 0.3s ease both;
}

/* Ticker */
.ab-ticker-wrap {
    margin-top: 80px; overflow: hidden;
    animation: abFadeUp 0.6s 0.4s ease both;
}
.ab-ticker-inner {
    display: flex; gap: 0;
    animation: abTicker 30s linear infinite;
    width: max-content;
}
@keyframes abTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ab-ticker-item {
    display: flex; align-items: center; gap: 10px;
    padding: 0 32px; border-right: 1px solid rgba(240,165,0,0.12);
    white-space: nowrap; font-size: 12px; letter-spacing: 0.08em;
}
.ab-t-symbol { color: var(--ab-gold); font-weight: 500; }
.ab-t-val    { color: var(--ab-green); }
.ab-t-val.neg { color: var(--ab-red); }

@keyframes abFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── STATS ── */
.ab-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ab-border);
    border-bottom: 1px solid var(--ab-border);
    background: var(--ab-bg2);
}
.ab-stat {
    background: var(--ab-bg2); padding: 48px 40px;
    text-align: center; transition: background 0.3s;
    border-right: 1px solid rgba(240,165,0,0.1);
}
.ab-stat:last-child { border-right: none; }
.ab-stat:hover { background: var(--ab-bg3); }
.ab-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 56px); font-weight: 900; line-height: 1;
    margin-bottom: 8px;
}
.ab-stat-num.gold  { color: var(--ab-gold); }
.ab-stat-num.green { color: var(--ab-green); }
.ab-stat-label { font-size: 12px; color: var(--ab-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── SECTION ── */
.ab-section {
    padding: 100px 48px; max-width: 1200px; margin: 0 auto;
}
.ab-section-tag {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ab-gold); margin-bottom: 16px;
}
.ab-section-title {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: clamp(32px, 4vw, 52px); line-height: 1.1;
    letter-spacing: -1px; margin-bottom: 16px;
}
.ab-section-sub {
    color: var(--ab-muted); font-size: 15px; line-height: 1.8; max-width: 540px;
}
.ab-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--ab-border), transparent);
}

/* ── HOW IT WORKS ── */
.ab-how-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center; margin-top: 64px;
}
.ab-steps { display: flex; flex-direction: column; gap: 0; }
.ab-step {
    display: flex; gap: 24px; padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s; cursor: default;
}
.ab-step:last-child { border-bottom: none; }
.ab-step:hover { padding-left: 8px; }
.ab-step:hover .ab-step-num { color: var(--ab-gold); border-color: var(--ab-gold); }
.ab-step-num {
    font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900;
    color: rgba(240,165,0,0.25); border: 1px solid rgba(240,165,0,0.15);
    width: 52px; height: 52px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.3s;
}
.ab-step-content h4 {
    font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700;
    margin-bottom: 6px; color: var(--ab-text);
}
.ab-step-content p { font-size: 13px; color: var(--ab-muted); line-height: 1.7; }

/* Arb visual card */
.ab-arb-card {
    background: var(--ab-bg2); border: 1px solid var(--ab-border);
    border-radius: 16px; padding: 32px; position: relative; overflow: hidden;
}
.ab-arb-card::before {
    content: ''; position: absolute;
    top: -100px; right: -100px; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(240,165,0,0.06) 0%, transparent 70%);
}
.ab-arb-pair {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.ab-arb-ex { text-align: center; flex: 1; }
.ab-arb-ex-name { font-size: 11px; letter-spacing: 0.1em; color: var(--ab-muted); text-transform: uppercase; margin-bottom: 8px; }
.ab-arb-price { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; }
.ab-arb-price.low  { color: var(--ab-green); }
.ab-arb-price.high { color: var(--ab-red); }
.ab-arb-dir { font-size: 11px; margin-top: 4px; }
.ab-arb-dir.buy  { color: var(--ab-green); }
.ab-arb-dir.sell { color: var(--ab-red); }
.ab-arb-arrow { flex: 0 0 60px; text-align: center; font-size: 22px; color: var(--ab-gold); }
.ab-arb-spread {
    text-align: center; border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
}
.ab-spread-val {
    font-family: 'Playfair Display', serif; font-size: 42px;
    font-weight: 900; color: var(--ab-green);
}
.ab-spread-lbl { font-size: 12px; color: var(--ab-muted); margin-top: 4px; letter-spacing: 0.1em; }
.ab-trades-feed { margin-top: 24px; }
.ab-feed-header {
    font-size: 11px; letter-spacing: 0.1em; color: var(--ab-muted);
    text-transform: uppercase; margin-bottom: 10px;
}
.ab-trade-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px; border-radius: 6px; font-size: 12px;
    margin-bottom: 6px; background: rgba(255,255,255,0.02);
}
.ab-t-pair   { color: var(--ab-text); font-weight: 500; }
.ab-t-spread { color: var(--ab-green); }
.ab-t-time   { color: var(--ab-red); font-size: 13px; }
.ab-t-status {
    font-size: 10px; padding: 2px 8px; border-radius: 3px;
    background: var(--ab-green-dim); color: var(--ab-green); letter-spacing: 0.05em;
}

/* ── EXCHANGES ── */
.ab-exchanges-bg {
    background: var(--ab-bg2);
    border-top: 1px solid var(--ab-border);
    border-bottom: 1px solid var(--ab-border);
}
.ab-exchanges-row {
    display: flex; gap: 16px; flex-wrap: wrap; margin-top: 48px;
}
.ab-ex-card {
    flex: 1; min-width: 120px;
    background: var(--ab-bg); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 20px 16px; text-align: center;
    transition: all 0.3s; cursor: default;
}
.ab-ex-card:hover {
    border-color: var(--ab-border);
    background: var(--ab-bg3);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.ab-ex-name {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px;
    margin-bottom: 4px;
    color: var(--ex-color, var(--ab-gold));
}
.ab-ex-type { font-size: 10px; color: var(--ab-muted); letter-spacing: 0.1em; }

/* ── FEATURES ── */
.ab-perf-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 64px;
}
.ab-perf-card {
    background: var(--ab-bg2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 32px;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.ab-perf-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--top-color, var(--ab-gold)), transparent);
}
.ab-perf-card:hover {
    border-color: var(--ab-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.ab-perf-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 20px;
}
.ab-perf-card h4 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 16px; margin-bottom: 10px;
}
.ab-perf-card p { font-size: 13px; color: var(--ab-muted); line-height: 1.7; }

/* ── TOP PAIRS TABLE ── */
.ab-opps-table {
    margin-top: 48px; border: 1px solid var(--ab-border);
    border-radius: 12px; overflow: hidden;
}
.ab-opps-header {
    display: grid; grid-template-columns: 60px 1fr 1fr 1fr 100px 80px;
    padding: 14px 24px; background: rgba(240,165,0,0.05);
    border-bottom: 1px solid var(--ab-border);
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ab-gold);
}
.ab-opp-row {
    display: grid; grid-template-columns: 60px 1fr 1fr 1fr 100px 80px;
    padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px; align-items: center; transition: background 0.2s;
}
.ab-opp-row:last-child { border-bottom: none; }
.ab-opp-row:hover { background: rgba(240,165,0,0.03); }
.ab-opp-rank {
    font-family: 'Playfair Display', serif; font-size: 18px;
    font-weight: 700; color: var(--ab-muted);
}
.ab-opp-pair { font-weight: 500; color: var(--ab-text); }
.ab-opp-buy  { color: var(--ab-green); font-size: 12px; }
.ab-opp-sell { color: var(--ab-red);   font-size: 12px; }
.ab-opp-spread {
    font-family: 'Playfair Display', serif;
    font-size: 20px; font-weight: 700; color: var(--ab-green);
}
.ab-opp-badge {
    display: inline-block; padding: 3px 10px;
    border-radius: 4px; font-size: 11px; letter-spacing: 0.05em;
}
.ab-opp-badge.live { background: var(--ab-green-dim); color: var(--ab-green); }
.ab-opp-badge.hist { background: rgba(240,165,0,0.1);  color: var(--ab-gold); }

/* ── PRICING ── */
.ab-pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 64px;
}
.ab-price-card {
    background: var(--ab-bg2); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px; padding: 32px 24px; text-align: center;
    transition: all 0.3s; position: relative;
}
.ab-price-card.popular {
    border-color: var(--ab-gold);
    background: linear-gradient(160deg, var(--ab-bg2), rgba(240,165,0,0.04));
}
.ab-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.ab-price-popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--ab-gold), var(--ab-gold-light));
    color: #06060a; font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 4px 14px; border-radius: 100px;
}
.ab-price-range {
    font-size: 32px;
    color: var(--ab-muted);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    min-height:139px;
}
.ab-price-pct {
    font-family: 'Playfair Display', serif;
    font-size: 52px; font-weight: 900; color: var(--ab-gold); line-height: 1;
}
.ab-price-pct-label { font-size: 27px; color: var(--ab-muted); margin-top: 4px; margin-bottom: 16px; letter-spacing: 0.08em; }
.ab-price-from { font-size: 40px; color: var(--ab-text); text-wrap-mode: nowrap; }
.ab-price-from strong { color: var(--ab-gold); }

/* Payments */
.ab-payment-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.ab-pay-badge {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,0.08); background: var(--ab-bg2);
    padding: 10px 16px; border-radius: 8px; font-size: 13px;
    transition: all 0.2s; cursor: default;
}
.ab-pay-badge:hover { border-color: var(--ab-border); }
.ab-pay-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ── CTA FINAL ── */
.ab-cta-final {
    text-align: center; padding: 100px 48px;
    background: var(--ab-bg2);
    border-top: 1px solid var(--ab-border);
    border-bottom: 1px solid var(--ab-border);
    position: relative; overflow: hidden;
}
.ab-cta-final::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(240,165,0,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.ab-cta-final h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 64px); font-weight: 900;
    line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px;
    position: relative; z-index: 2;
}
.ab-cta-final h2 em { font-style: italic; color: var(--ab-gold); }
.ab-cta-final p {
    color: var(--ab-muted); font-size: 15px; line-height: 1.8;
    max-width: 500px; margin: 0 auto 40px; position: relative; z-index: 2;
}
.ab-cta-final > div { position: relative; z-index: 2; }

/* ── FOOTER ── */
.ab-footer {
    padding: 60px 48px 32px;
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 40px; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.ab-footer-brand p {
    font-size: 13px; color: var(--ab-muted);
    margin-top: 12px; line-height: 1.6; max-width: 280px;
}
.ab-footer-col h5 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 16px; color: var(--ab-text);
}
.ab-footer-col a {
    display: block; color: var(--ab-muted); text-decoration: none;
    font-size: 13px; margin-bottom: 10px; transition: color 0.2s;
}
.ab-footer-col a:hover { color: var(--ab-gold); }
.ab-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 24px 48px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--ab-muted);
}
.ab-footer-domain { color: rgba(240,165,0,0.4); }

/* ── Scroll reveal ── */
/* Default: visible (no-JS fallback). JS adds .js-ready to body to enable animations */
.reveal {
    transition: opacity 0.7s ease, transform 0.7s ease;
}
body.js-ready .reveal {
    opacity: 0;
    transform: translateY(32px);
}
body.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
    .ab-nav { padding: 16px 20px; }
    .ab-nav-links { display: none; }
    .ab-hamburger { display: block; }
    .ab-section  { padding-left: 20px; padding-right: 20px; }
    .ab-stats    { grid-template-columns: repeat(2, 1fr); }
    .ab-how-grid { grid-template-columns: 1fr; gap: 40px; }
    .ab-perf-grid { grid-template-columns: 1fr; }
    .ab-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-footer   { padding: 40px 20px; }
    .ab-footer-bottom { padding: 20px; }
    .ab-opps-header, .ab-opp-row { grid-template-columns: 40px 1fr 80px 60px; }
    .ab-opps-header > *:nth-child(3),
    .ab-opps-header > *:nth-child(4),
    .ab-opp-row > *:nth-child(3),
    .ab-opp-row > *:nth-child(4) { display: none; }
}
@media (max-width: 560px) {
    .ab-pricing-grid { grid-template-columns: 1fr; }
    .ab-hero h1 { letter-spacing: -1px; }
    .ab-cursor, .ab-cursor-ring { display: none; }
    .ab-exchanges-row { gap: 8px; }
    .ab-ex-card { min-width: 90px; }
}


/* ═══════════════════════════════════════════════════════════
   DOCUMENT PAGES  ·  Privacy & Terms
   Components/Pages/Privacy.razor  |  Terms.razor
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.ab-doc-hero {
    min-height: 38vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 130px 24px 60px;
    position: relative; overflow: hidden;
    background: var(--ab-bg);
}
.ab-doc-hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(240,165,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240,165,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.ab-doc-hero-glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(240,165,0,0.07) 0%, transparent 65%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}
.ab-doc-hero-content { position: relative; z-index: 2; max-width: 700px; }

.ab-doc-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 900; line-height: 1.05;
    letter-spacing: -2px; margin: 24px 0 20px;
    color: var(--ab-text);
}
.ab-doc-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--ab-gold), var(--ab-gold-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ab-doc-lead {
    font-size: 15px; color: var(--ab-muted);
    line-height: 1.8; max-width: 560px; margin: 0 auto;
}

/* ── Layout: sticky TOC + article ── */
.ab-doc-wrap {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 220px 1fr;
    gap: 64px; padding: 60px 48px 100px;
    align-items: start;
}

/* ── Table of contents ── */
.ab-doc-toc {
    position: sticky; top: 90px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 24px;
    background: var(--ab-bg2);
}
.ab-doc-toc-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--ab-gold); margin-bottom: 16px;
}
.ab-doc-toc a {
    display: block; color: var(--ab-muted); text-decoration: none;
    font-size: 12px; padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s; line-height: 1.4;
}
.ab-doc-toc a:last-child { border-bottom: none; }
.ab-doc-toc a:hover { color: var(--ab-gold); }

/* ── Article body ── */
.ab-doc-body { min-width: 0; }

.ab-doc-section {
    margin-bottom: 56px;
    scroll-margin-top: 90px;
}
.ab-doc-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px; font-weight: 700;
    color: var(--ab-text); margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(240,165,0,0.15);
}
.ab-doc-section h3 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 14px; letter-spacing: 0.05em;
    color: var(--ab-gold); text-transform: uppercase;
    margin: 24px 0 10px;
}
.ab-doc-section p {
    font-size: 14px; color: var(--ab-muted);
    line-height: 1.9; margin-bottom: 14px;
}
.ab-doc-section p strong { color: var(--ab-text); }
.ab-doc-section p a,
.ab-doc-section li a {
    color: var(--ab-gold); text-decoration: none;
    border-bottom: 1px solid rgba(240,165,0,0.3);
    transition: border-color 0.2s;
}
.ab-doc-section p a:hover,
.ab-doc-section li a:hover { border-color: var(--ab-gold); }

/* ── Lists ── */
.ab-doc-list {
    list-style: none; padding: 0; margin: 0 0 16px;
}
.ab-doc-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 14px; color: var(--ab-muted); line-height: 1.7;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ab-doc-list li:last-child { border-bottom: none; }
.ab-doc-list li::before {
    content: '—';
    position: absolute; left: 0; top: 9px;
    color: var(--ab-gold); font-size: 12px;
}
.ab-doc-list li strong { color: var(--ab-text); }

/* ── Key-value card ── */
.ab-doc-card {
    border: 1px solid var(--ab-border);
    border-radius: 10px; overflow: hidden; margin-bottom: 16px;
}
.ab-doc-card-row {
    display: grid; grid-template-columns: 200px 1fr;
    padding: 13px 18px; gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px; align-items: baseline;
    transition: background 0.2s;
}
.ab-doc-card-row:last-child { border-bottom: none; }
.ab-doc-card-row:hover { background: rgba(240,165,0,0.03); }
.ab-doc-card-key { color: var(--ab-text); font-weight: 500; }
.ab-doc-card-val { color: var(--ab-muted); line-height: 1.6; }
.ab-doc-card-val a { color: var(--ab-gold); text-decoration: none; }

/* ── Warning box ── */
.ab-doc-warning {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(255,77,109,0.06);
    border: 1px solid rgba(255,77,109,0.2);
    border-radius: 10px; padding: 18px 20px;
    margin-bottom: 28px;
    font-size: 13px; color: var(--ab-muted); line-height: 1.7;
}
.ab-doc-warning-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; color: #ff4d6d; }

/* ── Mobile ── */
@media (max-width: 900px) {
    .ab-doc-wrap {
        grid-template-columns: 1fr;
        gap: 32px; padding: 32px 20px 60px;
    }
    .ab-doc-toc { position: static; }
    .ab-doc-title { letter-spacing: -1px; }
    .ab-doc-card-row { grid-template-columns: 1fr; gap: 4px; }
    .ab-doc-card-key {
        color: var(--ab-gold);
        font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
    }
}
