/* ==========================================
   SecretX Tech - Main Stylesheet
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Content Protection - Disable Selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@700&display=swap');

body {
    font-family: 'Orbitron', 'Rajdhani', 'Exo 2', sans-serif;
    background: #000000;
    color: #00ffff;
    overflow-x: hidden;
    min-height: 100vh;
}

#ai-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(100, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 20%, rgba(0, 100, 255, 0.12) 0%, transparent 35%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 0, 150, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 85%, rgba(150, 0, 255, 0.08) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #050510 30%, #0a0515 50%, #050510 70%, #000000 100%);
}

#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(100, 0, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 0, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.floating-particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #8800ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #8800ff, 0 0 20px #8800ff;
    animation: floatUp 10s linear infinite;
    opacity: 0;
}

.particle:nth-child(odd) {
    background: #ff0088;
    box-shadow: 0 0 10px #ff0088, 0 0 20px #ff0088;
}

.particle:nth-child(3n) {
    background: #0066ff;
    box-shadow: 0 0 10px #0066ff, 0 0 20px #0066ff;
}

.particle:nth-child(5n) {
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255,255,255,0.5);
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.hex-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2300ffff' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: orbFloat 10s ease-in-out infinite;
}

.glow-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(100, 0, 255, 0.2);
    top: -150px;
    left: -150px;
}

.glow-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 150, 0.15);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.glow-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 100, 255, 0.12);
    top: 40%;
    left: 60%;
    animation-delay: -2.5s;
}

.glow-orb-4 {
    width: 350px;
    height: 350px;
    background: rgba(150, 0, 255, 0.1);
    top: 60%;
    left: 10%;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(10px, 10px) scale(1.05); }
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 0, 0, 0.02) 50%
    );
    background-size: 100% 4px;
}

/* Top navigation bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(100, 100, 120, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    position: relative;
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 4px rgba(255, 0, 50, 0.5));
    opacity: 0.6;
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 5px;
    background: linear-gradient(90deg, #ff0033 0%, #ff0033 85%, transparent 100%);
    transform: translate(-50%, -50%) rotate(55deg);
    border-radius: 2px 2px 2px 1px;
    clip-path: polygon(0 0, 100% 20%, 100% 80%, 0 100%);
}

.nav-logo::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 45%;
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #ff0033 15%, #ff0033 100%);
    transform: translate(-50%, -50%) rotate(-50deg);
    border-radius: 1px 2px 2px 2px;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.menu-icon:hover {
    opacity: 0.8;
}

.menu-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1px;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 20px;
    right: -370px;
    width: 320px;
    height: calc(100vh - 40px);
    background: rgba(20, 30, 40, 0.85);
    border: 2px solid rgba(100, 150, 180, 0.4);
    border-radius: 20px;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(50, 80, 100, 0.2);
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.side-menu.active {
    right: 20px;
}

/* Menu Corner Accents */
.menu-corner-accent {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(100, 150, 180, 0.3);
    z-index: 1;
}

.menu-corner-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 5px 0 0 0;
}

.menu-corner-tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 5px 0 0;
}

.menu-corner-bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 5px;
}

.menu-corner-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 5px 0;
}

/* Scan Line Effect */
.menu-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 150, 180, 0.3), transparent);
    animation: menuScan 5s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes menuScan {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 0.2; }
    100% { transform: translateY(calc(100vh - 40px)); opacity: 0; }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(100, 150, 180, 0.2);
}

.menu-header h3 {
    color: rgba(150, 180, 200, 0.9);
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 5px rgba(100, 150, 180, 0.2);
}

.menu-close {
    background: none;
    border: 1px solid rgba(100, 150, 180, 0.5);
    color: rgba(150, 180, 200, 0.8);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.menu-close:hover {
    background: rgba(100, 150, 180, 0.2);
    color: rgba(150, 180, 200, 1);
    transform: rotate(90deg);
}

.menu-list {
    list-style: none;
    padding: 2rem 0;
    flex: 1;
}

.menu-list li {
    margin: 0;
}

.menu-list a {
    display: block;
    padding: 1.2rem 2rem;
    color: rgba(160, 180, 200, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.3), rgba(0, 200, 255, 0.2));
    transition: width 0.4s ease;
    z-index: -1;
}

