:root {
    --gold: #FFD785;
    --gold-bright: #ffe9b8;
    --bg: #040F0D;
    --white: #FFFFFF;
    --green: #1A4131;
    --card-bg: rgba(26, 65, 49, 0.28);
    --gold-muted: rgba(255, 215, 133, 0.2);
    --text-muted: rgba(255, 255, 255, 0.72);
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    color: var(--white);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .btn {
    cursor: none;
}

img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--gold); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
a { color: var(--gold); transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-bright); }
strong { color: var(--white); }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 200;
    background: var(--gold);
    color: var(--bg);
    padding: 0.55rem 0.9rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
}
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 215, 133, 0.7);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-dot { width: 10px; height: 10px; background: var(--bg); }
body.cursor-hover .cursor-ring {
    width: 52px;
    height: 52px;
    background: rgba(255, 215, 133, 0.16);
    border-color: var(--gold);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 2rem;
    min-height: var(--header-h);
    background: rgba(4, 15, 13, 0.72);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
    background: rgba(4, 15, 13, 0.94);
    border-bottom-color: var(--gold-muted);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 42px; width: auto; display: block; transition: transform 0.35s var(--ease); }
.logo:hover img { transform: scale(1.04); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold-muted);
    background: transparent;
    border-radius: 10px;
    color: var(--gold);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    position: relative;
    margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.25s, background 0.25s;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--gold);
    background: var(--gold-muted);
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4.5rem 1.5rem 5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--gold-muted);
}
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 18%, rgba(26, 65, 49, 0.72) 0%, transparent 50%),
        radial-gradient(circle at 12% 80%, rgba(255, 215, 133, 0.08) 0%, transparent 28%),
        radial-gradient(circle at 88% 30%, rgba(26, 65, 49, 0.55) 0%, transparent 32%),
        linear-gradient(165deg, var(--bg) 0%, var(--green) 48%, var(--bg) 100%);
}
.hero-orbs::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 215, 133, 0.11), transparent 26%);
    transition: background 0.15s linear;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-brand {
    width: min(260px, 68vw);
    margin: 0 auto 1.4rem;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(255, 215, 133, 0.12));
    animation: float-logo 5.5s ease-in-out infinite;
}
.hero h1 { margin: 0 0 1rem; }
.hero .lead { font-size: 1.12rem; margin: 0 auto 2rem; color: var(--text-muted); max-width: 560px; }

.btn-group { display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap; }
.btn {
    background: transparent;
    color: var(--gold);
    padding: 0.85rem 1.7rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--gold);
    transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:hover {
    background: var(--gold-muted);
    color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 215, 133, 0.12);
}
.btn-primary {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--bg);
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(90deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--bg);
    box-shadow: 0 12px 28px rgba(255, 215, 133, 0.22);
}
.btn-soon { opacity: 0.62; pointer-events: none; }
.coming-soon-note { font-size: 0.88rem; color: var(--gold); margin-top: 0.9rem; opacity: 0.8; }

.section { padding: 4.5rem 1.5rem; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.2rem; }
.section-head p { color: var(--text-muted); margin: 0.7rem 0 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.prose { max-width: 860px; }
.prose p, .prose li { color: var(--text-muted); }
.prose em { color: var(--text-muted); }
.prose h2 { margin-top: 2.2rem; }

.features { border-top: 1px solid var(--gold-muted); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.feature-card {
    background: var(--card-bg);
    padding: 1.7rem 1.6rem;
    border-radius: 16px;
    border: 1px solid var(--gold-muted);
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 133, 0.45);
    background: rgba(26, 65, 49, 0.42);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.feature-card h3 { margin: 0 0 0.6rem; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--text-muted); }

.promo { text-align: center; border-top: 1px solid var(--gold-muted); }
.promo-frame {
    max-width: 920px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--gold-muted);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.promo-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 133, 0.4);
    box-shadow: 0 28px 70px rgba(255, 215, 133, 0.08);
}
.promo-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }

.app-preview { text-align: center; border-top: 1px solid var(--gold-muted); }
.app-icon {
    width: min(180px, 46vw);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.45s var(--ease);
}
.app-icon:hover { transform: scale(1.04) rotate(-1.5deg); }
.app-preview .btn-group { margin-top: 1.6rem; }

.page-header {
    text-align: center;
    padding: 4.2rem 1.5rem 3.2rem;
    border-bottom: 1px solid var(--gold-muted);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(26, 65, 49, 0.55) 0%, transparent 55%),
        var(--bg);
}
.page-header img { width: min(220px, 52vw); margin: 0 auto 1.2rem; display: block; }
.page-header p { color: var(--text-muted); margin: 0.75rem auto 0; max-width: 540px; }

.info-box,
.highlight-box {
    background: var(--card-bg);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--gold-muted);
    border-left: 4px solid var(--gold);
    margin: 2rem 0;
    border-radius: 0 14px 14px 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.info-box:hover,
.highlight-box:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.highlight-box { background: var(--gold-muted); }
.highlight-box p { color: var(--white); }

.site-footer {
    background: var(--bg);
    color: var(--text-muted);
    padding: 3.2rem 2rem 1.5rem;
    font-size: 0.92rem;
    border-top: 1px solid var(--gold-muted);
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}
.footer-brand img { height: 76px; width: auto; margin-bottom: 0.75rem; display: block; }
.footer-col h4 { margin: 0 0 0.7rem; }
.footer-col p, .footer-col a { display: block; margin: 0.35rem 0; }
.footer-legal {
    border-top: 1px solid var(--gold-muted);
    margin: 2rem auto 0;
    padding-top: 1.4rem;
    text-align: center;
    max-width: 1100px;
}
.footer-legal p { margin: 0.3rem 0; }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: rise 0.8s var(--ease) forwards;
}
.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }
.reveal-d4 { animation-delay: 0.32s; }
.reveal-d5 { animation-delay: 0.4s; }

@keyframes rise {
    to { opacity: 1; transform: none; }
}
@keyframes float-logo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 860px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .site-header { padding: 0.75rem 1rem; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        background: rgba(4, 15, 13, 0.97);
        border-bottom: 1px solid var(--gold-muted);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { margin: 0.15rem 0; }
    .hero { min-height: auto; padding: 3.2rem 1.2rem 3.6rem; }
    .footer-content { grid-template-columns: 1fr; }
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor .btn { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal { opacity: 1; transform: none; }
    body.has-custom-cursor,
    body.has-custom-cursor a { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
}
