/* ============================================
   penclos.com - Holographic Privacy Enclosure
   ============================================ */

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

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.75;
    color: #FFFFFF;
    background: #0A0A18;
    overflow-x: hidden;
    --cursor-x: 50%;
    --cursor-y: 50%;
    --scroll-pct: 0;
    --hue-shift: 0deg;
}

/* --- Encryption Depth Indicator --- */
#depth-indicator {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
}

#depth-bar {
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #FF60A0, #60E0FF, #A0FF60, #B060FF);
    border-radius: 2px;
    transition: height 0.15s ease-out;
}

#depth-label {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #60E0FF;
    white-space: nowrap;
}

/* --- Immersive Sections --- */
.immersive-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- Holographic Gradient Backgrounds --- */
.holo-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #FF60A0 0%,
        #B060FF 25%,
        #60E0FF 50%,
        #A0FF60 75%,
        #FF60A0 100%
    );
    background-size: 400% 400%;
    animation: holoShift 8s ease infinite;
    z-index: 0;
    filter: hue-rotate(var(--hue-shift));
}

.layer-bg {
    opacity: 0.85;
}

.core-bg {
    animation: holoShiftFast 3s ease infinite;
    opacity: 0.95;
}

@keyframes holoShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes holoShiftFast {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Cursor-follow radial overlay */
.holo-gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle 600px at var(--cursor-x) var(--cursor-y),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    pointer-events: none;
    transition: background 0.2s ease-out;
}

/* --- Circuit SVG Overlays --- */
.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Dark circuit traces (on light holographic bg) */
.circuit-trace {
    stroke: #0A0A18;
    stroke-width: 1;
    fill: none;
    opacity: 0.4;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawTrace 1.5s ease forwards;
}

/* White circuit traces (on dark sections) */
.circuit-trace-white {
    stroke: #FFFFFF;
    stroke-width: 1;
    fill: none;
    opacity: 0.25;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawTrace 1.5s ease forwards;
}

.circuit-junction {
    fill: #0A0A18;
    opacity: 0.5;
}

.circuit-junction-white {
    fill: #FFFFFF;
    opacity: 0.35;
}

