/* TRON LEGACY THEME VARIABLES */
:root {
    --bg-deep: #020204;
    --neon-cyan: #00f3ff;
    --neon-blue: #0066ff;
    --neon-glow: rgba(0, 243, 255, 0.5);
    --glass-panel: rgba(0, 20, 40, 0.7);
    --border-glow: 1px solid rgba(0, 243, 255, 0.3);
    --text-main: #e0faff;
    --text-dim: #7aa0b8;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* TYPOGRAPHY & GLOWS */
h1,
h2,
h3 {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-blue);
    background: none;
    -webkit-text-fill-color: initial;
    animation: textFlicker 3s infinite alternate;
}

@keyframes textFlicker {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-blue);
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-blue);
    }
}

/* THE GRID (Global Background) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    transform: perspective(100vh) rotateX(20deg) scale(1.5);
    transform-origin: top center;
    pointer-events: none;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 2, 4, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0, 243, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.logo-container img {
    height: 45px;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-dim);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: 0.3s;
    box-shadow: 0 0 5px var(--neon-cyan);
}

.nav-links a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* LANGUAGE SWITCHER - GLITCH EFFECT */
.lang-switch {
    display: flex;
    gap: 15px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.lang-opt {
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: 0.3s;
    position: relative;
}

.lang-opt.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* Surprising Hover Effect for Lang */
.lang-opt:hover {
    color: #fff;
    transform: scale(1.2);
    /* Glitch Text Shadow */
    text-shadow: 2px 0 var(--neon-blue), -2px 0 #ff00de;
    animation: glitch-jitter 0.3s infinite;
}

@keyframes glitch-jitter {
    0% {
        transform: translate(0, 0) scale(1.2);
    }

    20% {
        transform: translate(-2px, 2px) scale(1.2);
    }

    40% {
        transform: translate(2px, -2px) scale(1.2);
    }

    60% {
        transform: translate(-2px, -2px) scale(1.2);
    }

    80% {
        transform: translate(2px, 2px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1.2);
    }
}

/* LOGO HOVER EFFECT - SPIN & GLOW */
.logo-container {
    transition: 0.4s;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container:hover img {
    animation: logoSpin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
background: var(--neon-cyan);
transition: 0.3s;
box-shadow: 0 0 5px var(--neon-cyan);
}

.nav-links a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO SECTION - THE PORTAL */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

/* The Animated Floor (Highway) */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 100%;
    background:
        linear-gradient(transparent 20%, var(--bg-deep) 100%),
        repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(0, 243, 255, 0.2) 50px),
        repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(0, 243, 255, 0.1) 50px);
    transform: perspective(500px) rotateX(60deg);
    animation: cyberFloor 3s linear infinite;
    z-index: -1;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

@keyframes cyberFloor {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 50px;
    }
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 50px;
    border-left: 3px solid var(--neon-cyan);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.05), transparent);
}

/* GLOWING BUTTONS */
.btn {
    padding: 15px 45px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--neon-cyan);
}

.btn-primary {
    background: rgba(0, 243, 255, 0.1);
}

/* THE SYSTEM CORE (WHY US) */
.system-core {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #000, rgba(0, 243, 255, 0.05));
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--neon-cyan);
    box-shadow: 0 -10px 30px rgba(0, 243, 255, 0.1);
}

.core-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.hologram-projector {
    width: 300px;
    height: 400px;
    border: 1px solid var(--neon-cyan);
    position: relative;
    background: rgba(0, 243, 255, 0.02);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: scan 3s linear infinite;
    z-index: 2;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.data-stream {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: monospace;
    color: var(--neon-cyan);
    text-align: center;
    width: 100%;
}

.data-stream span {
    display: block;
    opacity: 0;
    animation: fadeInOut 3s linear infinite;
}

.data-stream span:nth-child(2) {
    animation-delay: 1s;
}

.data-stream span:nth-child(3) {
    animation-delay: 2s;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hex-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--neon-blue) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 1;
}

