:root {
    --gradient-primary: linear-gradient(135deg, #5DADE2, #764ba2);
    --gradient-accent: linear-gradient(135deg, #764ba2, #5DADE2);
    --glow-blue: rgba(93, 173, 226, 0.4);
    --glow-purple: rgba(118, 75, 162, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #0a0a0f;
    color: #f2f5fa;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ANIMATED BACKGROUND - Floating Orbs
   ============================================ */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0a0a0f;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #5DADE2 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: orbFloat1 18s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #764ba2 0%, transparent 70%);
    top: 50%;
    right: -10%;
    animation: orbFloat2 22s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #764ba2 0%, transparent 70%);
    bottom: -5%;
    left: 30%;
    opacity: 0.3;
    animation: orbFloat3 25s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, 60px) scale(1.1);
    }

    66% {
        transform: translate(-40px, 30px) scale(0.95);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, -80px) scale(0.9);
    }

    66% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, -60px) scale(1.15);
    }
}

/* Noise overlay for texture */
.bg-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: padding 0.35s var(--ease-lift),
        background 0.35s,
        backdrop-filter 0.35s,
        -webkit-backdrop-filter 0.35s,
        border-color 0.35s;
}

.nav.scrolled {
    padding: 12px 40px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-logo-text {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-ai {
    font-size: 0.45em;
    font-weight: 800;
    color: var(--primary);
    margin-left: 2px;
    display: inline-block;
    position: relative;
    top: -0.75em;
    line-height: 1;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #f2f5fa;
}

.nav-cta {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #f2f5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
    background: rgba(93, 173, 226, 0.15);
    border-color: rgba(93, 173, 226, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 40px 56px;
    text-align: center;
}

/* Soft radial glow behind the hero copy so it isn't floating in pure black. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 45%, rgba(118, 75, 162, 0.12), transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 55%, rgba(93, 173, 226, 0.10), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Staggered entrance animations */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-ctas,
.hero-visual {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    animation-delay: 0.2s;
}

.hero-title {
    animation-delay: 0.4s;
}

.hero-subtitle {
    animation-delay: 0.6s;
}

.hero-ctas {
    animation-delay: 0.8s;
}

.hero-visual {
    animation-delay: 1s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(93, 173, 226, 0.08);
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 100px;
    color: #5DADE2;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.hero-badge strong {
    color: #f2f5fa;
    font-weight: 700;
    margin: 0 2px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #5DADE2;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: clamp(2.75rem, 7.2vw, 5.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    max-width: 14ch;
}

.hero-title-line {
    display: block;
    padding-bottom: 0.12em;
}

.hero-title .gradient {
    color: var(--primary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 540px;
    margin: 0 auto 32px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-ctas.has-login-alert {
    margin-bottom: 18px;
}

.login-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto 62px;
    padding: 12px 16px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.08);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    /* Solid Arctic Signal Blue — same primary action as the dashboard, not the
       brand identity gradient (that's reserved for the logo). */
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s var(--ease-lift), box-shadow 0.25s var(--ease-lift), background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(93, 173, 226, 0.28);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #f2f5fa;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s var(--ease-lift), border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
    border-color: rgba(93, 173, 226, 0.5);
    background: rgba(93, 173, 226, 0.05);
    transform: translateY(-3px);
}

/* Floating bot visual */
.hero-visual {
    position: relative;
    width: 280px;
    height: 280px;
}

.hero-visual-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(93, 173, 226, 0.15);
}

.hero-visual-ring:nth-child(2) {
    inset: -20px;
    border-color: rgba(118, 75, 162, 0.1);
}

.hero-visual-ring:nth-child(3) {
    inset: -40px;
    border-color: rgba(224, 64, 251, 0.06);
}

/* Orbit containers that rotate and carry the dots */
.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    pointer-events: none;
}

.hero-orbit-1 {
    width: 280px;
    height: 280px;
    margin-left: -140px;
    margin-top: -140px;
    animation: orbitRotate 20s linear infinite;
}

.hero-orbit-2 {
    width: 320px;
    height: 320px;
    margin-left: -160px;
    margin-top: -160px;
    animation: orbitRotate 30s linear infinite reverse;
}

.hero-orbit-3 {
    width: 360px;
    height: 360px;
    margin-left: -180px;
    margin-top: -180px;
    animation: orbitRotate 40s linear infinite;
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-visual-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #5DADE2;
    border-radius: 50%;
    box-shadow: 0 0 12px var(--glow-blue);
    transform: translate(-50%, -50%);
}

/* Dots positioned on their orbits */
.hero-orbit-1 .hero-visual-dot {
    top: 0;
    left: 50%;
}

.hero-orbit-2 .hero-visual-dot {
    top: 50%;
    left: 100%;
    background: #764ba2;
    box-shadow: 0 0 12px rgba(118, 75, 162, 0.45);
}

.hero-orbit-3 .hero-visual-dot:first-child {
    top: 50%;
    left: 0;
}

.hero-orbit-3 .hero-visual-dot:last-child {
    top: 100%;
    left: 50%;
    background: #764ba2;
    box-shadow: 0 0 12px var(--glow-purple);
}

.hero-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(93, 173, 226, 0.3);
    box-shadow: 0 0 40px rgba(93, 173, 226, 0.25);
    animation: avatarFloat 4s ease-in-out infinite;
}