@keyframes drawTrace {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- Data Pulses --- */
.data-pulse, .data-pulse-white {
    opacity: 0;
}

/* Dark pulses */
.data-pulse {
    fill: #60E0FF;
    filter: drop-shadow(0 0 4px #60E0FF);
}

/* White pulses */
.data-pulse-white {
    fill: #FF60A0;
    filter: drop-shadow(0 0 4px #FF60A0);
}

/* Pulse animations along paths - varied timing */
.pulse-1 {
    animation: pulsePath1 4s linear 1.5s infinite;
}
.pulse-2 {
    animation: pulsePath2 5s linear 2s infinite;
}
.pulse-3 {
    animation: pulsePath3 3.5s linear 1.8s infinite;
}
.pulse-4 {
    animation: pulsePath4 4.5s linear 2.2s infinite;
}
.pulse-5 {
    animation: pulsePath5 3.8s linear 1.6s infinite;
}
.pulse-6 {
    animation: pulsePath6 4.2s linear 2s infinite;
}
.pulse-7 {
    animation: pulsePath7 5.2s linear 2.5s infinite;
}
.pulse-8 {
    animation: pulsePath8 3.6s linear 1.7s infinite;
}

.pulse-9 {
    animation: pulsePath9 4s linear 1.5s infinite;
}
.pulse-10 {
    animation: pulsePath10 5.5s linear 2s infinite;
}
.pulse-11 {
    animation: pulsePath11 3.8s linear 1.8s infinite;
}
.pulse-12 {
    animation: pulsePath12 4.8s linear 2.2s infinite;
}
.pulse-13 {
    animation: pulsePath13 3.2s linear 1.4s infinite;
}

.pw-1 {
    animation: pulsePathW1 4s linear 1.5s infinite;
}
.pw-2 {
    animation: pulsePathW2 5s linear 2s infinite;
}
.pw-3 {
    animation: pulsePathW3 3.5s linear 1.8s infinite;
}
.pw-4 {
    animation: pulsePathW4 4.2s linear 2s infinite;
}
.pw-5 {
    animation: pulsePathW5 5.2s linear 2.5s infinite;
}
.pw-6 {
    animation: pulsePathW6 3.6s linear 1.7s infinite;
}
.pw-7 {
    animation: pulsePathW7 4.5s linear 2.2s infinite;
}
.pw-8 {
    animation: pulsePathW8 3.8s linear 1.5s infinite;
}
.pw-9 {
    animation: pulsePathW9 4.3s linear 2s infinite;
}
.pw-10 {
    animation: pulsePathW10 5s linear 2.3s infinite;
}
.pw-11 {
    animation: pulsePathW11 3.5s linear 1.6s infinite;
}
.pw-12 {
    animation: pulsePathW12 4.7s linear 2.1s infinite;
}
.pw-13 {
    animation: pulsePathW13 3.3s linear 1.4s infinite;
}

/* Gate section pulse paths */
@keyframes pulsePath1 {
    0% { cx: 0; cy: 200; opacity: 1; }
    20% { cx: 400; cy: 200; opacity: 1; }
    40% { cx: 400; cy: 350; opacity: 1; }
    60% { cx: 600; cy: 350; opacity: 1; }
    80% { cx: 600; cy: 150; opacity: 1; }
    100% { cx: 900; cy: 150; opacity: 0; }
}
@keyframes pulsePath2 {
    0% { cx: 200; cy: 0; opacity: 1; }
    25% { cx: 200; cy: 300; opacity: 1; }
    50% { cx: 500; cy: 300; opacity: 1; }
    75% { cx: 500; cy: 600; opacity: 1; }
    100% { cx: 800; cy: 600; opacity: 0; }
}
@keyframes pulsePath3 {
    0% { cx: 0; cy: 500; opacity: 1; }
    25% { cx: 300; cy: 500; opacity: 1; }
    50% { cx: 300; cy: 700; opacity: 1; }
    75% { cx: 700; cy: 700; opacity: 1; }
    100% { cx: 700; cy: 450; opacity: 0; }
}
@keyframes pulsePath4 {
    0% { cx: 900; cy: 400; opacity: 1; }
    50% { cx: 1200; cy: 400; opacity: 1; }
    100% { cx: 1200; cy: 400; opacity: 0; }
}
@keyframes pulsePath5 {
    0% { cx: 800; cy: 200; opacity: 1; }
    50% { cx: 1100; cy: 200; opacity: 1; }
    100% { cx: 1100; cy: 500; opacity: 0; }
}

/* Layer 2 pulse paths */
@keyframes pulsePath6 {
    0% { cx: 0; cy: 300; opacity: 1; }
    15% { cx: 200; cy: 300; opacity: 1; }
    30% { cx: 200; cy: 100; opacity: 1; }
    50% { cx: 500; cy: 100; opacity: 1; }
    70% { cx: 500; cy: 450; opacity: 1; }
    85% { cx: 800; cy: 450; opacity: 1; }
    100% { cx: 800; cy: 200; opacity: 0; }
}
@keyframes pulsePath7 {
    0% { cx: 0; cy: 650; opacity: 1; }
    20% { cx: 350; cy: 650; opacity: 1; }
    40% { cx: 350; cy: 350; opacity: 1; }
    60% { cx: 700; cy: 350; opacity: 1; }
    80% { cx: 700; cy: 700; opacity: 1; }
    100% { cx: 1050; cy: 700; opacity: 0; }
}
@keyframes pulsePath8 {
    0% { cx: 1100; cy: 200; opacity: 1; }
    50% { cx: 1100; cy: 600; opacity: 1; }
    100% { cx: 1200; cy: 600; opacity: 0; }
}

/* Layer 4 pulse paths */
@keyframes pulsePath9 {
    0% { cx: 0; cy: 150; opacity: 1; }
    15% { cx: 180; cy: 150; opacity: 1; }
    30% { cx: 180; cy: 400; opacity: 1; }
    50% { cx: 420; cy: 400; opacity: 1; }
    65% { cx: 420; cy: 200; opacity: 1; }
    80% { cx: 660; cy: 200; opacity: 1; }
    100% { cx: 660; cy: 600; opacity: 0; }
}
@keyframes pulsePath10 {
    0% { cx: 0; cy: 550; opacity: 1; }
    20% { cx: 280; cy: 550; opacity: 1; }
    40% { cx: 280; cy: 250; opacity: 1; }
    60% { cx: 540; cy: 250; opacity: 1; }
    80% { cx: 540; cy: 500; opacity: 1; }
    100% { cx: 780; cy: 500; opacity: 0; }
}
@keyframes pulsePath11 {
    0% { cx: 100; cy: 0; opacity: 1; }
    20% { cx: 100; cy: 350; opacity: 1; }
    40% { cx: 350; cy: 350; opacity: 1; }
    60% { cx: 350; cy: 650; opacity: 1; }
    80% { cx: 600; cy: 650; opacity: 1; }
    100% { cx: 600; cy: 50; opacity: 0; }
}
@keyframes pulsePath12 {
    0% { cx: 900; cy: 600; opacity: 1; }
    50% { cx: 900; cy: 100; opacity: 1; }
    100% { cx: 1200; cy: 100; opacity: 0; }
}
@keyframes pulsePath13 {
    0% { cx: 850; cy: 50; opacity: 1; }
    33% { cx: 850; cy: 450; opacity: 1; }
    66% { cx: 1150; cy: 450; opacity: 1; }
    100% { cx: 1150; cy: 800; opacity: 0; }
}

/* White pulse paths for layers 1, 3, and core */
@keyframes pulsePathW1 {
    0% { cx: 0; cy: 100; opacity: 1; }
    15% { cx: 350; cy: 100; opacity: 1; }
    30% { cx: 350; cy: 250; opacity: 1; }
    50% { cx: 650; cy: 250; opacity: 1; }
    70% { cx: 650; cy: 500; opacity: 1; }
    85% { cx: 1000; cy: 500; opacity: 1; }
    100% { cx: 1000; cy: 300; opacity: 0; }
}
@keyframes pulsePathW2 {
    0% { cx: 0; cy: 600; opacity: 1; }
    20% { cx: 250; cy: 600; opacity: 1; }
    40% { cx: 250; cy: 400; opacity: 1; }
    60% { cx: 550; cy: 400; opacity: 1; }
    80% { cx: 550; cy: 700; opacity: 1; }
    100% { cx: 900; cy: 700; opacity: 0; }
}
@keyframes pulsePathW3 {
    0% { cx: 900; cy: 150; opacity: 1; }
    50% { cx: 1200; cy: 150; opacity: 1; }
    100% { cx: 1200; cy: 150; opacity: 0; }
}
@keyframes pulsePathW4 {
    0% { cx: 0; cy: 200; opacity: 1; }
    15% { cx: 150; cy: 200; opacity: 1; }
    30% { cx: 150; cy: 500; opacity: 1; }
    50% { cx: 400; cy: 500; opacity: 1; }
    65% { cx: 400; cy: 150; opacity: 1; }
    80% { cx: 700; cy: 150; opacity: 1; }
    100% { cx: 700; cy: 550; opacity: 0; }
}
@keyframes pulsePathW5 {
    0% { cx: 0; cy: 700; opacity: 1; }
    20% { cx: 300; cy: 700; opacity: 1; }
    40% { cx: 300; cy: 350; opacity: 1; }
    60% { cx: 600; cy: 350; opacity: 1; }
    80% { cx: 600; cy: 650; opacity: 1; }
    100% { cx: 850; cy: 650; opacity: 0; }
}
@keyframes pulsePathW6 {
    0% { cx: 950; cy: 550; opacity: 1; }
    50% { cx: 950; cy: 250; opacity: 1; }
    100% { cx: 1200; cy: 250; opacity: 0; }
}
@keyframes pulsePathW7 {
    0% { cx: 850; cy: 100; opacity: 1; }
    33% { cx: 1100; cy: 100; opacity: 1; }
    66% { cx: 1100; cy: 450; opacity: 1; }
    100% { cx: 1200; cy: 450; opacity: 0; }
}

/* Core section white pulses */
@keyframes pulsePathW8 {
    0% { cx: 0; cy: 100; opacity: 1; }
    12% { cx: 150; cy: 100; opacity: 1; }
    25% { cx: 150; cy: 250; opacity: 1; }
    37% { cx: 300; cy: 250; opacity: 1; }
    50% { cx: 300; cy: 400; opacity: 1; }
    62% { cx: 450; cy: 400; opacity: 1; }
    75% { cx: 450; cy: 200; opacity: 1; }
    87% { cx: 600; cy: 200; opacity: 1; }
    100% { cx: 600; cy: 500; opacity: 0; }
}
@keyframes pulsePathW9 {
    0% { cx: 0; cy: 500; opacity: 1; }
    15% { cx: 100; cy: 500; opacity: 1; }
    30% { cx: 100; cy: 650; opacity: 1; }
    45% { cx: 250; cy: 650; opacity: 1; }
    60% { cx: 250; cy: 350; opacity: 1; }
    75% { cx: 400; cy: 350; opacity: 1; }
    90% { cx: 400; cy: 600; opacity: 1; }
    100% { cx: 550; cy: 600; opacity: 0; }
}
@keyframes pulsePathW10 {
    0% { cx: 750; cy: 500; opacity: 1; }
    25% { cx: 750; cy: 150; opacity: 1; }
    50% { cx: 900; cy: 150; opacity: 1; }
    75% { cx: 900; cy: 350; opacity: 1; }
    100% { cx: 1050; cy: 350; opacity: 0; }
}
@keyframes pulsePathW11 {
    0% { cx: 700; cy: 300; opacity: 1; }
    33% { cx: 700; cy: 700; opacity: 1; }
    66% { cx: 850; cy: 700; opacity: 1; }
    100% { cx: 850; cy: 450; opacity: 0; }
}
@keyframes pulsePathW12 {
    0% { cx: 50; cy: 0; opacity: 1; }
    15% { cx: 50; cy: 200; opacity: 1; }
    30% { cx: 200; cy: 200; opacity: 1; }
    45% { cx: 200; cy: 450; opacity: 1; }
    60% { cx: 350; cy: 450; opacity: 1; }
    75% { cx: 350; cy: 550; opacity: 1; }
    90% { cx: 500; cy: 550; opacity: 1; }
    100% { cx: 500; cy: 100; opacity: 0; }
}
@keyframes pulsePathW13 {
    0% { cx: 950; cy: 250; opacity: 1; }
    25% { cx: 950; cy: 550; opacity: 1; }
    50% { cx: 1100; cy: 550; opacity: 1; }
    75% { cx: 1100; cy: 200; opacity: 1; }
    100% { cx: 1200; cy: 200; opacity: 0; }
}

/* --- Gate Section Content --- */
.gate-content {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    animation: snapIn 0.2s ease forwards 0.3s;
}

.domain-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 8vw, 120px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 0 40px rgba(96, 224, 255, 0.5), 0 0 80px rgba(255, 96, 160, 0.3);
    line-height: 1;
    margin-bottom: 16px;
}

.gate-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes snapIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Encryption Layer Content --- */
.layer-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    width: 100%;
    padding: 0 24px;
}

.fade-in-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.status-label {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #60E0FF;
    margin-bottom: 16px;
    padding: 4px 12px;
    border: 1px solid rgba(96, 224, 255, 0.3);
    background: rgba(10, 10, 24, 0.3);
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 64px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* --- Duotone Panels --- */
.duotone-panel {
    width: 100%;
    height: 240px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.duotone-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A0830 0%, #0A0A18 50%, #1A0830 100%);
    position: relative;
    overflow: hidden;
    filter: grayscale(100%);
    animation: duotoneHue 6s ease infinite;
}

.duotone-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(96, 224, 255, 0.03) 2px,
        rgba(96, 224, 255, 0.03) 4px
    );
}

