/* ================================================
   becloser2me — Design System
   Clean. Restrained. Premium.
   ================================================ */

:root {
    --gold: #C9A84C;
    --gold-bright: #D4AF37;
    --gold-dim: rgba(201, 168, 76, 0.12);
    --gold-border: rgba(201, 168, 76, 0.18);
    --bg: #09090B;
    --bg-raised: #111113;
    --bg-card: #16161A;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #EDEDEF;
    --text-secondary: #8B8B8D;
    --text-tertiary: #56565A;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--bg);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
}

/* ================================================
   NAV
   ================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wordmark {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--text-primary);
}

.wordmark span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn-ghost {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.nav-btn-ghost:hover { color: var(--text-primary); }

.nav-btn-solid {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bg);
    background: var(--gold);
    text-decoration: none;
    padding: 0.5rem 1.15rem;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.nav-btn-solid:hover { opacity: 0.88; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 6px;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s;
}

.menu-toggle span:first-child { top: 11px; }
.menu-toggle span:last-child { top: 19px; }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
}

.hero-inner {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-border);
    background: var(--gold-dim);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--gold);
    color: var(--bg);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-val {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}

.metric-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

/* ================================================
   SECTIONS
   ================================================ */
.section {
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.section-dark {
    background: var(--bg-raised);
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

/* ================================================
   FEATURE ROWS (Platform)
   ================================================ */
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1px;
}

.feature-row:first-of-type {
    margin-top: 3.5rem;
}

.feature-block {
    background: var(--bg);
    padding: 2.25rem;
    transition: background 0.3s;
}

.feature-block:hover {
    background: var(--bg-raised);
}

.fb-num {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}

.feature-block h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}

.feature-block p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   SPLIT LAYOUT (Creators + Protection)
   ================================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.split-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-top: 1rem;
}

/* Checklist */
.checklist {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bg);
    background: var(--gold);
    border-radius: 6px;
    flex-shrink: 0;
}

/* Creator Card */
.creator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 360px;
    margin: 0 auto;
}

.cc-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.cc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #8B6D2B);
    flex-shrink: 0;
}

.cc-meta { flex: 1; }

.cc-name {
    font-size: 0.9375rem;
    font-weight: 600;
}

.cc-handle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.cc-verified {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--bg);
    background: var(--gold);
    border-radius: 50%;
}

.cc-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--bg-raised) 0%, rgba(201, 168, 76, 0.06) 100%);
}

.cc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cc-stats > div {
    text-align: center;
    padding: 1rem 0.5rem;
}

.cc-stats strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cc-stats span {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cc-actions {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cc-btn-sub {
    width: 100%;
    padding: 0.7rem;
    background: var(--gold);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cc-btn-sub:hover { opacity: 0.9; }

.cc-btn-msg {
    width: 100%;
    padding: 0.7rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cc-btn-msg:hover { border-color: var(--border-hover); }

/* ================================================
   ECONOMY
   ================================================ */
.econ-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

.econ-card {
    background: var(--bg);
    padding: 2.25rem;
}

.econ-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.econ-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.econ-card-hero {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2.75rem;
}

.econ-card-hero p {
    font-size: 1rem;
    max-width: 400px;
}

.coin-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.coin-symbol {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bg);
    background: linear-gradient(145deg, #E8C84A, #A07D2A);
    border-radius: 50%;
}

.coin-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ================================================
   LEADERBOARD
   ================================================ */
.leaderboard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border);
}

.lb-head h3 {
    font-size: 1rem;
    font-weight: 600;
}

.lb-tabs {
    display: flex;
    gap: 0.25rem;
}

.lb-tab {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    background: transparent;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.lb-tab.active {
    color: var(--gold);
    background: var(--gold-dim);
}

.lb-tab:hover:not(.active) {
    color: var(--text-secondary);
}

.lb-table {
    padding: 0.5rem 0.75rem;
}

.lb-row {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.lb-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.lb-gold {
    background: var(--gold-dim);
}

.lb-pos {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.lb-gold .lb-pos { color: var(--gold); }

.lb-user {
    font-size: 0.875rem;
    font-weight: 600;
}

.lb-tier {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.lb-val {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.lb-rewards {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border);
}

.lb-rewards span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
}

/* ================================================
   PROTECTION GRID
   ================================================ */
.protection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.prot-card {
    background: var(--bg-raised);
    padding: 2rem;
    transition: background 0.3s;
}

.prot-card:hover {
    background: var(--bg-card);
}

.prot-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prot-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================================
   COMPLIANCE BAR
   ================================================ */
.compliance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.comp-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.comp-text strong {
    font-size: 0.9375rem;
}

.comp-text span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.comp-badges {
    display: flex;
    gap: 0.5rem;
}

.comp-badges span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

/* ================================================
   CTA
   ================================================ */
.section-cta {
    padding: 6rem 0 8rem;
    text-align: center;
}

.section-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.section-cta > .container > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-row {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
    margin: 0 auto 0.75rem;
}

.cta-input {
    flex: 1;
    padding: 0.75rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.cta-input:focus {
    border-color: var(--gold-border);
}

.cta-input::placeholder {
    color: var(--text-tertiary);
}

.cta-fine {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-top: 0.75rem;
    max-width: 260px;
    line-height: 1.5;
}

.footer-col h5 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.footer-col a {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
    .feature-row {
        grid-template-columns: 1fr;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .econ-grid {
        grid-template-columns: 1fr;
    }

    .econ-card-hero {
        flex-direction: column;
        text-align: center;
    }

    .protection-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .nav-links,
    .nav-right {
        display: none;
    }

    .nav-links.open {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 99;
    }

    .nav-links.open a {
        font-size: 1.25rem;
        color: var(--text-primary);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 7rem 1.5rem 5rem;
    }

    .hero-metrics {
        gap: 1.25rem;
    }

    .metric-val {
        font-size: 1.25rem;
    }

    .compliance-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .comp-badges {
        justify-content: center;
    }

    .cta-row {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .lb-head {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .lb-row {
        grid-template-columns: 32px 1fr auto;
    }

    .lb-tier {
        display: none;
    }
}

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }
