/*
Theme Name: Mafox Vision
Theme URI: https://mafoxvision.pl
Author: Mafox Vision
Author URI: https://mafoxvision.pl
Description: Profesjonalny motyw one-page dla studia produkcji video, animacji 2D i motion design. Styl Cyberpunk/Blade Runner.
Version: 2.1
Text Domain: mafox-vision
*/

/* ==========================================================================
   CYBERPUNK DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Deep Space Backgrounds */
    --color-bg-dark: #030810;
    --color-bg-secondary: #0a1020;
    --color-bg-card: #0d1525;
    --color-bg-card-hover: #111a2e;

    /* Neon Accent Colors */
    --color-neon-cyan: #00f0ff;
    --color-neon-magenta: #ff00ff;
    --color-neon-purple: #9d4edd;
    --color-neon-blue: #4361ee;
    --color-neon-green: #39ff14;
    --color-neon-pink: #ff2a6d;
    --color-neon-indigo: #4800ff;

    /* Gradient Palettes */
    --gradient-cyber-1: linear-gradient(135deg, #00f0ff 0%, #4800ff 100%);
    --gradient-cyber-2: linear-gradient(135deg, #ff00ff 0%, #4800ff 100%);
    --gradient-cyber-3: linear-gradient(135deg, #00f0ff 0%, #00ff9d 100%);
    --gradient-glow-1: radial-gradient(circle at 50% 50%, rgba(72, 0, 255, 0.4), transparent 70%);
    --gradient-glow-2: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.3), transparent 70%);

    /* Primary Accents */
    --color-accent: #00f0ff;
    --color-accent-hover: #00c8d4;
    --color-accent-secondary: #9d4edd;

    /* Text Colors */
    --color-text: #e0e6ed;
    --color-text-bright: #ffffff;
    --color-text-muted: #6b7a8f;
    --color-text-dim: #3a4a5e;

    /* Borders & Lines */
    --color-border: rgba(0, 240, 255, 0.15);
    --color-border-bright: rgba(0, 240, 255, 0.4);

    /* Glow Effects */
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.2);
    --glow-cyan-strong: 0 0 30px rgba(0, 240, 255, 0.7), 0 0 60px rgba(0, 240, 255, 0.4);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.2);
    --glow-purple: 0 0 20px rgba(157, 78, 221, 0.5), 0 0 40px rgba(157, 78, 221, 0.2);
    --glow-green: 0 0 20px rgba(57, 255, 20, 0.5), 0 0 40px rgba(57, 255, 20, 0.2);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', var(--font-primary);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing & Sizing */
    --section-padding: 120px;
    --container-width: 1280px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-glow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    color: var(--color-text);
    background-color: var(--color-bg-dark);
    /* Complex Cyberpunk Background */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(72, 0, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-secondary) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scanline Overlay - Global */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
    opacity: 0.4;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-bright);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
    text-shadow: var(--glow-cyan);
}

/* Text Effects */
.text-gradient {
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-magenta {
    background: linear-gradient(135deg, var(--color-neon-magenta), var(--color-neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: var(--glow-cyan);
}

.text-glow-purple {
    text-shadow: var(--glow-purple);
}

/* Gradient Utilities */
.bg-gradient-cyber {
    background: var(--gradient-cyber-1);
}

.bg-gradient-glass {
    background: rgba(13, 21, 37, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.card-gradient-glow {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: var(--radius-lg);
}

.card-gradient-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    opacity: 0.5;
}

.card-neon-border {
    border: 1px solid var(--color-neon-cyan);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1), 0 0 20px rgba(0, 240, 255, 0.2);
}

.placeholder-glow {
    background: linear-gradient(90deg, var(--color-bg-card) 0%, var(--color-bg-card-hover) 50%, var(--color-bg-card) 100%);
    background-size: 200% 100%;
    animation: loading-pulse 1.5s infinite;
}

/* ==========================================================================
   GLITCH EFFECTS
   ========================================================================== */

@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: -2px 0 var(--color-neon-cyan), 2px 0 var(--color-neon-magenta);
    }

    20% {
        transform: translate(-2px, 2px);
        text-shadow: 2px 0 var(--color-neon-cyan), -2px 0 var(--color-neon-magenta);
    }

    40% {
        transform: translate(-2px, -2px);
        text-shadow: 2px 0 var(--color-neon-magenta), -2px 0 var(--color-neon-cyan);
    }

    60% {
        transform: translate(2px, 2px);
        text-shadow: -2px 0 var(--color-neon-cyan), 2px 0 var(--color-neon-magenta);
    }

    80% {
        transform: translate(2px, -2px);
        text-shadow: 2px 0 var(--color-neon-magenta), -2px 0 var(--color-neon-cyan);
    }

    100% {
        transform: translate(0);
        text-shadow: -2px 0 var(--color-neon-cyan), 2px 0 var(--color-neon-magenta);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    20% {
        transform: skew(-2deg);
    }

    40% {
        transform: skew(2deg);
    }

    60% {
        transform: skew(-1deg);
    }

    80% {
        transform: skew(1deg);
    }

    100% {
        transform: skew(0deg);
    }
}

.glitch-text {
    position: relative;
}

.glitch-text:hover {
    animation: glitch 0.3s ease forwards;
}

.glitch-active {
    animation: glitch 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

/* ==========================================================================
   NEON EFFECTS & ANIMATIONS
   ========================================================================== */

@keyframes neon-pulse {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.8;
        filter: brightness(1.2);
    }
}

@keyframes neon-flicker {

    0%,
    19.999%,
    22%,
    62.999%,
    64%,
    64.999%,
    70%,
    100% {
        opacity: 1;
    }

    20%,
    21.999%,
    63%,
    63.999%,
    65%,
    69.999% {
        opacity: 0.4;
    }
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 5px var(--color-neon-cyan),
            0 0 10px var(--color-neon-cyan),
            0 0 20px rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 10px var(--color-neon-cyan),
            0 0 20px var(--color-neon-cyan),
            0 0 40px rgba(0, 240, 255, 0.5);
    }
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    background-color: transparent;
    transition: background-color var(--transition-medium);
}

/* Note: content-visibility: auto removed - it was causing scroll anchor issues
   where first click would land at wrong position due to estimated heights */

/* Violet-Navy Gradient Theme for Section Separation */
.section:nth-child(odd) {
    background: rgba(10, 20, 35, 0.95);
    /* Dark Navy */
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(25, 15, 40, 0.95), rgba(15, 20, 45, 0.95));
    /* Violet-Navy */
    border-top: 1px solid rgba(157, 78, 221, 0.1);
    border-bottom: 1px solid rgba(0, 240, 255, 0.05);
}