.menu-list a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 0;
    height: 0;
    border: 3px solid transparent;
    border-left-color: transparent;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.menu-list a:hover {
    background: rgba(100, 150, 180, 0.1);
    border-left-color: rgba(100, 150, 180, 0.5);
    padding-left: 2.5rem;
    color: rgba(180, 200, 220, 1);
}

.menu-list a:active,
.menu-list a.active {
    background: rgba(0, 150, 255, 0.15);
    border-left-color: #00aaff;
    color: #00ccff;
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
    padding-left: 2.5rem;
    animation: menuItemSelect 0.5s ease;
}

.menu-list a.active::before {
    width: 100%;
}

.menu-list a.active::after {
    opacity: 1;
    border-left-color: #00ccff;
    right: 15px;
}

@keyframes menuItemSelect {
    0% {
        transform: translateX(-10px);
        opacity: 0.5;
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.menu-footer {
    padding: 2rem;
    border-top: 1px solid rgba(100, 150, 180, 0.2);
    text-align: center;
}

.menu-footer p {
    color: rgba(140, 160, 180, 0.5);
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

header {
    padding: 4rem 2rem 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 3px solid rgba(0, 150, 255, 0.5);
    box-shadow:
        0 0 15px rgba(0, 60, 150, 0.15),
        0 0 30px rgba(0, 20, 80, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.ai-corner {
    position: absolute;
    right: 0;
    top: 0;
    width: 350px;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ai-circle {
    position: absolute;
    border: 2px solid rgba(0, 150, 255, 0.3);
    border-radius: 50%;
    animation: aiPulse 3s ease-in-out infinite;
}

.ai-circle-1 {
    width: 200px;
    height: 200px;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    border-color: rgba(0, 150, 255, 0.4);
}

.ai-circle-2 {
    width: 150px;
    height: 150px;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    border-color: rgba(0, 200, 255, 0.3);
    animation-delay: -1s;
}

.ai-circle-3 {
    width: 100px;
    height: 100px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-color: rgba(100, 200, 255, 0.5);
    animation-delay: -2s;
}

.ai-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00aaff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00aaff, 0 0 30px #00aaff;
    animation: aiDotFloat 4s ease-in-out infinite;
}

.ai-dot-1 { right: 80px; top: 30%; animation-delay: 0s; }
.ai-dot-2 { right: 120px; top: 60%; animation-delay: -1s; }
.ai-dot-3 { right: 60px; top: 70%; animation-delay: -2s; }
.ai-dot-4 { right: 150px; top: 40%; animation-delay: -0.5s; }
.ai-dot-5 { right: 100px; top: 50%; animation-delay: -1.5s; width: 12px; height: 12px; }

.ai-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.6), transparent);
    animation: aiLineMove 3s ease-in-out infinite;
}

.ai-line-1 { width: 100px; right: 50px; top: 35%; transform: rotate(-20deg); }
.ai-line-2 { width: 80px; right: 80px; top: 55%; transform: rotate(15deg); animation-delay: -1s; }
.ai-line-3 { width: 120px; right: 30px; top: 65%; transform: rotate(-10deg); animation-delay: -2s; }

@keyframes aiPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.1); opacity: 1; }
}

@keyframes aiDotFloat {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-10px); opacity: 1; }
}

@keyframes aiLineMove {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #ffffff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding: 2rem 0;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.15);
}

h1 .logo-wrapper {
    display: inline-block;
    position: relative;
    line-height: 1;
    cursor: pointer;
}

.tech-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-ring.active {
    opacity: 1;
}

.tech-ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top-color: rgba(0, 200, 255, 0.7);
    border-right-color: rgba(255, 0, 100, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: techRingSpin1 2s linear infinite;
}

.tech-ring-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110px;
    height: 110px;
    border: 1px dashed transparent;
    border-top-color: rgba(150, 0, 255, 0.6);
    border-bottom-color: rgba(0, 150, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: techRingSpin2 3s linear infinite reverse;
}

.tech-ring-breath {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 200, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: breathe 1.5s ease-in-out infinite;
}

.tech-ring-breath-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 0, 100, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: breathe 1.5s ease-in-out infinite 0.75s;
}

