:root {
    --bg: #050505;
    --surface: rgba(19, 16, 11, 0.72);
    --surface-strong: rgba(28, 22, 14, 0.86);
    --line: rgba(244, 190, 84, 0.24);
    --gold: #f4be54;
    --gold-bright: #ffe09a;
    --gold-deep: #a86412;
    --text: #f7f1de;
    --muted: #c7baa0;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --spot-x: 50%;
    --spot-y: 30%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(244, 190, 84, 0.16), transparent 18%),
        radial-gradient(circle at top, rgba(174, 108, 12, 0.22), transparent 34%),
        linear-gradient(160deg, #030303 0%, #090704 52%, #110c05 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 48%, transparent 92%);
    pointer-events: none;
    opacity: 0.45;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    isolation: isolate;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 48px;
}

.ambient {
    position: fixed;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -2;
}

.ambient-left {
    left: -8rem;
    top: 7rem;
    background: rgba(242, 175, 55, 0.18);
    animation: drift 16s ease-in-out infinite;
}

.ambient-right {
    right: -10rem;
    top: 20rem;
    background: rgba(185, 102, 14, 0.18);
    animation: drift 18s ease-in-out infinite reverse;
}

.grid-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 219, 138, 0.08), transparent 24%),
        radial-gradient(circle at 74% 34%, rgba(255, 160, 53, 0.08), transparent 20%);
    pointer-events: none;
    z-index: -3;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0 12px;
}

.brand-lockup {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.brand-badge,
.top-link {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 10px 16px;
}

.brand-badge {
    font-family: "Cinzel", Georgia, serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-copy {
    color: var(--muted);
    font-size: 0.95rem;
}

.top-link {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.top-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 224, 154, 0.44);
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 36px 0 60px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
}

.hero h1,
.spotlight h2,
.footer h2,
.feature-card h2 {
    font-family: "Cinzel", Georgia, serif;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.95;
    max-width: 11ch;
}

.hero-text,
.spotlight-copy p,
.feature-card p:last-child {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-text {
    max-width: 60ch;
    margin: 20px 0 0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #1d1202;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 14px 36px rgba(244, 190, 84, 0.18);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.stat-card,
.feature-card,
.floating-panel,
.spotlight,
.footer {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.stat-card {
    border-radius: 24px;
    padding: 20px 18px;
}

.stat-card strong {
    display: block;
    color: var(--gold-bright);
    font-size: 2rem;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hero-visual {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.logo-stage {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 36px;
    background:
        radial-gradient(circle at center, rgba(255, 213, 126, 0.16), transparent 42%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 220, 142, 0.16);
    overflow: hidden;
}

.logo-halo {
    position: absolute;
    inset: 17%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 142, 0.34), transparent 62%);
    filter: blur(22px);
    animation: pulse 5.6s ease-in-out infinite;
}

.logo-image {
    position: relative;
    z-index: 1;
    width: 82%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

.floating-panel {
    width: min(100%, 380px);
    padding: 18px 20px;
    border-radius: 22px;
}

.floating-panel span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.floating-panel strong {
    display: block;
    margin-top: 8px;
    font-size: 1.15rem;
    color: var(--gold-bright);
}

.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(244, 190, 84, 0.12);
    border-bottom: 1px solid rgba(244, 190, 84, 0.12);
    padding: 18px 0;
}

.ticker {
    display: flex;
    width: max-content;
    gap: 22px;
    color: var(--gold-bright);
    font-family: "Cinzel", Georgia, serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: ticker-scroll 24s linear infinite;
}

.ticker span::after {
    content: "\2022";
    margin-left: 22px;
    color: rgba(255, 224, 154, 0.54);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 34px 0;
}

.feature-card {
    border-radius: 28px;
    padding: 28px;
}

.feature-index {
    margin: 0 0 16px;
    color: rgba(255, 224, 154, 0.82);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
}

.feature-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: center;
    margin-top: 12px;
    padding: 34px;
    border-radius: 34px;
}

.spotlight h2,
.footer h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.orbit-panel {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 224, 154, 0.28);
}

.orbit-one {
    inset: 12%;
    animation: spin 14s linear infinite;
}

.orbit-two {
    inset: 0;
    border-style: dashed;
    animation: spin 18s linear infinite reverse;
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-bright), var(--gold));
    box-shadow: 0 0 18px rgba(255, 221, 136, 0.5);
}

.orbit-one::before {
    top: -7px;
    left: calc(50% - 7px);
}

.orbit-two::after {
    top: calc(50% - 7px);
    right: -7px;
}

.core-chip {
    padding: 18px 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--gold-bright);
    font-family: "Cinzel", Georgia, serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 28px;
    padding: 28px 32px;
    border-radius: 30px;
}

.contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.contact-bar a {
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-bright);
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease;
}

.contact-bar a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -22px, 0) scale(1.08);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 980px) {
    .hero,
    .spotlight,
    .footer,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 18px;
    }

    .hero h1 {
        max-width: 100%;
    }

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

    .footer {
        padding: 24px;
    }

    .contact-bar {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .spotlight,
    .feature-card,
    .footer,
    .stat-card {
        border-radius: 24px;
    }

    .logo-stage {
        border-radius: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
