/* ============================================================
   SPATIAL UI DESIGN SYSTEM - LEUKQUANT
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Syne:wght@700;800&display=swap');

:root {
    /* Depth Core Palette */
    --space-dark: #030307;
    --space-base: #06060c;
    --space-light: #0d0d18;
    
    /* Neon Accents with HSL channels for opacity control */
    --cyan-hsl: 188, 100%, 50%;
    --cyan: hsl(var(--cyan-hsl));
    --purple-hsl: 220, 95%, 55%; /* Vibrant Blue instead of purple */
    --purple: hsl(var(--purple-hsl));
    --purple-light: #60a5fa; /* Sky Blue accent */
    --white: #f8fafc;
    --muted: #94a3b8;
    --logo-text-quant: #f8fafc;
    
    /* Spatial Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.025);
    --glass-border: rgba(148, 163, 184, 0.08);
    --glass-border-hover: rgba(0, 212, 255, 0.25);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    
    /* Design Tokens */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --shadow-depth-1: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-depth-2: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(var(--cyan-hsl), 0.15);
    
    --transition-spatial: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light theme custom properties removed */

/* ===== BASE SETTINGS & SPATIAL BACKDROP ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--space-dark);
}

body {
    background: var(--space-dark);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: clip;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, code, a {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--space-dark);
}
::-webkit-scrollbar-thumb {
    background: radial-gradient(circle, var(--cyan) 0%, var(--purple) 100%);
    border: 2px solid var(--space-dark);
    border-radius: 20px;
}

/* Particle Canvas Backdrop */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* Ambient Radial Glows (Mesh Grid effect) */
.ambient-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    mix-blend-mode: screen;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(var(--purple-hsl), 0.6) 0%, transparent 70%);
}

.glow-2 {
    bottom: 10%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(var(--cyan-hsl), 0.5) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(60px) scale(1.15) rotate(180deg); }
}

/* ===== CUSTOM SPATIAL CURSOR ===== */
.spatial-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border-hover);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    display: none;
}

.spatial-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s linear, background 0.3s;
    box-shadow: 0 0 10px var(--cyan);
    display: none;
}

body.cursor-active .spatial-cursor-ring,
body.cursor-active .spatial-cursor-dot {
    display: block;
}

body.cursor-hovering .spatial-cursor-ring {
    width: 60px;
    height: 60px;
    background: rgba(var(--cyan-hsl), 0.05);
    border-color: rgba(var(--cyan-hsl), 0.4);
    box-shadow: 0 0 20px rgba(var(--cyan-hsl), 0.2);
}

body.cursor-hovering .spatial-cursor-dot {
    background: var(--purple-light);
    box-shadow: 0 0 12px var(--purple-light);
}

/* ===== UTILITY & TYPOGRAPHY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 10;
}

.full-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border) 20%, var(--glass-border) 80%, transparent);
    position: relative;
    z-index: 10;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 8px var(--cyan);
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 30%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-sub {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 64px;
}

/* ===== NAVIGATION (FROSTED PANEL) ===== */
#navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 64px);
    max-width: 1200px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 68px;
    background: rgba(6, 6, 12, 0.4);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: var(--shadow-depth-1), inset 0 1px 1px var(--glass-highlight);
    transition: var(--transition-spatial);
}

#navbar.nav-scrolled {
    background: rgba(6, 6, 12, 0.7);
    top: 8px;
    border-color: rgba(var(--cyan-hsl), 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 30px rgba(var(--cyan-hsl), 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    perspective: 800px;
    mix-blend-mode: plus-lighter; /* Merges the logo smoothly with background glow */
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.25)); /* Subtle 3D shadow depth */
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05) translateZ(10px);
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover .nav-logo-icon {
    transform: rotateY(180deg) scale(1.1);
}

.nav-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-leuk {
    background: linear-gradient(135deg, #00D4FF 30%, #0082F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-quant {
    color: var(--white);
}

/* Obsolete logo-quant light-theme styles removed */

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-quick);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 2px;
    transition: var(--transition-quick);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spatial);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Theme switch buttons and icon rules removed */