/* Specific Section Overrides - Violet-Navy Palette */
#showcase {
    /* Services - Dark Navy Base */
    background: linear-gradient(180deg,
            rgba(5, 10, 20, 0.95) 0%,
            rgba(10, 20, 35, 0.95) 100%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

#portfolio {
    /* Portfolio - Violet-Navy Gradient */
    background: linear-gradient(135deg,
            rgba(20, 10, 40, 0.95) 0%,
            rgba(10, 15, 35, 0.95) 100%);
    border-top: 1px solid rgba(157, 78, 221, 0.15);
}

#postprodukcja {
    /* Postproduction - Deep Navy with Cyan hint */
    background: linear-gradient(180deg,
            rgba(5, 8, 15, 0.98) 0%,
            rgba(10, 25, 40, 0.95) 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

#backstage {
    /* Backstage - Violet Glow */
    background: linear-gradient(135deg,
            rgba(25, 10, 35, 0.95) 0%,
            rgba(15, 10, 30, 0.95) 100%);
    border-top: 1px solid rgba(255, 42, 109, 0.1);
}

#o-mnie {
    /* About - Solid Dark Navy for readability */
    background: rgba(8, 15, 25, 0.98);
    border-top: 1px solid rgba(0, 240, 255, 0.05);
}

#klienci {
    /* Clients - Lighter Violet-Navy to pop logos */
    background: linear-gradient(90deg,
            rgba(15, 20, 40, 0.95) 0%,
            rgba(25, 15, 45, 0.95) 100%);
    border-top: 1px solid rgba(157, 78, 221, 0.1);
}

#opinie {
    /* Testimonials - Deep Dark Navy */
    background: linear-gradient(180deg,
            rgba(5, 10, 20, 0.98) 0%,
            rgba(8, 12, 24, 0.95) 100%);
}

#cta {
    /* CTA - Clean Gradient */
    background: linear-gradient(135deg,
            rgba(67, 97, 238, 0.1) 0%,
            rgba(72, 0, 255, 0.1) 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    text-align: center;
}

#cta h2,
#cta p {
    color: #ffffff;
}

#kontakt {
    /* Contact - Final Deep Dark */
    background: #030508;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-purple), transparent);
}

.section-title p {
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ==========================================================================
   LOTTIE ANIMATIONS
   ========================================================================== */

.lottie-hero-element {
    position: absolute;
    right: 5%;
    top: 55%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
    mix-blend-mode: screen;
}

.lottie-scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .lottie-hero-element {
        width: 200px;
        height: 200px;
        top: 20%;
        right: 0;
        opacity: 0.5;
    }
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    color: var(--color-bg-dark);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan-strong);
    color: var(--color-bg-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-bright);
    border: 1px solid var(--color-border-bright);
}

.btn-outline:hover {
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1), var(--glow-cyan);
}

/* ==========================================================================
   HEADER - CYBERPUNK STYLE
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
    background: transparent;
}

.site-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(3, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
}

.site-header.scrolled::before {
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-bright);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--color-neon-cyan);
    text-shadow: var(--glow-cyan);
}

.logo:hover {
    color: var(--color-text-bright);
}

.logo:hover span {
    animation: neon-flicker 0.5s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::before {
    content: '//';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--color-neon-cyan);
    transition: all var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
    transition: width var(--transition-medium);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-neon-cyan);
    text-shadow: var(--glow-cyan);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    opacity: 1;
    left: -25px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO - CYBER BOOT SEQUENCE
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--color-bg-dark);
}

/* Video/Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Vignette only - clear center */
    background: radial-gradient(circle at center, transparent 0%, rgba(3, 8, 16, 0.3) 60%, rgba(3, 8, 16, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Audio Toggle Button - Repositioned slightly for new layout */
.audio-toggle-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 20;
    background: rgba(13, 21, 37, 0.2);
    /* More transparent */
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--color-neon-cyan);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all var(--transition-medium);
    outline: none;
    text-transform: uppercase;
    opacity: 0.7;
    /* Subtle by default */
}

.audio-toggle-btn:hover,
.audio-toggle-btn.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
    opacity: 1;
}

.audio-toggle-btn svg {
    display: block;
}

@media (max-width: 768px) {
    .audio-toggle-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px;
    }
}


.hero-bg video,
.hero-bg img,
.hero-bg iframe {
    width: 100vw;
    height: 56.25vw;
    /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh;
    /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
    /* Prevent interaction with video */
}

/* Gradient Overlay - REMOVED additional heavy overlay from pseudo-element if present */
.hero-bg::after {
    display: none;
}

/* HUD Frame Corners */
.hud-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    /* Less intrusive */
}

.hud-corner {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-neon-cyan);
    opacity: 0.6;
}

.hud-corner::before,
.hud-corner::after {
    content: '';
    position: absolute;
    background: var(--color-neon-cyan);
}

.hud-tl {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
    box-shadow: -5px -5px 20px rgba(0, 240, 255, 0.3);
}

.hud-tr {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
    box-shadow: 5px -5px 20px rgba(0, 240, 255, 0.3);
}

.hud-bl {
    bottom: 40px;
    left: 40px;
    border-right: none;
    border-top: none;
    box-shadow: -5px 5px 20px rgba(0, 240, 255, 0.3);
}

.hud-br {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
    box-shadow: 5px 5px 20px rgba(0, 240, 255, 0.3);
}

/* Circuit Lines - Reduced Opacity */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
}

/* Hero Content - Repositioned to Bottom Left */
.hero-content {
    position: absolute;
    /* Changed from relative */
    bottom: 15%;
    /* Lower third */
    left: 5%;
    /* Left align */
    z-index: 10;
    text-align: left;
    /* Left align text */
    max-width: 650px;
    /* Constrained width */
    padding: 0 24px;
    /* Ensure text readability without heavy full-screen overlay */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Add semi-transparent backing behind text block only if needed, 
   but trying clean first as requested */

.hero h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 5vw, 4rem);
    /* Slightly smaller max to fit */
    animation: glitch 0.3s ease;
    animation-delay: 2.5s;
    /* Longer delay to let video shine first */
    opacity: 0;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUpCyber 0.8s ease forwards;
    animation-delay: 0.5s;
    /* Delay relative to appearance */
}

.hero-content.visible .subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-neon-cyan);
    margin-bottom: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    opacity: 0;
    animation: fadeInUpCyber 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-content.visible p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 0 32px 0;
    line-height: 1.5;
    color: #e0e6ed;

    opacity: 0;
    animation: fadeInUpCyber 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    /* Left align */
    flex-wrap: wrap;

    opacity: 0;
}

.hero-content.visible .hero-buttons {
    animation: fadeInUpCyber 0.8s ease forwards;
    animation-delay: 1.2s;
}

/* Terminal Line - Top decoration */
.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0;
}

