﻿/* ===========================================
   RADIATRADE AI - Professional Stylesheet
   =========================================== */

/* ---- Design Tokens ---- */
:root {
    --bg-deep: #0a0a0a;
    --bg-base: #0d0d0d;
    --bg-surface: #121212;
    --bg-card: #151515;
    --bg-elevated: #1a1a1a;
    --border: #1e1e1e;
    --border-hover: #2a2d32;
    --text: #e8e8e8;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    --green: #00ff88;
    --accent: #00ccff;
    --red: #ff4444;
    --purple: #aa77ff;
    --yellow: #ffcc00;
    --font-display: 'Orbitron', monospace;
    --font-body: 'Rajdhani', sans-serif;
    --font-ui: 'Inter', sans-serif;
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.25s ease;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-deep) url('/static/webapp/radiabackground.png') center top / cover no-repeat fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: #33ff99; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; justify-content: center; }

/* ---- Navigation ---- */
.nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 76px;
    background: linear-gradient(180deg, rgba(6, 6, 18, 0.95) 0%, rgba(10, 10, 26, 0.88) 100%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 204, 255, 0.12);
    box-shadow: 0 2px 32px rgba(0, 204, 255, 0.06), 0 1px 0 rgba(0, 255, 136, 0.05);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
    height: 42px;
    filter: drop-shadow(0 0 8px rgba(0, 204, 255, 0.35));
    transition: filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 14px rgba(0, 255, 136, 0.5));
}
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--text);
    text-shadow: 0 0 20px rgba(0, 204, 255, 0.15);
}
.nav-logo-ai {
    font-family: var(--font-display);
    font-size: 0.6em;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, var(--green), var(--accent));
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 2px;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
    font-family: var(--font-ui);
    font-size: 0.82em;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    position: relative;
}
.nav-link:hover {
    color: var(--text);
    text-shadow: 0 0 12px rgba(0, 204, 255, 0.3);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--accent));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 60%;
}
.nav-link-ghost { color: var(--text-muted); }
.nav-divider { width: 1px; height: 24px; background: linear-gradient(180deg, transparent, var(--border-hover), transparent); margin: 0 8px; }
.nav-btn-primary {
    font-family: var(--font-display);
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 11px 26px;
    background: linear-gradient(135deg, var(--green), #00dd77);
    color: #000;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.nav-btn-primary:hover {
    background: linear-gradient(135deg, #33ff99, var(--green));
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-1px);
}
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: radial-gradient(ellipse at 50% 40%, rgba(0,204,255,0.04) 0%, transparent 60%), rgba(10,10,10,0.7);
}
.hero-inner { max-width: 800px; }
.hero-pill {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65em;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 24px;
    border-radius: 40px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 3.2em;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 28px;
}
.hero-accent { color: var(--green); }
.hero-sub {
    font-family: var(--font-ui);
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 44px;
}
.hero-sub strong { color: var(--accent); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Section Base ---- */
.section { padding: 120px 0; background: rgba(10,10,10,0.65); }
.section-alt { background: rgba(18,18,18,0.75); }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section-narrow { max-width: 860px; }
.label-tag {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65em;
    font-weight: 500;
    letter-spacing: 5px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.heading-2 {
    font-family: var(--font-display);
    font-size: 2.2em;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 20px;
}
.body-text {
    font-family: var(--font-ui);
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.body-text:last-child { margin-bottom: 0; }
.body-center { text-align: center; }
.body-muted { color: var(--text-muted); font-size: 0.9em; }

/* ---- Products Section ---- */
.products-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition);
}
.product-card:hover { border-color: var(--border-hover); }
.product-featured {
    border-color: rgba(0,255,136,0.25);
    background: linear-gradient(180deg, rgba(0,255,136,0.03) 0%, var(--bg-card) 40%);
}
.product-featured:hover { border-color: rgba(0,255,136,0.4); }
.product-label {
    font-family: var(--font-display);
    font-size: 0.6em;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}
.label-alt { color: var(--accent); }
.product-name {
    font-family: var(--font-display);
    font-size: 1.6em;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
}
.product-desc {
    font-family: var(--font-ui);
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.product-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.product-list li {
    font-family: var(--font-ui);
    font-size: 0.92em;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}
.product-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
}
.product-card:not(.product-featured) .product-list li::before { background: var(--accent); }
.product-note {
    display: block;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.8em;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ---- Split Layout ---- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.split-layout-reverse .split-left { order: 1; }
.split-layout-reverse .split-right { order: 2; }
.point-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.point-item:last-child { border-bottom: none; }
.point-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0,204,255,0.06);
    border: 1px solid rgba(0,204,255,0.12);
    color: var(--accent);
}
.point-icon svg { width: 20px; height: 20px; }
.point-icon-accent { background: rgba(170,119,255,0.06); border-color: rgba(170,119,255,0.12); color: var(--purple); }
.point-icon-green { background: rgba(0,255,136,0.06); border-color: rgba(0,255,136,0.12); color: var(--green); }
.point-item strong {
    display: block;
    font-family: var(--font-body);
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.point-item p {
    font-family: var(--font-ui);
    font-size: 0.88em;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Steps ---- */
.steps { margin-top: 56px; margin-bottom: 48px; }
.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.step:hover { border-color: var(--border-hover); }
.step-num {
    font-family: var(--font-display);
    font-size: 1.8em;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
    min-width: 40px;
    padding-top: 2px;
}
.step h3 {
    font-family: var(--font-display);
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 6px;
}
.step p {
    font-family: var(--font-ui);
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
}
.step-line {
    width: 2px; height: 28px;
    margin: 0 0 0 52px;
    background: linear-gradient(to bottom, var(--border), rgba(0,204,255,0.2), var(--border));
}

/* ---- Support Banner ---- */
.support-banner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 32px;
    background: rgba(0,255,136,0.03);
    border: 1px solid rgba(0,255,136,0.12);
    border-radius: var(--radius);
}
.support-banner svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--green); margin-top: 2px; }
.support-banner strong {
    display: block;
    font-family: var(--font-body);
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.support-banner p {
    font-family: var(--font-ui);
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
}
.support-banner em { color: var(--green); font-style: normal; font-weight: 600; }

/* ---- Tech Badge ---- */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.65em;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 40px;
    margin-top: 24px;
}
.tech-badge svg { width: 16px; height: 16px; color: var(--accent); }