.duotone-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: color;
}

.duotone-1::after {
    background: linear-gradient(135deg, #FF60A0, #60E0FF);
}

.duotone-2::after {
    background: linear-gradient(135deg, #60E0FF, #A0FF60);
}

.duotone-3::after {
    background: linear-gradient(135deg, #B060FF, #FF60A0);
}

.duotone-4::after {
    background: linear-gradient(135deg, #A0FF60, #B060FF);
}

@keyframes duotoneHue {
    0% { filter: grayscale(60%) hue-rotate(0deg); }
    50% { filter: grayscale(40%) hue-rotate(30deg); }
    100% { filter: grayscale(60%) hue-rotate(0deg); }
}

.duotone-panel:hover .duotone-image {
    filter: grayscale(20%) hue-rotate(45deg);
    transition: filter 0.4s ease;
}

/* Data grid pattern inside duotone panels */
.duotone-1 {
    background:
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(96, 224, 255, 0.06) 40px, rgba(96, 224, 255, 0.06) 41px),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255, 96, 160, 0.06) 40px, rgba(255, 96, 160, 0.06) 41px),
        linear-gradient(135deg, #1A0830 0%, #0A0A18 100%);
}

.duotone-2 {
    background:
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(160, 255, 96, 0.05) 20px, rgba(160, 255, 96, 0.05) 21px),
        repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(96, 224, 255, 0.05) 20px, rgba(96, 224, 255, 0.05) 21px),
        linear-gradient(135deg, #0A0A18 0%, #1A0830 100%);
}

.duotone-3 {
    background:
        repeating-linear-gradient(60deg, transparent, transparent 30px, rgba(176, 96, 255, 0.06) 30px, rgba(176, 96, 255, 0.06) 31px),
        repeating-linear-gradient(-30deg, transparent, transparent 30px, rgba(255, 96, 160, 0.06) 30px, rgba(255, 96, 160, 0.06) 31px),
        linear-gradient(135deg, #1A0830 0%, #0A0A18 100%);
}

.duotone-4 {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(160, 255, 96, 0.04) 15px, rgba(160, 255, 96, 0.04) 16px),
        repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(176, 96, 255, 0.04) 15px, rgba(176, 96, 255, 0.04) 16px),
        repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(96, 224, 255, 0.03) 30px, rgba(96, 224, 255, 0.03) 31px),
        linear-gradient(135deg, #0A0A18 0%, #1A0830 100%);
}

