/* ── Reset & Variables ─────────────────────────────────────── */
:root {
    --bg-primary:    #0d0d0d;
    --bg-secondary:  #1a1a1a;
    --bg-tertiary:   #242424;
    --accent:        #e8a317;
    --accent-hover:  #f5b829;
    --accent-dim:    rgba(232,163,23,0.12);
    --text-primary:  #f0f0f0;
    --text-secondary:#a0a0a0;
    --text-muted:    #606060;
    --border:        #2a2a2a;
    --border-light:  #333;
    --success:       #22c55e;
    --danger:        #ef4444;
    --radius:        8px;
    --radius-lg:     14px;
    --shadow:        0 2px 12px rgba(0,0,0,0.6);
    --shadow-lg:     0 8px 32px rgba(0,0,0,0.7);
    --font:          'Inter', 'Segoe UI', Arial, sans-serif;
    --font-mono:     'Consolas', 'Courier New', monospace;
    --transition:    0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    min-height: calc(100vh - 64px - 300px);
    padding: 32px 0 64px;
}

/* ── Header ────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,13,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    height: 64px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #000;
    letter-spacing: -0.5px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 700; font-size: 15px; color: var(--text-primary); letter-spacing: 0.3px; }
.logo-sub  { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.nav-link {
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(160deg, #111 0%, #0d0d0d 50%, #121008 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 800px 500px at 60% 50%, rgba(232,163,23,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(232,163,23,0.2);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title span { color: var(--accent); }

.hero-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.hs-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}
.hs-val span { color: var(--accent); font-size: 20px; }
.hs-lbl {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Section ───────────────────────────────────────────────── */
.section {
    padding: 64px 0;
}

.section-dark { background: var(--bg-secondary); }
.section-border { border-top: 1px solid var(--border); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 6px;
}

.section-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.section-link:hover { color: var(--accent-hover); }

/* ── Trust Strip ───────────────────────────────────────────── */
.trust-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.trust-strip .container {
    display: flex;
    gap: 0;
    justify-content: space-between;
}

.ts-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 0 24px;
    border-right: 1px solid var(--border);
}
.ts-item:last-child { border-right: none; }

.ts-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.ts-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.ts-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.f-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.f-logo span { color: var(--accent); }

.f-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 260px;
}

.f-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.f-col-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.f-col-list a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition);
    cursor: pointer;
}
.f-col-list a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a { color: var(--text-muted); font-size: 13px; }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ── Toast ─────────────────────────────────────────────────── */
.toast-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    max-width: 360px;
    pointer-events: auto;
    animation: toastIn 0.25s ease;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--accent); }

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

/* ── Loader / Spinner ──────────────────────────────────────── */
.loader {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    padding: 32px 0;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid    { grid-template-columns: 1fr; gap: 40px; }
    .hero-title   { font-size: 36px; }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero         { padding: 48px 0; }
    .hero-title   { font-size: 28px; }
    .hero-stats   { gap: 20px; }
    .trust-strip .container { flex-direction: column; gap: 16px; }
    .ts-item      { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px; }
    .ts-item:last-child { border-bottom: none; }
    .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
    .header-nav   { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; }
}
