:root {
    --primary-grey: #e5e7eb;
    --primary-orange: #ffe600;
    --primary-purple: #ffffff;
    --secondary-amber: #fbbf24;
    --dark-bg: #000000;
    --darker-bg: #000000;
    --card-bg: rgba(229, 231, 235, 0.03);
    --border-color: rgba(229, 231, 235, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --primary-cyan: #ffffffe3;
    --primary-pink: #ffc400;
}


/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-bg-dark: #000000;
    --color-bg-gradient-start: #000000;
    --color-bg-gradient-end: #1a1a1a;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;

    /* Neon Glow */
    --neon-color: #ffffff;
    --neon-glow-light: rgba(255, 255, 255, 0.4);
    --neon-glow-strong: rgba(255, 255, 255, 0.8);

    /* Spacing */
    --navbar-height: 70px;
    --container-padding: 24px;
}


html {
    background: #000;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    background-attachment: fixed;
    color: var(--color-text-primary);
    min-height: 300vh;
    overflow-x: hidden;
    position: relative;
}





.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    height: 100%;
    overflow: visible;
    padding-left: 20px;
}

.logo-container video {
    width: auto;
    height: 100px;
    background-color: transparent;
    object-fit: contain;
}


.glowing-logo {
    width: auto;
    height: 50px;
    display: block;
    filter: brightness(1.5) contrast(1.2) drop-shadow(0 0 20px rgba(0, 159, 227, 0.8));
    object-fit: contain;
}

/*====================================
texto encripted
*/

.text-container {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 20px;
    min-height: auto;
}

.thank-you-text {
    font-weight: 400;
    font-size: clamp(1.5rem, 5vw, 4rem);
    position: relative;
    color: #ffffff;
    text-shadow: 0 0 5px #00aeff, 0 0 15px #00aeff, 0 0 30px #00aeff;
    cursor: default;
    text-transform: uppercase;
    min-height: 1.5em;
    line-height: 1.5;
}

.thank-you-text span {
    display: inline-block;
    position: relative;
    min-width: 0.5ch;
    will-change: contents;
}




/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;

    transition: background-color 0.3s ease;
    padding: 0;
}

.navbar:hover {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0.822);
}

.navbar.scrolled {
    backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0.877);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: transparent;
}

/* ========================================
   LOGO
   ======================================== */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
    height: 60px;
}

.navbar-logo:hover {
    opacity: 0.9;
}

.navbar-logo .logo-container {
    flex-shrink: 0;
}

/* ========================================
   NAVIGATION LINKS
   ======================================== */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #000000;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4),
        0 0 90px rgba(255, 255, 255, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: navLinkGlow 1.5s ease-in-out infinite;
}

