:root {
    --theme-primary: #e30613;
    --theme-text: #ffffff;
    --theme-background: #0d0d0d;
    --theme-muted: #666666;
    --theme-surface: #1a1a1a;
    --theme-border: rgba(255, 255, 255, 0.12);
    --theme-shadow: rgba(0, 0, 0, 0.35);
    --theme-glow: rgba(227, 6, 19, 0.35);
}

body[data-theme="red"] {
    --theme-primary: #e30613;
    --theme-text: #ffffff;
    --theme-background: #0d0d0d;
    --theme-muted: #666666;
    --theme-surface: #1a1a1a;
    --theme-glow: rgba(227, 6, 19, 0.35);
}

body[data-theme="blue"] {
    --theme-primary: #007bff;
    --theme-text: #ffffff;
    --theme-background: #0b0f1a;
    --theme-muted: #4b88ff;
    --theme-surface: #1e293b;
    --theme-glow: rgba(0, 123, 255, 0.32);
}

body[data-theme="green"] {
    --theme-primary: #39ff14;
    --theme-text: #ffffff;
    --theme-background: #0a0a0a;
    --theme-muted: #2e2e2e;
    --theme-surface: #1a2e1a;
    --theme-glow: rgba(57, 255, 20, 0.3);
}

body[data-theme="purple"] {
    --theme-primary: #8a2be2;
    --theme-text: #ffffff;
    --theme-background: #0b0b0b;
    --theme-muted: #4a4a4a;
    --theme-surface: #1b1030;
    --theme-glow: rgba(138, 43, 226, 0.35);
}

body[data-theme="orange"] {
    --theme-primary: #ff4500;
    --theme-text: #ffd700;
    --theme-background: #0d0d0d;
    --theme-muted: #ff8c00;
    --theme-surface: #4a1c00;
    --theme-glow: rgba(255, 69, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--theme-text);
    background:
        radial-gradient(circle at top, var(--theme-glow) 0%, rgba(0, 0, 0, 0) 32%),
        linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-background) 48%, #050505 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: background 240ms ease, color 240ms ease;
}

a {
    color: inherit;
}

.site-header {
    padding: 1rem 0;
    background: #000000;
    border-bottom: 1px solid transparent;
    transition: padding 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.is-scrolled .site-header {
    padding: 0.35rem 0;
    background: #000000;
    border-color: var(--theme-border);
    box-shadow: 0 12px 30px var(--theme-shadow);
}

.navbar {
    padding: 0;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    min-height: 3.75rem;
}

.brand-logo {
    width: auto;
    height: 175px;
    object-fit: contain;
    transition: height 220ms ease;
}

body.is-scrolled .brand-logo {
    height: 50px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.08em;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--theme-primary);
}

.theme-switcher {
    min-width: 180px;
}

.form-select {
    color: var(--theme-text);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--theme-border);
    box-shadow: none;
}

.form-select:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 0.25rem var(--theme-glow);
}

.hero-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
}

.hero-card,
.feature-card,
.updates-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--theme-border);
    box-shadow: 0 24px 60px var(--theme-shadow);
}

.hero-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
}

.eyebrow,
.feature-kicker {
    color: var(--theme-primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-copy,
.section-copy,
.feature-card p,
.updates-panel p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.btn-brand {
    color: #fff;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

body[data-theme="green"] .btn-brand {
    color: #071106;
}

body[data-theme="orange"] .btn-brand {
    color: #1f1200;
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px var(--theme-glow);
}

body[data-theme="green"] .btn-brand:hover,
body[data-theme="green"] .btn-brand:focus {
    color: #071106;
}

body[data-theme="orange"] .btn-brand:hover,
body[data-theme="orange"] .btn-brand:focus {
    color: #1f1200;
}

.btn-outline-brand {
    color: var(--theme-text);
    border-color: var(--theme-border);
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: var(--theme-primary);
    border-color: var(--theme-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

.feature-card,
.updates-panel {
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
}

.palette-chip {
    padding: 1rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--theme-border);
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--theme-text);
    font-weight: 600;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.palette-chip:hover,
.palette-chip:focus,
.palette-chip.is-active {
    color: var(--theme-primary);
    border-color: var(--theme-primary);
    box-shadow: 0 12px 30px var(--theme-glow);
    transform: translateY(-2px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border-radius: 999px;
    color: var(--theme-text);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--theme-border);
    font-weight: 600;
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--theme-primary);
    box-shadow: 0 0 0 0.35rem var(--theme-glow);
}

.section-heading {
    max-width: 42rem;
}

@media (min-width: 768px) {
    .hero-card {
        padding: 3rem;
    }

    .hero-copy {
        max-width: 44rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1rem;
        background-color: #000000;
        border: 1px solid var(--theme-border);
    }

    .theme-switcher {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 7rem;
    }

    .brand-logo {
        height: 58px;
    }

    body.is-scrolled .brand-logo {
        height: 44px;
    }

    .hero-card {
        padding: 1.5rem 1rem;
    }

    #comingSoonMessage {
        font-size: 2rem;
    }
}
