/* ==========================================================
   archetype.works - Cyberpunk Workshop Design System
   Colors: #0A0A0F, #151520, #1E1E30, #FF2BF1, #00F0FF,
           #39FF14, #E8E6F0, #8B87A8, #FF6B2B
   Fonts: Space Grotesk, Outfit, JetBrains Mono
   ========================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: #0A0A0F;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: #E8E6F0;
    background: #0A0A0F;
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Boot Overlay --- */
#boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0A0F;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#boot-overlay.fade-out {
    opacity: 0;
}

#boot-overlay.hidden {
    display: none;
}

.boot-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #39FF14;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.boot-text.visible {
    opacity: 1;
}

.boot-text:last-child {
    color: #FF2BF1;
    font-size: 14px;
}

/* --- Floating Navigation --- */
#floating-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9000;
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(30, 30, 48, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 40px;
    border: 1px solid rgba(255, 43, 241, 0.3);
    box-shadow: 0 0 20px rgba(255, 43, 241, 0.15), 0 0 60px rgba(255, 43, 241, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), bottom 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#floating-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B87A8;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: #E8E6F0;
    background: rgba(255, 43, 241, 0.15);
}

.nav-link.active {
    color: #FF2BF1;
    background: rgba(255, 43, 241, 0.1);
}

/* --- Particle & Wire Layers --- */
#particle-layer, #wire-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#wire-layer {
    z-index: 2;
}

.particle {
    position: absolute;
    border-radius: 1px;
    opacity: 0;
    animation: particle-drift 12s infinite linear;
}

.particle.circle {
    border-radius: 50%;
}

@keyframes particle-drift {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: var(--p-opacity, 0.2);
    }
    90% {
        opacity: var(--p-opacity, 0.2);
    }
    100% {
        transform: translateY(-120vh) translateX(var(--p-drift, 20px));
        opacity: 0;
    }
}

.wire-fragment {
    position: absolute;
    width: var(--wire-length, 60px);
    height: 1px;
    background: #8B87A8;
    opacity: 0;
    transform: rotate(var(--wire-angle, 30deg));
    animation: wire-float 15s infinite ease-in-out;
}

@keyframes wire-float {
    0%, 100% {
        transform: rotate(var(--wire-angle, 30deg)) translateY(0);
        opacity: 0.12;
    }
    50% {
        transform: rotate(var(--wire-angle, 30deg)) translateY(-8px);
        opacity: 0.18;
    }
}

/* --- Error Fragments --- */
.error-fragment {
    position: fixed;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #FF6B2B;
    opacity: 0.12;
    z-index: 3;
    pointer-events: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: error-flicker 6s infinite ease-in-out;
}

@keyframes error-flicker {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

/* --- Glow Orbs --- */
.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
    animation: orb-breathe 8s infinite ease-in-out;
}

@keyframes orb-breathe {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.glow-orb-magenta {
    background: radial-gradient(circle, rgba(255, 43, 241, 0.08) 0%, transparent 70%);
}

.glow-orb-cyan {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
}

.glow-orb-green {
    background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
}

.glow-orb-intense {
    width: 400px;
    height: 400px;
}

.glow-orb-intense.glow-orb-magenta {
    background: radial-gradient(circle, rgba(255, 43, 241, 0.12) 0%, transparent 70%);
}

.glow-orb-intense.glow-orb-cyan {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.10) 0%, transparent 70%);
}

/* --- Registration Marks --- */
.reg-mark {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #8B87A8;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    line-height: 1;
}

/* --- Chamber (Section) Base --- */
.chamber {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(40px, 8vw, 100px) clamp(20px, 5vw, 80px);
}

.chamber-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Fibonacci Spacing --- */
#boot-chamber { margin-bottom: 64px; }
#blueprint-chamber { margin-bottom: 96px; }
#assembly-chamber { margin-bottom: 160px; }
#test-chamber { margin-bottom: 96px; }
#signal-chamber { margin-bottom: 64px; }

/* --- Cluster Styles --- */
.cluster {
    margin-bottom: clamp(40px, 6vw, 80px);
    position: relative;
}

.cluster-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00F0FF;
    display: block;
    margin-bottom: 16px;
}

/* --- Typography --- */
.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #FF2BF1;
    text-shadow: 0 0 40px rgba(255, 43, 241, 0.3), 0 0 80px rgba(255, 43, 241, 0.1);
    margin-bottom: 24px;
}

.headline-line {
    display: block;
}

.headline-dot {
    color: #00F0FF;
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.3), 0 0 80px rgba(0, 240, 255, 0.1);
}

.hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #E8E6F0;
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 20px;
}

.hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #39FF14;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    letter-spacing: 0.01em;
    line-height: 1.15;
    color: #FF2BF1;
    text-shadow: 0 0 30px rgba(255, 43, 241, 0.2);
    margin-bottom: 20px;
}

.body-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #E8E6F0;
    line-height: 1.65;
    max-width: 600px;
}