@keyframes breathe {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

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

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

h1 .top-part {
    display: flex;
    align-items: baseline;
    position: relative;
}

h1 .letter {
    display: inline-block;
    transition: all 0.3s ease;
}

h1 .letter:hover {
    animation: letterDisappear 0.5s ease-in-out;
}

@keyframes letterDisappear {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

h1 .red-x {
    position: relative;
    width: 80px;
    height: 90px;
    margin: 0 -20px 0 -25px;
    z-index: 10;
    animation: xBlink 5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(255, 0, 50, 0.6));
    display: inline-block;
    vertical-align: bottom;
    top: 15px;
}

/* Long stroke - main diagonal (samurai sword) */
h1 .red-x::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 16px;
    background: linear-gradient(90deg, #ff0033 0%, #ff0033 85%, transparent 100%);
    transform: translate(-50%, -50%) rotate(55deg);
    border-radius: 3px 3px 3px 1px;
    clip-path: polygon(0 0, 100% 20%, 100% 80%, 0 100%);
}

/* Short stroke - crossing (samurai sword sharp) */
h1 .red-x::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 45%;
    width: 110px;
    height: 14px;
    background: linear-gradient(90deg, transparent 0%, #ff0033 15%, #ff0033 100%);
    transform: translate(-50%, -50%) rotate(-50deg);
    border-radius: 1px 3px 3px 3px;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
}

h1 .red-x span {
    display: block;
    position: absolute;
    top: 50%;
    left: -60px;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, #ff0000, #ffffff, transparent);
    transform: rotate(-20deg);
    animation: slashLine 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes slashLine {
    0% { opacity: 0; transform: rotate(-20deg) translateX(-30px); }
    40% { opacity: 0.7; }
    60% { opacity: 0.7; }
    100% { opacity: 0; transform: rotate(-20deg) translateX(30px); }
}

@keyframes xBlink {
    0%, 50% {
        filter: drop-shadow(0 0 15px rgba(255, 0, 50, 0.8)) drop-shadow(0 0 30px rgba(255, 0, 50, 0.4));
        opacity: 1;
    }
    70%, 85% {
        filter: drop-shadow(0 0 5px rgba(255, 0, 50, 0.4));
        opacity: 0.5;
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(255, 0, 50, 0.8)) drop-shadow(0 0 30px rgba(255, 0, 50, 0.4));
        opacity: 1;
    }
}

h1 .tech-text {
    font-size: 1.2rem;
    font-weight: 400;
    position: absolute;
    bottom: -20px;
    right: 5px;
    letter-spacing: 6px;
    font-family: 'Courier New', Courier, monospace;
    text-transform: lowercase;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.9);
}

h1 .trademark {
    font-size: 0.8rem;
    vertical-align: super;
    margin-left: 2px;
}

@keyframes redGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 0, 0, 0.9),
                     0 0 60px rgba(255, 0, 0, 0.7),
                     0 0 90px rgba(255, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 0, 0, 1),
                     0 0 80px rgba(255, 0, 0, 0.9),
                     0 0 120px rgba(255, 0, 0, 0.7);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.5),
                     0 0 40px rgba(0, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 0, 255, 0.7),
                     0 0 60px rgba(255, 0, 255, 0.5);
    }
}

