/* FischerQuant — Sovereign Alpha */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --navy: #0A192F;
    --navy-light: #112240;
    --navy-mid: #1D3461;
    --slate: #708090;
    --slate-light: #8892A0;
    --slate-dim: #4A5568;
    --emerald: #00FF41;
    --emerald-dim: #00CC33;
    --emerald-glow: rgba(0, 255, 65, 0.08);
    --white: #E6F1FF;
    --white-pure: #ffffff;
    --off-white: #f7f8fa;
    --warm-gray: #f0f1f3;
    --red: #FF4444;
    --font-prose: 'Inter', -apple-system, sans-serif;
    --font-data: 'JetBrains Mono', 'Consolas', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-prose);
    color: var(--navy);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--emerald); color: var(--navy); }

a { color: var(--emerald); }

/* ── Navigation ────────────────────────────────── */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav--dark { background: var(--navy); }
.nav--dark .nav-brand { color: var(--white); }
.nav--dark .nav-links a { color: var(--white-pure); }
.nav--dark .nav-links a:hover { color: var(--white); }

.nav--light { background: var(--white-pure); }
.nav--light .nav-brand { color: var(--navy); }
.nav--light .nav-links a { color: var(--slate-dim); }
.nav--light .nav-links a:hover { color: var(--navy); }

