/* ============================================================
   PHOENIX ENERGY — Static CSS (replaces Tailwind CDN)
   ============================================================ */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
    --neon: #FF5F1F;
    --neon-dim: rgba(255, 95, 31, 0.1);
    --dark: #020204;
    --dark-card: #0a0a0f;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Orbitron', sans-serif;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.scroll-smooth { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--dark);
    color: #e5e7eb;
    overflow-x: hidden;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--neon); color: #000; }

img { max-width: 100%; height: auto; display: block; }
svg { display: inline-block; }
button { cursor: pointer; }
input { outline: none; }

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020204; }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon); }

/* --- LAYOUT --- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-8 { top: 2rem; }
.left-8 { left: 2rem; }
.bottom-8 { bottom: 2rem; }
.left-1\/2 { left: 50%; }
.top-1\/2 { top: 50%; }
.\!top-\[-10\%\], .top-\[-10\%\] { top: -10%; }
.\!left-\[-10\%\], .left-\[-10\%\] { left: -10%; }
.\!bottom-\[-10\%\], .bottom-\[-10\%\] { bottom: -10%; }
.\!right-\[-10\%\], .right-\[-10\%\] { right: -10%; }

.z-\[-1\] { z-index: -1; }
.z-0 { z-index: 0; }
.z-5 { z-index: 5; }
.z-10 { z-index: 10; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.w-\[500px\] { width: 500px; }
.h-\[500px\] { height: 500px; }
.w-\[600px\] { width: 600px; }
.h-\[600px\] { height: 600px; }
.w-\[140\%\] { width: 140%; }
.h-\[140\%\] { height: 140%; }
.w-\[1px\] { width: 1px; }
.h-\[1px\] { height: 1px; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.h-10 { height: 2.5rem; }

.min-h-screen { min-height: 100vh; }
.max-w-full { max-width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }

.overflow-hidden { overflow: hidden; }

/* --- DISPLAY --- */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