@keyframes navLinkGlow {

    0%,
    100% {
        box-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 15px #fff,
            0 0 20px #228DFF,
            0 0 35px #228DFF,
            0 0 40px #228DFF,
            0 0 50px #228DFF,
            0 0 75px #228DFF,
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow:
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #fff,
            0 0 40px #228DFF,
            0 0 70px #228DFF,
            0 0 80px #228DFF,
            0 0 100px #228DFF,
            0 0 150px #228DFF,
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
}

/* ========================================
   ACTION BUTTONS
   ======================================== */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


.btn-primary {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}



.btn-primary {
    background: var(--neon-color);
    color: #000000;
    font-weight: 600;
    position: relative;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.7),
        0 0 80px rgba(255, 255, 255, 0.5),
        0 0 120px rgba(255, 255, 255, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: neonPulse 2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.9),
        0 0 100px rgba(255, 255, 255, 0.7),
        0 0 140px rgba(255, 255, 255, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

@keyframes neonPulse {

    0%,
    100% {
        box-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 15px #fff,
            0 0 20px #228DFF,
            0 0 35px #228DFF,
            0 0 40px #228DFF,
            0 0 50px #228DFF,
            0 0 75px #228DFF,
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow:
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #fff,
            0 0 40px #228DFF,
            0 0 70px #228DFF,
            0 0 80px #228DFF,
            0 0 100px #228DFF,
            0 0 150px #228DFF,
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
}

/* ========================================
   MOBILE MENU TOGGLE
   ======================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--navbar-height) var(--container-padding) 0;
    text-align: center;
    position: relative;
    z-index: 20;
    overflow: visible;
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
    background: transparent;
    /* Adjust opacity for readibility if needed */
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    --interval: 1s;
    display: block;
    text-shadow:
        0 0 10px var(--color1),
        0 0 20px var(--color2),
        0 0 40px var(--color3),
        0 0 80px var(--color4);
    will-change: filter, color;
    filter: saturate(60%);
    animation: flicker steps(100) var(--interval) 1s infinite;
    color: azure;
    --color1: azure;
    --color2: aqua;
    --color3: dodgerblue;
    --color4: blue;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow:
        0 0 10px var(--color1),
        0 0 20px var(--color2),
        0 0 40px var(--color3),
        0 0 80px var(--color4);
    will-change: filter, color;
    filter: saturate(60%);
    animation: flicker steps(100) var(--interval) 1s infinite;
    color: azure;
    --color1: azure;
    --color2: aqua;
    --color3: dodgerblue;
    --color4: blue;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-hero-primary {
    background: var(--neon-color);
    color: #000000;
    box-shadow:
        0 0 50px rgba(255, 255, 255, 0.7),
        0 0 100px rgba(255, 255, 255, 0.5),
        0 0 150px rgba(255, 255, 255, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: neonPulse 2s ease-in-out infinite;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 70px rgba(255, 255, 255, 0.9),
        0 0 120px rgba(255, 255, 255, 0.7),
        0 0 180px rgba(255, 255, 255, 0.5),
        0 15px 35px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-hero-secondary {
    background: var(--glass-bg);
    color: var(--color-text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}

.feature-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.content-section {
    max-width: 1400px;
    margin: 100px auto;
    padding: 100px var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 2;
}

.content-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.content-section p {
    font-size: 20px;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .navbar-links {
        gap: 24px;
    }

    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    .navbar-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-container {
        padding: 10px 20px;
    }

    .navbar-actions {
        gap: 8px;
    }

    .btn-secondary,
    .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }

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

@media (max-width: 480px) {
    .navbar-logo span {
        display: none;
    }

    .btn-secondary {
        display: none;
    }
}

/* Enhanced Cyberpunk Background */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    overflow: hidden;
    z-index: -5;
}

/* Animated gradient background */
.cyber-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    animation: gradientRotate 30s linear infinite;
    filter: blur(40px);
}

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

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

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

/* Matrix rain effect */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.matrix-column {
    position: absolute;
    top: -100vh;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    text-shadow: 0 0 5px var(--primary-cyan);
    animation: matrixFall linear infinite;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background: linear-gradient(to bottom, transparent 0%, var(--primary-cyan) 50%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.matrix-column:nth-child(3n) {
    color: var(--primary-pink);
    text-shadow: 0 0 5px var(--primary-pink);
    background: linear-gradient(to bottom, transparent 0%, var(--primary-pink) 50%, transparent 100%);
}

.matrix-column:nth-child(5n) {
    color: var(--primary-purple);
    text-shadow: 0 0 5px var(--primary-purple);
    background: linear-gradient(to bottom, transparent 0%, var(--primary-purple) 50%, transparent 100%);
}

@keyframes matrixFall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(200vh);
    }
}

/* Animated grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.grid-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 0, 255, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite reverse;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: float 20s infinite;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.particle:nth-child(odd) {
    background: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
    animation-duration: 25s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Glowing orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -4;
}

.orb1 {
    width: 300px;
    height: 300px;
    background: var(--primary-cyan);
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--primary-pink);
    bottom: 10%;
    right: -200px;
    animation-delay: 5s;
}

.orb3 {
    width: 250px;
    height: 250px;
    background: var(--primary-purple);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes orbFloat {

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

    33% {
        transform: translate(100px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Scanlines effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%,
            rgba(0, 255, 255, 0.03) 50%,
            transparent 100%);
    background-size: 100% 4px;
    animation: scanline 8s linear infinite;
}

.scanlines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

/* Noise texture overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02) 2px, rgba(0, 255, 255, 0.02) 4px);
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Data streams */
.data-streams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
    pointer-events: none;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    animation: dataStreamFlow 5s linear infinite;
}

.data-stream:nth-child(odd) {
    background: linear-gradient(to bottom, transparent, var(--primary-pink), transparent);
    animation-duration: 7s;
}

@keyframes dataStreamFlow {
    0% {
        transform: translateY(-100%) rotate(var(--rotation, 0deg));
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(100vh) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
}

/*

TemplateMo 594 nexus flow

https://templatemo.com/tm-594-nexus-flow

*/



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

:root {
    --primary-grey: #e5e7eb;
    --primary-orange: #ffe600;
    --primary-purple: #ffffff;
    --secondary-amber: #fbbf24;
    --dark-bg: #1a0b2e;
    --darker-bg: #0f051a;
    --card-bg: rgba(229, 231, 235, 0.03);
    --border-color: rgba(229, 231, 235, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --primary-cyan: #ffffffe3;
    --primary-pink: #ffc400;
}

/* Enhanced Cyberpunk Background */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    overflow: hidden;
    z-index: -5;
}

/* Animated gradient background */
.cyber-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(80, 79, 73, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgb(0, 0, 0) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgb(1, 12, 14) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(105, 116, 121, 0.664) 0%, transparent 50%);
    animation: gradientRotate 30s linear infinite;
    filter: blur(40px);
}

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

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

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

/* Matrix rain effect */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.matrix-column {
    position: absolute;
    top: -100vh;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    text-shadow: 0 0 5px var(--primary-cyan);
    animation: matrixFall linear infinite;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background: linear-gradient(to bottom, transparent 0%, var(--primary-cyan) 50%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.matrix-column:nth-child(3n) {
    color: var(--primary-pink);
    text-shadow: 0 0 5px var(--primary-pink);
    background: linear-gradient(to bottom, transparent 0%, var(--primary-pink) 50%, transparent 100%);
}

.matrix-column:nth-child(5n) {
    color: var(--primary-purple);
    text-shadow: 0 0 5px var(--primary-purple);
    background: linear-gradient(to bottom, transparent 0%, var(--primary-purple) 50%, transparent 100%);
}

@keyframes matrixFall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(200vh);
    }
}

/* Animated grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.grid-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 0, 255, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite reverse;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: float 20s infinite;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.particle:nth-child(odd) {
    background: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
    animation-duration: 25s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Glowing orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -4;
}

.orb1 {
    width: 300px;
    height: 300px;
    background: var(--primary-cyan);
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--primary-pink);
    bottom: 10%;
    right: -200px;
    animation-delay: 5s;
}

.orb3 {
    width: 250px;
    height: 250px;
    background: var(--primary-purple);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes orbFloat {

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

    33% {
        transform: translate(100px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Scanlines effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%,
            rgba(0, 255, 255, 0.03) 50%,
            transparent 100%);
    background-size: 100% 4px;
    animation: scanline 8s linear infinite;
}

.scanlines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

/* Noise texture overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02) 2px, rgba(0, 255, 255, 0.02) 4px);
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}



/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    color: var(--primary-orange);
    transform: scale(1.1);
}

.hamburger {
    position: relative;
    width: 25px;
    height: 20px;
    margin: auto;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-cyan);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
    box-shadow: 0 0 5px var(--primary-cyan);
    transform-origin: center;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.mobile-menu-button.active .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
    background: var(--primary-orange);
}

.mobile-menu-button.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -25px;
}

.mobile-menu-button.active .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
    background: var(--primary-orange);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 78px;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: calc(100vh - 78px);
    background: var(--darker-bg);
    backdrop-filter: blur(20px);
    border-left: 2px solid var(--border-color);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

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

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

.mobile-menu-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-menu-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 15px var(--primary-cyan);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.mobile-menu-logo::before {
    content: '>';
    margin-right: 0.5rem;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.mobile-menu-logo::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--primary-cyan);
}

.mobile-menu-logo:hover {
    text-shadow: 0 0 25px var(--primary-cyan);
    transform: scale(1.05);
}

.mobile-menu-logo:hover::before {
    margin-right: 0.8rem;
    text-shadow: 0 0 10px var(--primary-orange);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.mobile-menu-nav {
    padding: 0;
    flex-grow: 1;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin: 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(229, 231, 235, 0.1);
}

.mobile-menu-nav a:hover {
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.05);
    padding-left: 3rem;
    text-shadow: 0 0 10px var(--primary-cyan);
}

.mobile-menu-nav a::before {
    content: '>';
    position: absolute;
    left: 2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-orange);
}

.mobile-menu-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-nav li:last-child a {
    border-bottom: none;
}

.mobile-menu-cta {
    padding: 2rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
}


/* Animation keyframes for mobile menu */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




@keyframes cyanPulse {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
        transform: translateY(0) scale(1);
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
        transform: translateY(-2px) scale(1.01);
    }
}

@keyframes purplePulse {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 15px rgba(255, 0, 255, 0.6));
        transform: translateY(0) scale(1);
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 255, 0.8));
        transform: translateY(-2px) scale(1.01);
    }
}