/* ===== GLOW BUTTONS ===== */
.btn-ghost {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 20px;
    transition: var(--transition-quick);
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
    color: var(--white);
    transform: scale(1.02);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, rgb(0, 180, 255) 100%);
    color: #030307;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    transition: var(--transition-quick);
    font-family: 'Inter', sans-serif;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary-lg {
    background: linear-gradient(135deg, var(--cyan) 0%, #0090FF 100%);
    color: #030307;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 16px 36px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.25);
    transition: var(--transition-spatial);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: 0.75s ease-in-out;
}

.btn-primary-lg:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.45);
}

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

.btn-secondary-lg {
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    border: 1px solid var(--glass-border);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 16px 36px;
    border-radius: 100px;
    transition: var(--transition-spatial);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(8px);
}

.btn-secondary-lg:hover {
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* Floating 3D transforms on Hero CTA buttons matching pricing cards */
.hero-buttons .btn-primary-lg,
.hero-buttons .btn-secondary-lg {
    transform: translateZ(15px) !important;
}

.hero-buttons .btn-primary-lg:hover {
    transform: translateZ(25px) scale(1.04) !important;
}

.hero-buttons .btn-secondary-lg:hover {
    transform: translateZ(25px) scale(1.04) !important;
}

/* ===== ANNOUNCEMENT ===== */
.announcement {
    position: relative;
    z-index: 10;
    margin-top: 110px;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.08);
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 300px;
    padding: 8px 24px;
    font-size: 13px;
    color: var(--cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
    animation: slideDownIn 1s var(--transition-spatial);
}

.announcement span {
    color: var(--muted);
    font-weight: 500;
    margin-right: 8px;
}

@keyframes slideDownIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO SECTION (PERSPECTIVE 3D GRID) ===== */
#hero {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
    justify-content: center;
    padding: 100px 32px 60px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}

.hero-content {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-light);
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--purple-light);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.5px;
    max-width: 900px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--white) 30%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--purple-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.typed-target {
    display: inline-block;
    min-width: 260px; /* Prevents layout shifting and page collapsing */
    text-align: left;
    position: relative;
    font-style: normal;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--purple-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typed-target::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: var(--cyan);
    font-weight: 500;
    -webkit-text-fill-color: var(--cyan);
    animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--muted);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-sub strong {
    color: var(--white);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.hero-note span {
    margin: 0 10px;
    opacity: 0.3;
}

/* ===== NEW HERO MASCOT CONTAINER ===== */
.hero-mascot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.hero-mascot-wrapper {
    position: relative;
    width: 340px;
    height: 510px;
    overflow: visible;
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mascot-image-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    background: none;
    box-shadow: none;
    transition: var(--transition-spatial);
}

.hero-mascot-wrapper:hover .mascot-image-main {
    transform: scale(1.05) translateZ(25px);
}

/* Dynamic transparent images (once processed by JavaScript) */
.mascot-hologram-img,
.mascot-loader-img {
    filter: drop-shadow(0 4px 15px rgba(0, 212, 255, 0.45));
    mix-blend-mode: lighten;
}

body.mascot-processed .mascot-hologram-img,
body.mascot-processed .mascot-loader-img {
    mix-blend-mode: normal;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3));
}

/* Mascot Tech background SVG animations */
.mascot-tech-bg {
    color: var(--cyan);
    animation: rotateTechBg 90s linear infinite;
}

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

.hero-mascot-wrapper .floating-icon-1 { animation: floatIcon1 4s ease-in-out infinite alternate; }
.hero-mascot-wrapper .floating-icon-2 { animation: floatIcon2 4.5s ease-in-out infinite alternate; }
.hero-mascot-wrapper .floating-icon-3 { animation: floatIcon3 5s ease-in-out infinite alternate; }
.hero-mascot-wrapper .floating-icon-4 { animation: floatIcon4 3.8s ease-in-out infinite alternate; }

