/* Global Design Tokens & Setup */
:root {
    --bg-dark: #030306;
    --accent-purple: #bc34fa;
    --accent-purple-glow: rgba(188, 52, 250, 0.45);
    --accent-green: #00ff88;
    --accent-green-glow: rgba(0, 255, 136, 0.45);
    --accent-red: #ff3344;
    --accent-red-glow: rgba(255, 51, 68, 0.3);
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --glass-bg: rgba(10, 10, 16, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-glow: rgba(188, 52, 250, 0.2);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Background Particle Canvas */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Deep Space Glowing Flares */
.glow-flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.flare-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.flare-green {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

/* Header & Glassmorphic Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(3, 3, 6, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 10;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    user-select: none;
}

.logo-emoji {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px var(--accent-purple-glow));
    animation: pulseLogo 3s infinite ease-in-out;
}

.highlight-accent {
    color: var(--accent-purple);
    text-shadow: 0 0 15px var(--accent-purple-glow);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    text-decoration: none;
    color: var(--bg-dark);
    background: var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green-glow);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Hero Main Section Grid */
.hero-container {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 5% 60px 5%;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;
    gap: 40px;
    width: 100%;
    align-items: center;
}

/* Left Section: Copy content */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(188, 52, 250, 0.1);
    border: 1px solid rgba(188, 52, 250, 0.2);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 25px;
    box-shadow: inset 0 0 8px rgba(188, 52, 250, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: blink 1.5s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.text-glow-purple {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(188, 52, 250, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, #8210f0 100%);
    color: #fff;
    border: none;
    outline: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(130, 16, 240, 0.35);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-purple-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    outline: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--accent-purple);
    background: rgba(188, 52, 250, 0.05);
    box-shadow: 0 0 15px rgba(188, 52, 250, 0.1);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #030306;
    border: none;
    outline: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
    filter: brightness(1.05);
}

.btn-icon {
    transition: var(--transition-smooth);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px) rotate(-15deg);
}

/* Left Stats Block */
.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-muted) 100%);
    -webkit-background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Centerpiece: Rocket & Rotating HUD */
.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rocket-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* HUD spinning frames */
.hud-outer, .hud-middle, .hud-inner {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hud-outer {
    width: 440px;
    height: 440px;
    border: 2px dashed rgba(188, 52, 250, 0.15);
    border-style: double dashed;
    animation: spinClockwise 45s linear infinite;
    box-shadow: 0 0 30px rgba(188, 52, 250, 0.03);
}

.hud-middle {
    width: 370px;
    height: 370px;
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-dasharray: 10 30;
    animation: spinCounter 30s linear infinite;
}

.hud-inner {
    width: 300px;
    height: 300px;
    border: 1.5px dashed rgba(255, 255, 255, 0.1);
    animation: spinClockwise 15s linear infinite;
}

/* Crosshairs decoration */
.hud-crosshair {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hud-crosshair.horiz {
    width: 480px;
    height: 1px;
}

.hud-crosshair.vert {
    width: 1px;
    height: 480px;
}

/* Technical floating labels */
.hud-data {
    position: absolute;
    font-family: monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    pointer-events: none;
    background: rgba(3, 3, 6, 0.8);
    padding: 2px 6px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 3px;
}

.data-top-left { top: -20px; left: -20px; border-left: 2px solid var(--accent-purple); }
.data-top-right { top: -20px; right: -20px; border-right: 2px solid var(--accent-green); }
.data-bottom-left { bottom: -20px; left: -20px; border-left: 2px solid var(--accent-green); }
.data-bottom-right { bottom: -20px; right: -20px; border-right: 2px solid var(--accent-purple); }

/* Rocket Artwork Container */
.rocket-art-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: visible;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rocket-float-group {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s infinite ease-in-out;
}

.rocket-art {
    width: 120%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 15px 40px rgba(188, 52, 250, 0.35)) drop-shadow(0 25px 80px rgba(0, 255, 136, 0.25));
    transition: var(--transition-smooth);
}

.hero-thruster-flare {
    position: absolute;
    top: 51%; /* Centered over the green fire body of the illustration */
    left: 48%;
    transform: translate(-50%, -50%) rotate(42deg); /* match cohete tilt */
    width: 60px;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.8) 10%, rgba(0, 255, 136, 0.3) 45%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 3;
    opacity: 0.85;
    animation: heroFireFlicker 0.1s infinite alternate ease-in-out;
}

.rocket-shadow {
    position: absolute;
    bottom: -20px;
    width: 140px;
    height: 15px;
    background: radial-gradient(ellipse, rgba(0, 255, 136, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(4px);
    animation: floatShadow 6s infinite ease-in-out;
    pointer-events: none;
}

/* Hover Interactive State for the centerpiece */
.rocket-art-container:hover .rocket-art {
    transform: scale(1.05);
    filter: drop-shadow(0 20px 50px rgba(188, 52, 250, 0.6)) drop-shadow(0 30px 100px rgba(0, 255, 136, 0.5));
}

.rocket-art-container:hover .hero-thruster-flare {
    transform: translate(-50%, -50%) rotate(42deg) scale(1.3);
    opacity: 1;
    filter: blur(6px) drop-shadow(0 0 15px var(--accent-green-glow));
}

@keyframes heroFireFlicker {
    0% { opacity: 0.65; transform: translate(-50%, -50%) rotate(42deg) scale(0.88); }
    100% { opacity: 0.95; transform: translate(-50%, -50%) rotate(42deg) scale(1.12); }
}

.rocket-art-container:hover ~ .hud-middle {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.rocket-art-container:hover ~ .hud-outer {
    border-color: var(--accent-purple);
    box-shadow: 0 0 35px rgba(188, 52, 250, 0.2);
}

/* Right Section: Glass Control Dashboard */
.hero-right {
    display: flex;
    justify-content: flex-end;
}

.dashboard-panel {
    width: 100%;
    max-width: 380px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.dashboard-panel:hover {
    border-color: var(--glass-border-glow);
    box-shadow: 0 25px 60px rgba(188, 52, 250, 0.1), 0 20px 50px rgba(0,0,0,0.5);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.panel-tag {
    font-family: monospace;
    font-size: 0.65rem;
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.panel-widget {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.panel-widget:last-child {
    margin-bottom: 0;
}

.panel-widget:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
}

.widget-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Hook Writer Widget styling */
.hook-box {
    background: #000000;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    min-height: 70px;
    margin-bottom: 10px;
    color: #eceff4;
    position: relative;
    overflow: hidden;
}

.hook-prompt {
    font-size: 0.65rem;
    color: var(--accent-purple);
    display: block;
    margin-bottom: 4px;
    opacity: 0.7;
}

.hook-typing-container {
    line-height: 1.4;
}

.cursor {
    color: var(--accent-green);
    font-weight: bold;
    animation: blink 0.8s infinite;
}

.widget-action-btn {
    width: 100%;
    background: rgba(188, 52, 250, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(188, 52, 250, 0.2);
    padding: 8px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.widget-action-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 10px rgba(188, 52, 250, 0.3);
}

/* Graph Widget styling */
.status-value {
    color: var(--accent-green);
    font-weight: 700;
}

.svg-graph-container {
    width: 100%;
    margin-top: 10px;
}

.graph-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Feed Widget styling */
.platform-tabs {
    display: flex;
    gap: 6px;
}

.platform-tab {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.platform-tab.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.platform-tab[data-platform="tiktok"].active { color: var(--accent-green); }
.platform-tab[data-platform="instagram"].active { color: var(--accent-purple); }
.platform-tab[data-platform="youtube"].active { color: var(--accent-red); }

.mock-feed-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    transition: var(--transition-smooth);
}

.card-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.avatar {
    width: 28px;
    height: 28px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 0 10px var(--accent-purple-glow);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.user-handle {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.card-caption {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.card-stats {
    display: flex;
    gap: 15px;
    font-size: 0.65rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 6px;
}

/* Footer elements */
.footer {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(3, 3, 6, 0.85);
    border-top: 1px solid var(--glass-border);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    z-index: 10;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.active-val {
    color: var(--accent-green);
    text-shadow: 0 0 8px var(--accent-green-glow);
}

.footer-separator {
    color: rgba(255,255,255,0.1);
}

/* Keyframe Animations */
@keyframes spinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounter {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

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

@keyframes floatShadow {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(0.85); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.4; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pulseLogo {
    0%, 100% { filter: drop-shadow(0 0 4px var(--accent-purple-glow)); }
    50% { filter: drop-shadow(0 0 12px var(--accent-purple-glow)); }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .hero-center {
        grid-column: 2;
        grid-row: 1;
    }
    .hero-right {
        grid-column: 1 / span 2;
        justify-content: center;
        width: 100%;
    }
    .dashboard-panel {
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .panel-header {
        grid-column: 1 / span 2;
    }
    .panel-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-links {
        display: none; /* simple burger toggle could be added, but for now we focus on layout */
    }
    .hero-container {
        padding-top: 100px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-center {
        grid-column: 1;
        grid-row: 2;
        margin: 40px 0;
    }
    .hero-right {
        grid-column: 1;
        grid-row: 3;
    }
    .dashboard-panel {
        grid-template-columns: 1fr;
    }
    .panel-header {
        grid-column: 1;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hud-outer { width: 340px; height: 340px; }
    .hud-middle { width: 290px; height: 290px; }
    .hud-inner { width: 240px; height: 240px; }
    .hud-crosshair.horiz { width: 360px; }
    .hud-crosshair.vert { height: 360px; }
    .rocket-art-container { width: 240px; height: 240px; }
}

/* ==========================================================================
   Catalog Section Styles (Behance PODS inspired)
   ========================================================================== */

.catalog-section {
    padding: 100px 5%;
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
}

.catalog-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.catalog-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Filter Navigation */
.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.filter-btn.active {
    color: var(--bg-dark);
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple-glow);
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* Catalog Card */
.catalog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    position: relative;
    transition: var(--transition-smooth);
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

/* Tech indicator texts */
.card-tech-indicators {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.card-indicator {
    font-family: monospace;
    font-size: 0.6rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.catalog-card[data-category="gastro"] .card-indicator { color: var(--accent-purple); border-color: rgba(188, 52, 250, 0.2); }
.catalog-card[data-category="tech"] .card-indicator { color: var(--accent-green); border-color: rgba(0, 255, 136, 0.2); }
.catalog-card[data-category="services"] .card-indicator { color: #00bfff; border-color: rgba(0, 191, 255, 0.2); }
.catalog-card[data-category="retail"] .card-indicator { color: #ffa500; border-color: rgba(255, 165, 0, 0.2); }

/* Card Image */
.card-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #09090e;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3,3,6,0.3) 0%, rgba(3,3,6,0.85) 100%);
    pointer-events: none;
}

/* Card Body */
.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-purple);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.catalog-card[data-category="tech"] .card-sub { color: var(--accent-green); }
.catalog-card[data-category="services"] .card-sub { color: #00bfff; }
.catalog-card[data-category="retail"] .card-sub { color: #ffa500; }

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

/* Card specs details */
.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.spec-chip {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--text-muted);
}

.spec-chip span {
    font-family: monospace;
    opacity: 0.5;
}

.spec-chip strong {
    color: #fff;
    font-weight: 600;
}

.card-btn {
    width: 100%;
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Card Hover States */
.catalog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(188, 52, 250, 0.25);
    box-shadow: 0 15px 40px rgba(188, 52, 250, 0.08);
}

.catalog-card[data-category="tech"]:hover {
    border-color: rgba(0, 255, 136, 0.25);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.08);
}

.catalog-card:hover .card-image {
    transform: scale(1.05);
}

.catalog-card:hover .card-btn {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-purple-glow);
    font-weight: 700;
}

.catalog-card[data-category="tech"]:hover .card-btn {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-green-glow);
}


/* ==========================================================================
   Details Modal (Holographic Panel UI)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 4, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-glow);
    border-radius: 24px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 35px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 0 12px var(--accent-red-glow);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Modal Visual Preview */
.modal-visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: #09090e;
    display: flex;
    align-items: flex-start;
    height: 100%;
    min-height: 350px;
}

.modal-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.modal-visual-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(188, 52, 250, 0.15));
    pointer-events: none;
}

/* Modal Content Data */
.modal-data {
    display: flex;
    flex-direction: column;
}

.modal-tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--accent-green);
    letter-spacing: 1px;
}

.modal-status-badge {
    font-family: monospace;
    font-size: 0.65rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-green);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.modal-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-purple);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Modal technical specifications */
.modal-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 25px;
}

.modal-spec-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
}

.m-spec-title {
    display: block;
    font-family: monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.m-spec-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

/* Modal Terminal Console mockup */
.modal-terminal {
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 30px;
    overflow: hidden;
}

.terminal-bar {
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.t-dot.red { background-color: var(--accent-red); }
.t-dot.yellow { background-color: #ffcc00; }
.t-dot.green { background-color: var(--accent-green); }

.t-title {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.terminal-body {
    padding: 14px;
    font-size: 0.75rem;
    color: #a3be8c;
    min-height: 80px;
    line-height: 1.4;
}

.t-line {
    margin-bottom: 4px;
}

.t-line.green { color: var(--accent-green); }
.t-line.purple { color: var(--accent-purple); }

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-purple) 0%, #8210f0 100%);
    color: #fff;
    border: none;
    outline: none;
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(188, 52, 250, 0.3);
    transition: var(--transition-smooth);
}

.modal-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-purple-glow);
}

.modal-btn-secondary {
    flex: 1;
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-btn-secondary:hover {
    border-color: var(--accent-purple);
    background: rgba(188, 52, 250, 0.05);
}


/* ==========================================================================
   Responsive Grid Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .modal-visual {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .catalog-section {
        padding: 60px 20px;
    }
    .catalog-title {
        font-size: 2.2rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .modal-content {
        padding: 20px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
}

}

/* ==========================================================================
   Cinematic Rocket Loader Screen Styles
   ========================================================================== */

/* Hide main app content until booted to prevent flashing/overlapping */
.navbar, .hero-container, #particleCanvas, .glow-flare, .catalog-section, .footer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 1s ease-in-out, visibility 1s !important;
}

/* Reveal once booted */
body.booted .navbar, 
body.booted .hero-container, 
body.booted #particleCanvas, 
body.booted .glow-flare, 
body.booted .catalog-section, 
body.booted .footer {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.loader-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #020204 !important;
    display: flex; /* Omit !important to allow inline overrides like display: none */
    justify-content: center !important;
    align-items: center !important;
    z-index: 999999 !important;
    opacity: 1;
    visibility: visible;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), 
                visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 30%, #030306 95%);
    z-index: 2;
    pointer-events: none;
}

.loader-rocket-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    animation: loaderRocketRumble 0.08s infinite alternate ease-in-out;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-thruster-flare {
    position: absolute;
    top: 51%;
    left: 48%;
    transform: translate(-50%, -50%) rotate(42deg);
    width: 80px;
    height: 160px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.85) 15%, rgba(0, 255, 136, 0.35) 45%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
    animation: loaderFireFlicker 0.1s infinite alternate ease-in-out;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

/* Bottom Glass Progress Panel */
.loader-text-panel {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 90%;
    max-width: 440px;
    background: rgba(8, 8, 12, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 30px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-status {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-bracket {
    color: var(--accent-purple);
}

.loader-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-green) 100%);
    box-shadow: 0 0 8px var(--accent-green);
    transition: width 0.1s ease-out;
}

.loader-percentage {
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--accent-green-glow);
    letter-spacing: 1px;
}

/* Launching State Animations */
.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Slide full-screen rocket wallpaper upwards */
.loader-overlay.fade-out .loader-rocket-art {
    animation: none;
    transform: translateY(-100vh);
}

/* Stretch thruster flame down and fade out */
.loader-overlay.fade-out .loader-thruster-flare {
    animation: none;
    transform: translate(-50%, -50%) rotate(42deg) scale(2);
    opacity: 0;
}

/* Slide down status panel */
.loader-overlay.fade-out .loader-text-panel {
    opacity: 0;
    transform: translate(-50%, 40px);
}

/* Keyframes for Loader Engine Rumble */
@keyframes loaderRocketRumble {
    0% { transform: translate(0px, 0px) rotate(-0.1deg); }
    100% { transform: translate(-1px, -1px) rotate(0.1deg); }
}

@keyframes loaderFireFlicker {
    0% { opacity: 0.7; transform: translate(-50%, -50%) rotate(42deg) scale(0.88); }
    100% { opacity: 0.95; transform: translate(-50%, -50%) rotate(42deg) scale(1.12); }
}

/* ==========================================================================
   Services Section (Buzz Lightyear Chest Control Panel)
   ========================================================================== */

.services-section {
    padding: 100px 5%;
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.services-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Control Center Layout */
.buzz-control-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    overflow: visible;
}

/* White Plastic Chest Plate Container */
.buzz-chest-plate {
    position: relative;
    width: 100%;
    max-width: 1100px; /* 50% larger */
    background: rgba(10, 10, 16, 0.75); /* Modern dark glass overlay */
    border: 3.5px solid rgba(255, 255, 255, 0.08); /* Sleek thin border */
    border-radius: 32px;
    padding: 36px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 45px rgba(188, 52, 250, 0.06); /* Subtle purple space flare glow */
    display: grid;
    grid-template-columns: 1.25fr 2fr 1fr;
    gap: 32px;
    align-items: center;
    z-index: 10;
}

/* Neon glow framing border for Buzz Plate */
.buzz-chest-plate::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 31px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
    z-index: -1;
    opacity: 0.18;
    pointer-events: none;
}

/* Buzz Left Column - Oval Buttons stack */
.buzz-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.buzz-button-housing {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    align-items: center;
}

.buzz-rect-btn {
    position: relative;
    width: 100%;
    max-width: 230px; /* larger buttons */
    height: 58px; /* larger buttons */
    border: 3.5px solid #1a1a20;
    border-radius: 14px;
    font-family: monospace;
    font-size: 0.85rem; /* larger font */
    font-weight: 900;
    color: #ffffff;
    text-shadow: 1px 1px 0px #000;
    cursor: pointer;
    overflow: hidden;
    letter-spacing: 0.5px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-shine {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.0) 100%);
    border-radius: 6px 6px 2px 2px;
    pointer-events: none;
}

/* Rectangular Button Specific Colors */
.buzz-red-btn {
    background: linear-gradient(to bottom, #ff4c4c 0%, #cc0000 100%);
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.4), 
                0 5px 0 #800000, 
                0 8px 12px rgba(0, 0, 0, 0.35);
}

.buzz-green-btn {
    background: linear-gradient(to bottom, #39e639 0%, #009900 100%);
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.4), 
                0 5px 0 #005f00, 
                0 8px 12px rgba(0, 0, 0, 0.35);
}

.buzz-blue-btn {
    background: linear-gradient(to bottom, #3da2ff 0%, #005ec4 100%);
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.4), 
                0 5px 0 #003780, 
                0 8px 12px rgba(0, 0, 0, 0.35);
}

/* Button hover glows */
.buzz-rect-btn:hover {
    filter: brightness(1.1);
}

/* Button Active / Pressed State */
.buzz-rect-btn:active, .buzz-rect-btn.pressed {
    transform: translateY(4px) !important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.45), 
                0 1px 0 #151515, 
                0 2px 4px rgba(0,0,0,0.2) !important;
}

.buzz-rect-btn.selected {
    box-shadow: inset 0 2px 2px rgba(255,255,255,0.4), 
                0 5px 0 #151515, 
                0 0 15px var(--accent-green) !important;
    border-color: var(--accent-green);
}

/* Hazard Striping */
.buzz-hazard-stripes {
    height: 18px;
    width: 100%;
    max-width: 230px;
    margin-top: 22px;
    border: 3px solid #1a1a20;
    border-radius: 4px;
    background: repeating-linear-gradient(-45deg, #ffe600, #ffe600 10px, #1a1a20 10px, #1a1a20 20px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Buzz Center Column - LCD Console Screen */
.buzz-center-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.buzz-lcd-screen {
    position: relative;
    background-color: #0b0f0b;
    border: 4.5px solid #33333c;
    border-radius: 16px;
    padding: 22px;
    height: 195px; /* 50% larger */
    overflow: hidden;
    box-shadow: inset 0 6px 18px rgba(0,0,0,0.8), 0 3px 6px rgba(0,0,0,0.1);
}

.lcd-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.05) 0%, transparent 80%),
                repeating-linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 100%, 100% 4px, 100% 100%;
    pointer-events: none;
    z-index: 2;
}

.lcd-header {
    font-family: monospace;
    font-size: 0.6rem;
    font-weight: bold;
    color: var(--accent-green);
    opacity: 0.6;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.lcd-body {
    font-family: monospace;
    color: #00ff66;
    font-size: 1.15rem; /* 50% larger text */
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
    height: 100%;
    overflow-y: auto;
}

.lcd-idle-text {
    color: #00ff66;
    opacity: 0.8;
    animation: blink 2s infinite;
}

.lcd-line {
    margin-bottom: 4px;
}

.lcd-line.accent {
    color: var(--accent-purple);
    text-shadow: 0 0 6px rgba(188, 52, 250, 0.6);
}

/* Auxiliary bottom buttons (Yellow, Cyan, Purple) */
.buzz-aux-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.buzz-aux-btn {
    position: relative;
    flex: 1;
    height: 48px; /* larger buttons */
    border: 3.5px solid #1a1a20;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.85rem; /* larger font */
    font-weight: 900;
    color: #ffffff;
    text-shadow: 1px 1px 0px #000;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.buzz-aux-btn:hover {
    filter: brightness(1.1);
}

.buzz-aux-btn:active, .buzz-aux-btn.pressed {
    transform: translateY(3px) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 
                0 1px 0 #151515 !important;
}

.buzz-aux-btn.selected {
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 
                0 3px 0 #151515, 
                0 0 12px var(--accent-green) !important;
    border-color: var(--accent-green);
}

/* Aux Button Colors */
.buzz-yellow-btn {
    background: linear-gradient(to bottom, #ffca28 0%, #d89e00 100%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 
                0 4px 0 #906c00, 
                0 6px 10px rgba(0, 0, 0, 0.25);
}

.buzz-cyan-btn {
    background: linear-gradient(to bottom, #26c6da 0%, #00838f 100%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 
                0 4px 0 #005662, 
                0 6px 10px rgba(0, 0, 0, 0.25);
}

.buzz-purple-btn {
    background: linear-gradient(to bottom, #ab47bc 0%, #6a1b9a 100%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 
                0 4px 0 #4a0072, 
                0 6px 10px rgba(0, 0, 0, 0.25);
}

/* Buzz Right Column - Big Round Button */
.buzz-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.wing-release-label {
    font-family: monospace;
    font-size: 0.8rem; /* larger font */
    font-weight: 900;
    color: var(--text-muted);
    opacity: 0.8;
    letter-spacing: 0.5px;
    text-align: center;
}

.buzz-round-btn {
    position: relative;
    width: 110px; /* 50% larger round button */
    height: 110px;
    border-radius: 50%;
    border: 4.5px solid #1a1a20;
    background: linear-gradient(to bottom, #ff3333 0%, #b30000 100%);
    box-shadow: inset 0 6px 6px rgba(255, 255, 255, 0.45), 
                0 9px 0 #660000, 
                0 16px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.round-btn-shine {
    position: absolute;
    top: 6px;
    left: 10%;
    width: 80%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.0) 100%);
    border-radius: 40px 40px 10px 10px;
}

.buzz-round-btn:hover {
    filter: brightness(1.1);
}

.buzz-round-btn:active, .buzz-round-btn.pressed {
    transform: translateY(5px);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.5), 
                0 2px 0 #660000,
                0 4px 6px rgba(0, 0, 0, 0.2) !important;
}

.wing-status {
    font-family: monospace;
    font-size: 0.8rem; /* larger font */
    font-weight: bold;
    color: #ff3333;
    letter-spacing: 1px;
}

/* ==========================================================================
   Buzz Lightyear Wings (Interactive Easter Egg)
   ========================================================================== */

.buzz-wing {
    position: absolute;
    top: 12%;
    height: 76%;
    width: 320px; /* larger wing */
    z-index: -1; /* behind chest plate */
    display: flex;
    align-items: center;
    border: 4.5px solid #22222a;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                opacity 0.4s ease;
}

/* Left Wing specific styling */
.left-wing {
    left: 0;
    transform: translateX(0px) scaleX(0);
    transform-origin: right center;
    background: #e6e6ee;
    flex-direction: row-reverse;
}

/* Right Wing specific styling */
.right-wing {
    right: 0;
    transform: translateX(0px) scaleX(0);
    transform-origin: left center;
    background: #e6e6ee;
    flex-direction: row;
}

/* Deploy States */
.buzz-chest-plate.wings-deployed .left-wing {
    transform: translateX(-315px) scaleX(1); /* larger translation */
    opacity: 1;
}

.buzz-chest-plate.wings-deployed .right-wing {
    transform: translateX(315px) scaleX(1); /* larger translation */
    opacity: 1;
}

/* Stripes on Wings */
.wing-stripe {
    height: 100%;
    flex: 1;
}

.wing-stripe.red { background-color: #e60000; flex: 1.5; }
.wing-stripe.white { background-color: #ffffff; flex: 1.5; }
.wing-stripe.blue { background-color: #8a2be2; flex: 5; } /* Purple/Blue accent */

/* Wing tip warning lights */
.wing-tip-light {
    width: 25px;
    height: 25px;
    background-color: #ff3333;
    border: 3px solid #222;
    border-radius: 50%;
    margin: 0 8px;
    box-shadow: 0 0 8px #ff3333;
}

.left-wing .wing-tip-light {
    background-color: #ff3333;
    box-shadow: 0 0 10px #ff3333;
    animation: blink 0.5s infinite;
}

.right-wing .wing-tip-light {
    background-color: #00ff66;
    box-shadow: 0 0 10px #00ff66;
    animation: blink 0.5s infinite alternate;
}

/* Services section mobile adjustments */
@media (max-width: 1100px) {
    /* Hide wing release wings layout if container gets squished on tablet to avoid layout breaks */
    .buzz-wing {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .buzz-chest-plate {
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 20px;
    }
    .buzz-round-btn {
        width: 68px;
        height: 68px;
    }
    .services-title {
        font-size: 2.2rem;
    }
}

/* Mobile HUD scaling adjustments to eliminate horizontal scrolling */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
    .rocket-wrapper {
        width: 280px !important;
        height: 280px !important;
    }
    .hud-outer {
        width: 280px !important;
        height: 280px !important;
    }
    .hud-middle {
        width: 240px !important;
        height: 240px !important;
    }
    .hud-inner {
        width: 200px !important;
        height: 200px !important;
    }
    .hud-crosshair.horiz {
        width: 290px !important;
    }
    .hud-crosshair.vert {
        height: 290px !important;
    }
    .rocket-art-container {
        width: 180px !important;
        height: 180px !important;
    }
    .hero-thruster-flare {
        width: 22px !important;
        height: 70px !important;
    }
    /* Stack buttons vertically to fit smaller phone widths */
    .hero-ctas {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .hero-ctas button, .hero-ctas a {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    /* Wrap stats nicely */
    .stats-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        width: 100% !important;
    }
    /* Stack footer content on small screens */
    .footer {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }
}

/* ==========================================================================
   Footer Legal Links Styles
   ========================================================================== */

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

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px var(--accent-green-glow);
}

/* ==========================================================================
   Cookie Consent Banner Styles (Glassmorphism & Neon)
   ========================================================================== */

.cookie-banner-overlay {
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
    width: 90% !important;
    max-width: 620px !important;
    background: rgba(8, 8, 12, 0.9) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05),
                0 0 30px rgba(0, 255, 136, 0.05) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    z-index: 99999999 !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease !important;
}

.cookie-banner-overlay.hidden {
    transform: translateX(-50%) translateY(120px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 4px 12px;
    width: fit-content;
}

.cookie-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-green-glow);
    animation: blink 1.5s infinite;
}

.cookie-badge span {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.5px;
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.cookie-policy-link {
    color: var(--accent-green);
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.cookie-policy-link:hover {
    color: var(--text-main);
}

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

.cookie-btn {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.btn-accept {
    background-color: var(--accent-green);
    color: #030306;
    font-weight: 900;
}

.btn-accept:hover {
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.btn-reject {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
    color: var(--text-main);
}

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-configure {
    background-color: transparent;
    border-color: transparent;
    color: var(--text-muted);
    text-decoration: underline;
}

.btn-configure:hover {
    color: var(--text-main);
}

/* Preferences Configuration Drawer */
.cookie-preferences-panel {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
}

.cookie-preferences-panel.hidden {
    display: none !important;
}

.pref-item {
    display: flex;
    align-items: center;
}

/* Custom Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-main);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--glass-border);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.checkbox-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #030306;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-checkmark::after {
    display: block;
}

.checkbox-container input:disabled ~ .checkbox-checkmark {
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-save {
    background-color: rgba(188, 52, 250, 0.2);
    border: 1px solid rgba(188, 52, 250, 0.4);
    color: #ffffff;
    width: fit-content;
    margin-top: 5px;
}

.btn-save:hover {
    background-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(188, 52, 250, 0.4);
}

/* ==========================================================================
   Ivy Mascot Floating Chat Widget Styles
   ========================================================================== */

.ivy-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.ivy-chat-bubble {
    position: relative;
    background: rgba(8, 8, 12, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px 16px 2px 16px;
    padding: 12px 16px;
    max-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05),
                0 0 15px rgba(0, 255, 136, 0.03);
    pointer-events: auto;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
    z-index: 10;
}

.ivy-chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    background-color: rgba(8, 8, 12, 0.95);
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    transform: rotate(45deg);
}

.ivy-chat-bubble.hidden {
    opacity: 0 !important;
    transform: scale(0.8) translateY(15px) !important;
    pointer-events: none !important;
}

.ivy-bubble-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
    transition: var(--transition-smooth);
}

.ivy-bubble-close:hover {
    color: #ff4c4c;
}

.ivy-bubble-text {
    font-family: monospace;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-main);
    margin-right: 10px;
}

.ivy-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3.5px solid var(--accent-purple);
    background-color: #0c0c14;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(188, 52, 250, 0.45), 
                0 10px 25px rgba(0, 0, 0, 0.5),
                inset 0 0 10px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-smooth);
    position: relative;
}

.ivy-avatar-circle:hover {
    transform: scale(1.08) rotate(3deg);
    border-color: var(--accent-green);
    box-shadow: 0 0 22px rgba(0, 255, 136, 0.6), 
                0 12px 30px rgba(0, 0, 0, 0.6);
}

.ivy-avatar-img {
    width: 165%;
    height: 165%;
    object-fit: cover;
    object-position: 50% 24%; /* Centered horizontally, zoomed on the astronaut face/helmet */
    transition: var(--transition-smooth);
    pointer-events: none;
}

.ivy-avatar-circle:hover .ivy-avatar-img {
    transform: scale(1.05);
}

/* Adjust layout spacing for the widget in mobile views */
@media (max-width: 768px) {
    .ivy-widget-container {
        bottom: 18px;
        right: 18px;
        gap: 8px;
    }
    .ivy-avatar-circle {
        width: 66px;
        height: 66px;
        border-width: 3px;
    }
    .ivy-chat-bubble {
        max-width: 200px;
        padding: 10px 14px;
    }
    .ivy-chat-bubble::after {
        right: 24px;
    }
}



