/* ──────────────────────────────────────────────────────────
 * STRATA — landing.css
 * Geist throughout. Light weights, tight tracking, natural case.
 * Matches tradestrata.io exactly.
 * ──────────────────────────────────────────────────────────
 */
:root {
    --bg: #000000;
    --bg-1: #0a0a0a;
    --bg-2: #141414;
    --panel: rgba(255, 255, 255, 0.025);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --soft-border: rgba(255, 255, 255, 0.08);
    --soft-border-hover: rgba(255, 255, 255, 0.22);
    --fg-0: #ffffff;
    --fg-1: #d6d6d6;
    --fg-2: #888888;
    --fg-3: #555555;
    --text: #ffffff;
    --text-2: #888888;
    --text-3: #555555;
    /* All accents collapse to white. */
    --accent: #ffffff;
    --accent-2: #ffffff;
    --accent-3: #ffffff;
    --display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg-1); }
body {
    min-height: 100vh;
    font-family: var(--sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Soft white radial glows — subtle depth without colour. */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    z-index: 0;
    pointer-events: none;
}
.glow-a {
    width: 520px; height: 520px;
    top: -160px; right: -120px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent 70%);
}
.glow-b {
    width: 480px; height: 480px;
    bottom: -200px; left: -120px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.035), transparent 70%);
}

.topbar, .hero, .foot, .portal { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────
 * INTERNAL PORTAL LAYOUT (landing entry to admin)
 * Big centred logo, dashboard name, single CTA.
 * ────────────────────────────────────────────────────────── */
.portal {
    flex: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(60px, 12vw, 140px) clamp(20px, 5vw, 48px) 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 100px);
}
.portal-logo {
    width: auto;
    height: clamp(56px, 8vw, 96px);
    display: block;
    margin: 0 0 32px;
}
.portal-name {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--fg-3);
    margin: 0 0 60px;
}
.portal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 64px;
}
/* Secondary action (Closer dashboard): outlined, inverts on hover so it reads
   as the companion to the filled primary (Copier dashboard). */
.cta-ghost {
    background: transparent;
    color: var(--fg-0);
}
.cta-ghost:hover {
    background: var(--fg-0);
    color: var(--bg);
}
.portal-status {
    /* Sits below the CTA, very subtle */
    background: transparent;
    border: 1px solid var(--border);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px clamp(20px, 5vw, 48px);
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--fg-0);
}
.logo svg, .logo img { width: auto; height: 42px; display: block; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    background: transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    color: var(--fg-1);
    letter-spacing: 0.02em;
}
.pill-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--fg-0);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    animation: pill-pulse 2.4s ease-out infinite;
}
@keyframes pill-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(255, 255, 255, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(255, 255, 255, 0);   }
}

.hero {
    flex: 1;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(40px, 9vw, 120px) clamp(20px, 5vw, 48px) 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--fg-2);
    margin: 0 0 28px;
}

h1 {
    font-family: var(--display);
    font-size: clamp(44px, 6.4vw, 88px);
    line-height: 1.0;
    letter-spacing: -0.04em;
    font-weight: 200;
    color: var(--fg-0);
    margin: 0 0 28px;
    max-width: 14ch;
}
.grad {
    /* Brand has no chromatic gradient — secondary tint via colour only. */
    color: var(--fg-3);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-style: normal;
}

.lede {
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-1);
    font-weight: 300;
    max-width: 56ch;
    margin: 0 0 44px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--fg-0);
    color: var(--bg);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: -0.005em;
    border: 1px solid var(--fg-0);
    transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.cta:hover {
    transform: translateY(-1px);
    background: transparent;
    color: var(--fg-0);
}
.cta:active { transform: translateY(0); }
.cta svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.cta:hover svg { transform: translateX(3px); }

.stats {
    list-style: none;
    padding: 0;
    margin: 64px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats li {
    padding: 22px 24px;
    border-right: 1px solid var(--border);
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stats li:last-child { border-right: 0; }
.stat-label {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fg-3);
}
.stat-value {
    font-family: var(--display);
    font-size: 24px;
    color: var(--fg-0);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.foot {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 32px clamp(20px, 5vw, 48px);
    border-top: 1px solid var(--border);
}
.foot p {
    margin: 0;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-3);
}

@media (prefers-reduced-motion: reduce) {
    .cta { transition: none; }
    .cta:hover { transform: none; }
    .pill-dot { animation: none; }
}
