:root {
    --bg: #0f1117;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-strong: rgba(255, 255, 255, 0.14);
    --text: #f7efe1;
    --muted: #c9bca8;
    --gold: #d8aa4f;
    --red: #8f1d1d;
    --dark-red: #531111;
    --line: rgba(216, 170, 79, 0.35);
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(216, 170, 79, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(143, 29, 29, 0.3), transparent 38%),
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.bg-orb {
    position: fixed;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.35;
    pointer-events: none;
    animation: floatOrb 9s ease-in-out infinite alternate;
}

.orb-one {
    top: 90px;
    left: -130px;
    background: var(--gold);
}

.orb-two {
    right: -120px;
    bottom: 60px;
    background: var(--red);
    animation-delay: 1.5s;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 24px;
}

.navbar {
    max-width: 1180px;
    margin: auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(15, 17, 23, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #111;
    background: linear-gradient(135deg, var(--gold), #fff1b8);
    box-shadow: 0 0 25px rgba(216, 170, 79, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.primary-btn,
.ghost-btn,
.menu-toggle {
    font: inherit;
    cursor: pointer;
}

.nav-link {
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #111;
    background: var(--gold);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--panel);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
}

main {
    max-width: 1180px;
    margin: auto;
    padding: 30px 24px 80px;
}

.page-section {
    display: none;
    min-height: 68vh;
    animation: pageEnter 0.5s ease both;
}

.page-section.active {
    display: block;
}

.hero {
    min-height: 72vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 30px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.78rem;
    font-weight: 800;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -4px;
}

.hero-text,
.info-panel p,
.timeline-item p,
.hero-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
    border-radius: 999px;
    padding: 13px 20px;
    border: 1px solid var(--line);
    transition: 0.25s ease;
}

.primary-btn {
    color: #111;
    background: linear-gradient(135deg, var(--gold), #ffe5a0);
    font-weight: 800;
}

.ghost-btn {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.primary-btn:hover,
.ghost-btn:hover,
.timeline-item:hover,
.stat-card:hover,
.hero-card:hover {
    transform: translateY(-4px);
}

.hero-card,
.info-panel,
.stat-card,
.timeline-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, var(--panel), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 36px;
    min-height: 330px;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: -50px;
    border-radius: 50%;
    background: rgba(216, 170, 79, 0.22);
}

.card-kicker {
    display: inline-block;
    color: #111;
    background: var(--gold);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-card h2,
.section-heading h2,
.info-panel h1 {
    margin: 18px 0 10px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: -2px;
}

.timeline-section {
    padding: 50px 0 20px;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.timeline-item {
    position: relative;
    padding: 26px;
    border-radius: 26px;
    transition: 0.25s ease;
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: #111;
    background: var(--gold);
    font-weight: 900;
    margin-bottom: 22px;
}

.timeline-item h3 {
    margin: 0 0 12px;
}

.content-grid {
    min-height: 68vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: center;
    gap: 24px;
}

.info-panel {
    border-radius: 34px;
    padding: clamp(28px, 5vw, 56px);
}

.info-panel h1 {
    font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.stat-card {
    border-radius: 32px;
    padding: 30px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: 0.25s ease;
    background:
        linear-gradient(145deg, rgba(143, 29, 29, 0.4), rgba(255,255,255,0.06)),
        var(--panel);
}

.stat-card strong {
    font-size: 2.3rem;
    color: var(--gold);
}

.stat-card span {
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.6;
}

footer {
    text-align: center;
    color: var(--muted);
    padding: 30px 20px 46px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: 0.7s ease;
}

.delay-1.visible {
    transition-delay: 0.15s;
}

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

@keyframes floatOrb {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(26px, -22px, 0) scale(1.08);
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 24px;
        right: 24px;
        display: none;
        flex-direction: column;
        padding: 16px;
        border-radius: 22px;
        background: rgba(15, 17, 23, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
    }

    .hero,
    .content-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    h1 {
        letter-spacing: -2px;
    }

    .timeline::before {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .content-grid {
        min-height: auto;
        padding: 40px 0;
    }
}