.hero-content.visible .terminal-line {
    animation: fadeInUpCyber 0.5s ease forwards;
    animation-delay: 0s;
}

/* Fade In Animation */
@keyframes fadeInUpCyber {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--color-neon-cyan);
    text-shadow: var(--glow-cyan);
    animation: terminal-blink 1s step-end infinite;
}

.terminal-command {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-text-bright);
    letter-spacing: 0.1em;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
}

.hero-content.visible .terminal-line {
    opacity: 1;
    transform: translateY(0);
    animation: terminal-line-appear 0.3s ease forwards;
}

.hero-content.visible .terminal-command {
    animation: typewriter 1s steps(20) 0.3s forwards;
}

/* Status OK indicator */
.status-ok {
    color: var(--color-neon-green);
    text-shadow: var(--glow-green);
    font-weight: 700;
    margin-right: 8px;
}

/* Terminal Elements - Sequential Reveal */
.terminal-element {
    opacity: 0;
    transform: translateY(30px);
}

.hero-content.visible .terminal-element-1 {
    animation: terminal-reveal 0.5s ease forwards;
    animation-delay: 1.3s;
}

.hero-content.visible .terminal-element-2 {
    animation: terminal-reveal-glitch 0.6s ease forwards;
    animation-delay: 1.8s;
}

.hero-content.visible .terminal-element-3 {
    animation: terminal-reveal 0.5s ease forwards;
    animation-delay: 2.4s;
}

.hero-content.visible .terminal-element-4 {
    animation: terminal-reveal 0.5s ease forwards;
    animation-delay: 2.9s;
}

/* Terminal Cursor */
.terminal-cursor {
    display: inline-block;
    width: 12px;
    height: 24px;
    background: var(--color-neon-cyan);
    margin-top: 30px;
    opacity: 0;
    box-shadow: var(--glow-cyan);
}

.hero-content.visible .terminal-cursor {
    animation: cursor-blink 0.8s step-end infinite;
    animation-delay: 3.4s;
}

/* Scan Line Effect */
.hero-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-neon-cyan) 50%,
            transparent 100%);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 30px var(--color-neon-cyan), 0 0 60px var(--color-neon-cyan);
}

.hero-content.visible~.hero-scanline {
    animation: scanline-sweep 0.8s ease-out forwards;
}

/* Terminal Animations */
@keyframes terminal-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 180px;
    }
}

@keyframes terminal-line-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes terminal-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(4px);
    }

    50% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes terminal-reveal-glitch {
    0% {
        opacity: 0;
        transform: translateY(30px) skewX(0deg);
        filter: blur(4px);
    }

    20% {
        opacity: 0.8;
        transform: translateY(10px) skewX(-5deg);
        text-shadow: -3px 0 var(--color-neon-cyan), 3px 0 var(--color-neon-magenta);
    }

    40% {
        transform: translateY(5px) skewX(3deg);
        text-shadow: 2px 0 var(--color-neon-magenta), -2px 0 var(--color-neon-cyan);
    }

    60% {
        transform: translateY(2px) skewX(-2deg);
        text-shadow: -1px 0 var(--color-neon-cyan), 1px 0 var(--color-neon-magenta);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewX(0deg);
        filter: blur(0);
        text-shadow: none;
    }
}

@keyframes cursor-blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ==========================================================================
   TERMINAL DELETION ANIMATIONS (Backspace Effect)
   ========================================================================== */

/* Deleting state - adds glitch before disappearing */
.terminal-cursor.deleting {
    animation: delete-glitch 0.5s ease forwards !important;
}

.terminal-cursor.deleted {
    opacity: 0 !important;
    display: none;
}

.status-ok.deleting {
    animation: delete-glitch-text 0.6s ease forwards;
}

.status-ok.deleted {
    opacity: 0;
    display: none;
}

.terminal-line.deleting .terminal-command {
    animation: backspace-delete 1.5s steps(20) forwards !important;
}

.terminal-line.deleting .terminal-prompt {
    animation: delete-glitch-text 0.3s ease 1.3s forwards;
}

.terminal-line.deleted {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
    display: none;
}

/* Deletion Keyframes */
@keyframes delete-glitch {
    0% {
        opacity: 1;
        transform: scaleY(1);
    }

    20% {
        opacity: 0.8;
        transform: scaleY(1.5) skewX(10deg);
        background: var(--color-neon-magenta);
    }

    40% {
        opacity: 0.6;
        transform: scaleY(0.5) skewX(-15deg);
        background: var(--color-neon-cyan);
    }

    100% {
        opacity: 0;
        transform: scaleY(0);
    }
}

@keyframes delete-glitch-text {
    0% {
        opacity: 1;
        transform: scaleX(1);
    }

    25% {
        opacity: 0.8;
        transform: scaleX(1.05) skewX(-3deg);
        text-shadow: -2px 0 var(--color-neon-magenta), 2px 0 var(--color-neon-cyan);
    }

    50% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }

    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

@keyframes backspace-delete {
    0% {
        width: 180px;
        opacity: 1;
    }

    10% {
        text-shadow: -1px 0 var(--color-neon-magenta), 1px 0 var(--color-neon-cyan);
    }

    30% {
        width: 120px;
    }

    60% {
        width: 60px;
    }

    90% {
        width: 10px;
        opacity: 0.5;
    }

    100% {
        width: 0;
        opacity: 0;
    }
}

/* Boot Sequence Overlay */
.boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.boot-sequence.hidden {
    opacity: 0;
    pointer-events: none;
}

.boot-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 30px;
    animation: boot-logo-pulse 2s ease-in-out infinite;
}

@keyframes boot-logo-pulse {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.5));
    }

    50% {
        opacity: 0.8;
        filter: drop-shadow(0 0 25px rgba(0, 180, 255, 0.8));
    }
}

.boot-text {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.15em;
}

.boot-progress {
    width: 300px;
    height: 4px;
    background: var(--color-bg-card);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.boot-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-neon-cyan), var(--color-neon-purple));
    box-shadow: var(--glow-cyan);
    animation: bootProgress 2.5s ease forwards;
}

@keyframes bootProgress {
    0% {
        width: 0%;
    }

    20% {
        width: 20%;
    }

    40% {
        width: 45%;
    }

    60% {
        width: 70%;
    }

    80% {
        width: 85%;
    }

    100% {
        width: 100%;
    }
}

/* Floating Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration-1 {
    width: 500px;
    height: 500px;
    background: var(--color-neon-cyan);
    top: 0;
    right: -100px;
}

.hero-decoration-2 {
    width: 400px;
    height: 400px;
    background: var(--color-neon-purple);
    bottom: 0;
    left: -100px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, -30px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, -10px) rotate(3deg);
    }
}

/* ==========================================================================
   ANIMATED ABSTRACT SHAPES
   ========================================================================== */