@keyframes floatIcon1 {
    0% { transform: translate(300px, 70px) translateY(0); }
    100% { transform: translate(300px, 70px) translateY(-8px); }
}
@keyframes floatIcon2 {
    0% { transform: translate(60px, 80px) translateY(0); }
    100% { transform: translate(60px, 80px) translateY(8px); }
}
@keyframes floatIcon3 {
    0% { transform: translate(50px, 280px) translateY(0); }
    100% { transform: translate(50px, 280px) translateY(-6px); }
}
@keyframes floatIcon4 {
    0% { transform: translate(310px, 270px) translateY(0); }
    100% { transform: translate(310px, 270px) translateY(6px); }
}

/* Hologram visual scan overlays */
.mascot-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 50%, rgba(0, 212, 255, 0.15) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}

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

/* ===== STATS SECTION (OBSIDIAN FLOAT) ===== */
#stats {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(6, 6, 12, 0.6);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 48px 48px;
}

.stats-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.stats-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 8px;
    box-shadow: 0 0 10px #10b981;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid var(--glass-border);
    transition: var(--transition-quick);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .accent {
    background: linear-gradient(135deg, var(--cyan), var(--purple-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-desc {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== GENERAL SECTIONS ===== */
section {
    position: relative;
    z-index: 10;
    padding: 120px 16px;
    max-width: min(100% - 2rem, 1100px);
    margin: 0 auto;
}

/* ===== GHOST-NET SPLIT VIEW (SPATIAL LAYERS) ===== */
.split-tabs {
    display: flex;
    gap: 4px;
    background: rgba(3, 3, 7, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px 12px 0 0;
    padding: 6px;
    width: fit-content;
    margin-bottom: 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    background: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-quick);
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    color: var(--white);
}

.tab-btn.active {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-depth-1);
}

.split-panel {
    background: rgba(6, 6, 12, 0.4);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 16px 16px 16px;
    padding: 40px;
    min-height: 380px;
    display: none;
    transition: opacity 0.5s;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-depth-2);
}

.split-panel.active {
    display: block;
    animation: spatialFadeIn 0.8s var(--transition-spatial);
}

@keyframes spatialFadeIn {
    from { opacity: 0; transform: translateY(15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.terminal {
    background: #040408;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-depth-2), inset 0 1px 1px rgba(255,255,255,0.05);
}

.terminal-bar {
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 12px;
    font-size: 12px;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.terminal-body {
    padding: 24px 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.t-path { color: #10b981; }
.t-cmd { color: var(--white); }
.t-dim { color: var(--muted); }

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-quick);
    position: relative;
}

.file-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.04), transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.file-item:hover::before {
    opacity: 1;
}

.file-item:hover {
    background: rgba(0, 212, 255, 0.03);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.file-item:hover .tripwire-tag {
    opacity: 1;
    transform: translateX(0);
}

.file-icon { font-size: 18px; }
.file-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #3b82f6;
    font-weight: 500;
}

.tripwire-tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-quick);
}

/* Slack alert */
.slack-alert {
    background: #0f1115;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-depth-1);
}

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

.slack-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 12px rgba(var(--cyan-hsl), 0.2);
}

.slack-bot { font-size: 14px; font-weight: 700; color: var(--white); }
.slack-time { font-size: 12px; color: var(--muted); }

.slack-content {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(240, 246, 255, 0.85);
}
.slack-content strong { color: #f87171; }
.slack-content .tag {
    display: inline-block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.timeline {
    border-left: 2px solid var(--glass-border);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.tl-item {
    position: relative;
    font-size: 14px;
    color: var(--muted);
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    border: 2px solid var(--space-dark);
    box-shadow: 0 0 0 2px var(--glass-border);
}

.tl-item.caught::before {
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
}

.tl-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    margin-bottom: 4px;
    font-weight: 600;
}

/* ===== STEP TIMELINE VIEW ===== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-quick);
}

.step:hover {
    transform: translateX(10px);
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(var(--cyan-hsl), 0.3);
}

.step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: var(--white);
}

.step-body {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ===== SPA PAGE WRAPPER & TRANSITIONS ===== */
.page-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 100px);
}

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    pointer-events: auto;
}

/* Nav Link Highlight Override for Active SPA Section */
.nav-links a.active {
    color: var(--white);
}
.nav-links a.active::after {
    width: 100%;
}

/* ===== ADVANCED WATERMARK BACKGROUND HOLOGRAM ===== */
#bg-mascot-hologram {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    opacity: 0; /* Fully hidden by default; animated by Javascript assembly */
}