/* Clean hover effect */
.hero-title:hover .hero-nexus {
    transform: translateX(-3px) scale(1.02);
    filter: brightness(1.2) drop-shadow(0 0 30px rgba(0, 255, 255, 0.9));
}

.hero-title:hover .hero-flow {
    transform: translateX(3px) scale(1.02);
    filter: brightness(1.2) drop-shadow(0 0 30px rgba(255, 0, 255, 0.9));
}

/* Subtle background glow for each word */
.hero-nexus::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 60%);
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.08) 0%, transparent 60%);
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Apply animation pause on hover */
.hero-title:hover .hero-nexus,
.hero-title:hover .hero-flow {
    animation-play-state: paused;
}

/* Border animation */
.hero-nexus::after,
.hero-flow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.3s ease;
}

.hero-nexus::after {
    background: linear-gradient(90deg, var(--primary-cyan), transparent);
}

.hero-flow::after {
    background: linear-gradient(90deg, transparent, var(--primary-pink));
    left: auto;
    right: 0;
}

.hero-title:hover .hero-nexus::after,
.hero-title:hover .hero-flow::after {
    width: 100%;
}

/* Typing effect for hero text on load */
@keyframes typeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Remove scanner line for cleaner look */





/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block !important;
    }

    .nav-links {
        display: none;
    }

    .nav-bottom .cyber-button {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

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

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

    .pricing-card.featured {
        transform: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact {
        padding: 80px 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        padding: 0.5rem 1rem;
    }

    .footer-separator {
        display: none;
    }

    .footer {
        margin-top: 40px;
        padding: 40px 1rem 30px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 90%;
        max-width: none;
    }

    .mobile-menu-header {
        padding: 1.5rem;
    }

    .mobile-menu-nav a {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .mobile-menu-cta {
        padding: 1.5rem;
    }

    .cyber-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-nexus,
    .hero-flow {
        display: block;
        margin: 0;
    }
}

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Data streams */
.data-streams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
    pointer-events: none;
}

.data-stream {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    animation: dataFlow 3s ease-in-out infinite;
}

.data-stream:nth-child(odd) {
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
    animation-duration: 4s;
}

@keyframes dataFlow {
    0% {
        width: 0;
        opacity: 0;
        transform: translateX(0);
    }

    50% {
        width: 300px;
        opacity: 0.8;
    }

    100% {
        width: 0;
        opacity: 0;
        transform: translateX(100vw);
    }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    .matrix-rain {
        display: none;
    }

    .particles {
        opacity: 0.5;
    }

    .particle {
        animation-duration: 30s !important;
    }

    .orb {
        filter: blur(100px);
        opacity: 0.3;
    }

    .scanlines::before {
        animation: none;
        transform: translateY(0);
    }

    .data-streams {
        display: none;
    }

    .noise-overlay {
        display: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .cyber-gradient,
    .grid-lines,
    .grid-glow,
    .particle,
    .orb,
    .matrix-column,
    .scanlines::before,
    .data-stream {
        animation: none !important;
    }
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px !important;
    background: var(--neon-color);
    color: #000000;
    border: none;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.7),
        0 0 80px rgba(255, 255, 255, 0.5),
        0 0 120px rgba(255, 255, 255, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: neonPulse 2s ease-in-out infinite;
}

.language-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.9),
        0 0 100px rgba(255, 255, 255, 0.7),
        0 0 140px rgba(255, 255, 255, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: #000000;
}

.language-btn svg {
    flex-shrink: 0;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 10px 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
}

.language-option.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   CART BUTTON WITH BADGE
   ======================================== */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px !important;
    background: var(--neon-color);
    color: #000000;
    border: none;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.7),
        0 0 80px rgba(255, 255, 255, 0.5),
        0 0 120px rgba(255, 255, 255, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: neonPulse 2s ease-in-out infinite;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.9),
        0 0 100px rgba(255, 255, 255, 0.7),
        0 0 140px rgba(255, 255, 255, 0.5),
        0 8px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cart-btn svg {
    display: block;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3366;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow:
        0 0 20px rgba(255, 51, 102, 0.8),
        0 0 40px rgba(255, 51, 102, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    border: 2px solid rgba(0, 0, 0, 0.8);
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow:
            0 0 10px rgba(255, 51, 102, 0.6),
            0 0 20px rgba(255, 51, 102, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.4);
    }

    50% {
        box-shadow:
            0 0 20px rgba(255, 51, 102, 0.9),
            0 0 40px rgba(255, 51, 102, 0.7),
            0 2px 8px rgba(0, 0, 0, 0.4);
    }
}