.abstract-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.15;
}

/* Circle Shape */
.shape-1 {
    width: 300px;
    height: 300px;
    border: 2px solid var(--color-neon-cyan);
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation: shape-rotate 25s linear infinite, shape-float-1 15s ease-in-out infinite;
}

/* Triangle Shape */
.shape-2 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid var(--color-neon-purple);
    opacity: 0.1;
    top: 20%;
    left: 10%;
    animation: shape-rotate-reverse 30s linear infinite, shape-float-2 18s ease-in-out infinite;
}

/* Square Shape */
.shape-3 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--color-neon-magenta);
    bottom: 20%;
    right: 20%;
    animation: shape-rotate 20s linear infinite, shape-float-3 12s ease-in-out infinite;
}

/* Large Circle Outline */
.shape-4 {
    width: 500px;
    height: 500px;
    border: 1px solid var(--color-neon-cyan);
    border-radius: 50%;
    top: -10%;
    left: -5%;
    opacity: 0.08;
    animation: shape-rotate-reverse 40s linear infinite, shape-float-4 20s ease-in-out infinite;
}

/* Small circles cluster */
.shape-5 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--color-neon-purple) 0%, transparent 70%);
    border-radius: 50%;
    top: 60%;
    right: 30%;
    animation: shape-pulse 4s ease-in-out infinite, shape-float-1 10s ease-in-out infinite;
}

.shape-6 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--color-neon-cyan) 0%, transparent 70%);
    border-radius: 50%;
    top: 30%;
    left: 25%;
    animation: shape-pulse 5s ease-in-out infinite 1s, shape-float-2 12s ease-in-out infinite;
}

/* Diamond Shape */
.shape-7 {
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-neon-green);
    bottom: 30%;
    left: 15%;
    animation: shape-rotate 15s linear infinite, shape-float-3 14s ease-in-out infinite;
    transform-origin: center;
}

/* Ring */
.shape-8 {
    width: 200px;
    height: 200px;
    border: 3px solid var(--color-neon-purple);
    border-radius: 50%;
    top: 50%;
    right: 10%;
    opacity: 0.12;
    animation: shape-rotate-reverse 35s linear infinite, shape-float-4 16s ease-in-out infinite;
}

/* Shape Animations */
@keyframes shape-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shape-rotate-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes shape-float-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -40px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, -60px) rotate(180deg);
    }

    75% {
        transform: translate(40px, -20px) rotate(270deg);
    }
}

@keyframes shape-float-2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-30px, 50px);
    }

    66% {
        transform: translate(40px, 20px);
    }
}

@keyframes shape-float-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-50px, -30px) rotate(45deg);
    }
}

@keyframes shape-float-4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 40px) scale(1.05);
    }
}

@keyframes shape-pulse {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.2);
    }
}

/* ==========================================================================
   SERVICES - CYBER CARDS
   ========================================================================== */

.services {
    background: var(--color-bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-purple), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Cyber Card Base */
.service-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-glow);
    border: 1px solid var(--color-border);
}

/* Neon Border Glow */
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple), var(--color-neon-cyan));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-glow);
}

/* Inner Background */
.service-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--color-bg-card);
    border-radius: calc(var(--radius-lg) - 1px);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
    animation: border-rotate 3s linear infinite;
}

/* Card Color Variants */
.service-card[data-glow="cyan"]:hover {
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2), var(--glow-cyan);
}

.service-card[data-glow="magenta"]:hover {
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.2), var(--glow-magenta);
}

.service-card[data-glow="purple"]:hover {
    box-shadow: 0 20px 60px rgba(157, 78, 221, 0.2), var(--glow-purple);
}

.service-card[data-glow="green"]:hover {
    box-shadow: 0 20px 60px rgba(57, 255, 20, 0.2), var(--glow-green);
}

/* Module Tag */
.module-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.service-card[data-glow="magenta"] .module-tag {
    color: var(--color-neon-magenta);
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.2);
}

.service-card[data-glow="purple"] .module-tag {
    color: var(--color-neon-purple);
    background: rgba(157, 78, 221, 0.1);
    border-color: rgba(157, 78, 221, 0.2);
}