@keyframes avatarFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-12px);
    }
}


/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.marquee-item i {
    color: rgba(93, 173, 226, 0.4);
}

/* ============================================
   SECTIONS - Shared
   ============================================ */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 40px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

html:not(.dark) .section-label::before {
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 500px;
    line-height: 1.7;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-delay-4 {
    transition-delay: 0.6s;
}

.reveal-delay-5 {
    transition-delay: 0.75s;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-header {
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Per-card accent colors */
.feature-card:nth-child(1) {
    --card-accent: 93, 173, 226;
}

.feature-card:nth-child(2) {
    --card-accent: 239, 68, 68;
}

.feature-card:nth-child(3) {
    --card-accent: 139, 92, 246;
}

.feature-card {
    position: relative;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--card-accent), 0.06), transparent 40%);
    border: none;
    border-radius: 20px;
    padding: 48px 32px;
    transition: transform 0.28s var(--ease-lift), box-shadow 0.28s var(--ease-lift);
    overflow: hidden;
}

/* Radial glow from top - uses card accent color */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--card-accent), 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.28s;
}

/* Diagonal shine sweep */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60px;
    height: 200%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.04),
            transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: none;
}

.feature-card:hover::after {
    animation: shineSwipe 0.7s ease forwards;
}

@keyframes shineSwipe {
    to {
        left: 150%;
    }
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Icon with per-card gradient and hover glow */
.feature-icon {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #f2f5fa;
    margin-bottom: 24px;
    transition: transform 0.2s var(--ease-lift), box-shadow 0.2s;
    background: linear-gradient(135deg, rgba(var(--card-accent), 1), rgba(var(--card-accent), 0.7));
}

.feature-card:hover .feature-icon {
    box-shadow: 0 0 32px rgba(var(--card-accent), 0.4);
    transform: scale(1.08);
}

/* Subtle pulse ring around icon on hover */
.feature-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 2px solid rgba(var(--card-accent), 0);
    transition: border-color 0.3s;
}

.feature-card:hover .feature-icon::after {
    border-color: rgba(var(--card-accent), 0.25);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f2f5fa;
    transition: color 0.3s;
}