.mascot-hologram-img {
    position: absolute;
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    mask-image: radial-gradient(circle, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 75%);
    animation: hologramRotate 80s linear infinite;
}

@keyframes hologramRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hologram visual scan sweep line */
.scanning-beam-y {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 12px var(--cyan);
    animation: scanSweepY 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes scanSweepY {
    0% { top: 0%; opacity: 0; }
    5%, 95% { opacity: 1; }
    50% { top: 100%; }
    100% { top: 0%; opacity: 0; }
}

/* Position mappings based on active sections */
#bg-mascot-hologram.bg-hologram-state-home {
    transform: translate(22%, -10%) scale(1.15);
}

#bg-mascot-hologram.bg-hologram-state-how {
    transform: translate(-34%, -5%) scale(1);
}

#bg-mascot-hologram.bg-hologram-state-ghostnet {
    transform: translate(28%, 14%) scale(1.1);
}

#bg-mascot-hologram.bg-hologram-state-docs {
    transform: translate(-30%, -24%) scale(0.95);
}

/* ===== PRELOADER OVERLAY MODULE ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--space-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    perspective: 1200px;
}

.mascot-loading-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-preloader-mask {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(var(--cyan-hsl), 0.35);
    box-shadow: 0 0 30px rgba(var(--cyan-hsl), 0.25);
    position: relative;
    z-index: 2;
    animation: pulseBorder 2s ease-in-out infinite alternate;
}

@keyframes pulseBorder {
    0% { border-color: rgba(var(--cyan-hsl), 0.2); box-shadow: 0 0 20px rgba(var(--cyan-hsl), 0.1); }
    100% { border-color: rgba(var(--cyan-hsl), 0.6); box-shadow: 0 0 40px rgba(var(--cyan-hsl), 0.4); }
}

.mascot-loader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.cyber-ring-outer {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(var(--cyan-hsl), 0.25);
    border-radius: 50%;
    animation: rotateCW 15s linear infinite;
}

.cyber-ring-inner {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px dotted rgba(var(--purple-hsl), 0.4);
    border-radius: 50%;
    animation: rotateCCW 10s linear infinite;
}

.mascot-loading-container .scan-line {
    position: absolute;
    width: 170px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 10px var(--cyan);
    z-index: 3;
    animation: scannerScan 2.5s ease-in-out infinite;
}

@keyframes scannerScan {
    0% { top: 20px; }
    50% { top: 180px; }
    100% { top: 20px; }
}

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

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

.preloader-status {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
}

.status-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(var(--cyan-hsl), 0.4);
}

.status-terminal {
    font-size: 12px;
    color: var(--muted);
    height: 20px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 260px;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 10px;
    transition: width 0.1s ease-out;
}

/* ===== DOCUMENTS LAYOUT (NEW SPLIT STATE) ===== */
#page-docs {
    padding: 120px 24px 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.docs-sidebar {
    background: rgba(6, 6, 12, 0.4);
    border: 1px solid var(--glass-border);
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.docs-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.docs-nav-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-quick);
    border: 1px solid transparent;
}

.docs-nav-item:hover {
    color: var(--white);
    background: rgba(255,255,255,0.02);
}

.docs-nav-item.active {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.15);
    font-weight: 600;
}

.mascot-sidebar-box {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px dashed var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mascot-sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid var(--cyan);
}

.mascot-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mascot-sidebar-text {
    display: flex;
    flex-direction: column;
}

.mascot-sidebar-text strong {
    font-size: 13px;
    color: var(--white);
}