.service-card[data-glow="green"] .module-tag {
    color: var(--color-neon-green);
    background: rgba(57, 255, 20, 0.1);
    border-color: rgba(57, 255, 20, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(157, 78, 221, 0.1));
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform var(--transition-medium);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card:hover h3 {
    color: var(--color-neon-cyan);
    text-shadow: var(--glow-cyan);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   PORTFOLIO - GLOWING TILES
   ========================================================================== */

.portfolio {
    background: var(--color-bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-glow);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-glow);
}

.portfolio-item:hover {
    transform: scale(1.02);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.15);
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.96);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-medium);
    backdrop-filter: blur(4px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.portfolio-overlay span {
    font-family: var(--font-main);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
    background: var(--color-bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-purple), var(--color-neon-cyan), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    min-height: 450px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HUD Frame for Image */
.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--color-neon-cyan);
    border-radius: var(--radius-md);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.about-image::after {
    content: 'OPERATOR_PROFILE';
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    letter-spacing: 0.1em;
    z-index: 1;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.supermoce-title {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* Flip Cards Container */
.supermoce-cards {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 30px;
    margin-top: 24px;
    /* flex-wrap: wrap; */
    /* justify-content: flex-start; */
}

/* Individual Flip Card - Circular */
.flip-card {
    background-color: transparent;
    width: 150px;
    height: 150px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid var(--color-neon-cyan);
    box-shadow:
        0 0 20px rgba(0, 240, 255, 0.4),
        0 0 40px rgba(0, 240, 255, 0.15),
        inset 0 0 25px rgba(0, 240, 255, 0.08);
    transition: box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.flip-card:hover .flip-card-front {
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.6),
        0 0 60px rgba(0, 240, 255, 0.25),
        inset 0 0 35px rgba(0, 240, 255, 0.12);
}

.flip-card-front {
    background: linear-gradient(135deg, rgba(13, 21, 37, 0.95), rgba(10, 16, 32, 0.95));
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(0, 240, 255, 0.1));
    border-color: var(--color-neon-purple);
    box-shadow:
        0 0 20px rgba(157, 78, 221, 0.4),
        0 0 40px rgba(157, 78, 221, 0.15),
        inset 0 0 25px rgba(157, 78, 221, 0.08);
    transform: rotateY(180deg);
    overflow: hidden;
}

.flip-card:hover .flip-card-back {
    box-shadow:
        0 0 30px rgba(157, 78, 221, 0.6),
        0 0 60px rgba(157, 78, 221, 0.25),
        inset 0 0 35px rgba(157, 78, 221, 0.12);
}

.flip-card-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-neon-cyan);
    text-shadow: var(--glow-cyan);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.flip-card-desc {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-bright);
    line-height: 1.3;
    text-align: center;
    /* Scrolling Animation */
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    padding: 0 20px;
    /* Static start position - visible at center */
    transform: translateY(0);
    opacity: 0;
    transition: opacity 0.2s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.flip-card:hover .flip-card-desc {
    opacity: 1;
    animation: credits-scroll 4s linear forwards;
}

@keyframes credits-scroll {
    0% {
        transform: translateY(0);
        /* Start from center */
        opacity: 1;
    }

    100% {
        transform: translateY(-140px);
        /* Scroll up fully */
        opacity: 1;
    }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
    background: var(--color-bg-dark);
}

.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    border: 1px solid var(--color-border);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-neon-cyan), var(--color-neon-purple));
    box-shadow: var(--glow-cyan);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 32px;
    color: var(--color-text);
    line-height: 1.9;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--color-neon-cyan);
    opacity: 0.3;
    display: block;
    line-height: 0.5;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-info h4 {
    color: var(--color-text-bright);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.testimonial-info span {
    font-family: var(--font-mono);
    color: var(--color-neon-cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Lightbox Loader */
.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.cyber-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--color-neon-cyan);
    border-right-color: var(--color-neon-magenta);
    border-radius: 50%;
    animation: cyber-spin 1s linear infinite;
    box-shadow: 0 0 15px var(--color-neon-cyan);
}

@keyframes cyber-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot:hover,
.testimonial-dot.active {
    background: var(--color-neon-cyan);
    border-color: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   CLIENTS
   ========================================================================== */

.clients {
    background: var(--color-bg-secondary);
    padding: 80px 0;
    position: relative;
}

.clients::before,
.clients::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.clients::before {
    top: 0;
}

.clients::after {
    bottom: 0;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.client-logo {
    opacity: 0.4;
    filter: grayscale(100%) brightness(2);
    transition: all var(--transition-medium);
    max-height: 45px;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta {
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px);
}

.cta h2 {
    color: var(--color-bg-dark);
    margin-bottom: 16px;
    position: relative;
}

.cta p {
    color: var(--color-bg-dark);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta .btn {
    background: var(--color-bg-dark);
    color: var(--color-text-bright);
    position: relative;
}

.cta .btn:hover {
    background: var(--color-bg-secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
    background: var(--color-bg-dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-purple), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-medium);
}

.contact-item:hover .contact-icon {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: var(--glow-cyan);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-neon-cyan);
}

.contact-item-text h4 {
    color: var(--color-text-bright);
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-item-text span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--color-border);
    position: relative;
}

.contact-form::before {
    content: 'MESSAGE_TERMINAL';
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-bright);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--color-bg-dark);
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.9rem;
    font-family: var(--font-mono);
    margin-bottom: 24px;
    color: var(--color-neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-neon-cyan);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-neon-cyan);
    border-color: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--color-text);
    transition: fill var(--transition-fast);
}

.social-link:hover svg {
    fill: var(--color-bg-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin: 0;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for children */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
        min-height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hud-corner {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(3, 8, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a::before {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .hud-corner {
        display: none;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn {
        padding: 14px 28px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
}

::selection {
    background: var(--color-neon-cyan);
    color: var(--color-bg-dark);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cyber-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-purple), transparent);
    margin: 40px 0;
}

/* ==========================================================================
   BEFORE/AFTER COMPARISON SLIDER
   ========================================================================== */

.before-after {
    background: var(--color-bg-secondary);
    position: relative;
}

.before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-purple), transparent);
}

.comparison-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: col-resize;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.comparison-after {
    z-index: 0;
}

.comparison-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(3, 8, 16, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.handle-line {
    flex: 1;
    width: 2px;
    background: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
}

.handle-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.handle-circle svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-neon-cyan);
}

.comparison-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.comparison-info .info-item {
    text-align: center;
}

.comparison-info .info-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.comparison-info .info-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   BACKSTAGE GALLERY
   ========================================================================== */

.backstage {
    background: var(--color-bg-dark);
}

.backstage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.backstage-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid var(--color-border);
    transition: all var(--transition-glow);
}

.backstage-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-glow);
}

.backstage-item.backstage-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.backstage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.backstage-item:hover {
    transform: scale(1.02);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.15);
}

.backstage-item:hover::before {
    opacity: 1;
}

.backstage-item:hover img {
    transform: scale(1.1);
}

.backstage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(3, 8, 16, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.backstage-item:hover .backstage-overlay {
    opacity: 1;
}

.backstage-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.backstage-overlay h4 {
    color: var(--color-text-bright);
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   CLIENTS CAROUSEL
   ========================================================================== */

.clients {
    background: var(--color-bg-secondary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.clients::before,
.clients::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.clients::before {
    top: 0;
}

.clients::after {
    bottom: 0;
}

.clients-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg-secondary), transparent);
}

.clients-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-bg-secondary), transparent);
}

.clients-carousel {
    display: flex;
    width: 100%;
}

.clients-track {
    display: flex;
    gap: 80px;
    align-items: center;
    /* Center logos vertically */
    animation: carousel-scroll 30s linear infinite;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-carousel .client-logo {
    opacity: 0.5;
    filter: grayscale(100%) brightness(2);
    transition: all var(--transition-medium);
    max-height: 80px;
    /* Increased from 50px */
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.clients-carousel .client-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .backstage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .backstage-item.backstage-large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .comparison-info {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .backstage-grid {
        grid-template-columns: 1fr;
    }

    .backstage-item.backstage-large {
        grid-column: span 1;
    }

    .handle-circle {
        width: 40px;
        height: 40px;
    }

    .comparison-info {
        flex-direction: column;
        gap: 16px;
    }

    .clients-track {
        gap: 50px;
    }
}

/* ==========================================================================
   SERVICES SHOWCASE - VIDEO REELS
   ========================================================================== */

.services-showcase {
    background: var(--color-bg-dark);
    position: relative;
}

.services-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-purple), transparent);
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.showcase-row:last-child {
    border-bottom: none;
}

.showcase-row-reverse {
    direction: rtl;
}

.showcase-row-reverse>* {
    direction: ltr;
}

/* Content Side */
.showcase-content {
    padding-right: 20px;
}

.showcase-row-reverse .showcase-content {
    padding-right: 0;
    padding-left: 20px;
}

.showcase-content .module-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.showcase-row[data-glow="green"] .module-tag {
    color: var(--color-neon-green);
    background: rgba(57, 255, 20, 0.1);
    border-color: rgba(57, 255, 20, 0.2);
}