.feature-card:hover h3 {
    color: rgba(var(--card-accent), 1);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(180deg, transparent, rgba(93, 173, 226, 0.03), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: border-color 0.4s, background 0.4s;
}

.stat-card:hover {
    border-color: rgba(93, 173, 226, 0.15);
    background: rgba(93, 173, 226, 0.03);
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Stat Card Visual Elements */
.stat-visual {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* --- Uptime Progress Ring --- */
.uptime-ring {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.uptime-ring .ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 5;
}

.uptime-ring .ring-progress {
    fill: none;
    stroke: url(#uptimeGrad);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
}

.uptime-ring .ring-glow {
    fill: none;
    stroke: url(#uptimeGrad);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
    opacity: 0.25;
    filter: blur(4px);
}

/* --- Clock Animation --- */
.clock-visual {
    width: 72px;
    height: 72px;
}

.clock-svg {
    width: 100%;
    height: 100%;
}

.clock-face {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 2;
}

.clock-tick {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
    stroke-linecap: round;
}

.clock-center {
    fill: url(#clockGrad);
}

.clock-hand-hour,
.clock-hand-minute {
    stroke-linecap: round;
    transform-origin: 32px 32px;
}

.clock-hand-hour {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 2.5;
}

.clock-hand-minute {
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
}

/* --- Server Icons --- */
.server-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.server-pip {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0) translateY(10px);
    font-size: 0.8125rem;
    color: white;
}

.server-pip:nth-child(1) {
    background: linear-gradient(135deg, #5DADE2, #764ba2);
}

.server-pip:nth-child(2) {
    background: linear-gradient(135deg, #5DADE2, #3498db);
}

.server-pip:nth-child(3) {
    background: linear-gradient(135deg, #10b981, #34d399);
}

/* --- User Avatars --- */
.user-bubbles {
    display: flex;
    align-items: center;
}

.user-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(10, 10, 15, 0.95);
    margin-left: -8px;
    opacity: 0;
    transform: scale(0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: white;
}

.user-bubble:first-child {
    margin-left: 0;
}

.user-bubble:nth-child(1) {
    background: linear-gradient(135deg, #764ba2, #5DADE2);
}

.user-bubble:nth-child(2) {
    background: linear-gradient(135deg, #5DADE2, #85C1E9);
}

.user-bubble:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.user-bubble:nth-child(4) {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.user-bubble:nth-child(5) {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.06);
}

/* --- Live icon cards (Commands / AI) --- */
.live-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.commands-icon-wrap {
    background: linear-gradient(135deg, rgba(93, 173, 226, 0.14), rgba(118, 75, 162, 0.14));
    border: 1px solid rgba(93, 173, 226, 0.18);
}

.ai-icon-wrap {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.14), rgba(16, 185, 129, 0.14));
    border: 1px solid rgba(118, 75, 162, 0.18);
}

.live-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.ai-icon-wrap .live-icon {
    color: #a78bfa;
}

.live-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* --- Scroll-driven stat card entrance --- */
.stat-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-lift), transform 0.65s var(--ease-lift);
}

.stat-card.stat-entered {
    opacity: 1;
    transform: none;
}

/* --- Why Icon Scroll Animation --- */
.why-card .why-icon {
    opacity: 0;
    transform: scale(0.5);
}

@keyframes iconPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.why-card.icon-animated .why-icon {
    animation: iconPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.why-card:nth-child(2).icon-animated .why-icon {
    animation-delay: 0.15s;
}

.why-card:nth-child(3).icon-animated .why-icon {
    animation-delay: 0.3s;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
}

.cta-box {
    position: relative;
    padding: 80px 60px;
    background: rgba(93, 173, 226, 0.04);
    border: 1px solid rgba(93, 173, 226, 0.1);
    border-radius: 32px;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(93, 173, 226, 0.06), transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box .section-title {
    margin-bottom: 16px;
}

.cta-box .section-desc {
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 16px;
}

@media (min-width: 640px) {
    .footer-container {
        padding: 48px 24px;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 48px 32px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col-brand {
    grid-column: span 2 / span 2;
}

.footer-wordmark {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #f2f5fa;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.footer-wordmark .gradient-dot {
    color: var(--primary);
}

.footer-tagline {
    margin-top: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 20rem;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.footer-social {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s, border-color 0.2s;
}

.footer-social:hover {
    color: #f2f5fa;
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-social svg {
    width: 14px;
    height: 14px;
}

.footer-col-label {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    display: block;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #f2f5fa;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
}

.footer-meta .mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    color: rgba(255, 255, 255, 0.45);
}

.footer-meta .dot {
    color: rgba(255, 255, 255, 0.2);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
}

.footer-legal a {
    /* Match the mono copyright beside it so the bottom bar reads as one row. */
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #f2f5fa;
}

/* ============================================
   COOKIE BANNER - Floating Card
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000;
    transform: translateY(120%);
    transition: transform 0.4s var(--ease-lift);
    pointer-events: none;
}

.cookie-banner.show {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner.show .cookie-banner-inner {
    pointer-events: auto;
}

.cookie-banner-inner {
    max-width: 400px;
    margin: 0 0 24px 24px;
    padding: 28px;
    background: rgba(16, 16, 24, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cookie-header i {
    font-size: 1.25rem;
    color: #5DADE2;
}

.cookie-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f2f5fa;
}

.cookie-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.cookie-text a {
    color: #5DADE2;
    text-decoration: none;
    font-weight: 600;
}

.cookie-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cookie-list li {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-list li i {
    color: rgba(93, 173, 226, 0.6);
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s, transform 0.2s var(--ease-lift);
    border: none;
    text-align: center;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-primary {
    background: var(--primary);
    color: #fff;
}

.cookie-btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    counter-reset: step;
    position: relative;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 48px 32px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: transform 0.28s var(--ease-lift), border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.step-card:hover {
    border-color: rgba(93, 173, 226, 0.2);
    background: rgba(93, 173, 226, 0.03);
    transform: translateY(-6px);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.25;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    /* Match the dashboard's icon-tile language: subtle blue tint + blue glyph,
       flat at rest — not the brand identity gradient. */
    color: var(--primary);
    margin: 0 auto 24px;
    background: linear-gradient(160deg, rgba(93, 173, 226, 0.14), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(93, 173, 226, 0.22);
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f2f5fa;
}

.step-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   BENTO FEATURES GRID
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    margin-top: 64px;
}

.bento-card {
    position: relative;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--bento-accent), 0.04), transparent 40%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    overflow: hidden;
    transition: transform 0.28s var(--ease-lift), border-color 0.2s, box-shadow 0.28s var(--ease-lift);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--bento-accent), 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.28s;
}

.bento-card::after {
    display: none;
}

.bento-card:hover {
    border-color: rgba(var(--bento-accent), 0.18);
    transform: translateY(-3px);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card.span-2 {
    grid-column: span 2;
}

.bento-card:nth-child(1) {
    --bento-accent: 93, 173, 226;
}

.bento-card:nth-child(2) {
    --bento-accent: 239, 68, 68;
}

.bento-card:nth-child(3) {
    --bento-accent: 16, 185, 129;
}

.bento-card:nth-child(4) {
    --bento-accent: 139, 92, 246;
}

.bento-card:nth-child(5) {
    --bento-accent: 245, 158, 11;
}

.bento-card:nth-child(6) {
    --bento-accent: 236, 72, 153;
}

.bento-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #f2f5fa;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(var(--bento-accent), 1), rgba(var(--bento-accent), 0.6));
    transition: transform 0.2s var(--ease-lift), box-shadow 0.2s;
}

.bento-card:hover .bento-icon {
    box-shadow: 0 0 16px rgba(var(--bento-accent), 0.22);
    transform: scale(1.08);
}

.bento-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f2f5fa;
    position: relative;
}

.bento-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
    line-height: 1.7;
    position: relative;
}

.bento-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(var(--bento-accent), 0.1);
    color: rgba(var(--bento-accent), 1);
    border: 1px solid rgba(var(--bento-accent), 0.15);
    position: relative;
}

/* Premium tag always uses amber — consistent aspirational signal regardless of card accent */
.bento-tag--premium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
}

/* ============================================
   COMMAND SHOWCASE
   ============================================ */
.showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 64px;
}

.showcase-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.showcase-text p {
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.showcase-feat i {
    color: #10b981;
    font-size: 0.75rem;
}

.discord-window {
    background: #1e1f22;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.discord-titlebar {
    padding: 12px 16px;
    background: #2b2d31;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.discord-dot:nth-child(1) {
    background: #ed6a5e;
}

.discord-dot:nth-child(2) {
    background: #f4bf4f;
}

.discord-dot:nth-child(3) {
    background: #62c554;
}

.discord-channel {
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    font-weight: 600;
}

.discord-channel::before {
    content: '#';
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.3);
}

.discord-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    height: 380px;
    overflow: hidden;
}

.discord-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.discord-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #f2f5fa;
}