.mascot-sidebar-text span {
    font-size: 11px;
    color: var(--muted);
}

.docs-main-panel {
    background: rgba(6, 6, 12, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 44px;
    min-height: 480px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-depth-1);
    transform-style: preserve-3d;
}

.doc-panel {
    display: none;
}

.doc-panel.active {
    display: block;
    animation: spatialFadeIn 0.6s var(--transition-spatial);
}

.doc-panel h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.doc-panel p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.code-terminal {
    background: #030307;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.code-terminal-header {
    background: rgba(255,255,255,0.02);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
}

.copy-code-btn {
    background: none;
    border: none;
    color: var(--cyan);
    font-weight: 600;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.copy-code-btn:hover {
    background: rgba(0, 212, 255, 0.1);
}

.code-terminal pre {
    padding: 16px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: rgba(240, 246, 255, 0.85);
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre;
}

/* ===== PRICING SPATIAL DECK ===== */
.pricing-toggle-container {
    position: relative;
    margin: 40px auto 32px auto;
    padding: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    width: fit-content;
    z-index: 10;
}

.pricing-toggle-btn {
    position: relative;
    background: none;
    border: none;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: 9999px;
    transition: color 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-toggle-btn.active {
    color: var(--white);
}

.pricing-toggle-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-toggle-slider {
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: calc(50% - 6px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 9999px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.pricing-toggle-container.annual-active .pricing-toggle-slider {
    transform: translateX(100%);
}

.save-badge {
    position: absolute;
    top: -12px;
    right: -16px;
    background: var(--white);
    color: var(--space-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
    perspective: 1200px;
}

.price-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-depth-2);
    transition: border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
    position: relative;
}

.price-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(350px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.08), transparent);
    transition: opacity 0.5s ease;
}

.price-card:hover::after {
    opacity: 1;
}

.card-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.035;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
    padding: 1.5px;
    z-index: 0;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    overflow: hidden;
}

.card-border-glow::before {
    content: '';
    position: absolute;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, var(--cyan) 100%);
    animation: spinBorder 4s linear infinite;
}

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

.price-card.popular {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.08);
    padding-top: 56px; /* Space for the badge */
}

@media (min-width: 768px) {
    .price-card.popular {
        transform: translateY(-16px) translateZ(30px);
    }
}

.price-card.popular .price-tier {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.price-card.popular .price-desc {
    color: rgba(255, 255, 255, 0.75);
}

.price-card.popular .price-features li {
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%) translateZ(25px);
    background: var(--cyan);
    color: #030307;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    z-index: 10;
}

/* Light theme popular badge override removed */

.price-tier {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    transform: translateZ(15px);
    position: relative;
    z-index: 2;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 16px;
    color: var(--white);
    transform: translateZ(25px);
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.price-amount span {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 4px;
}

.price-desc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
    transform: translateZ(10px);
    position: relative;
    z-index: 2;
}

.price-divider {
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    transform: translateZ(10px);
    position: relative;
    z-index: 2;
}

.price-features li {
    font-size: 14px;
    color: rgba(240, 246, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.price-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-plan {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-quick);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    transform: translateZ(15px);
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glass-border-hover);
    transform: translateZ(20px) scale(1.02);
}

.btn-plan.primary {
    background: linear-gradient(135deg, var(--cyan) 0%, rgb(0, 180, 255) 100%);
    color: #030307;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.btn-plan.primary:hover {
    opacity: 0.9;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
}

.price-guarantee {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-top: 48px;
    padding: 24px;
    background: rgba(6, 6, 12, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.price-guarantee strong {
    color: rgba(var(--cyan-hsl), 0.9);
}

/* ===== COMPLIANCE GLASS CARD ===== */
.dpdp-card {
    background: rgba(124, 58, 237, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto 80px;
    box-shadow: var(--shadow-depth-1);
    position: relative;
    z-index: 10;
}

.dpdp-icon {
    font-size: 36px;
    flex-shrink: 0;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.dpdp-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--purple-light);
}

.dpdp-text p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.dpdp-link {
    font-size: 14px;
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-quick);
}

.dpdp-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ===== FINAL CTA PANEL ===== */
#cta {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 120px 24px;
    border-top: 1px solid var(--glass-border);
    background: radial-gradient(circle at top, rgba(0, 212, 255, 0.02) 0%, transparent 60%);
}