.showcase-row[data-glow="purple"] .module-tag {
    color: var(--color-neon-purple);
    background: rgba(157, 78, 221, 0.1);
    border-color: rgba(157, 78, 221, 0.2);
}

.showcase-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.showcase-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 24px;
}

.showcase-features {
    list-style: none;
    margin-bottom: 32px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.showcase-features .feature-icon {
    color: var(--color-neon-cyan);
    font-size: 1.1rem;
}

.showcase-row[data-glow="green"] .feature-icon {
    color: var(--color-neon-green);
}

.showcase-row[data-glow="purple"] .feature-icon {
    color: var(--color-neon-purple);
}

/* Video Side */
.showcase-video {
    position: relative;
}

.video-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-glow);
}

.video-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-glow);
}

.showcase-row[data-glow="green"] .video-frame::before {
    background: linear-gradient(135deg, var(--color-neon-green), var(--color-neon-cyan));
}

.showcase-row[data-glow="purple"] .video-frame::before {
    background: linear-gradient(135deg, var(--color-neon-purple), var(--color-neon-magenta));
}

.video-frame:hover {
    border-color: transparent;
    transform: scale(1.02);
}

.video-frame:hover::before {
    opacity: 1;
}

.showcase-row[data-glow="cyan"] .video-frame:hover {
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.showcase-row[data-glow="green"] .video-frame:hover {
    box-shadow: 0 20px 60px rgba(57, 255, 20, 0.2);
}

.showcase-row[data-glow="purple"] .video-frame:hover {
    box-shadow: 0 20px 60px rgba(157, 78, 221, 0.2);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vimeo iframe embed styles */
.video-frame.vimeo-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Vimeo Lazy Loading Placeholder */
.vimeo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-darker, #0a0f1e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vimeo-placeholder.vimeo-loaded {
    background: transparent;
}

.vimeo-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 240, 255, 0.2);
    border-top-color: var(--color-neon-cyan, #00f0ff);
    border-radius: 50%;
    animation: vimeo-spin 1s linear infinite;
}

.vimeo-loaded .vimeo-loading-spinner {
    display: none;
}

@keyframes vimeo-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Backstage video placeholders need same treatment */
.backstage-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.video-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-neon-cyan);
    background: rgba(3, 8, 16, 0.9);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .showcase-row-reverse {
        direction: ltr;
    }

    .showcase-content {
        padding-right: 0;
        padding-left: 0;
    }

    .showcase-row-reverse .showcase-content {
        padding-left: 0;
    }

    .showcase-video {
        order: -1;
    }

    .showcase-content h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .showcase-row {
        padding: 40px 0;
    }

    .showcase-content h3 {
        font-size: 1.5rem;
    }

    .showcase-description {
        font-size: 1rem;
    }

    /* Fix for video overlay blocking content on mobile */
    .video-overlay {
        display: none;
    }

    .video-tag {
        font-size: 0.55rem;
        padding: 4px 8px;
        background: rgba(3, 8, 16, 0.6);
        backdrop-filter: blur(2px);
        border-width: 0.5px;
    }
}

/* ==========================================================================
   VIDEO PLAY OVERLAY & LIGHTBOX
   ========================================================================== */

/* Play Button Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(3, 8, 16, 0.4);
    opacity: 0;
    cursor: pointer;
    transition: all var(--transition-medium);
    z-index: 5;
}

.video-frame:hover .video-play-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    border: 2px solid var(--color-neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan), inset 0 0 30px rgba(0, 240, 255, 0.1);
    transition: all var(--transition-medium);
}

.play-button svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.video-frame:hover .play-button {
    transform: scale(1.1);
    box-shadow: var(--glow-cyan-strong), inset 0 0 40px rgba(0, 240, 255, 0.2);
}

.play-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-bright);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Video Lightbox Modal */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 8, 16, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.video-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border-bright);
    border-radius: 50%;
    background: rgba(3, 8, 16, 0.8);
    color: var(--color-text-bright);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-video-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-bright);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.3);
}

.lightbox-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }

    .lightbox-close {
        top: -45px;
        width: 40px;
        height: 40px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .play-text {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   ABOUT IMAGE GLITCH EFFECT
   ========================================================================== */

.glitch-stack {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transition: box-shadow 0.3s ease;
}

.glitch-stack:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 10px rgba(255, 0, 255, 0.3);
}

.glitch-img {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Base image (top layer) */
.glitch-img:nth-child(1) {
    position: relative;
    z-index: 3;
}

/* Red Channel */
.glitch-img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    mix-blend-mode: color-dodge;
    filter: brightness(1.2) contrast(1.2) sepia(100%) hue-rotate(320deg) saturate(300%);
    /* Makes it magenta/red */
}

/* Blue/Cyan Channel */
.glitch-img:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    mix-blend-mode: color-dodge;
    filter: brightness(1.2) contrast(1.2) sepia(100%) hue-rotate(190deg) saturate(300%);
    /* Makes it cyan */
}

/* Hover Animation Trigger */
.glitch-stack:hover .glitch-img:nth-child(2) {
    opacity: 0.6;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-stack:hover .glitch-img:nth-child(3) {
    opacity: 0.6;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-stack:hover .glitch-img:nth-child(1) {
    animation: glitch-anim-main 4s infinite step-end;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 2px);
    }

    10% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    20% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 1px);
    }

    30% {
        clip-path: inset(40% 0 20% 0);
        transform: translate(1px, -1px);
    }

    40% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(-2px, 0);
    }

    50% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(2px, 0);
    }

    60% {
        clip-path: inset(70% 0 15% 0);
        transform: translate(-1px, 2px);
    }

    70% {
        clip-path: inset(15% 0 70% 0);
        transform: translate(1px, -2px);
    }

    80% {
        clip-path: inset(55% 0 35% 0);
        transform: translate(-2px, 1px);
    }

    90% {
        clip-path: inset(5% 0 85% 0);
        transform: translate(2px, -1px);
    }

    100% {
        clip-path: inset(25% 0 65% 0);
        transform: translate(0, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, -2px);
    }

    10% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-2px, 2px);
    }

    20% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(1px, -1px);
    }

    30% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-1px, 1px);
    }

    40% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(2px, 0);
    }

    50% {
        clip-path: inset(70% 0 20% 0);
        transform: translate(-2px, 0);
    }

    60% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(1px, -2px);
    }

    70% {
        clip-path: inset(5% 0 85% 0);
        transform: translate(-1px, 2px);
    }

    80% {
        clip-path: inset(50% 0 40% 0);
        transform: translate(2px, 1px);
    }

    90% {
        clip-path: inset(15% 0 75% 0);
        transform: translate(-2px, -1px);
    }

    100% {
        clip-path: inset(35% 0 55% 0);
        transform: translate(0, 0);
    }
}