/* --- Shake Glitch Animation --- */
@keyframes shake-glitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.shake-glitch {
    animation: shake-glitch 0.3s ease-in-out;
}

.shake-glitch-color {
    animation: shake-glitch 0.3s ease-in-out;
    color: #FF6B2B !important;
    border-color: #FF6B2B !important;
    box-shadow: 0 0 20px rgba(255, 107, 43, 0.4) !important;
}

/* Hero shake-settle on load */
@keyframes hero-shake-settle {
    0% { transform: translateX(-8px) skewX(-2deg); opacity: 0.7; }
    20% { transform: translateX(6px) skewX(1.5deg); }
    40% { transform: translateX(-4px) skewX(-1deg); }
    60% { transform: translateX(3px) skewX(0.5deg); opacity: 1; }
    80% { transform: translateX(-1px); }
    100% { transform: translateX(0) skewX(0deg); opacity: 1; }
}

.hero-headline.shake-settle {
    animation: hero-shake-settle 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- Entrance Animations --- */
@keyframes cluster-enter {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cluster, .assembly-header, .card-constellation, .test-grid, .test-console,
.signal-cta-area, .signal-footer {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.cluster.in-view, .assembly-header.in-view, .card-constellation.in-view,
.test-grid.in-view, .test-console.in-view, .signal-cta-area.in-view,
.signal-footer.in-view {
    animation: cluster-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stagger entrance for multiple elements in same section */
.cluster.in-view:nth-child(2) { animation-delay: 0.15s; }
.cluster.in-view:nth-child(3) { animation-delay: 0.3s; }

/* --- Boot Chamber Layout --- */
.boot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    min-height: 80vh;
}

.boot-headline-area {
    position: relative;
    padding-left: clamp(10px, 3vw, 40px);
}

.boot-icon-area {
    position: relative;
    height: 400px;
}

.iso-icon {
    position: absolute;
    width: 128px;
    height: 128px;
}

.iso-icon-cube {
    top: 10%;
    left: 15%;
    animation: icon-drift-1 12s infinite ease-in-out, icon-glow-pulse 4s infinite ease-in-out;
}

.iso-icon-sphere {
    top: 35%;
    right: 10%;
    animation: icon-drift-2 10s infinite ease-in-out, icon-glow-pulse 4s 1s infinite ease-in-out;
}

.iso-icon-gear {
    bottom: 10%;
    left: 35%;
    animation: icon-drift-3 14s infinite ease-in-out, icon-glow-pulse 4s 2s infinite ease-in-out;
}

.icon-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

@keyframes icon-drift-1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(8px, -6px); }
    66% { transform: translate(-5px, 10px); }
}

@keyframes icon-drift-2 {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(-10px, 8px); }
    70% { transform: translate(6px, -4px); }
}

@keyframes icon-drift-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -8px); }
}

/* Pulsing glow on icon containers */
@keyframes icon-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 43, 241, 0.2)); }
    50% { filter: drop-shadow(0 0 16px rgba(255, 43, 241, 0.5)); }
}

/* Glow effect on SVGs within icons */
.iso-icon svg {
    filter: drop-shadow(0 0 8px rgba(255, 43, 241, 0.3));
}

/* --- Blueprint Chamber --- */
.blueprint-content {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 5vw, 64px);
}

.cluster-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.iso-illustration svg {
    width: 100%;
    max-width: 320px;
}

/* --- Assembly Chamber --- */
.assembly-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.card-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(24px, 3vw, 40px);
    position: relative;
}

.project-card {
    position: relative;
    background: #151520;
    border: 1px solid rgba(139, 135, 168, 0.15);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 32px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.2s ease,
                box-shadow 0.2s ease;
    cursor: crosshair;
}

.project-card:hover {
    transform: translateY(-2px) rotate(0deg) !important;
    border-color: rgba(255, 43, 241, 0.4);
    box-shadow: 0 0 20px rgba(255, 43, 241, 0.15), 0 0 60px rgba(255, 43, 241, 0.05);
}

.project-card:hover .card-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #E8E6F0;
    margin-bottom: 8px;
}

.card-desc {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    color: #8B87A8;
    line-height: 1.55;
    margin-bottom: 16px;
}

.card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00F0FF;
    padding: 4px 10px;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 20px;
    display: inline-block;
}

/* --- Test Chamber --- */
.test-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.test-module {
    background: #151520;
    border: 1px solid rgba(139, 135, 168, 0.15);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B87A8;
}

.module-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #39FF14;
    padding: 2px 8px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.module-status.active {
    color: #FF2BF1;
    border-color: rgba(255, 43, 241, 0.3);
}

.module-status.error {
    color: #FF6B2B;
    border-color: rgba(255, 107, 43, 0.3);
}