/* ---- Stat Grid ---- */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: border-color var(--transition);
}
.stat-block:hover { border-color: var(--border-hover); }
.stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 2em;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
}
.stat-lbl {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.78em;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ---- Exchanges ---- */
.exchange-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.exchange-chip {
    font-family: var(--font-display);
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 36px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.exchange-chip:hover { border-color: var(--border-hover); }
.exchange-chip-more { color: var(--text-muted); border-style: dashed; }

/* ---- CTA Layout ---- */
.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.cta-copy .heading-2 { margin-bottom: 16px; }
.cta-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
}
.cta-form { display: flex; flex-direction: column; gap: 20px; }

/* ---- Forms ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
    font-family: var(--font-ui);
    font-size: 0.85em;
    color: var(--text-secondary);
    font-weight: 500;
}
.form-label-row { display: flex; justify-content: space-between; align-items: center; }
.form-link { font-family: var(--font-ui); font-size: 0.8em; color: var(--accent); }
.form-input-wrapper { position: relative; }
.form-input-icon {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}
.form-input-icon-pad { padding-left: 42px !important; }
.form-input-toggle {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}
.form-input-toggle svg { width: 18px; height: 18px; }
.form-input-toggle:hover { color: var(--text-secondary); }
.form-input {
    font-family: var(--font-ui);
    font-size: 0.95em;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
    width: 100%;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,204,255,0.08); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-row { display: flex; align-items: center; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.85em;
    color: var(--text-secondary);
    cursor: pointer;
}
.form-checkbox input { display: none; }
.form-checkbox-mark {
    width: 18px; height: 18px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--bg-surface);
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition);
}
.form-checkbox input:checked + .form-checkbox-mark { background: var(--accent); border-color: var(--accent); }
.form-checkbox input:checked + .form-checkbox-mark::after {
    content: '';
    position: absolute;
    top: 3px; left: 6px;
    width: 4px; height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.password-strength { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.strength-bar { flex: 1; height: 4px; background: var(--bg-surface); border-radius: 2px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 2px; transition: all 0.4s ease; width: 0; }
.strength-text { font-family: var(--font-ui); font-size: 0.75em; min-width: 70px; }

/* ---- Auth Pages ---- */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: rgba(10,10,10,0.75);
    cursor: pointer;
}
.auth-container { width: 100%; max-width: 440px; cursor: default; }
.auth-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
}
.auth-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.6em;
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1;
    transition: color var(--transition);
    z-index: 1;
}
.auth-close:hover { color: var(--text); }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo { height: 48px; margin-bottom: 20px; filter: brightness(1.1); }
.auth-title {
    font-family: var(--font-display);
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 8px;
}
.auth-subtitle { font-family: var(--font-ui); font-size: 0.9em; color: var(--text-muted); }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-family: var(--font-ui); font-size: 0.8em; color: var(--text-muted); white-space: nowrap; }
.auth-social { display: flex; gap: 12px; }
.auth-footer-text { text-align: center; margin-top: 24px; font-family: var(--font-ui); font-size: 0.9em; color: var(--text-muted); }
.auth-link { color: var(--accent); font-weight: 500; }
.auth-link:hover { color: var(--green); }