.cart-btn:hover .cart-badge {
    transform: scale(1.1);
}

/* ========================================
   ZEN PULSE SECTION
   ======================================== */
.zen-pulse-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    z-index: 1;
    /* Ensure content fits */
    height: auto;
    min-height: 100vh;
    padding: 100px 0;
    margin-top: 150px;
}

.zen-pulse-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

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

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

.zen-ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.zen-ripple {
    position: absolute;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: ripple 12s linear infinite;
    opacity: 0;
    /* Start invisible until animation hits */
}

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

    70% {
        opacity: 0.4;
    }

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

.zen-content {
    position: relative;
    z-index: 10;
    width: 256px;
    height: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zen-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    mix-blend-mode: screen;
    border-radius: 50%;
}

/* ========================================
   FINGERPRINT SCAN STYLES
   ======================================== */
.scan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    margin-top: 15vh;
    /* Ensure above ripples */
}

.scan .fingerprint {
    position: relative;
    width: 300px;
    height: 380px;
    background: url(lingotito1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.scan .fingerprint::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(lingotito.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: animate-fingerprint 4s ease-in-out infinite;
}

@keyframes animate-fingerprint {

    0%,
    100% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }
}

.scan .fingerprint::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #3fefef;
    border-radius: 8px;
    filter: drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
    animation: animate_line 4s ease-in-out infinite;
}

@keyframes animate_line {

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

    50% {
        top: 100%;
    }
}

.scan h3 {
    text-transform: uppercase;
    font-size: 2em;
    letter-spacing: 2px;
    margin-top: 20px;
    color: #3fefef;
    filter: drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
    animation: animate_text 0.5s steps(1) infinite;
}

@keyframes animate_text {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* ========================================
   HERO LAYOUT UPDATE
   ======================================== */
.hero {
    padding-top: calc(var(--navbar-height) + 40px);
    padding-bottom: 40px;
    height: auto;
    min-height: 100vh;
}

.hero-layout-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-content.text-left {
    text-align: left;
    max-width: 600px;
    margin: 0;
}

.hero-actions.justify-start {
    justify-content: flex-start;
}

/* ========================================
   3D PROFILE CARD
   ======================================== */
.hero-card-container {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    /* Essential for 3D tilt */
}

.tilt-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Outer Container: Shadow and Radius */
.card-outer {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 70px 63px -60px #494848;
    transition: all 0.3s ease;
}

.card-outer:hover {
    box-shadow: 0 70px 63px -60px #494848, 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Inner Container: Glassmorphism */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-inner:hover {
    border-color: white;
}

/* Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    filter: blur(0px);
    pointer-events: none;
    z-index: 10;
    animation: shine-loop 5s infinite;
}

@keyframes shine-loop {
    0% {
        transform: skewX(45deg) translateX(250%);
    }

    15% {
        transform: skewX(45deg) translateX(-250%);
    }

    100% {
        transform: skewX(45deg) translateX(-250%);
    }
}

/* Content Layout */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 35px;
    text-align: center;
    position: relative;
    z-index: 20;
}

/* Profile Image */
.profile-image-container {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5%;
    width: 200px;
    height: 200px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 500ms ease;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.1);
}

/* Typography */
.card-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    margin-bottom: 8px;
    color: white;
}