.discord-msg-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.discord-msg-body {
    flex: 1;
}

.discord-msg-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.discord-msg-name .app-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.5625rem;
    font-weight: 700;
    background: #5865F2;
    color: #f2f5fa;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.02em;
}

.discord-msg-name .app-tag svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.discord-msg-content {
    color: #dbdee1;
    font-size: 0.875rem;
    line-height: 1.5;
}

.discord-msg-content .slash-cmd {
    color: #5865F2;
    background: rgba(88, 101, 242, 0.15);
    padding: 0 3px;
    border-radius: 3px;
    font-weight: 500;
}

.discord-embed {
    margin-top: 8px;
    padding: 12px 16px;
    background: #2b2d31;
    border-radius: 8px;
    border: 1px solid rgba(93, 173, 226, 0.3);
    max-width: 420px;
}

.discord-embed-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #5DADE2;
    margin-bottom: 10px;
}

.discord-embed-desc {
    font-size: 0.8125rem;
    color: #b5bac1;
    line-height: 1.5;
}

.discord-embed-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.discord-embed-field {
    font-size: 0.8125rem;
}

.discord-embed-field-name {
    color: #b5bac1;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.discord-embed-field-value {
    color: #dbdee1;
    font-weight: 400;
}

.discord-embed-fields-inline {
    display: flex;
    gap: 16px;
}