/* ---- Footer ---- */
.footer {
    background: rgba(21,21,21,0.85);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 28px; }
.footer-logo-text {
    font-family: var(--font-display);
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text);
}
.footer-desc {
    font-family: var(--font-ui);
    font-size: 0.85em;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { color: var(--accent); border-color: rgba(0,204,255,0.25); }
.footer-heading {
    font-family: var(--font-display);
    font-size: 0.65em;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-family: var(--font-ui); font-size: 0.85em; color: var(--text-muted); transition: color var(--transition); }
.footer-link:hover { color: var(--text); }
.footer-address { font-family: var(--font-ui); font-size: 0.85em; color: var(--text-muted); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-disclaimer {
    font-family: var(--font-ui);
    font-size: 0.75em;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 16px;
    opacity: 0.7;
}
.footer-copy { font-family: var(--font-ui); font-size: 0.8em; color: var(--text-muted); }

/* ---- Legal Pages ---- */
.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: rgba(10,10,10,0.75);
}
.legal-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}
.legal-title {
    font-family: var(--font-display);
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    margin: 20px 0 8px;
}
.legal-effective {
    font-family: var(--font-ui);
    font-size: 0.85em;
    color: var(--text-muted);
    margin-bottom: 48px;
}
.legal-body h2 {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--green);
    margin: 48px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.legal-body h2:first-child { border-top: none; margin-top: 0; }
.legal-body h3 {
    font-family: var(--font-body);
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text);
    margin: 28px 0 12px;
}
.legal-body p {
    font-family: var(--font-ui);
    font-size: 0.92em;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.legal-body ul, .legal-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li {
    font-family: var(--font-ui);
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}
.legal-body strong { color: var(--text); }
.legal-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--green); }
@media (max-width: 600px) {
    .legal-page { padding: 110px 0 60px; }
    .legal-inner { padding: 0 20px; }
    .legal-title { font-size: 1.6em; }
}

/* ---- Reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 76px; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        padding: 40px;
        gap: 16px;
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .nav-divider { display: none; }
    .nav-link { text-align: center; padding: 14px; }
    .nav-btn-primary { text-align: center; padding: 14px; }
    .hero { padding: 120px 24px 80px; }
    .hero-title { font-size: 2.2em; }
    .hero-actions { flex-direction: column; align-items: center; }
    .section { padding: 80px 0; }
    .section-inner { padding: 0 24px; }
    .heading-2 { font-size: 1.7em; }
    .products-row { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; gap: 48px; }
    .split-layout-reverse .split-left { order: 0; }
    .split-layout-reverse .split-right { order: 0; }
    .cta-layout { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .nav-inner { padding: 0 20px; }
    .section-inner { padding: 0 20px; }
    .hero-title { font-size: 1.6em; }
    .heading-2 { font-size: 1.4em; }
    .stat-grid { grid-template-columns: 1fr; }
    .exchange-row { flex-direction: column; align-items: stretch; }
    .exchange-chip { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 28px 24px; }
    .form-row-2col { grid-template-columns: 1fr; }
}