.card-subtitle {
    margin-top: 8px;
    margin-bottom: 24px;
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 330px;
    opacity: 0.9;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Action Button in Card */
.card-button {
    display: inline-block;
    padding: 10px 32px;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: #08a9b8;
    background-color: white;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

.card-button:active {
    transform: scale(0.95);
}

/* Decorative Glare */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Responsive adjustments for layout */
@media (max-width: 900px) {
    .hero-layout-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-content.text-left {
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-actions.justify-start {
        justify-content: center;
    }
}

/* ========================================
   TILT CARD STYLES
   ======================================== */
@keyframes shine-loop {
    0% {
        transform: skewX(45deg) translateX(250%);
    }

    15% {
        transform: skewX(45deg) translateX(-250%);
    }

    100% {
        transform: skewX(45deg) translateX(-250%);
    }
}

.animate-shine-loop {
    animation: shine-loop 5s infinite;
}

/* Specific shadow requested by user */
.custom-card-shadow {
    box-shadow: 0 70px 63px -60px #494848;
}

/* Combine the specific shadow with the white glow on hover */
.custom-card-shadow:hover {
    box-shadow: 0 70px 63px -60px #494848, 0 0 20px rgba(255, 255, 255, 0.6);
}

/* ========================================
   ZEN PULSE TILT CARD
   ======================================== */
:root {
    --zp-color-1: rgba(255, 255, 255, 0.1);
    --zp-color-2: rgba(255, 255, 255, 0.5);
    --zp-color-3: rgba(255, 255, 255, 0.75);
    --zp-color-4: rgba(0, 0, 0, 0.05);
    --zp-color-5: #644651;
    --zp-color-6: #fff;
    --zp-color-7: #040a29;
    --zp-color-8: rgba(255, 255, 255, 0.075);
    --zp-x: 45deg;
}

.zen-pulse-section .box {
    position: relative;
    border-radius: 20px;
    transform-style: preserve-3d;
    width: 300px;
    margin: 0;
    z-index: 10;
}

.zen-pulse-section .box .card {
    position: relative;
    background: var(--zp-color-1);
    width: 300px;
    min-height: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--zp-color-2);
    border-top: 1px solid var(--zp-color-3);
    border-left: 1px solid var(--zp-color-3);
    border-radius: 20px;
    box-shadow: 0 25px 45px var(--zp-color-4);
    transform-style: preserve-3d;
}

.zen-pulse-section .elements {
    position: absolute;
    top: 50px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: var(--zp-color-1);
    transform: translateZ(80px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--zp-color-2);
    border-top: 1px solid var(--zp-color-3);
    border-left: 1px solid var(--zp-color-3);
    border-radius: 10px;
    box-shadow: 0 25px 45px var(--zp-color-4);
}

.zen-pulse-section .elements.bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://github.com/Khyes/image_dump/blob/main/left-quote.png?raw=true);
    background-size: 60px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: 0.9s;
}

.zen-pulse-section .box:hover .elements.bg::before {
    opacity: 1;
}

.zen-pulse-section .elements.imgBx {
    top: 0;
    left: initial;
    right: 60px;
    width: 120px;
    height: 120px;
    padding: 10px;
    transform: translateZ(120px);
}

.zen-pulse-section .elements.imgBx img {
    position: absolute;
    width: calc(100% - 20px);
    border-radius: 8px;
    border: 1px solid var(--zp-color-2);
    border-top: 1px solid var(--zp-color-3);
    border-left: 1px solid var(--zp-color-3);
    box-shadow: 0 25px 45px var(--zp-color-4);
    opacity: 0;
    transition: 0.8s;
    height: auto;
    inset: 0;
    margin: auto;
}

.zen-pulse-section .box:hover .elements.imgBx img {
    opacity: 1;
}

.zen-pulse-section .elements.name {
    top: 235px;
    left: initial;
    right: 0;
    width: 100%;
    padding: 10px;
    text-align: right;
    transform: translateZ(100px);
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    color: var(--zp-color-5);
    transition: 1s;
    opacity: 0;
    transition-delay: 0.25s;
}

.zen-pulse-section .box:hover .elements.name {
    top: 135px;
    opacity: 1;
    color: white;
}

.zen-pulse-section .elements.content {
    top: initial;
    left: initial;
    bottom: 0;
    right: -20px;
    width: 85%;
    min-height: 200px;
    padding: 10px;
    transform: translateZ(180px);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zen-pulse-section .elements.content p {
    position: relative;
    color: var(--zp-color-5);
    font-size: 0.85em;
    transition: 0.8s;
    opacity: 0;
    transition-delay: 0.5s;
}

.zen-pulse-section .box:hover .elements.content p {
    opacity: 1;
    color: white;
}

.cards-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 200px;
    flex-wrap: wrap;
    /* Wraps on smaller screens */
    width: 100%;
    margin-top: 50px;
    z-index: 10;
}

/* Ensure boxes don't have conflicting margins when in container */
.cards-container .box {
    margin: 0;
}

/* ========================================
   AUTH LAYOUT - SIMPLE HEADER
   ======================================== */

.auth-header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(34, 141, 255, 0.3);
    position: relative;
    z-index: 100;
}

.auth-logo img {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.auth-back-btn {
    color: #00f3ff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.auth-back-btn:hover {
    color: #228DFF;
    text-shadow: 0 0 15px rgba(34, 141, 255, 0.6);
}

.auth-main {
    min-height: calc(100vh - 70px);
}

/* ========================================
   REGISTER PAGE - NEON BLUE STYLE
   ======================================== */

.login-page-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: calc(100vh - 70px) !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 40px 20px !important;
}

.login-page-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(34, 141, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 243, 255, 0.15) 0%, transparent 50%);
    animation: animateLoginBg 8s linear infinite;
}

@keyframes animateLoginBg {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.login-page-container .login-neon-box {
    position: relative !important;
    width: 100% !important;
    max-width: 420px !important;
    background: #000000 !important;
    border: 2px solid rgba(34, 141, 255, 0.5) !important;
    border-radius: 20px !important;
    display: block !important;
    padding: 50px 40px !important;
    box-shadow: 
        0 0 20px rgba(34, 141, 255, 0.3),
        inset 0 0 60px rgba(34, 141, 255, 0.05) !important;
    animation: neonBoxGlow 2s ease-in-out infinite alternate;
}

.login-page-container .login-neon-box h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(34, 141, 255, 0.8),
        0 0 20px rgba(34, 141, 255, 0.6),
        0 0 40px rgba(34, 141, 255, 0.4);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.login-page-container .login-neon-box form {
    width: 100% !important;
}

.login-page-container .login-neon-input {
    position: relative !important;
    width: 100% !important;
    margin: 25px 0 !important;
    border-bottom: 2px solid rgba(34, 141, 255, 0.5) !important;
    transition: all 0.3s ease;
    animation: inputLineGlow 2s ease-in-out infinite alternate;
}

.login-page-container .login-neon-input label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: rgba(34, 141, 255, 0.8);
    pointer-events: none;
    transition: 0.4s ease;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.5);
}

.login-page-container .login-neon-input input {
    width: 100% !important;
    height: 50px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 1em;
    color: #fff !important;
    padding: 0 40px 0 5px;
    font-family: inherit;
}

.login-page-container .login-neon-input input::placeholder {
    color: transparent !important;
}

.login-page-container .login-neon-input input:focus ~ label,
.login-page-container .login-neon-input input:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.85em;
    color: #228DFF;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.8), 0 0 20px rgba(34, 141, 255, 0.5);
}

.login-page-container .login-neon-input .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #228DFF;
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.8);
}

.login-page-container .btn-neon-blue {
    width: 100% !important;
    height: 45px;
    background: linear-gradient(135deg, #228DFF 0%, #00f3ff 100%) !important;
    border: none !important;
    outline: none !important;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 5px #228DFF,
        0 0 10px #228DFF,
        0 0 20px rgba(34, 141, 255, 0.5);
    animation: neonPulseBlue 2s ease-in-out infinite alternate;
}

.login-page-container .login-neon-register {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 20px 0 10px;
}

.login-page-container .login-neon-register p {
    margin: 0;
}

.login-page-container .login-neon-register p a {
    color: #00f3ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.login-page-container .login-neon-register p a:hover {
    text-decoration: underline;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.8), 0 0 25px rgba(0, 243, 255, 0.5);
}