.tagline {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #ffffff;
    letter-spacing: 3px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Services Intro Section */
.services-intro {
    margin-bottom: 2rem;
    max-width: 700px;
}

.services-label {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff0033;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.4rem 1.2rem;
    border: 2px solid rgba(255, 0, 51, 0.5);
    background: rgba(255, 0, 51, 0.1);
    text-align: left;
}

.services-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-caption {
    font-size: 1rem;
    font-weight: 400;
    color: #b0b0b0;
    line-height: 1.6;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.grid .card {
    flex: 0 1 500px;
    max-width: 600px;
}

.card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card::before {
    display: none;
}

.card:hover::before {
    display: none;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 255, 255, 0.4), 0 0 90px rgba(0, 255, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h2 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* ==========================================
   Card Status Overlays - Corner Ribbon Style
   ========================================== */
.card-status-overlay {
    display: none;
}

/* Cards with status need overflow visible for ribbon */
.card[data-status="coming-soon"],
.card[data-status="fully-booked"],
.card[data-status="not-available"],
.card[data-status="limited-stock"] {
    overflow: visible;
}

/* Base ribbon style for all statuses */
.card[data-status="coming-soon"] .card-status-overlay,
.card[data-status="fully-booked"] .card-status-overlay,
.card[data-status="not-available"] .card-status-overlay,
.card[data-status="limited-stock"] .card-status-overlay {
    display: block;
    position: absolute;
    top: -15px;
    right: -15px;
    width: 180px;
    height: 180px;
    overflow: visible;
    z-index: 10;
    pointer-events: none;
}

.card[data-status="coming-soon"] .card-status-overlay::after,
.card[data-status="fully-booked"] .card-status-overlay::after,
.card[data-status="not-available"] .card-status-overlay::after,
.card[data-status="limited-stock"] .card-status-overlay::after {
    position: absolute;
    top: 35px;
    right: -45px;
    width: 220px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 3px;
    padding: 14px 0;
    transform: rotate(45deg);
    text-transform: uppercase;
    border-top: 3px solid;
    border-bottom: 3px solid;
}

/* Coming Soon - Cyan (darkened card) */
.card[data-status="coming-soon"] {
    pointer-events: none;
    filter: brightness(0.5);
}

.card[data-status="coming-soon"] .card-status-overlay::after {
    content: 'COMING SOON';
    background: rgba(0, 20, 40, 0.9);
    color: #00ffff;
    border-color: #00ffff;
    text-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff, 0 0 45px rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.4), inset 0 0 15px rgba(0, 255, 255, 0.2);
    filter: brightness(2) !important;
}

/* Fully Booked - Orange (darkened card) */
.card[data-status="fully-booked"] {
    pointer-events: none;
    filter: brightness(0.5);
}

.card[data-status="fully-booked"] .card-status-overlay::after {
    content: 'FULLY BOOKED';
    background: rgba(40, 0, 0, 0.9);
    color: #ff0033;
    border-color: #ff0033;
    text-shadow: 0 0 15px #ff0033, 0 0 30px #ff0033, 0 0 45px rgba(255, 0, 51, 0.5);
    box-shadow: 0 0 25px rgba(255, 0, 51, 0.6), 0 0 40px rgba(255, 0, 51, 0.4), inset 0 0 15px rgba(255, 0, 51, 0.2);
    filter: brightness(2) !important;
}

/* Not Available - Red (darkened card) */
.card[data-status="not-available"] {
    pointer-events: none;
    filter: brightness(0.5);
}

.card[data-status="not-available"] .card-status-overlay::after {
    content: 'NOT AVAILABLE';
    background: rgba(40, 0, 0, 0.9);
    color: #ff3333;
    border-color: #ff3333;
    text-shadow: 0 0 15px #ff3333, 0 0 30px #ff3333, 0 0 45px rgba(255, 51, 51, 0.5);
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.6), 0 0 40px rgba(255, 51, 51, 0.4), inset 0 0 15px rgba(255, 51, 51, 0.2);
    filter: brightness(2) !important;
}

/* Limited Stock - Yellow/Gold (still clickable) */
.card[data-status="limited-stock"] .card-status-overlay::after {
    content: 'LIMITED STOCK';
    background: rgba(40, 35, 0, 0.9);
    color: #ffdd00;
    border-color: #ffdd00;
    text-shadow: 0 0 15px #ffdd00, 0 0 30px #ffdd00, 0 0 45px rgba(255, 221, 0, 0.5);
    box-shadow: 0 0 25px rgba(255, 221, 0, 0.6), 0 0 40px rgba(255, 221, 0, 0.4), inset 0 0 15px rgba(255, 221, 0, 0.2);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 20px;
    border: 2px solid #ff00ff;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(255, 0, 255, 0.5);
}

.pulse {
    animation: pulse 2s infinite;
}

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

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid #00ffff;
    color: #888;
    background: rgba(0, 0, 0, 0.7);
}

/* 3D Pop-Out Modal - Lightweight Smooth Effect */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: background 0.3s ease-out, opacity 0.3s ease-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 5, 15, 0.85);
}