/* --- Secure Core (Footer) --- */
.core-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.core-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 5vw, 72px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 0 40px rgba(96, 224, 255, 0.5), 0 0 80px rgba(176, 96, 255, 0.3);
}

.core-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
}

.core-domain {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 40px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #60E0FF;
    text-shadow: 0 0 20px rgba(96, 224, 255, 0.6);
    margin-bottom: 16px;
}

.core-footer-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Hover Interactions --- */
.encryption-layer .layer-content:hover {
    cursor: default;
}

.encryption-layer .layer-content:hover .section-heading {
    text-shadow: 0 0 30px rgba(96, 224, 255, 0.4);
    transition: text-shadow 0.3s ease;
}

.encryption-layer:hover .circuit-trace,
.encryption-layer:hover .circuit-trace-white {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Holographic border glow on content hover */
.layer-content:hover {
    box-shadow: 0 0 30px rgba(96, 224, 255, 0.1);
}

/* --- Dark Overlay for Readability --- */
.encryption-layer .holo-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 24, 0.55);
    z-index: 0;
}

#holo-gate .holo-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 24, 0.2);
    z-index: 0;
}

#secure-core .holo-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 24, 0.4);
    z-index: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .domain-title {
        font-size: clamp(36px, 12vw, 72px);
    }

    .layer-content {
        padding: 0 20px;
    }

    .duotone-panel {
        height: 180px;
    }

    #depth-indicator {
        right: 8px;
        height: 150px;
    }

    .status-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .domain-title {
        font-size: clamp(28px, 14vw, 56px);
    }

    .duotone-panel {
        height: 140px;
    }

    #depth-indicator {
        height: 120px;
    }
}