/* ========================================
   LOGIN MODAL - NEON BLUE STYLE
   ======================================== */

.login-neon-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(34, 141, 255, 0.5);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 50px 40px;
    box-shadow:
        0 0 20px rgba(34, 141, 255, 0.3),
        inset 0 0 60px rgba(34, 141, 255, 0.05);
    z-index: 10;
    animation: neonBoxGlow 2s ease-in-out infinite alternate;
}

.login-neon-box form {
    width: 100%;
}

.login-neon-box h2 {
    text-align: center;
}

@keyframes neonBoxGlow {
    0% {
        box-shadow: 
            0 0 10px rgba(34, 141, 255, 0.3),
            0 0 20px rgba(34, 141, 255, 0.2),
            inset 0 0 30px rgba(34, 141, 255, 0.05);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(34, 141, 255, 0.5),
            0 0 60px rgba(34, 141, 255, 0.3),
            inset 0 0 60px rgba(34, 141, 255, 0.05);
    }
}

.login-neon-box h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(34, 141, 255, 0.8),
        0 0 20px rgba(34, 141, 255, 0.6),
        0 0 40px rgba(34, 141, 255, 0.4);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(34, 141, 255, 0.8),
            0 0 20px rgba(34, 141, 255, 0.6);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(34, 141, 255, 1),
            0 0 30px rgba(34, 141, 255, 0.8),
            0 0 50px rgba(34, 141, 255, 0.6);
    }
}

.login-neon-input {
    position: relative;
    width: 100%;
    margin: 25px 0;
    border-bottom: 2px solid rgba(34, 141, 255, 0.5);
    transition: all 0.3s ease;
    animation: inputLineGlow 2s ease-in-out infinite alternate;
}

@keyframes inputLineGlow {
    0% {
        border-bottom-color: rgba(34, 141, 255, 0.4);
        box-shadow: 0 2px 10px rgba(34, 141, 255, 0.2);
    }
    100% {
        border-bottom-color: rgba(34, 141, 255, 0.8);
        box-shadow: 0 2px 20px rgba(34, 141, 255, 0.5);
    }
}

.login-neon-input:focus-within {
    border-bottom-color: #228DFF;
    animation: none;
    box-shadow: 0 0 15px rgba(34, 141, 255, 0.6), 0 2px 25px rgba(34, 141, 255, 0.4);
}

.login-neon-input label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: rgba(34, 141, 255, 0.8);
    pointer-events: none;
    transition: 0.4s ease;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.5);
}

.login-neon-input input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #fff;
    padding: 0 40px 0 5px;
    font-family: inherit;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.login-neon-input input::placeholder {
    color: transparent;
}

.login-neon-input input:focus ~ label,
.login-neon-input input:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.85em;
    color: #228DFF;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.8), 0 0 20px rgba(34, 141, 255, 0.5);
}

.login-neon-input .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #228DFF;
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.8);
    pointer-events: none;
}

.login-neon-remember {
    margin: -10px 0 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.login-neon-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}

.login-neon-remember label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #228DFF;
}

.login-neon-remember a {
    color: #00f3ff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.login-neon-remember a:hover {
    text-decoration: underline;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.8), 0 0 25px rgba(0, 243, 255, 0.5);
}

.login-neon-register {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 20px 0 10px;
}

.login-neon-register p {
    margin: 0;
}

.login-neon-register p a {
    color: #00f3ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.login-neon-register p a:hover {
    text-decoration: underline;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.8), 0 0 25px rgba(0, 243, 255, 0.5);
}

/* BUTTON NEON BLUE */
.btn-neon-blue {
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, #228DFF 0%, #00f3ff 100%);
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 5px #228DFF,
        0 0 10px #228DFF,
        0 0 20px rgba(34, 141, 255, 0.5);
    animation: neonPulseBlue 2s ease-in-out infinite alternate;
}

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

.btn-neon-blue:hover::before {
    left: 100%;
}

.btn-neon-blue:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 10px #228DFF,
        0 0 30px #228DFF,
        0 0 50px #228DFF;
}

@keyframes neonPulseBlue {
    0% {
        box-shadow: 
            0 0 5px #228DFF,
            0 0 10px #228DFF,
            0 0 20px rgba(34, 141, 255, 0.5);
    }
    100% {
        box-shadow: 
            0 0 10px #228DFF,
            0 0 30px #228DFF,
            0 0 50px #228DFF,
            0 0 80px rgba(0, 243, 255, 0.5);
    }
}

/* BUTTON OUTLINE NEON */
.btn-neon-outline {
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid rgba(34, 141, 255, 0.5);
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: #228DFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(34, 141, 255, 0.3);
}

.btn-neon-outline:hover {
    background: rgba(34, 141, 255, 0.1);
    border-color: #228DFF;
    color: #fff;
    box-shadow: 
        0 0 10px #228DFF,
        0 0 20px rgba(34, 141, 255, 0.5);
}

/* Modal adjustments */
#formModal .modal-dialog {
    max-width: 460px;
}

#formModal .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#formModal .modal-body {
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

#formModal .modal-header {
    background: transparent !important;
    border: none !important;
    padding: 1rem 1rem 0 0 !important;
    justify-content: flex-end;
    display: flex;
    position: relative;
    z-index: 9999;
}

#formModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#formModal .btn-close:hover {
    opacity: 1;
}

/* Register modal inside formModal */
#formModal .login-neon-box {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    max-width: 420px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(34, 141, 255, 0.4) !important;
    border-radius: 16px;
    box-shadow:
        0 0 40px rgba(34, 141, 255, 0.3),
        inset 0 0 60px rgba(34, 141, 255, 0.05);
}

/* Login modal close button with ion-icon */
.login-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(34, 141, 255, 0.2);
    border: 1px solid rgba(34, 141, 255, 0.3);
}