/* Click origin point indicator - lightweight */
.click-origin {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2001;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.click-origin.active {
    animation: clickExpand 0.4s ease-out forwards;
}

@keyframes clickExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Energy beam - disabled for performance */
.energy-beam {
    display: none;
}

.modal-container {
    position: fixed;
    width: 95%;
    max-width: 850px;
    min-height: 500px;
    background: rgba(0, 8, 20, 0.95);
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 3px;
    padding: 4rem 3.5rem;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + var(--start-x, 0px)), calc(-50% + var(--start-y, 0px))) scale(0);
    opacity: 0;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
    z-index: 2003;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@keyframes hologramIdle {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
        box-shadow:
            0 0 60px rgba(0, 255, 255, 0.2),
            0 0 120px rgba(0, 255, 255, 0.1),
            inset 0 0 60px rgba(0, 255, 255, 0.03);
    }
    50% {
        transform: translateY(-8px) rotateX(0.5deg) rotateY(0.5deg);
        box-shadow:
            0 0 80px rgba(0, 255, 255, 0.25),
            0 0 150px rgba(0, 255, 255, 0.15),
            inset 0 0 80px rgba(0, 255, 255, 0.05);
    }
}

/* ==========================================
   Screen Breach Effect - Lightweight Single Ring
   ========================================== */
.screen-breach {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 2001;
}

.breach-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.breach-ring-1 {
    width: 80px;
    height: 80px;
    border-color: rgba(0, 255, 255, 0.8);
}

.breach-ring-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(0, 200, 255, 0.6);
}

.breach-ring-3 {
    width: 250px;
    height: 250px;
    border-color: rgba(100, 0, 255, 0.4);
}

.modal-overlay.active .breach-ring-1 {
    animation: breachExpand 0.4s ease-out forwards;
}

.modal-overlay.active .breach-ring-2 {
    animation: breachExpand 0.5s ease-out 0.05s forwards;
}

.modal-overlay.active .breach-ring-3 {
    animation: breachExpand 0.6s ease-out 0.1s forwards;
}

@keyframes breachExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Breach flash - bright burst */
.breach-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #ffffff 0%, #00ffff 30%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.modal-overlay.active .breach-flash {
    animation: breachFlash 0.4s ease-out forwards;
}

@keyframes breachFlash {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(6); opacity: 0; }
}


/* Bottom projection base */
.hologram-lines {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        rgba(0, 255, 255, 0.2) 0%,
        rgba(0, 255, 255, 0.08) 20%,
        rgba(0, 255, 255, 0.02) 50%,
        transparent 100%
    );
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease 0.8s;
}

.modal-overlay.active .hologram-lines {
    opacity: 1;
}

/* Hologram scan lines overlay */
.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.015) 2px,
        rgba(0, 255, 255, 0.015) 4px
    );
    pointer-events: none;
    border-radius: 3px;
}

/* Glowing border effect - static for performance */
.modal-container::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 3px;
    pointer-events: none;
}

/* Corner markers - simplified */
.modal-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active .modal-corner {
    opacity: 1;
}

.modal-corner::before,
.modal-corner::after {
    content: '';
    position: absolute;
    background: #00ffff;
}

.modal-corner::before {
    width: 100%;
    height: 2px;
}

.modal-corner::after {
    width: 2px;
    height: 100%;
}

.modal-corner-tl { top: -1px; left: -1px; }
.modal-corner-tl::before { top: 0; left: 0; }
.modal-corner-tl::after { top: 0; left: 0; }

.modal-corner-tr { top: -1px; right: -1px; }
.modal-corner-tr::before { top: 0; right: 0; }
.modal-corner-tr::after { top: 0; right: 0; }

.modal-corner-bl { bottom: -1px; left: -1px; }
.modal-corner-bl::before { bottom: 0; left: 0; }
.modal-corner-bl::after { bottom: 0; left: 0; }

.modal-corner-br { bottom: -1px; right: -1px; }
.modal-corner-br::before { bottom: 0; right: 0; }
.modal-corner-br::after { bottom: 0; right: 0; }

/* Scanning line */
.modal-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(0, 255, 255, 0.4) 80%,
        transparent 100%);
    opacity: 0;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.modal-overlay.active .modal-scan-line {
    animation: scanReveal 2.5s ease-in-out infinite;
    animation-delay: 0.6s;
}

@keyframes scanReveal {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Data stream */
.modal-data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    border-radius: 3px;
    transition: opacity 0.4s ease 0.5s;
}