.core-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.core-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.core-content p {
    color: var(--text-dim);
    margin-bottom: 30px;
    border-left: none;
    padding-left: 0;
    background: none;
    font-size: 1.1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.f-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--neon-cyan);
    transition: 0.3s;
}

.f-item:hover {
    background: rgba(0, 243, 255, 0.05);
    transform: translateX(10px);
    box-shadow: -5px 0 15px rgba(0, 243, 255, 0.1);
}

.f-item .icon {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.f-item h4 {
    margin-bottom: 5px;
    color: var(--text-main);
}

.f-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* CRT TV TURN ON EFFECT */
@keyframes tvTurnOn {
    0% {
        transform: scale(1, 0.001);
        opacity: 0;
        filter: brightness(30);
    }

    20% {
        transform: scale(1, 0.001);
        opacity: 1;
        filter: brightness(30);
    }

    50% {
        transform: scale(1, 0.001);
        opacity: 1;
    }

    70% {
        transform: scale(1, 1);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 1;
        filter: brightness(1);
    }
}

.crt-effect {
    animation: tvTurnOn 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform-origin: center;
    opacity: 0;
    /* Start hidden */
}

/* TYPING CURSOR */
.typing-cursor::after {
    content: '_';
    display: inline-block;
    color: var(--neon-cyan);
    animation: blinkCursor 0.8s infinite;
    text-shadow: 0 0 10px var(--neon-cyan);
    margin-left: 2px;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: var(--glass-panel);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 40px;
    position: relative;
    transition: 0.4s;
    overflow: hidden;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.15);
    border-color: var(--neon-cyan);
}

.card:hover::before {
    transform: translateX(100%);
    transition: 1s linear;
}

.card h3 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.card p {
    color: var(--text-dim);
}

/* CONTACT FORM TERMINAL */
#contact form {
    background: rgba(0, 10, 20, 0.9);
    border: 1px solid var(--neon-blue);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.1);
    position: relative;
}

#contact form::after {
    content: 'STATUS: ONLINE';
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--neon-cyan);
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.modern-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #334455;
    color: var(--neon-cyan);
    font-family: monospace;
    border-radius: 0;
    margin-bottom: 20px;
}

.modern-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    background: rgba(0, 243, 255, 0.05);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--neon-blue);
    background: #000;
    padding: 50px;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .features {
        padding: 40px 20px;
    }

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