#cta h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#cta p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted);
}

.cta-login {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}

.cta-login a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
}

.cta-login a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    z-index: 10;
    background: #040409;
    border-top: 1px solid var(--glass-border);
    padding: 80px 48px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 64px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== TOAST ALERTS ===== */
.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    background: rgba(6, 6, 12, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-depth-2), 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
}

.toast.success { border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }
.toast.success::before { background: #22c55e; }

.toast.error { border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.toast.error::before { background: #ef4444; }

.toast.info { border-color: rgba(0, 212, 255, 0.4); color: var(--cyan); }
.toast.info::before { background: var(--cyan); }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== GLASS OVERLAYS & MODALS ===== */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 7, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    opacity: 0;
    transition: opacity 0.4s var(--transition-spatial);
    overflow-y: auto; /* Enable scroll if modal exceeds viewport */
}

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

.auth-modal {
    background: rgba(6, 6, 12, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 36px; /* more compact padding to prevent oversized form layout */
    max-width: 440px;
    width: 100%;
    max-height: calc(100vh - 72px); /* safety cap for internal scroll */
    overflow-y: auto;
    position: relative;
    margin: auto; /* Fix flexbox top/bottom clipping on overflow scroll */
    box-shadow: var(--shadow-depth-2), 0 0 80px rgba(0, 212, 255, 0.05);
    transform: scale(0.9) rotate3d(1, 0.5, 0, 10deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

.auth-overlay.active .auth-modal {
    transform: scale(1) rotate3d(1, 0, 0, 0deg);
}

.auth-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.auth-modal .close-btn:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.auth-modal h2 {
    font-size: 28px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.auth-modal .auth-sub {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 20px; /* Reduced sub-heading margin */
}

.auth-modal .form-group {
    margin-bottom: 14px; /* Reduced group margin */
}

.auth-modal label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px; /* Slightly tighter spacing */
}

.auth-modal input {
    width: 100%;
    padding: 10px 14px; /* More compact input padding */
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-quick);
    outline: none;
}

.auth-modal input:focus {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.auth-modal .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 12px;
    border-radius: var(--radius-sm);
}

.auth-modal .auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--muted);
}

.auth-modal .auth-switch a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.auth-modal .auth-switch a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE & MOBILE POLISH ===== */
@media (max-width: 1024px) {
    .file-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #navbar {
        width: calc(100% - 32px);
        padding: 0 20px;
        padding-top: max(16px, env(safe-area-inset-top));
    }
    .nav-links {
        display: none;
    }
    .nav-actions .btn-ghost {
        display: none;
    }
    .announcement {
        margin-top: 100px;
    }
    
    /* Responsive Hero Grid Stacking */
    #hero {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
        align-items: center;
        min-height: 100svh; /* Prevents chrome layout shifts */
        padding: 80px 24px 60px;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
        text-align: center;
    }
    .hero-mascot-wrapper {
        width: 260px;
        height: 390px;
        margin: 0 auto;
    }
    /* Responsive Docs Layout Stacking */
    .docs-layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .docs-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 16px;
        padding: 16px;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        box-sizing: border-box;
    }
    .docs-nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap; /* Prevent wrapping */
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
        white-space: nowrap;
        gap: 12px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: pan-x;
    }
    .docs-nav-list::-webkit-scrollbar {
        display: none;
    }
    .docs-nav-item {
        padding: 10px 18px; /* Safe touch target padding */
        border-radius: var(--radius-sm);
        border: 1px solid var(--glass-border);
        flex-shrink: 0; /* CRITICAL: Prevent tabs from squishing */
        min-width: max-content; /* Ensure text doesn't wrap within tab */
        white-space: nowrap; /* Keep text on one line */
        touch-action: pan-x;
    }
    .docs-nav-item.active {
        background: rgba(0, 212, 255, 0.1);
        border-color: var(--cyan);
    }
    .mascot-sidebar-box {
        display: none !important; /* Hide mascot sidebar graphic in mobile view list */
    }
    .docs-main-panel {
        padding: 24px 20px;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .docs-main-panel > * {
        min-width: 0; /* Allows flex items to shrink below content size */
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }
    .stat-item {
        border-right: none;
        padding: 0 16px;
    }
    .stat-item:nth-child(even) {
        border-left: 1px solid var(--glass-border);
    }
    .file-cards {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .step {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .dpdp-card {
        flex-direction: column;
        padding: 32px;
        gap: 16px;
    }
    #stats {
        padding: 36px 24px;
    }
    .split-panel {
        padding: 24px;
    }
    .auth-modal {
        padding: 36px 28px;
        width: calc(100% - 32px);
        margin: auto 16px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-bottom: 80px; /* Add safety padding for bottom nav space */
    }
    .auth-modal input, .auth-modal select, .auth-modal textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
    .stat-item:nth-child(even) {
        border-left: none;
    }
    .stat-number {
        font-size: 36px;
    }
    .hero-buttons .btn-primary-lg,
    .hero-buttons .btn-secondary-lg {
        width: 100%;
        text-align: center;
    }
    section {
        padding: 80px 16px;
    }
    #hero {
        padding: 60px 16px;
    }
    .price-card {
        padding: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Residual light theme rules removed */

/* ===== HANGING INTERACTIVE BULB LIGHTING SYSTEM ===== */
.hanging-bulb-container {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: top center;
    animation: swingBulb 8s ease-in-out infinite alternate;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    touch-action: none;
}

@keyframes swingBulb {
    0% { transform: translateX(-50%) rotate(-8deg); }
    100% { transform: translateX(-50%) rotate(8deg); }
}

.bulb-wire {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.45));
}