.modal-overlay.active .modal-data-stream {
    opacity: 0.1;
}

.modal-data-stream::before {
    content: '◈ SYSTEM ACTIVE ◈ DATA STREAM ◈';
    position: absolute;
    top: 10px;
    left: 0;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: #00ffff;
    white-space: nowrap;
    animation: dataFlow 12s linear infinite;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes dataFlow {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Modal content - instant show with container */
.modal-icon,
.modal-title,
.modal-description,
.modal-buttons {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-overlay.active .modal-icon {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.modal-overlay.active .modal-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.modal-overlay.active .modal-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.modal-overlay.active .modal-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Closing animation - fast and smooth */
.modal-overlay.closing {
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.modal-overlay.closing .modal-container {
    transform: translate(calc(-50% + var(--start-x, 0px)), calc(-50% + var(--start-y, 0px))) scale(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.3s ease;
}

.modal-overlay.closing .screen-breach {
    opacity: 0;
}

.modal-overlay.closing .modal-corner {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.modal-overlay.closing .modal-icon,
.modal-overlay.closing .modal-title,
.modal-overlay.closing .modal-description,
.modal-overlay.closing .modal-buttons {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    z-index: 100;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 1px;
    background: rgba(0, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-close:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.modal-close:hover::before,
.modal-close:hover::after {
    background: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

.modal-icon {
    font-size: 5.5rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.modal-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    color: rgba(0, 255, 255, 0.95);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 15px rgba(0, 255, 255, 0.6),
        0 0 40px rgba(0, 255, 255, 0.3);
    position: relative;
}

.modal-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 255, 255, 0.6),
        transparent);
    margin: 1rem auto 0;
}

.modal-description {
    color: rgba(200, 220, 255, 0.85);
    text-align: center;
    line-height: 2;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    padding: 0 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.modal-btn {
    position: relative;
    padding: 1.1rem 2.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.modal-btn-preview {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.4);
    color: rgba(0, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.modal-btn-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modal-btn-preview:hover::before {
    left: 100%;
}

.modal-btn-preview:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    text-shadow: 0 0 10px #00ffff;
    transform: translateY(-2px);
}

.modal-btn-explore {
    background: linear-gradient(135deg,
        rgba(0, 255, 255, 0.3) 0%,
        rgba(0, 150, 255, 0.4) 50%,
        rgba(150, 0, 255, 0.3) 100%);
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.modal-btn-explore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modal-btn-explore:hover::before {
    left: 100%;
}

.modal-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.4),
        0 0 50px rgba(150, 0, 255, 0.3);
    border-color: #00ffff;
}

/* Status indicator */
.modal-status {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: rgba(0, 255, 150, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-status-dot {
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 150, 0.8);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 5px rgba(0, 255, 150, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 255, 150, 0.8);
    }
}

/* Glitch effect on title hover */
.modal-title:hover {
    animation: subtleGlitch 0.5s ease;
}

@keyframes subtleGlitch {
    0%, 100% {
        transform: translate(0);
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.3);
    }
    25% {
        transform: translate(-1px, 1px);
        text-shadow: -2px 0 rgba(255, 0, 255, 0.4), 2px 0 rgba(0, 255, 255, 0.4);
    }
    50% {
        transform: translate(1px, -1px);
        text-shadow: 2px 0 rgba(255, 0, 255, 0.4), -2px 0 rgba(0, 255, 255, 0.4);
    }
    75% {
        transform: translate(-1px, -1px);
        text-shadow: -1px 0 rgba(255, 0, 255, 0.4), 1px 0 rgba(0, 255, 255, 0.4);
    }
}

/* ==========================================
   Video Player Modal
   ========================================== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.95);
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: rgba(0, 8, 20, 0.95);
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 5px;
    padding: 20px;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
}

.video-modal-overlay.active .video-modal-container {
    transform: scale(1);
    opacity: 1;
}

.video-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-modal-close::before,
.video-modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: #00ffff;
}

.video-modal-close::before {
    transform: rotate(45deg);
}

.video-modal-close::after {
    transform: rotate(-45deg);
}

.video-modal-close:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 3px;
    overflow: hidden;
    /* Clip any popout elements that extend beyond the container */
    clip-path: inset(0);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Prevent fullscreen - keep video inside container */
.video-wrapper iframe:fullscreen,
.video-wrapper iframe:-webkit-full-screen,
.video-wrapper iframe:-moz-full-screen,
.video-wrapper iframe:-ms-fullscreen {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Responsive video modal */
@media (max-width: 768px) {
    .video-modal-container {
        width: 95%;
        padding: 15px;
    }
}

/* ==========================================
   Mobile Responsive Styles (iPhone 13 / Android)
   ========================================== */
@media (max-width: 768px) {
    /* Only disable heaviest effects */
    .floating-particles,
    .hex-pattern,
    .grid-overlay {
        display: none;
    }

    /* Keep glow orbs but smaller */
    .glow-orb-1 { width: 200px; height: 200px; }
    .glow-orb-2 { width: 150px; height: 150px; }
    .glow-orb-3 { display: none; }
    .glow-orb-4 { display: none; }

    /* Keep card animations but lighter */
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }

    /* Header & Logo */
    header {
        padding: 3.5rem 1rem 2rem 1rem;
    }

    h1 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    h1 .red-x {
        width: 50px;
        height: 55px;
        margin: 0 -12px 0 -15px;
        top: 10px;
    }

    h1 .red-x::before {
        width: 75px;
        height: 10px;
    }

    h1 .red-x::after {
        width: 70px;
        height: 9px;
    }

    h1 .tech-text {
        font-size: 0.8rem;
        bottom: -12px;
        right: 3px;
        letter-spacing: 4px;
    }

    .tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* AI Corner - hide on mobile */
    .ai-corner {
        display: none;
    }

    /* Container */
    .container {
        padding: 1.5rem 1rem;
    }

    /* Services Intro */
    .services-intro {
        text-align: center;
        max-width: 100%;
    }

    .services-label {
        font-size: 0.9rem;
        letter-spacing: 2px;
        padding: 0.3rem 0.8rem;
    }

    .services-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .services-caption {
        font-size: 0.9rem;
    }

    /* Cards Grid - Single Column */
    .grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .grid .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2.2rem;
    }

    .card h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .card p {
        font-size: 0.9rem;
    }

    /* Status Ribbons - Smaller */
    .card[data-status="coming-soon"] .card-status-overlay,
    .card[data-status="fully-booked"] .card-status-overlay,
    .card[data-status="not-available"] .card-status-overlay,
    .card[data-status="limited-stock"] .card-status-overlay {
        width: 130px;
        height: 130px;
        top: -10px;
        right: -10px;
    }

    .card[data-status="coming-soon"] .card-status-overlay::after,
    .card[data-status="fully-booked"] .card-status-overlay::after,
    .card[data-status="not-available"] .card-status-overlay::after,
    .card[data-status="limited-stock"] .card-status-overlay::after {
        top: 25px;
        right: -40px;
        width: 170px;
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 10px 0;
    }

    /* CTA Section */
    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .cta-section h2 {
        font-size: 1.5rem !important;
    }

    .cta-section p {
        font-size: 1rem !important;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    /* Side Menu */
    .side-menu {
        width: 280px;
        right: -300px;
    }

    .side-menu.active {
        right: 10px;
    }

    .menu-header {
        padding: 1.5rem;
    }

    .menu-list a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Modal */
    .modal-container {
        width: 95%;
        min-height: auto;
        padding: 2.5rem 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }

    .modal-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        line-height: 1.7;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    footer p {
        font-size: 0.85rem;
    }

    /* Glow orbs - smaller on mobile */
    .glow-orb-1 { width: 250px; height: 250px; }
    .glow-orb-2 { width: 200px; height: 200px; }
    .glow-orb-3 { width: 150px; height: 150px; }
    .glow-orb-4 { width: 175px; height: 175px; }
}

/* Extra small devices */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    h1 .red-x {
        width: 40px;
        height: 45px;
        margin: 0 -10px 0 -12px;
        top: 8px;
    }

    h1 .red-x::before {
        width: 60px;
        height: 8px;
    }

    h1 .red-x::after {
        width: 55px;
        height: 7px;
    }

    h1 .tech-text {
        font-size: 0.65rem;
        bottom: -10px;
        letter-spacing: 3px;
    }

    .services-title {
        font-size: 1.1rem;
    }

    .card h2 {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 1.2rem !important;
    }
}