/* TRON CONTACT SECTION STYLES */
.tron-contact-section {
    padding: 100px 20px;
    background: radial-gradient(circle at bottom right, rgba(0, 50, 100, 0.2), transparent);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-header .subtitle {
    color: var(--text-dim);
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* UPLINKS PANEL (LEFT) */
.uplinks-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-title {
    color: var(--neon-cyan);
    border-bottom: 1px solid var(--neon-cyan);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.uplink-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 20, 40, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 20px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.uplink-card:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: translateX(10px);
}

.icon-box {
    font-size: 2rem;
    color: var(--text-dim);
    transition: 0.3s;
    width: 40px;
    text-align: center;
}

.uplink-card:hover .icon-box {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.uplink-info {
    display: flex;
    flex-direction: column;
}

.uplink-info .label {
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.uplink-info .status {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    font-family: monospace;
    margin-top: 3px;
}

.signal-bar {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 15px;
    background: var(--text-dim);
    box-shadow: 0 0 2px var(--text-dim);
    transition: 0.3s;
}

.uplink-card:hover .signal-bar {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    height: 30px;
    animation: signalFlash 0.5s infinite alternate;
}

@keyframes signalFlash {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

/* TERMINAL FORM (RIGHT) */
.terminal-container {
    background: rgba(0, 10, 15, 0.95);
    border: 1px solid var(--text-dim);
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-header-bar {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #888;
}

.tron-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group label {
    display: block;
    font-family: monospace;
    color: var(--neon-cyan);
    font-size: 0.75rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tron-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 1px solid #334455;
    color: var(--text-main);
    font-family: monospace;
    padding: 12px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.tron-input:focus {
    outline: none;
    border-bottom-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: inset 0 -2px 5px rgba(0, 243, 255, 0.1);
}

/* CYBER BUTTON */
.cyber-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 15px;
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.cyber-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--neon-cyan);
    letter-spacing: 2px;
}

/* SWAT-INSPIRED TRON CONTACT */
.tron-section {
    padding: 100px 20px;
    background: radial-gradient(circle at top left, rgba(0, 50, 100, 0.1), transparent);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.swat-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

/* LEFT: BUTTONS */
.buttons-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tron-btn-large {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 20, 30, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 30px;
    text-decoration: none;
    transition: 0.3s;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.tron-btn-large i {
    font-size: 2.5rem;
    color: var(--text-dim);
    transition: 0.3s;
}

.tron-btn-large:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.1);
}

.tron-btn-large:hover i {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
    transform: scale(1.1);
}

.btn-info {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn-info small {
    color: var(--text-dim);
    font-family: monospace;
}

/* RIGHT: FORM */
.glass-panel {
    background: rgba(0, 10, 20, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 40px;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.panel-title {
    color: var(--neon-cyan);
    margin-bottom: 30px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-wrapper {
    position: relative;
}

.clean-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: 0.3s;
    outline: none;
}

.clean-input:focus {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.02);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.cyber-btn-full {
    background: var(--neon-cyan);
    color: #000;
    border: none;
    padding: 18px;
    font-weight: 700;
    font-family: var(--font-head);
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cyber-btn-full:hover {
    background: #fff;
    box-shadow: 0 0 25px var(--neon-cyan);
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .swat-grid {
        grid-template-columns: 1fr;
    }
}

/* TRANSFORMATION SECTION (PORTFOLIO) */
.transformation-section {
    padding: 100px 20px;
    background: #000;
}

.transformation-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.subtitle {
    display: block;
    margin-bottom: 50px;
    color: var(--text-dim);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

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

.trans-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.trans-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    position: relative;
    border: 1px solid rgba(0, 243, 255, 0.2);
    overflow: hidden;
    transition: 0.4s;
    cursor: pointer;
}

.trans-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
    filter: grayscale(100%) contrast(0.8);
}

.trans-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-cyan);
}

.trans-card:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.trans-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.trans-card:hover .trans-overlay {
    transform: translateY(0);
}

.trans-overlay span {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--neon-cyan);
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.trans-overlay small {
    color: #fff;
    font-family: monospace;
}

/* SCANNER ANIMATION OVER IMAGES */
.trans-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: 2;
    pointer-events: none;
}

/* TRON LIGHT CYCLES ANIMATION */
.light-cycles-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.light-cycle {
    position: absolute;
    bottom: 10px;
    width: 40px;
    height: 20px;
    background: #000;
    border-radius: 5px;
    box-shadow: 0 0 10px currentColor;
}

.light-cycle::before {
    /* Trail */
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 300px;
    height: 4px;
    background: currentColor;
    box-shadow: 0 0 15px currentColor;
    transform: translateY(-50%);
}

.light-cycle::after {
    /* Bike Wheel Glow */
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: currentColor;
    filter: blur(4px);
}

.light-cycle.yellow {
    color: #ffaa00;
    animation: cycleRaceYellow 8s linear infinite;
}

.light-cycle.blue {
    color: #00f3ff;
    animation: cycleRaceBlue 8s linear infinite;
    animation-delay: 0.5s;
}

@keyframes cycleRaceYellow {
    0% {
        left: -100px;
        transform: scaleX(1);
    }

    45% {
        left: 45%;
        transform: scaleX(1);
    }

    /* Overtake Position */
    50% {
        left: 50%;
        transform: scaleX(1);
    }

    55% {
        left: 60%;
        transform: scaleX(1);
    }

    100% {
        left: 110%;
        transform: scaleX(1);
    }
}

@keyframes cycleRaceBlue {
    0% {
        left: -150px;
        transform: scaleX(1);
    }

    40% {
        left: 40%;
        transform: scaleX(1);
    }

    50% {
        left: 55%;
        transform: scaleX(1);
    }

    /* Blue overtakes */
    100% {
        left: 115%;
        transform: scaleX(1);
    }
}

/* EVOLUTION SECTION (BEFORE/AFTER) */
.evolution-section {
    padding: 100px 20px;
    background: #000;
}

.glitch-title {
    position: relative;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.glitch-title::before {
    left: 2px;
    text-shadow: -1px 0 #ff00de;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-title::after {
    left: -2px;
    text-shadow: -1px 0 #00f3ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 1px, 0);
    }

    10% {
        clip: rect(27px, 9999px, 86px, 0);
    }

    /* ... simplify for brevity but keeps effect */
    100% {
        clip: rect(69px, 9999px, 6px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 95px, 0);
    }

    5% {
        clip: rect(21px, 9999px, 5px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 83px, 0);
    }
}

.evo-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.evo-card {
    position: relative;
    width: 350px;
    /* Ensures 3 fit in standard desktop (~1110px container) */
    height: 250px;
    border: 2px solid #333;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
    cursor: crosshair;
    flex-shrink: 0;
}

.evo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Show "Before" (left half) by default logic handled visually by mask or simple display */
    /* Since we have split images, object-position left shows 'Before', right 'After' */
    object-position: left;
    transition: 0.5s ease-out;
}

/* Hover reveals "After" (Right side of image) */
.evo-card:hover img {
    object-position: right;
}

.evo-label {
    position: absolute;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
    pointer-events: none;
}

.evo-label.before {
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
}

.evo-label.after {
    bottom: 10px;
    right: 10px;
    background: rgba(0, 243, 255, 0.7);
    color: black;
    opacity: 0;
    transition: 0.3s;
}

.evo-card:hover .evo-label.after {
    opacity: 1;
}

.evo-card:hover .evo-label.before {
    opacity: 0;
}

.evo-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* ANIMATED SERVICES TITLE */
.services-title-wrapper {
    text-align: center;
    padding: 80px 0 30px;
    /* Slight increase for better spacing */
    background: #000;
    scroll-margin-top: 100px;
    /* Ensures fixed nav doesn't cover title on scroll */
}

.neon-flux-title {
    font-size: 3rem;
    color: #fff;
    text-shadow:
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan);
    animation: neonFlux 3s infinite alternate;
}

@keyframes neonFlux {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            0 0 5px var(--neon-cyan),
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .evo-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* FLOATING CYBER ACTIONS */
.cyber-floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* PINK TEXT FOR 'IA' */
.pink-text {
    color: #ff00de;
    text-shadow: 0 0 10px #ff00de;
}

.cyber-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

/* WHATSAPP BUTTON */
.whatsapp-fab {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
}

/* Pulse Animation for WA */
.fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Tooltip "ONLINE" */
.fab-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: #25D366;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    border: 1px solid #25D366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

/* BACK TO TOP BUTTON */
.top-fab {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: 0.4s;
}

.top-fab.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.top-fab:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 25px var(--neon-cyan);
    transform: translateY(-5px);
    /* Lift effect */
}

/* Hover Thruster Effect via Icon */
.top-fab:hover i {
    animation: thruster infinite 0.1s alternate;
    /* Quick vibration/propulsion */
}

@keyframes thruster {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .cyber-floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .cyber-fab {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* =========================================
   INNOVATIVE MOBILE MENU (CYBERPUNK)
   ========================================= */

/* Default: Hide Mobile Elements on Desktop */
.hamburger,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 768px) {

    /* Hide Desktop Nav Elements */
    .nav-links,
    .lang-switch {
        display: none;
    }

    /* HAMBURGER ICON */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 35px;
        height: 25px;
        cursor: pointer;
        z-index: 10001;
        /* Above overlay */
        position: relative;
    }

    .bar {
        width: 100%;
        height: 3px;
        background: var(--neon-cyan);
        box-shadow: 0 0 5px var(--neon-cyan);
        transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        /* Bouncy transition */
        border-radius: 2px;
    }

    /* Hamburger Animation to X */
    .hamburger.active .bar.top {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ff00de;
        box-shadow: 0 0 10px #ff00de;
    }

    .hamburger.active .bar.mid {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger.active .bar.bot {
        transform: rotate(-45deg) translate(8px, -9px);
        background: #ff00de;
        box-shadow: 0 0 10px #ff00de;
    }

    /* FULLSCREEN OVERLAY */
    .mobile-menu-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        z-index: 10000;

        /* Animation State: Hidden */
        opacity: 0;
        pointer-events: none;
        transform: scale(1.1);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

        /* Grid Texture Background */
        background-image:
            linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
        background-size: 30px 30px;
    }

    /* Active State: Visible */
    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
        transform: scale(1);
    }

    /* MENU LINKS */
    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .mobile-menu-content a {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-decoration: none;
        position: relative;
        transition: 0.3s;

        /* Initial state for stagger anim */
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s, transform 0.4s;
    }

    /* Staggered Animation on Active using nth-child */
    .mobile-menu-overlay.active .mobile-menu-content a:nth-child(1) {
        transition-delay: 0.1s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-content a:nth-child(2) {
        transition-delay: 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-content a:nth-child(3) {
        transition-delay: 0.3s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-menu-content a:nth-child(4) {
        transition-delay: 0.4s;
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-content a:hover {
        color: var(--neon-cyan);
        text-shadow: 0 0 20px var(--neon-cyan);
        transform: scale(1.1) skewX(-10deg);
    }

    /* MOBILE LANGUAGE SWITCHER */
    .mobile-lang-switch {
        margin-top: 40px;
        display: flex;
        gap: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s 0.6s;
        /* Delay after links */
    }

    .mobile-menu-overlay.active .mobile-lang-switch {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-lang-switch .lang-opt {
        font-size: 1.2rem;
        font-weight: bold;
        color: #888;
        cursor: pointer;
    }

    .mobile-lang-switch .lang-opt.active {
        color: var(--neon-cyan);
        text-shadow: 0 0 10px var(--neon-cyan);
        border-bottom: 2px solid var(--neon-cyan);
    }
}

/* =========================================
   AGGRESSIVE CYBER-HUD BANNER (EVOLUTION)
   ========================================= */

.evo-banner-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(0, 243, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    clip-path: polygon(0 0,
            20px 0,
            20px 20px,
            calc(100% - 20px) 20px,
            calc(100% - 20px) 0,
            100% 0,
            100% 100%,
            0 100%);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.evo-banner-content {
    position: relative;
}

.evo-mega-title {
    font-size: 5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-cyan);
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    margin: 20px 0;
    letter-spacing: 5px;
    /* Glitch Animation */
    animation: glitch-jitter 3s infinite;
}

.evo-mega-title::before {
    content: attr(data-text);
    position: absolute;
    top: 5px;
    left: 5px;
    color: rgba(255, 0, 222, 0.2);
    z-index: -1;
    filter: blur(2px);
    mix-blend-mode: screen;
}

.evo-mega-title::after {
    content: attr(data-text);
    position: absolute;
    top: -5px;
    left: -5px;
    color: rgba(0, 243, 255, 0.2);
    z-index: -1;
    filter: blur(2px);
    mix-blend-mode: screen;
}

/* SCANNER LINE */
.evo-scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    animation: scanVertical 2s linear infinite;
    z-index: 10;
    opacity: 0.7;
}

@keyframes scanVertical {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* DECOR LINES */
.evo-decor-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    width: 80%;
    margin: 10px auto;
}

/* SYSTEM STATUS TEXT */
.evo-system-status {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.blink-fast {
    animation: blink 0.2s infinite;
}

.status-ok {
    color: #0f0;
    font-weight: bold;
    text-shadow: 0 0 5px #0f0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .evo-mega-title {
        font-size: 2.5rem;
        /* Manageable on mobile */
        -webkit-text-stroke: 1px var(--neon-cyan);
    }

    .evo-banner-container {
        padding: 40px 10px;
        /* More vertical padding */
        border: none;
        background: none;
        clip-path: none;
        /* Remove complex shape on mobile */
    }
}