.discord-embed-fields-inline .discord-embed-field {
    flex: 1;
}

.discord-embed-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.6875rem;
    color: #a3a6aa;
}

/* Animated chat demo */
.discord-msg {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease-lift), transform 0.4s var(--ease-lift);
}

.discord-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Discord typing status bar */
.discord-typing-bar {
    padding: 0 16px;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #dbdee1;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.15s;
}

.discord-typing-bar.visible {
    opacity: 1;
}

.discord-typing-bar .typing-dots {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    margin-right: 2px;
}

.discord-typing-bar .typing-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #dbdee1;
    animation: typingBounce 1.2s ease-in-out infinite;
}

.discord-typing-bar .typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.discord-typing-bar .typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}

/* Discord input bar */
.discord-input-bar {
    padding: 0 16px 16px;
}

.discord-input-wrapper {
    background: #383a40;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}

.discord-input-text {
    flex: 1;
    color: #dbdee1;
    font-size: 0.9375rem;
    line-height: 1.375;
    min-height: 1.375em;
}

.discord-input-placeholder {
    color: #6d6f78;
    font-size: 0.9375rem;
}

.discord-input-icons {
    display: flex;
    gap: 10px;
    margin-left: 8px;
    color: #b5bac1;
    font-size: 1.1rem;
    opacity: 0.5;
    flex-shrink: 0;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #dbdee1;
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ============================================
   WHY BESTIEBOT
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.why-card {
    text-align: center;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: transform 0.28s var(--ease-lift), border-color 0.2s, background 0.2s;
}

.why-card:hover {
    border-color: rgba(93, 173, 226, 0.2);
    background: rgba(93, 173, 226, 0.03);
    transform: translateY(-6px);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px;
    background: rgba(93, 173, 226, 0.08);
    color: #5DADE2;
    border: 1px solid rgba(93, 173, 226, 0.12);
    transition: background 0.2s, box-shadow 0.2s;
}

.why-card:hover .why-icon {
    box-shadow: 0 0 28px rgba(93, 173, 226, 0.25);
    background: rgba(93, 173, 226, 0.12);
}

.why-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f2f5fa;
}

.why-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.span-2 {
        grid-column: span 2;
    }

    .showcase-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
    }

    .nav.scrolled {
        padding: 12px 20px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-link {
        display: none;
    }

    .hero {
        padding: 80px 20px 48px;
    }

    .hero-title {
        margin-bottom: 18px;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }

    .hero-visual {
        width: 200px;
        height: 200px;
    }

    .hero-avatar {
        width: 80px;
        height: 80px;
    }

    .hero-orbit-1,
    .hero-orbit-2,
    .hero-orbit-3,
    .hero-visual-ring {
        display: none;
    }

    .section {
        padding: 80px 20px;
    }

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

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

    .cta-box {
        padding: 48px 24px;
        border-radius: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 16px;
    }

    .marquee-section {
        padding: 24px 0;
    }

    .cookie-banner-inner {
        max-width: 100%;
        margin: 0 12px 12px;
        padding: 20px;
        border-radius: 16px;
    }

    .cookie-list {
        gap: 4px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .bento-card.span-2 {
        grid-column: span 1;
    }

    .showcase-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LIGHT THEME — matches dashboard brand
   ============================================ */
html:not(.dark) body {
    background: #faf9f7;
    color: #1b1b1b;
}

html:not(.dark) .bg-canvas {
    background: #faf9f7;
}

html:not(.dark) .orb {
    opacity: 0.22;
}

html:not(.dark) .orb-3 {
    opacity: 0.15;
}

html:not(.dark) .bg-canvas::after {
    opacity: 0.25;
}

html:not(.dark) .nav.scrolled {
    background: rgba(250, 249, 247, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) .nav-link {
    color: rgba(0, 0, 0, 0.6);
}

html:not(.dark) .nav-link:hover {
    color: #1b1b1b;
}

html:not(.dark) .nav-cta {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1b1b1b;
}

html:not(.dark) .nav-cta:hover {
    background: rgba(93, 173, 226, 0.12);
    border-color: rgba(93, 173, 226, 0.4);
}

html:not(.dark) .hero-subtitle {
    color: rgba(0, 0, 0, 0.55);
}

html:not(.dark) .btn-outline {
    color: #1b1b1b;
    border-color: rgba(0, 0, 0, 0.15);
}

/* Generic white-on-dark → black-on-light flips */
html:not(.dark) [style*="color: rgba(255"],
html:not(.dark) .section-label {
    color: rgba(0, 0, 0, 0.5);
}

/* Card / surface overrides by common patterns */
html:not(.dark) .feature-card,
html:not(.dark) .pricing-card,
html:not(.dark) .faq-item,
html:not(.dark) .testimonial-card,
html:not(.dark) .stat-card,
html:not(.dark) .command-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: #1b1b1b;
}

html:not(.dark) .feature-card:hover,
html:not(.dark) .pricing-card:hover,
html:not(.dark) .testimonial-card:hover,
html:not(.dark) .command-card:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(93, 173, 226, 0.35);
}

html:not(.dark) .section-divider,
html:not(.dark) .features,
html:not(.dark) .pricing,
html:not(.dark) .faq,
html:not(.dark) .testimonials,
html:not(.dark) .cta-section,
html:not(.dark) .footer {
    border-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) .footer {
    border-top-color: rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.02);
}