/* --- FLEXBOX --- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }

/* --- GRID --- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* --- GAP --- */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* --- ORDER --- */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* --- SPACING (Padding) --- */
.p-4 { padding: 1rem; }
.p-12 { padding: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-20 { padding-top: 5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pr-1 { padding-right: 0.25rem; }

/* --- SPACING (Margin) --- */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-32 { margin-top: 8rem; }
.mb-2 { margin-top: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

/* --- CONTAINER --- */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* --- TYPOGRAPHY --- */
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.leading-\[0\.9\] { line-height: 0.9; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

.uppercase { text-transform: uppercase; }

/* --- TEXT COLORS --- */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-transparent { color: transparent; }
.text-neon { color: var(--neon); }
.text-neon\/50 { color: rgba(255, 95, 31, 0.5); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-red-400 { color: #f87171; }

/* --- BACKGROUNDS --- */
.bg-transparent { background-color: transparent; }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-white\/3 { background-color: rgba(255, 255, 255, 0.03); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-neon { background-color: var(--neon); }
.bg-neon\/5 { background-color: rgba(255, 95, 31, 0.05); }
.bg-neon\/10 { background-color: rgba(255, 95, 31, 0.1); }
.bg-neon\/20 { background-color: rgba(255, 95, 31, 0.2); }
.bg-orange-900\/20 { background-color: rgba(124, 45, 18, 0.2); }

/* --- GRADIENTS --- */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-radial { background-image: radial-gradient(var(--tw-gradient-stops)); }

.from-neon { --tw-gradient-from: var(--neon); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,95,31,0)); }
.via-orange-200 { --tw-gradient-stops: var(--tw-gradient-from), #fed7aa, var(--tw-gradient-to, rgba(254,215,170,0)); }
.to-neon { --tw-gradient-to: var(--neon); }
.to-transparent { --tw-gradient-to: transparent; }
.from-neon\/5 { --tw-gradient-from: rgba(255,95,31,0.05); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,95,31,0)); }
.from-neon\/30 { --tw-gradient-from: rgba(255,95,31,0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,95,31,0)); }
.via-neon { --tw-gradient-stops: var(--tw-gradient-from), var(--neon), var(--tw-gradient-to, rgba(255,95,31,0)); }
.via-neon\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgba(255,95,31,0.1), var(--tw-gradient-to, rgba(255,95,31,0)); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }

.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* --- BORDERS --- */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-t-0 { border-top-width: 0; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-neon\/30 { border-color: rgba(255, 95, 31, 0.3); }
.border-neon\/50 { border-color: rgba(255, 95, 31, 0.5); }
.border-t-neon\/50 { border-top-color: rgba(255, 95, 31, 0.5); }
.border-b-neon\/50 { border-bottom-color: rgba(255, 95, 31, 0.5); }
.border-l-neon\/30 { border-left-color: rgba(255, 95, 31, 0.3); }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }

/* --- EFFECTS --- */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.blur-xl { filter: blur(24px); }
.blur-3xl { filter: blur(64px); }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* --- TRANSFORMS --- */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) scale(var(--tw-scale-x, 1), var(--tw-scale-y, 1)); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-1\/2.-translate-y-1\/2 { transform: translate(-50%, -50%); }
.translate-y-4 { --tw-translate-y: 1rem; transform: translateY(1rem); }
.rotate-90 { transform: rotate(90deg); }
.origin-center { transform-origin: center; }
.perspective-1000 { perspective: 1000px; }

/* --- TRANSITIONS --- */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

/* --- INTERACTIVITY --- */
.pointer-events-none { pointer-events: none; }
.cursor-default { cursor: default; }
.focus\:outline-none:focus { outline: none; }
.placeholder-gray-400::placeholder { color: #9ca3af; }

/* --- ANIMATIONS (Keyframes) --- */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes spotlight {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spin-reverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateX(-50%) translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* Animation Classes */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-pulse-slow { animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-spin-slow { animation: spin 15s linear infinite; }
.animate-spin-reverse-slow { animation: spin-reverse 10s linear infinite; }
.animate-fade-in-up { animation: fadeInUp 1s ease-out forwards; }
.animate-\[float_12s_ease-in-out_infinite\] { animation: float 12s ease-in-out infinite; }

/* --- HOVER STATES --- */
.hover\:bg-neon:hover { background-color: var(--neon); }
.hover\:text-black:hover { color: #000; }
.hover\:text-neon:hover { color: var(--neon); }
.hover\:border-neon\/30:hover { border-color: rgba(255, 95, 31, 0.3); }
.hover\:border-neon\/50:hover { border-color: rgba(255, 95, 31, 0.5); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:translate-y-0:hover { transform: translateY(0); }

/* --- GROUP HOVER --- */
.group:hover .group-hover\:text-neon { color: var(--neon); }
.group:hover .group-hover\:bg-neon\/10 { background-color: rgba(255, 95, 31, 0.1); }
.group:hover .group-hover\:border-neon\/30 { border-color: rgba(255, 95, 31, 0.3); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:w-full { width: 100%; }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }
.group:hover .group-hover\:scale-\[1\.02\] { transform: scale(1.02); }
.group:hover .group-hover\:bg-neon\/50 { background-color: rgba(255, 95, 31, 0.5); }

/* --- RESPONSIVE: SM (640px) --- */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:w-auto { width: auto; }
    .sm\:border-t-0 { border-top-width: 0; }
    .sm\:border-l { border-left-width: 1px; border-left-style: solid; }
    .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:gap-4 { gap: 1rem; }
}

/* --- RESPONSIVE: MD (768px) --- */
@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:left-12 { left: 3rem; }
    .md\:px-0 { padding-left: 0; padding-right: 0; }
    .md\:p-6 { padding: 1.5rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-8xl { font-size: 6rem; line-height: 1; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-16 { gap: 4rem; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- RESPONSIVE: LG (1024px) --- */
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:text-left { text-align: left; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
    .lg\:justify-start { justify-content: flex-start; }
    .lg\:mx-0 { margin-left: 0; margin-right: 0; }
    .lg\:pt-0 { padding-top: 0; }
}

/* ============================================================
   CUSTOM COMPONENT STYLES (from original <style> block)
   ============================================================ */

/* --- Ambient Background Noise --- */
.bg-noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Interactive Mouse Spotlight --- */
#cursor-spotlight {
    position: fixed;
    top: 0; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 95, 31, 0.08) 0%, rgba(255, 95, 31, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.5s;
}

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0;
    background-color: var(--dark);
    z-index: 100;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}
.loader-bar {
    width: 200px; height: 2px;
    background: #1f2937;
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
}
.loader-progress {
    width: 0%; height: 100%;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    animation: loadProgress 2s ease-in-out forwards;
}
@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 40%; }
    80% { width: 80%; }
    100% { width: 100%; }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Glow Text --- */
.text-glow {
    text-shadow: 0 0 10px rgba(255, 95, 31, 0.4), 0 0 20px rgba(255, 95, 31, 0.2);
}
.text-glow-white {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* --- Glass Card --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}
.glass-card:hover {
    background: rgba(255, 95, 31, 0.05);
    border-color: rgba(255, 95, 31, 0.3);
    box-shadow: 0 0 30px rgba(255, 95, 31, 0.1);
    transform: translateY(-5px);
}

/* --- Neon Button --- */
.btn-neon {
    position: relative;
    background: rgba(255, 95, 31, 0.05);
    border: 1px solid rgba(255, 95, 31, 0.4);
    color: var(--neon);
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-neon::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 95, 31, 0.4), transparent);
    transition: 0.5s;
}
.btn-neon:hover::before { left: 100%; }
.btn-neon:hover {
    background: rgba(255, 95, 31, 0.1);
    box-shadow: 0 0 30px rgba(255, 95, 31, 0.3);
    border-color: var(--neon);
    color: var(--neon);
}

/* --- Floating Orbs --- */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

.spotlight-floor {
    background: radial-gradient(circle at center, rgba(255, 95, 31, 0.15) 0%, transparent 70%);
    transform: perspective(500px) rotateX(60deg);
}

/* --- Sci-fi Rings --- */
.ring-spin {
    border: 1px dashed rgba(255, 95, 31, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   CSS CABINET v2 (3D canopy style, orange theme)
   ============================================================ */
.css-cabinet {
    position: relative;
    width: 200px; height: 420px;
    margin: 0 auto;
    transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
    transform-style: preserve-3d;
}
@media (min-width: 768px) {
    .css-cabinet { width: 240px; height: 500px; }
}

/* Canopy / Roof */
.cab-canopy {
    position: absolute;
    top: 0; left: -18px; right: -18px;
    height: 36px;
    background: linear-gradient(180deg, #1a1c22 0%, #111318 100%);
    border-radius: 8px 8px 2px 2px;
    z-index: 12;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 0 50px rgba(255,95,31,0.06), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cab-canopy::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF5F1F, #ff8c42, #FF5F1F, transparent);
    box-shadow: 0 0 30px #FF5F1F, 0 0 60px rgba(255,95,31,0.5), 0 0 100px rgba(255,95,31,0.2);
    border-radius: 0 0 2px 2px;
    animation: canopyGlow 3s ease-in-out infinite;
}

.cab-spotlight-cone {
    position: absolute;
    top: 36px; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 120px;
    background: linear-gradient(180deg, rgba(255,95,31,0.18) 0%, rgba(255,95,31,0.03) 60%, transparent 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
    z-index: 11;
    pointer-events: none;
    animation: spotlightBreath 4s ease-in-out infinite;
}

@keyframes spotlightBreath {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes canopyGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cab-canopy-fin {
    position: absolute;
    top: 6px; bottom: 6px;
    width: 4px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,95,31,0.15), rgba(255,255,255,0.02));
    border-radius: 2px;
    z-index: 13;
}
.cab-canopy-fin--l { left: -14px; }
.cab-canopy-fin--r { right: -14px; }

/* Status Screen */
.cab-screen {
    position: absolute;
    top: 42px; left: 12px; right: 12px;
    height: 40px;
    background: #080a10;
    border-radius: 4px;
    border: 1px solid rgba(255,95,31,0.1);
    z-index: 8;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.cab-screen-text {
    font-family: 'Orbitron', monospace;
    font-size: 8px;
    letter-spacing: 0.2em;
    color: #FF5F1F;
    text-shadow: 0 0 8px rgba(255,95,31,0.6);
    animation: screenBlink 3s step-end infinite;
}
@keyframes screenBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
    51% { opacity: 1; }
    85% { opacity: 1; }
    86% { opacity: 0; }
    88% { opacity: 1; }
}
.cab-screen::before {
    content: '';
    position: absolute;
    left: 0; width: 100%; height: 1px;
    background: rgba(255,95,31,0.3);
    animation: screenScan 2.5s linear infinite;
    z-index: 2;
}
@keyframes screenScan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* Main Body */
.cab-frame {
    position: absolute;
    top: 30px; left: 0; right: 0; bottom: 28px;
    background: linear-gradient(170deg, #1c1e26 0%, #12141a 35%, #0a0c12 100%);
    border-radius: 4px 4px 6px 6px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 60px rgba(255,95,31,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    z-index: 5;
}
.cab-side-panel {
    position: absolute;
    top: 30px; right: -12px;
    width: 12px; bottom: 28px;
    background: linear-gradient(180deg, #0e1014 0%, #080a0e 100%);
    border-radius: 0 4px 4px 0;
    z-index: 4;
    box-shadow: inset 1px 0 0 rgba(255,255,255,0.03);
}
.cab-side-panel::before {
    content: '';
    position: absolute;
    top: 15%; bottom: 15%; left: 3px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,95,31,0.08), transparent);
}
.cab-frame::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,95,31,0.12) 0%, rgba(255,95,31,0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.cab-divider {
    position: absolute;
    top: 88px; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: calc(100% - 120px);
    background: linear-gradient(180deg, rgba(255,95,31,0.12), rgba(255,255,255,0.03), rgba(255,95,31,0.08));
    z-index: 3;
}

/* Battery Grid */
.cab-grid-area {
    position: absolute;
    top: 90px; left: 14px; right: 14px; bottom: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 4px;
    z-index: 2;
}
.cab-cell {
    background: linear-gradient(160deg, #14161e 0%, #0c0e16 100%);
    border-radius: 3px;
    position: relative;
    border: 1px solid rgba(255,95,31,0.04);
    overflow: hidden;
}
.cab-cell::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 2px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
}
.cab-cell-bat {
    position: absolute;
    top: 3px; left: 4px; right: 4px; bottom: 3px;
    border: 1px solid rgba(255,95,31,0.08);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255,95,31,0.02) 0%, transparent 100%);
}
.cab-cell-bat::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    width: 10px; height: 3px;
    background: rgba(255,95,31,0.15);
    border-radius: 1px 1px 0 0;
}
.cab-cell-led {
    position: absolute;
    right: 3px; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 6px #FF5F1F, 0 0 14px #FF5F1F, 0 0 30px rgba(255,95,31,0.5), 0 0 50px rgba(255,95,31,0.2);
}

/* Edge Light Strips */
.cab-edge-light {
    position: absolute;
    top: 90px; bottom: 30px;
    width: 2px;
    z-index: 9;
    pointer-events: none;
}
.cab-edge-light--l {
    left: 1px;
    background: linear-gradient(180deg, rgba(255,95,31,0.25), rgba(255,95,31,0.08), rgba(255,95,31,0.2));
    box-shadow: 0 0 8px rgba(255,95,31,0.3), 0 0 20px rgba(255,95,31,0.1);
}
.cab-edge-light--r {
    right: 1px;
    background: linear-gradient(180deg, rgba(255,95,31,0.15), rgba(255,95,31,0.05), rgba(255,95,31,0.12));
    box-shadow: 0 0 6px rgba(255,95,31,0.2);
}

/* Staggered LED Pulse */
.cab-cell:nth-child(1)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 0.0s; }
.cab-cell:nth-child(2)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 0.25s; }
.cab-cell:nth-child(3)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 0.5s; }
.cab-cell:nth-child(4)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 0.75s; }
.cab-cell:nth-child(5)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 1.0s; }
.cab-cell:nth-child(6)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 1.25s; }
.cab-cell:nth-child(7)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 1.5s; }
.cab-cell:nth-child(8)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 1.75s; }
.cab-cell:nth-child(9)  .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 2.0s; }
.cab-cell:nth-child(10) .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 2.25s; }
.cab-cell:nth-child(11) .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 2.5s; }
.cab-cell:nth-child(12) .cab-cell-led { animation: cabLedPulse 2.8s ease-in-out infinite 2.75s; }