@keyframes glitch-anim-main {
    0% {
        transform: translate(0);
        filter: none;
    }

    2% {
        transform: translate(-1px, 1px);
    }

    4% {
        transform: translate(1px, -1px);
    }

    6% {
        transform: translate(0);
    }

    80% {
        transform: translate(0);
    }

    82% {
        transform: translate(1px, 0);
    }

    84% {
        transform: translate(-1px, 0);
    }

    86% {
        transform: translate(0);
    }
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */

.benefits {
    background: var(--color-bg-dark);
    position: relative;
    padding: 80px 0;
}

/* Subtle background accent */
.benefits::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.benefits .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns in one row */
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

/* Icon Styles - Glowing Frames */
.benefit-icon-wrapper {
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
}

.benefit-icon {
    width: 64px;
    /* Slightly smaller as requested */
    height: 64px;
    border-radius: 12px;
    /* Soft square "frame" look */
    background: var(--color-bg-dark);
    border: 2px solid var(--color-neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all var(--transition-medium);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    /* Stronger immediate glow */
}

/* Specific Colors per card */
.benefit-card:nth-child(2) .benefit-icon {
    border-color: var(--color-neon-purple);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.3);
}

.benefit-card:nth-child(3) .benefit-icon {
    border-color: var(--color-neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.benefit-icon svg {
    width: 32px;
    /* Constraints for SVG */
    height: 32px;
    stroke-width: 1.5;
    transition: all var(--transition-medium);
}

.benefit-card:nth-child(1) .benefit-icon svg {
    stroke: var(--color-neon-cyan);
}

.benefit-card:nth-child(2) .benefit-icon svg {
    stroke: var(--color-neon-purple);
}

.benefit-card:nth-child(3) .benefit-icon svg {
    stroke: var(--color-neon-green);
}

/* Hover Effects */
.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--color-neon-cyan);
}

.benefit-card:nth-child(2):hover .benefit-icon {
    box-shadow: 0 0 30px var(--color-neon-purple);
}

.benefit-card:nth-child(3):hover .benefit-icon {
    box-shadow: 0 0 30px var(--color-neon-green);
}

/* Text Styles */
.benefit-card h3 {
    color: var(--color-text-bright);
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.benefit-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.text-highlight {
    color: var(--color-text-bright);
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 30px;
    }

    .benefit-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   CONTACT FORM 7 STYLES
   ========================================================================== */

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpcf7-form .form-group {
    margin-bottom: 24px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-bright);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    background: rgba(3, 8, 16, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text-bright);
    transition: all var(--transition-medium);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background: rgba(3, 8, 16, 0.95);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    /* Inherit btn-primary styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium) !important;
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    color: var(--color-bg-dark);
    box-shadow: var(--glow-cyan);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan-strong);
    color: var(--color-bg-dark);
}

/* Validation Errors */
.wpcf7-not-valid-tip {
    color: var(--color-neon-magenta);
    font-size: 0.8rem;
    margin-top: 5px;
    font-family: var(--font-mono);
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border: 1px solid var(--color-neon-cyan) !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(0, 240, 255, 0.05) !important;
    color: var(--color-neon-cyan);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.wpcf7-response-output.wpcf7-display-none {
    display: none;
}

.wpcf7-response-output.wpcf7-validation-errors {
    border-color: var(--color-neon-magenta) !important;
    background: rgba(255, 0, 255, 0.05) !important;
    color: var(--color-neon-magenta);
}

/* Privacy/Cookie Acceptance Checkbox */
.wpcf7-form .privacy-checkbox-wrapper {
    margin-top: 20px;
    margin-bottom: 10px;
}

.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--color-neon-cyan);
    border-radius: 4px;
    background: rgba(3, 8, 16, 0.8);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:hover {
    border-color: var(--color-neon-purple);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--color-neon-cyan), var(--color-neon-purple));
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-bg-dark);
    font-size: 14px;
    font-weight: bold;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-family: var(--font-primary);
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a {
    color: var(--color-neon-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a:hover {
    color: var(--color-neon-purple);
    border-bottom-color: var(--color-neon-purple);
    text-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
}

/* ==========================================================================
   BLOG LAYOUT 2.0 (Overlapping Cards)
   ========================================================================== */

.blog-grid-overlap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.post-card-overlap {
    position: relative;
    /* No background on parent, just visual structure */
    transition: transform 0.3s ease;
}

.post-card-overlap:hover {
    transform: translateY(-5px);
}

.post-image-wrapper {
    width: 100%;
    /* Fixed height for uniformity, adjust as needed */
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card-overlap:hover .post-image-wrapper img {
    transform: scale(1.05);
}

/* The Overlapping content box */
.post-content-wrapper {
    position: relative;
    z-index: 2;
    margin-top: -80px;
    /* Pull it UP over the image */
    margin-left: 20px;
    margin-right: 20px;

    background-color: rgba(20, 25, 40, 0.95);
    /* Dark background matching theme */
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease;
}

.post-card-overlap:hover .post-content-wrapper {
    border-color: rgba(0, 240, 255, 0.4);
}

/* Badges (Pills) */
.post-badges {
    margin-bottom: 12px;
}

.badge {
    display: inline-block;
    background: var(--color-gradient-cyan);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 240, 255, 0.3);
}

/* Typography */
.post-title {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--color-neon-cyan);
}

.post-excerpt p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    /* Limit to 2-3 lines if possible, or just rely on short text */
}

.post-meta-footer {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Utilities */
.container-medium {
    max-width: 1000px;
}

.container-narrow {
    max-width: 800px;
}

.section-padding-top {
    padding-top: 100px;
    padding-bottom: 20px;
}

/* Compact header spacing */
.text-center {
    text-align: center;
}

/* Single Post Header */
.single-post-header .entry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    /* Slightly smaller title */
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff !important;
    /* Force white title */
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    /* Premium Soft Glow */
}

.post-header-badges {
    margin-bottom: 15px;
}

.post-header-badges .badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 5px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.post-header-meta {
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-header-meta .separator {
    margin: 0 10px;
    color: var(--color-neon-purple);
}

/* Featured Image Section */
.single-post-image {
    padding-bottom: 30px;
    /* Reduced padding */
}

.featured-image-container {
    max-width: 500px;
    /* Drastically reduced width (User request: "even smaller") */
    margin: 0 auto;
    /* Center alignment */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    /* Smooth Animation */
}

/* Interactive Hover Effect */
.featured-image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
    /* Neon Lift */
    border-color: rgba(0, 240, 255, 0.3);
}

.featured-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image-caption {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
    font-style: italic;
}