.login-modal-close:hover {
    color: #228DFF;
    background: rgba(34, 141, 255, 0.3);
    box-shadow: 0 0 15px rgba(34, 141, 255, 0.5);
}

/* ========================================
   CART OFFCANVAS - NEON BLUE STYLE
   ======================================== */

#offcanvasCart {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-left: 2px solid rgba(34, 141, 255, 0.5) !important;
    box-shadow:
        0 0 30px rgba(34, 141, 255, 0.3),
        inset 0 0 100px rgba(34, 141, 255, 0.05);
    animation: cartGlow 2s ease-in-out infinite alternate;
}

@keyframes cartGlow {
    0% {
        box-shadow: 
            0 0 20px rgba(34, 141, 255, 0.2),
            inset 0 0 50px rgba(34, 141, 255, 0.03);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(34, 141, 255, 0.4),
            inset 0 0 100px rgba(34, 141, 255, 0.05);
    }
}

#offcanvasCart .offcanvas-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(34, 141, 255, 0.3) !important;
    padding: 20px !important;
}

#offcanvasCart .offcanvas-header h5 {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.5);
}

#offcanvasCart .offcanvas-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

#offcanvasCart .offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

#offcanvasCart .offcanvas-header .btn-close:hover {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#offcanvasCart .offcanvas-body {
    background: transparent !important;
    padding: 20px !important;
    color: #ffffff !important;
}

#offcanvasCart .offcanvas-footer {
    background: transparent !important;
    border-top: 1px solid rgba(34, 141, 255, 0.3) !important;
    padding: 20px !important;
    color: #ffffff !important;
}

/* Cart product items */
#offcanvasCart .product-list-sm-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

#offcanvasCart .product-list-view-sm {
    background: rgba(34, 141, 255, 0.05);
    border: 1px solid rgba(34, 141, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

#offcanvasCart .product-list-view-sm:hover {
    border-color: rgba(34, 141, 255, 0.5);
    box-shadow: 0 0 15px rgba(34, 141, 255, 0.2);
}

#offcanvasCart .product-title-link {
    color: #ffffff !important;
}

#offcanvasCart .product-title-link:hover {
    color: #00f3ff !important;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Cart prices */
#offcanvasCart .al-title-16px {
    color: #00f3ff !important;
}

#offcanvasCart .al-title-16px del {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Quantity buttons */
#offcanvasCart .quantity-input-wrap {
    background: rgba(34, 141, 255, 0.1);
    border: 1px solid rgba(34, 141, 255, 0.3);
    border-radius: 8px;
    padding: 2px;
}

#offcanvasCart .quantity-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

#offcanvasCart .quantity-btn:hover {
    color: #228DFF;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.8);
}

#offcanvasCart .quantity-btn svg path {
    stroke: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

#offcanvasCart .quantity-btn:hover svg path {
    stroke: #228DFF;
}

#offcanvasCart .quantity-of-product {
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
    width: 40px;
    font-weight: 600;
}

/* Remove button */
#offcanvasCart .product-remove2-btn {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

#offcanvasCart .product-remove2-btn:hover {
    background: rgba(255, 100, 100, 0.2);
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.3);
}

/* Cart footer */
#offcanvasCart .offcanvas-footer .al-title-20px {
    color: #ffffff !important;
}

#offcanvasCart .offcanvas-footer .chipping-cart-bottom p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Cart empty state */
#offcanvasCart .cartNodata h4 {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(34, 141, 255, 0.3);
}

/* Cart buttons */
#offcanvasCart .shopping-cart-btn {
    flex: 1;
    height: 45px;
    border-radius: 40px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#offcanvasCart .shopping-cart-btn.checkout-btn {
    background: linear-gradient(135deg, #228DFF 0%, #00f3ff 100%);
    border: none;
    color: #000;
    box-shadow: 
        0 0 5px #228DFF,
        0 0 10px rgba(34, 141, 255, 0.5);
    animation: neonPulseBlue 2s ease-in-out infinite alternate;
}

#offcanvasCart .shopping-cart-btn.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 10px #228DFF,
        0 0 30px #228DFF,
        0 0 50px #228DFF;
}

#offcanvasCart .shopping-cart-btn.view-cart-btn {
    background: transparent;
    border: 2px solid rgba(34, 141, 255, 0.5);
    color: #228DFF;
    box-shadow: 0 0 5px rgba(34, 141, 255, 0.3);
}

#offcanvasCart .shopping-cart-btn.view-cart-btn:hover {
    background: rgba(34, 141, 255, 0.1);
    border-color: #228DFF;
    color: #ffffff;
    box-shadow: 
        0 0 10px #228DFF,
        0 0 20px rgba(34, 141, 255, 0.5);
}

/* Terms checkbox */
#offcanvasCart .form-checkbox3-label {
    color: #ffffff !important;
}

#offcanvasCart .form-checkbox3-label a {
    color: #00f3ff !important;
}

#offcanvasCart .form-checkbox3-label a:hover {
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.8);
}

#offcanvasCart .form-checkbox3-input {
    accent-color: #228DFF;
}

#formModal .login-neon-box {
    width: 100%;
    max-width: 420px;
}

/* ========================================
   SIDEBAR BLUE NEON BUTTONS
   Like card-wrapper.theme-blue but for sidebar menu items
   ======================================== */