.bulb-body {
    width: 38px;
    height: 48px;
    cursor: grab;
    transition: transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.bulb-body:active {
    cursor: grabbing;
}

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

.bulb-glass {
    stroke: rgba(255, 255, 255, 0.45);
    fill: rgba(255, 255, 255, 0.05);
    transition: fill 0.3s, stroke 0.3s;
}

.bulb-filament {
    stroke: rgba(255, 255, 255, 0.3);
    transition: stroke 0.3s, filter 0.3s;
}

.bulb-glow-aura {
    position: absolute;
    bottom: -15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.45) 0%, rgba(0, 212, 255, 0) 70%);
    filter: blur(8px);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
}

/* Light ON State - Classic Glowing Yellow Bulb */
.bulb-light-rays {
    transition: opacity 0.3s ease;
    opacity: 0;
}

body.bulb-light-on .bulb-glass {
    stroke: #fbbf24;
    fill: rgba(251, 191, 36, 0.25);
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.4));
}

body.bulb-light-on .bulb-filament {
    stroke: #fbbf24;
    filter: drop-shadow(0 0 6px #fbbf24);
}

body.bulb-light-on .bulb-light-rays {
    opacity: 1;
    color: #fbbf24;
}

body.bulb-light-on .bulb-glow-aura {
    opacity: 1;
    transform: scale(1.15);
    background: radial-gradient(circle, rgba(251, 191, 36, 0.55) 0%, rgba(251, 191, 36, 0) 75%);
}

/* Light OFF State */
body.bulb-light-off .bulb-glass {
    stroke: rgba(148, 163, 184, 0.4);
    fill: rgba(148, 163, 184, 0.05);
}

body.bulb-light-off .bulb-filament {
    stroke: rgba(148, 163, 184, 0.2);
    filter: none;
}

body.bulb-light-off .bulb-light-rays {
    opacity: 0;
}

body.bulb-light-off .bulb-glow-aura {
    opacity: 0;
    transform: scale(0.5);
}

/* Shadow dimmer layer for dark room effect */
.light-shadow-overlay {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(3, 3, 7, 0.85);
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

/* Remaining light theme overrides removed */

/* Shader canvas positioning behind page layout */
#shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* ===== VAPOR TEXT EFFECT STYLING ===== */
.vapor-text {
    position: relative;
    display: inline-block;
}

.vapor-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
}

/* Ambient glow under the floating mascot */
.mascot-svg-viewport {
    filter: drop-shadow(0 15px 40px rgba(0, 212, 255, 0.25));
    transition: transform 0.4s ease;
}

/* ===== MOBILE BOTTOM NAVIGATION BAR (MOCKUP STYLE) ===== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Hide desktop nav actions on mobile to make room for profile avatar */
    .nav-actions {
        display: none !important;
    }
    
    .mobile-header-profile-container {
        display: block !important;
        position: relative;
        margin-right: -8px;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px));
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        max-width: 440px;
        height: 76px;
        background: rgba(3, 7, 18, 0.45);
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        border: 1px solid rgba(0, 212, 255, 0.08);
        border-radius: 100px;
        z-index: 9999;
        align-items: center;
        justify-content: space-around;
        padding: 0 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), inset 0 1px 2px rgba(255, 255, 255, 0.04);
    }
    
    .mobile-nav-item {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        text-decoration: none;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(6, 6, 12, 0.65);
        border: 1.5px solid rgba(0, 212, 255, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .mobile-nav-item svg {
        stroke: var(--muted);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: var(--cyan);
        border-color: var(--cyan);
        background: rgba(0, 212, 255, 0.05);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.35), inset 0 0 8px rgba(0, 212, 255, 0.15);
    }
    
    .mobile-nav-item:hover svg,
    .mobile-nav-item.active svg {
        stroke: var(--cyan);
        filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
    }
    
    /* Small spotlight flare point at the bottom of the active button, matching the mockup! */
    .mobile-nav-item::after {
        content: '';
        position: absolute;
        bottom: -8px;
        width: 4px;
        height: 4px;
        background: var(--cyan);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
        opacity: 0;
        transform: scale(0.5);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .mobile-nav-item.active::after {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== USER PROFILE TRIGGER & DROPDOWN (PREMIUM DARK DESIGN) ===== */
.user-profile-menu {
    position: relative;
    display: inline-block;
}

.btn-profile-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 6px 16px 6px 8px;
    border-radius: 100px;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-quick);
}

.btn-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-light) 100%);
    color: #030307;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.profile-name-text {
    font-size: 14px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arrow-down-icon {
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.user-profile-menu:hover .arrow-down-icon {
    transform: translateY(1px);
}

/* Profile Dropdown Menu Card */
.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: rgba(6, 6, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 255, 0.05);
    padding: 8px 0;
    z-index: 1000;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-dropdown-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.dropdown-header {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
}

.dropdown-header strong {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.dropdown-header span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-quick);
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.06);
    color: var(--cyan);
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
}

/* ===== MOBILE HEADER PROFILE ICON ===== */
.mobile-header-profile-container {
    display: none;
}

.mobile-avatar-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(0, 212, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-avatar-btn.outline-icon {
    border-color: rgba(255, 255, 255, 0.15);
    background: none;
}

.mobile-avatar-btn:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.mobile-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-light) 100%);
    color: #030307;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile drawer transformation layout (Material style) */
.profile-dropdown-menu.mobile {
    top: calc(100% + 16px);
    right: 0;
    width: 200px;
}

@media (max-width: 768px) {
    .profile-dropdown-menu.mobile {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100dvh;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        border: none;
        border-left: 1px solid rgba(0, 212, 255, 0.15);
        border-radius: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
        padding: 24px 16px;
        z-index: 50;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    
    .profile-dropdown-menu.mobile.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .profile-dropdown-menu.mobile .dropdown-item {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
        margin-bottom: 4px;
        min-height: 48px; /* Material standard touch targets */
        display: flex;
        align-items: center;
    }
}