@keyframes cabLedPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px #FF5F1F, 0 0 12px #FF5F1F, 0 0 24px rgba(255,95,31,0.35); }
    50% { opacity: 0.2; box-shadow: 0 0 2px #FF5F1F, 0 0 6px rgba(255,95,31,0.2); }
}

/* Charge Fill */
.cab-cell-charge {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(255,95,31,0.15) 0%, rgba(255,95,31,0.03) 100%);
    animation: cabChargeSweep 6s ease-in-out infinite;
}
.cab-cell:nth-child(odd)  .cab-cell-charge { animation-delay: 0s; }
.cab-cell:nth-child(even) .cab-cell-charge { animation-delay: 3s; }

@keyframes cabChargeSweep {
    0%, 100% { height: 5%; opacity: 0.15; }
    50% { height: 100%; opacity: 0.8; }
}

/* Base / Feet */
.cab-base {
    position: absolute;
    bottom: 0; left: -4px; right: -4px;
    height: 28px;
    z-index: 6;
}
.cab-base-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 22px;
    background: linear-gradient(180deg, #16181e, #0e1014);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.7);
}
.cab-base-body::before {
    content: '';
    position: absolute;
    top: 6px; left: 15%; right: 15%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(255,95,31,0.1) 0px, rgba(255,95,31,0.1) 4px, transparent 4px, transparent 8px);
}
.cab-base-body::after {
    content: '';
    position: absolute;
    top: 10px; left: 15%; right: 15%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(255,95,31,0.06) 0px, rgba(255,95,31,0.06) 4px, transparent 4px, transparent 8px);
}
.cab-foot {
    position: absolute;
    bottom: -4px;
    width: 20px; height: 8px;
    background: #18191f;
    border-radius: 0 0 3px 3px;
}
.cab-foot--l { left: 10px; }
.cab-foot--r { right: 10px; }