.sidebar-btn-blue {
    --btn-primary: #228DFF;
    --btn-secondary: #00f3ff;
    border: 1px solid var(--btn-primary);
    background: rgba(34, 141, 255, 0.1);
    box-shadow: 0 0 5px var(--btn-primary), inset 0 0 5px rgba(34, 141, 255, 0.1);
    animation: sidebarBluePulse 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.sidebar-btn-blue:hover {
    animation: none;
    background: rgba(34, 141, 255, 0.25);
    border-color: var(--btn-secondary);
    box-shadow: 0 0 10px var(--btn-primary), 0 0 30px var(--btn-primary), 0 0 50px var(--btn-primary), inset 0 0 10px rgba(34, 141, 255, 0.2);
}

@keyframes sidebarBluePulse {
    from {
        box-shadow: 0 0 2px #fff, 0 0 10px var(--btn-primary), 0 0 20px var(--btn-primary), 0 0 40px var(--btn-primary);
    }
    to {
        box-shadow: 0 0 1px #fff, 0 0 5px var(--btn-primary), 0 0 10px var(--btn-primary), 0 0 15px var(--btn-primary);
    }
}

/* Submenu items with blue neon */
.sidebar-submenu-blue {
    border: 1px solid rgba(34, 141, 255, 0.3);
    background: rgba(34, 141, 255, 0.05);
    transition: all 0.3s ease;
}

.sidebar-submenu-blue:hover {
    background: rgba(34, 141, 255, 0.15);
    border-color: var(--btn-secondary);
    box-shadow: 0 0 10px var(--btn-primary), 0 0 20px rgba(34, 141, 255, 0.3);
}

/* ==========================================================
   MOBILE-ONLY FIXES (do not affect desktop)
   ========================================================== */

/* iOS Safari auto-zooms on inputs with font-size < 16px.
   Force 16px on mobile only; desktop keeps original sizing. */
@media (max-width: 767px) {
    input,
    select,
    textarea,
    .form-control,
    .form-select,
    .form-control-sm,
    .form-control-lg {
        font-size: 16px !important;
    }

    /* Prevent iOS from auto-linking numbers/dates/addresses */
    body {
        -webkit-text-size-adjust: 100%;
    }
}

/* Safe-area insets for iOS notch / Dynamic Island.
   Only used by elements that opt-in with env(safe-area-inset-*). */
@supports (padding: max(0px)) {
    .safe-area-top    { padding-top:    max(0px, env(safe-area-inset-top)); }
    .safe-area-bottom { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
    .safe-area-left   { padding-left:   max(0px, env(safe-area-inset-left)); }
    .safe-area-right  { padding-right:  max(0px, env(safe-area-inset-right)); }
}

/* Mobile bottom-nav and mobile sidebars use these offcanvas patterns.
   Defined globally so all dashboards (customer, admin, vendor) share them. */

/* Customer dashboard sidebar: hidden off-screen on mobile, slides in */
@media (max-width: 767px) {
    .ol-sidebar {
        position: fixed !important;
        left: 0;
        top: 0;
        z-index: 60;
        transform: translateX(-100%);
        transition: transform 0.3s ease, width 0.3s ease;
        width: 260px !important;
    }
    .ol-sidebar.mobile-open {
        transform: translateX(0);
    }
    body.sidebar-open {
        overflow: hidden;
    }
    .mobile-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .mobile-sidebar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hamburger button — white-glow glassmorphism variant on mobile */
@media (max-width: 767px) {
    .mobile-sidebar-toggle--prominent {
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 70;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.92) !important;
        color: #000 !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 14px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow:
            0 0 18px rgba(255, 255, 255, 0.7),
            0 0 36px rgba(255, 255, 255, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.4);
        transition: transform 0.15s ease, box-shadow 0.2s ease;
    }
    .mobile-sidebar-toggle--prominent span {
        font-size: 22px;
        color: #000;
    }
    .mobile-sidebar-toggle--prominent:hover {
        transform: scale(1.05);
        box-shadow:
            0 0 22px rgba(255, 255, 255, 0.85),
            0 0 44px rgba(255, 255, 255, 0.4),
            0 4px 14px rgba(0, 0, 0, 0.5);
    }
}

/* Legacy non-prominent variant (kept for admin/vendor) */
@media (max-width: 767px) {
    .mobile-sidebar-toggle {
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 70;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .mobile-sidebar-toggle span {
        font-size: 20px;
    }
}

/* Customer dashboard mobile bottom navigation bar - Glassmorphism + White Glow */
@media (max-width: 767px) {
    .customer-mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow:
            0 -1px 0 rgba(255, 255, 255, 0.1) inset,
            0 -8px 24px rgba(255, 255, 255, 0.05),
            0 -16px 40px rgba(255, 255, 255, 0.03);
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    }

    .cmbn-row {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
    }
    .cmbn-row--secondary {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 4px;
        margin-top: 2px;
    }

    .customer-mobile-bottom-nav .cmbn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        padding: 4px 4px;
        flex: 1;
        min-width: 0;
        min-height: 44px;
        border-radius: 10px;
        transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    .customer-mobile-bottom-nav .cmbn-item:hover {
        color: rgba(255, 255, 255, 0.95);
    }
    .customer-mobile-bottom-nav .cmbn-item.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
        box-shadow:
            0 0 12px rgba(255, 255, 255, 0.25) inset,
            0 0 8px rgba(255, 255, 255, 0.15);
    }
    .customer-mobile-bottom-nav .cmbn-item .fi {
        font-size: 19px;
        line-height: 1;
        transition: filter 0.2s ease;
    }
    .customer-mobile-bottom-nav .cmbn-item.active .fi {
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
    }
    .customer-mobile-bottom-nav .cmbn-label {
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* Padding-bottom del scroll container para que el nav no tape contenido */
    .customer-dashboard-scroll {
        padding-bottom: 138px !important;
    }
}

/* Hide the mobile toggle on desktop */
@media (min-width: 768px) {
    .mobile-sidebar-toggle,
    .mobile-sidebar-backdrop,
    .customer-mobile-bottom-nav {
        display: none !important;
    }
}

/* Cart: remove forced min-width on the product cell to avoid
   horizontal overflow on phones. Desktop keeps the 280px min. */
@media (max-width: 767px) {
    .cart-product-cell.min-w-280px {
        min-width: 0 !important;
    }
    .cart-product-cell .cart-product-banner {
        width: 60px !important;
        height: 60px !important;
    }
}