/* Content Typography */
.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: -10px;
    /* Pull text closer */

    /* GLASS CARD EFFECT */
    background: rgba(13, 21, 37, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle rim */
    border-radius: 20px;
    padding: clamp(30px, 5vw, 60px);
    /* Responsive padding */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    /* Deep depth */
}

/* AGGRESSIVE READABILITY FIX */
.single-post-content * {
    color: var(--color-text);
    /* Force base text color inheritance */
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6,
.single-post-content strong,
.single-post-content b {
    color: #ffffff !important;
    /* Force Bright White for headings/bold */
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-post-content p {
    margin-bottom: 20px;
    color: var(--color-text) !important;
}

/* Post Footer */
.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 700;
    color: var(--color-text-bright);
    margin-right: 10px;
}

.post-tags a {
    color: var(--color-text-muted);
    margin-right: 10px;
    position: relative;
}

.post-tags a:hover {
    color: var(--color-neon-cyan);
}

/* Navigation Links */
.post-navigation-links {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-navigation-links a {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-text-bright);
}

.post-navigation-links a:hover {
    color: var(--color-neon-cyan);
}

/* ==========================================================================
   BACKSTAGE SECTION (DIAGONAL GRID REDESIGN)
   ========================================================================== */

#backstage {
    padding-bottom: 80px;
}

.backstage-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas:
        "main main p1 p2"
        "main main vfx vfx"
        "p3 p4 vfx vfx";
    height: 600px;
    max-height: 80vh;
    gap: 15px;
}

/* Base Item Style */
.dashboard-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.dashboard-item iframe,
.dashboard-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-item:hover {
    border-color: var(--color-neon-purple);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
    z-index: 2;
}

/* GRID AREA ASSIGNMENTS */
.main-anchor {
    grid-area: main;
    /* Main Video Specifics */
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.vfx-anchor {
    grid-area: vfx;
}

#photo-slot-1 {
    grid-area: p1;
}

#photo-slot-2 {
    grid-area: p2;
}

#photo-slot-3 {
    grid-area: p3;
}

#photo-slot-4 {
    grid-area: p4;
}

/* Permanent Videos Interaction */
.main-anchor iframe,
.vfx-anchor iframe {
    pointer-events: none;
}

/* AUTO-ROTATING SLOTS */
.slot-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.slot-img.current {
    z-index: 1;
    opacity: 1;
}

.slot-img.next {
    z-index: 2;
    /* Sits on top for fade in */
    opacity: 0;
}

.video-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-mono);
    color: var(--color-neon-magenta);
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    font-size: 0.8rem;
    z-index: 5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .backstage-dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: none;
        /* Reset areas for mobile stack */
        height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
    }

    .dashboard-item {
        aspect-ratio: 16/9;
        /* Force aspect on mobile stack */
    }

    .main-anchor,
    .vfx-anchor,
    #photo-slot-1,
    #photo-slot-2,
    #photo-slot-3,
    #photo-slot-4 {
        grid-area: auto;
    }
}

/* ==========================================================================
   LOTTIE ANIMATIONS
   ========================================================================== */

.lottie-hero-element {
    position: absolute;
    right: 5%;
    top: 55%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
    mix-blend-mode: screen;
}

.lottie-scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .lottie-hero-element {
        width: 200px;
        height: 200px;
        top: 20%;
        right: 0;
        opacity: 0.5;
    }
}

/* ==========================================================================
   PRIVACY POLICY PAGE
   ========================================================================== */

.privacy-policy-page {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--color-bg-dark);
}

.privacy-section {
    padding: 60px 0 100px;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(13, 21, 37, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.privacy-content .last-updated {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.privacy-content h2 {
    color: var(--color-text-bright);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.privacy-content h3 {
    color: var(--color-neon-cyan);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.privacy-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-content ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.privacy-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.privacy-content ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-neon-cyan);
}

.privacy-content a {
    color: var(--color-neon-cyan);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.privacy-content a:hover {
    text-shadow: var(--glow-cyan);
}

@media (max-width: 768px) {
    .privacy-policy-page {
        padding-top: 80px;
    }

    .privacy-content {
        padding: 30px 20px;
    }

    .privacy-content h2 {
        font-size: 1.3rem;
    }
}


/* ==========================================================================
   PORTFOLIO VERTICAL SUPPORT & MOBILE FRAME
   ========================================================================== */

.portfolio-item.portfolio-vertical {
    aspect-ratio: 9/16;
    grid-row: span 2;
    /* Remove default bg/border if needed */
    background: transparent;
    border: none;
    overflow: visible;
    /* Allow play button glow to spill out if needed, but usually hidden is safer for card */
    overflow: hidden;
}

.portfolio-mobile-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-mobile-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through to screen */
    object-fit: fill;
    /* Ensure frame stretches to cover container */
}

.portfolio-mobile-screen {
    position: absolute;
    /* Adjust these percentages based on the frame image bezels */
    top: 2%;
    left: 4%;
    width: 92%;
    height: 96%;
    z-index: 5;
    border-radius: 30px;
    /* Match phone radius roughly */
    overflow: hidden;
    background: #000;
}

.portfolio-mobile-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-mobile-screen img {
    /* transform: scale(1.05);  Disabled as per user request */
    transform: none;
}

/* Play Button Mobile Style */
.play-button-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    pointer-events: none;
    /* Click container to open lightbox */
}

.play-button-mobile .play-icon {
    color: #fff;
    font-size: 24px;
    margin-left: 4px;
    /* Optical center */
    text-shadow: 0 0 10px var(--color-neon-cyan);
}

.portfolio-item:hover .play-button-mobile {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
    border-color: #fff;
}

/* Hide default overlay text on vertical items if it covers the UI? 
   User requested to remove text and keep frame visible. */
.portfolio-item.portfolio-vertical .portfolio-overlay {
    display: none !important;
}

/* Prevent the entire phone frame from zooming on hover */
.portfolio-item.portfolio-vertical:hover {
    transform: none !important;
}

/* Force disable zoom on ALL images inside vertical items (frame, screen, etc.) */
.portfolio-item.portfolio-vertical:hover img,
.portfolio-item.portfolio-vertical:hover .portfolio-mobile-frame,
.portfolio-item.portfolio-vertical:hover .portfolio-mobile-screen img {
    transform: none !important;
}

/* Ensure the glow corresponds to the phone shape if possible */
.portfolio-item.portfolio-vertical {
    border-radius: 40px;
    /* Match phone frame curvature */
}

/* Adjust grid for mixed content if necessary */
/* Assuming .portfolio-grid is display: flex; flex-wrap: wrap; */
.portfolio-grid {
    align-items: flex-start;
    /* Important for mixed heights */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .portfolio-item.portfolio-vertical {
        width: 100%;
        aspect-ratio: 9/16;
    }
}

.vimeo-frame iframe {
    pointer-events: none;
}