/* Ambient Glow */
.cab-ambient-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
    background: radial-gradient(ellipse, rgba(255,95,31,0.12) 0%, rgba(255,95,31,0.04) 40%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    animation: ambientPulse 4s ease-in-out infinite;
}
@keyframes ambientPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

/* Smoke / Mist */
.cab-mist {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 260px; height: 200px;
    z-index: 7;
    pointer-events: none;
}
.cab-smoke-strand {
    position: absolute;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, rgba(255,95,31,0.06), rgba(255,95,31,0.02), transparent);
    border-radius: 50%;
    filter: blur(3px);
    animation: cabSmokeRise linear infinite;
}
@keyframes cabSmokeRise {
    0% { opacity: 0; transform: translateY(0) scaleX(1); }
    20% { opacity: 0.5; }
    60% { transform: translateY(-80px) scaleX(2.5); }
    100% { opacity: 0; transform: translateY(-160px) scaleX(4); }
}

/* Floor Reflection */
.cab-floor-reflect {
    position: absolute;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    width: 320px; height: 80px;
    background: radial-gradient(ellipse, rgba(255,95,31,0.22) 0%, rgba(255,95,31,0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
    animation: floorGlow 4s ease-in-out infinite;
}
@keyframes floorGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ============================================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================================ */

/* Reduce animations on mobile for better performance */
@media (max-width: 767px) {
    /* Simplify cabinet animations */
    .cab-ambient-glow { animation: none; opacity: 0.7; }
    .cab-floor-reflect { animation: none; opacity: 0.8; }
    .cab-spotlight-cone { animation: none; opacity: 0.75; }
    .cab-canopy::after { animation: none; }
    .cab-smoke-strand { animation: none; display: none; }
    .cab-mist { display: none; }

    /* Reduce LED animations to simple static glow */
    .cab-cell-led { animation: none !important; }
    .cab-cell-charge { animation: none; height: 50%; opacity: 0.3; }

    /* Simplify decorative elements */
    .orb { animation: none; }
    .ring-spin { animation: none !important; }
    .bg-noise { display: none; }

    /* Reduce blur effects (expensive on mobile GPU) */
    .backdrop-blur-md { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
    .blur-3xl { filter: blur(32px); }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .cab-smoke-strand { display: none; }
    .cab-mist { display: none; }
}

/* GPU compositing hints for animated elements */
.css-cabinet,
.cab-cell-led,
.cab-ambient-glow,
.cab-floor-reflect,
.ring-spin,
.orb {
    will-change: transform;
}
.cab-cell-charge {
    will-change: height, opacity;
}