.test-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #E8E6F0;
    background: rgba(255, 43, 241, 0.1);
    border: 1px solid rgba(255, 43, 241, 0.3);
    border-radius: 6px;
    padding: 10px 20px;
    cursor: crosshair;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.test-btn:hover {
    background: rgba(255, 43, 241, 0.2);
    box-shadow: 0 0 20px rgba(255, 43, 241, 0.2);
    transform: translateY(-1px);
}

.test-btn:active {
    transform: translateY(0);
}

.test-output {
    background: #0A0A0F;
    border-radius: 4px;
    padding: 12px;
    min-height: 48px;
}

.output-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #8B87A8;
    line-height: 1.6;
    display: block;
}

.output-line.success {
    color: #39FF14;
}

.output-line.error {
    color: #FF6B2B;
}

.output-line.info {
    color: #00F0FF;
}

/* Test icon area */
.test-icon-area {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

#test-icon-svg {
    width: 140px;
    height: 140px;
}

/* Pulse visualization */
.pulse-visualization {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.pulse-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
}

.pulse-ring.animate {
    animation: pulse-expand 1.2s ease-out forwards;
}

@keyframes pulse-expand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
        border-color: rgba(0, 240, 255, 0.6);
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        border-color: rgba(0, 240, 255, 0);
    }
}

.pulse-center {
    width: 10px;
    height: 10px;
    background: #00F0FF;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    position: relative;
    z-index: 2;
}

/* --- Test Console --- */
.test-console {
    background: #0A0A0F;
    border: 1px solid rgba(139, 135, 168, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #151520;
    border-bottom: 1px solid rgba(139, 135, 168, 0.1);
}

.console-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B87A8;
}

.console-clear {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B87A8;
    background: none;
    border: 1px solid rgba(139, 135, 168, 0.2);
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.console-clear:hover {
    color: #FF6B2B;
    border-color: rgba(255, 107, 43, 0.3);
}

.console-body {
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #8B87A8;
    line-height: 1.5;
}

.console-line.sys {
    color: #39FF14;
}

.console-line.warn {
    color: #FF6B2B;
}

.console-line.info {
    color: #00F0FF;
}

.console-line.err {
    color: #FF6B2B;
}

/* --- Signal Chamber --- */
.signal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(40px, 6vw, 80px);
}

.signal-cta-area {
    width: 100%;
    max-width: 560px;
}

.signal-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00F0FF;
}

.signal-input {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    font-weight: 400;
    color: #E8E6F0;
    background: #1E1E30;
    border: 1px solid rgba(139, 135, 168, 0.2);
    border-radius: 6px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signal-input::placeholder {
    color: #8B87A8;
    opacity: 0.5;
}

.signal-input:focus {
    border-color: rgba(255, 43, 241, 0.4);
    box-shadow: 0 0 20px rgba(255, 43, 241, 0.1);
}

.signal-input.input-error {
    border-color: #FF6B2B;
    box-shadow: 0 0 20px rgba(255, 107, 43, 0.2);
}

.signal-textarea {
    min-height: 120px;
    resize: vertical;
}

.signal-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0A0A0F;
    background: #39FF14;
    border: none;
    border-radius: 6px;
    padding: 16px 32px;
    cursor: crosshair;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3), 0 0 60px rgba(57, 255, 20, 0.1);
    align-self: flex-start;
}

.signal-btn:hover {
    background: #4dff33;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5), 0 0 80px rgba(57, 255, 20, 0.2);
    transform: translateY(-2px);
}

.signal-btn:active {
    transform: translateY(0);
}

.btn-icon {
    display: flex;
    align-items: center;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

/* Signal footer */
.signal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 135, 168, 0.1);
}

.footer-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B87A8;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #39FF14;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #39FF14;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
    animation: status-pulse 2s infinite ease-in-out;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(57, 255, 20, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 4px rgba(57, 255, 20, 0.3); }
}

/* --- Hover Effect: Neon Border Glow --- */
.project-card:hover,
.test-module:hover {
    border-color: rgba(255, 43, 241, 0.35);
    box-shadow: 0 0 20px rgba(255, 43, 241, 0.12), 0 0 60px rgba(255, 43, 241, 0.04);
}

/* --- Custom Crosshair Cursor (fallback) --- */
a, button, .project-card, .test-btn {
    cursor: crosshair;
}

/* --- Responsive: Small Screens --- */
@media (max-width: 768px) {
    .boot-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .boot-icon-area {
        height: 250px;
    }

    .cluster-2 {
        grid-template-columns: 1fr;
    }

    .card-constellation {
        grid-template-columns: 1fr;
    }

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

    #floating-nav {
        bottom: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .signal-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .chamber {
        padding: clamp(30px, 6vw, 60px) clamp(16px, 4vw, 30px);
    }

    .boot-icon-area {
        height: 200px;
    }

    .iso-icon {
        width: 96px;
        height: 96px;
    }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0A0A0F;
}

::-webkit-scrollbar-thumb {
    background: #1E1E30;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B87A8;
}

/* --- Selection --- */
::selection {
    background: rgba(255, 43, 241, 0.3);
    color: #E8E6F0;
}
