/* ============================================================
   El Dorado — Trading Portfolio
   MAIN / GLOBAL stylesheet.

   This file holds the foundation every section depends on:
   design tokens (:root), reset, base typography, buttons, the
   shared .section utilities and the .reveal animation.

   Per-section styles live in their own files and are linked
   after this one in base.html:
     header.css · hero.css · stats.css · about.css · approach.css
     credentials.css · manifesto.css · partner.css · contact.css
     footer.css · responsive.css (last, for media-query overrides)
   ============================================================ */

:root {
    --bg: #05070d;
    --bg-alt: #0b1020;
    --panel: #11192d;
    --panel-2: #18233b;
    --line: rgba(97, 214, 255, 0.16);
    --gold: #f5c76a;
    --gold-soft: #ffe2a1;
    --text: #eff5ff;
    --muted: #a6b1c6;
    --radius: 18px;
    --maxw: 1180px;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
    --gold-grad: linear-gradient(135deg, #fff0ba 0%, #f5c76a 40%, #c69228 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background:
        radial-gradient(circle at 20% 10%, rgba(97, 214, 255, 0.08), transparent 22%),
        radial-gradient(circle at 80% 0%, rgba(245, 199, 106, 0.10), transparent 20%),
        linear-gradient(180deg, #07101f 0%, #05070d 34%, #05070d 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }
h1, h2, h3, h4 {
    line-height: 1.08;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
    background: var(--gold-grad);
    color: #1a1405;
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}
.btn--gold:hover { box-shadow: 0 14px 38px rgba(212,175,55,0.45); }
.btn--ghost {
    border-color: var(--line);
    color: var(--gold-soft);
    background: rgba(212,175,55,0.04);
}
.btn--ghost:hover { background: rgba(212,175,55,0.12); }

.pill {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--gold-soft);
    background: rgba(212,175,55,0.05);
}

/* Shared section utilities */
.section { padding: 90px 0; }
.section--alt {
    background:
        radial-gradient(circle at top right, rgba(97,214,255,0.06), transparent 28%),
        linear-gradient(180deg, rgba(11,16,32,0.76), rgba(6,9,16,0.96));
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section__sub { color: var(--muted); margin-top: 14px; }

/* Reveal-on-scroll animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