html:not(.dark) .footer-wordmark {
    color: #1b1b1b;
}

html:not(.dark) .footer-tagline {
    color: rgba(0, 0, 0, 0.55);
}

html:not(.dark) .footer-social {
    border-color: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.6);
}

html:not(.dark) .footer-social:hover {
    color: #1b1b1b;
    border-color: rgba(0, 0, 0, 0.30);
}

html:not(.dark) .footer-col-label {
    color: rgba(0, 0, 0, 0.4);
}

html:not(.dark) .footer-list a {
    color: rgba(0, 0, 0, 0.7);
}

html:not(.dark) .footer-list a:hover {
    color: #1b1b1b;
}

html:not(.dark) .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.08);
}

html:not(.dark) .footer-meta .mono {
    color: rgba(0, 0, 0, 0.45);
}

html:not(.dark) .footer-meta .dot {
    color: rgba(0, 0, 0, 0.2);
}

html:not(.dark) .footer-legal a {
    color: rgba(0, 0, 0, 0.5);
}

html:not(.dark) .footer-legal a:hover {
    color: #1b1b1b;
}

html:not(.dark) h1,
html:not(.dark) h2,
html:not(.dark) h3,
html:not(.dark) h4 {
    color: #1b1b1b;
}

html:not(.dark) p {
    color: rgba(0, 0, 0, 0.7);
}