.nav-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-cta {
    color: var(--emerald) !important;
    border: 1px solid var(--emerald);
    padding: 8px 20px;
    font-family: var(--font-data);
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.nav-cta:hover {
    background: var(--emerald);
    color: var(--navy) !important;
}

/* ── Container ─────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.container--narrow {
    max-width: 800px;
}

/* ── Section Backgrounds ──────────────────────── */
.bg-navy { background: var(--navy); color: var(--white); }
.bg-white { background: var(--white-pure); color: var(--navy); }
.bg-off-white { background: var(--off-white); color: var(--navy); }
.bg-warm { background: var(--warm-gray); color: var(--navy); }

/* ── Hero (Dark) ──────────────────────────────── */
.hero {
    background: var(--navy);
    padding: 80px 48px 72px;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-brand {
    font-size: 56px;
    font-weight: 800;
    color: var(--white-pure);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.1;
}

.hero-brand em {
    font-style: normal;
    font-weight: 400;
    color: var(--slate-light);
    font-size: 36px;
}

.hero-tagline {
    font-family: var(--font-data);
    font-size: 18px;
    color: var(--emerald);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-block;
    background: transparent;
    color: var(--emerald);
    border: 1px solid var(--emerald);
    padding: 16px 48px;
    font-family: var(--font-data);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-cta:hover {
    background: var(--emerald);
    color: var(--navy);
}

/* Quantitative Dashboard SVG in Hero */
.hero-visual {
    margin: 48px auto 40px;
    max-width: 860px;
}

.hero-visual svg {
    width: 100%;
    height: auto;
}

/* ── Pain Points Section (Light) ──────────────── */
.pain-section {
    padding: 80px 48px;
}

.pain-inner {
    max-width: 760px;
    margin: 0 auto;
}

.pain-question {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 20px;
}

.pain-answer {
    font-size: 20px;
    color: #000;
    line-height: 1.7;
    margin-bottom: 40px;
}

.pain-answer strong {
    color: var(--navy);
}

.pain-divider {
    width: 60px;
    height: 2px;
    background: var(--emerald);
    margin: 48px 0;
}

/* ── Trade Cycle Section ──────────────────────── */
.cycle-section {
    padding: 80px 48px;
}

.cycle-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cycle-label {
    font-family: var(--font-data);
    font-size: 24px;
    font-weight: 600;
    color: var(--emerald);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cycle-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.bg-navy .cycle-title { color: var(--white-pure); }

.cycle-subtitle {
    font-size: 20px;
    color: var(--white-pure);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cycle-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(112, 128, 144, 0.15);
    border: 1px solid rgba(112, 128, 144, 0.15);
}

.cycle-step {
    padding: 32px 28px;
}

.bg-navy .cycle-step { background: var(--navy); }
.bg-white .cycle-step { background: var(--white-pure); }

.cycle-step-num {
    font-family: var(--font-data);
    font-size: 22px;
    color: var(--emerald);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cycle-step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bg-navy .cycle-step h3 { color: var(--white-pure); }

.cycle-step p {
    font-size: 18px;
    line-height: 1.7;
}

.bg-navy .cycle-step p { color: var(--white-pure); }
.bg-white .cycle-step p { color: #000; }

/* Full-width step */
.cycle-step--full {
    grid-column: 1 / -1;
}

/* ── Stat Bar ─────────────────────────────────── */
.stat-bar {
    display: flex;
    justify-content: center;
    gap: 64px;
    padding: 48px 0;
    border-top: 1px solid rgba(112, 128, 144, 0.15);
    border-bottom: 1px solid rgba(112, 128, 144, 0.15);
}

.stat-item { text-align: center; }

.stat-num {
    font-family: var(--font-data);
    font-size: 32px;
    font-weight: 700;
    color: var(--emerald);
}

.stat-label {
    font-family: var(--font-data);
    font-size: 15px;
    color: var(--white-pure);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ── Features Grid ────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(112, 128, 144, 0.1);
    border: 1px solid rgba(112, 128, 144, 0.15);
}

.feature {
    padding: 36px 32px;
}

.bg-navy .feature { background: var(--navy); }
.bg-white .feature { background: var(--white-pure); }
.bg-off-white .feature { background: var(--off-white); }

.feature-num {
    font-family: var(--font-data);
    font-size: 20px;
    color: var(--emerald);
    font-weight: 600;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature p {
    font-size: 15px;
    line-height: 1.7;
}

.bg-navy .feature h3 { color: var(--white); }
.bg-navy .feature p { color: var(--white-pure); }
.bg-white .feature p, .bg-off-white .feature p { color: #000; }

/* ── Process Steps ────────────────────────────── */
.process {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(112, 128, 144, 0.15);
}

.process-step {
    display: flex;
    gap: 32px;
    padding: 36px 40px;
    border-bottom: 1px solid rgba(112, 128, 144, 0.1);
    align-items: baseline;
}

.process-step:last-child { border-bottom: none; }

.process-num {
    font-family: var(--font-data);
    font-size: 32px;
    font-weight: 700;
    color: var(--emerald);
    flex-shrink: 0;
    width: 48px;
}

.process-content h3 {
    font-family: var(--font-data);
    font-size: 24px;
    font-weight: 600;
    color: var(--emerald);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.process-content p {
    font-size: 18px;
    color: var(--white-pure);
    line-height: 1.7;
}

/* ── Trade Card Preview ───────────────────────── */
.trade-preview {
    border: 1px solid rgba(112, 128, 144, 0.15);
    padding: 32px;
    font-family: var(--font-data);
}

.bg-navy .trade-preview { background: var(--navy-light); }
.bg-white .trade-preview, .bg-off-white .trade-preview {
    background: var(--white-pure);
    border-color: #e1e5eb;
}

.trade-preview-label {
    font-size: 20px;
    color: #000;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.trade-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(112, 128, 144, 0.08);
    font-size: 20px;
}

.trade-row:last-child { border-bottom: none; }
.trade-key { color: #000; }

.bg-navy .trade-val { color: var(--white); font-weight: 600; }
.bg-white .trade-val, .bg-off-white .trade-val { color: #000; font-weight: 600; }
.trade-val.green { color: var(--emerald) !important; }

/* ── Sigma Scale ──────────────────────────────── */
.sigma-bar {
    margin: 20px 0 8px;
    position: relative;
    height: 8px;
    background: var(--navy-mid);
    border-radius: 4px;
    overflow: visible;
}

.bg-white .sigma-bar, .bg-off-white .sigma-bar {
    background: #e1e5eb;
}

.sigma-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-dim));
    border-radius: 4px;
}

.sigma-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-data);
    font-size: 11px;
    color: var(--slate);
    margin-top: 6px;
}

/* ── Stats Grid ───────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(112, 128, 144, 0.1);
    border: 1px solid rgba(112, 128, 144, 0.15);
}

.stat-box {
    padding: 32px 24px;
    text-align: center;
}

.bg-navy .stat-box { background: var(--navy); }
.bg-white .stat-box { background: var(--white-pure); }

.stat-number {
    font-family: var(--font-data);
    font-size: 40px;
    font-weight: 700;
}

.bg-navy .stat-number { color: var(--white-pure); }
.bg-white .stat-number { color: var(--navy); }
.stat-number.green { color: var(--emerald) !important; }

.stat-desc {
    font-family: var(--font-data);
    font-size: 15px;
    color: var(--white-pure);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ── Report Preview (Sample Reports Page) ─────── */
.report-frame {
    border: 1px solid #e1e5eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.report-frame-label {
    font-family: var(--font-data);
    font-size: 20px;
    color: #000;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.report-frame img {
    width: 100%;
    display: block;
}

.report-frame-inner {
    background: var(--white-pure);
    padding: 0;
    max-height: 600px;
    overflow-y: auto;
}

/* ── Request Form ─────────────────────────────── */
.form-section {
    max-width: 520px;
    margin: 0 auto;
    padding: 80px 0;
}

.form-card {
    border: 1px solid rgba(112, 128, 144, 0.15);
    padding: 40px;
}

.bg-navy .form-card { background: var(--navy-light); }

.form-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.bg-navy .form-card h2 { color: var(--white-pure); }

.form-card .form-subtitle {
    font-size: 20px;
    color: var(--white-pure);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-family: var(--font-data);
    font-size: 14px;
    font-weight: 600;
    color: var(--white-pure);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: var(--navy);
    border: 1px solid rgba(112, 128, 144, 0.2);
    color: var(--white);
    font-family: var(--font-prose);
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--emerald);
}

.form-group select option {
    background: var(--navy-light);
    color: var(--white);
}

.form-btn {
    width: 100%;
    background: transparent;
    color: var(--emerald);
    border: 1px solid var(--emerald);
    padding: 14px;
    font-family: var(--font-data);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}

.form-btn:hover {
    background: var(--emerald);
    color: var(--navy);
}

.form-msg {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 14px;
    display: none;
    font-family: var(--font-data);
}

.form-msg.success {
    display: block;
    border: 1px solid var(--emerald);
    color: var(--emerald);
    background: var(--emerald-glow);
}

.form-msg.error {
    display: block;
    border: 1px solid var(--red);
    color: var(--red);
    background: rgba(255, 68, 68, 0.08);
}

/* ── Section Padding ──────────────────────────── */
.section { padding: 80px 48px; }
.section-label {
    font-family: var(--font-data);
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.bg-navy .section-title { color: var(--white-pure); }
.section-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #1e293b;
}
.bg-navy .section-subtitle { color: var(--white-pure); }
.bg-white .section-subtitle { color: #1e293b; }
.bg-off-white .section-subtitle { color: #1e293b; }

/* ── Footer ───────────────────────────────────── */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(112, 128, 144, 0.1);
    padding: 32px 0;
    text-align: center;
    font-family: var(--font-data);
    font-size: 20px;
    color: var(--emerald);
    letter-spacing: 0.5px;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 24px auto 0;
    padding: 0 24px;
    font-family: var(--font-prose);
    font-size: 12px;
    line-height: 1.6;
    color: var(--white-pure);
    opacity: 0.7;
    letter-spacing: 0;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .nav { padding: 16px 24px; }
    .container { padding: 0 24px; }
    .hero { padding: 60px 24px 48px; }
    .hero-brand { font-size: 28px; }
    .hero-brand em { font-size: 24px; }
    .pain-section, .cycle-section, .section { padding: 48px 24px; }
    .pain-question { font-size: 22px; }
    .features { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-bar { flex-wrap: wrap; gap: 32px; padding: 32px 24px; }
    .nav-links { gap: 16px; }
    .cycle-steps { grid-template-columns: 1fr; }
    .process-step { flex-direction: column; gap: 12px; }
    .form-section { padding: 48px 24px; }
}