html:not(.dark) .cookie-banner {
    background: rgba(250, 249, 247, 0.96);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1b1b1b;
}

/* ============================================
   ACCESSIBILITY — Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    /* Stop all ambient continuous loops */
    .orb,
    .hero-orbit-1,
    .hero-orbit-2,
    .hero-orbit-3 {
        animation: none !important;
    }

    .hero-avatar {
        animation: none !important;
        transform: translate(-50%, -50%) !important;
    }

    .hero-badge-dot {
        animation: none !important;
        opacity: 1;
        transform: scale(1);
    }

    .marquee-track {
        animation: none !important;
    }

    .discord-typing-bar .typing-dot {
        animation: none !important;
        opacity: 0.5;
    }

    /* Hero entrance — reveal immediately */
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-ctas,
    .hero-visual {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Scroll-reveal — no movement, keep opacity fade */
    .reveal {
        transition: opacity 0.3s !important;
        transform: none !important;
    }

    /* Stat cards — skip entrance */
    .stat-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Why icons — appear immediately */
    .why-card .why-icon {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .why-card.icon-animated .why-icon {
        animation: none !important;
    }

    /* Discord chat messages — appear instantly */
    .discord-msg {
        transition: none !important;
    }
}

/* Whats New */

.updates-section {
    position: relative;
    z-index: 2;
}

.updates-header {
    text-align: center;
    margin-bottom: 48px;
}

.updates-grid {
    display: grid;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.update-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s, transform 0.3s var(--ease-lift), background 0.2s;
    text-decoration: none;
    color: inherit;
}

.update-card:hover {
    border-color: rgba(93, 173, 226, 0.4);
    background: rgba(93, 173, 226, 0.04);
    transform: translateY(-2px);
}

html:not(.dark) .update-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

html:not(.dark) .update-card:hover {
    background: rgba(93, 173, 226, 0.06);
    border-color: rgba(93, 173, 226, 0.35);
}

.update-version {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #5DADE2;
    min-width: 56px;
}

.update-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.update-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.update-date {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.5;
}

.update-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(93, 173, 226, 0.12);
    color: #5DADE2;
    border: 1px solid rgba(93, 173, 226, 0.25);
    white-space: nowrap;
}

.update-tag.improved {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.25);
}

.update-tag.fixed {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.25);
}

.updates-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 32px auto 0;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.2s, color 0.2s;
}

.updates-cta:hover {
    border-color: #5DADE2;
    color: #5DADE2;
}

html:not(.dark) .updates-cta {
    border-color: rgba(0, 0, 0, 0.12);
}

.updates-cta-wrap {
    text-align: center;
}

@media (max-width: 640px) {
    .update-card {
        grid-template-columns: auto 1fr;
        gap: 14px;
        padding: 16px 18px;
    }

    .update-tag {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 4px;
    }
}
