/* ==========================================================================
   CSS CORE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --neon-blue: #4d65ff;
    --neon-pink: #ff007f;
    --neon-cyan: #00f0ff;
    --dark-bg: #020204;
}

html { 
    font-family: sans-serif; 
    height: 100%; 
    scroll-behavior: smooth; 
    background: var(--dark-bg); 
    max-width: 100vw;
    overflow-x: hidden; 
    cursor: auto !important;
}

body {
    cursor: auto !important;
}

body { 
    margin: 0; 
    padding: 0;
    min-height: 100%; 
    background-color: transparent; 
    font-family: 'Lato', sans-serif; 
    color: #333; 
    max-width: 100vw;
    overflow-x: hidden; 
}

#main-content { opacity: 0; transform: scale(0.98); transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); background: #fff; will-change: opacity, transform; transform-origin: top center;}
#main-content.revealed { opacity: 1; transform: scale(1); }

a, button { text-decoration: none; cursor: pointer; }
img { max-width: 100%; vertical-align: middle; display: inline-block; border: 0; height: auto;}

/* Layout Helpers */
.w-layout-grid { display: grid; grid-auto-columns: 1fr; grid-gap: 16px; align-items: stretch; width: 100%; }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: stretch; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; align-items: stretch; }
.footer-menu-wrapper { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
.padding-global { padding-left: 5%; padding-right: 5%; width: 100%; }
.container-large { width: 100%; max-width: 80rem; margin: 0 auto; position: relative; z-index: 2;}
.section-padding { padding: 8rem 0; position: relative; overflow: hidden; width: 100%; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar { position: fixed; top: 0; width: 100%; padding: 1rem 0; z-index: 1000; background: rgba(255,255,255,0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.2); transition: transform 0.4s ease, background 0.4s; left: 0;}
.navbar.dark-mode { background: rgba(2,2,4,0.8); border-bottom: 1px solid rgba(255,255,255,0.05); }
.navbar.dark-mode .nav-link { color: #fff; }
.navbar-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo { height: 50px; filter: drop-shadow(0 0 5px rgba(0,0,0,0.1)); transition: transform 0.3s; position: relative; z-index: 1002;}
.nav-logo:hover { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(77,101,255,0.4)); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-link { font-weight: 700; color: #111; position: relative; padding: 10px 0; transition: color 0.3s;}
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: var(--neon-blue); transition: width 0.3s; box-shadow: 0 0 10px var(--neon-blue); }
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--neon-blue); }
.nav-link.active { color: var(--neon-blue); }
.nav-link.active::after { width: 100%; }

/* Buttons */
.btn-neon { background: var(--neon-blue); color: #fff !important; padding: 14px 32px; border-radius: 50px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); position: relative; overflow: hidden; border: none; box-shadow: 0 0 20px rgba(77,101,255,0.5); display: inline-block; text-align: center; font-size: 0.9rem;}
.btn-neon:hover { transform: scale(1.05); box-shadow: 0 0 40px var(--neon-blue); }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1002; padding: 5px; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: var(--neon-blue); border-radius: 3px; transition: all 0.3s ease; box-shadow: 0 0 5px rgba(77,101,255,0.5); }
.navbar.dark-mode .menu-toggle span { background: #fff; box-shadow: 0 0 5px rgba(255,255,255,0.5); }

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero { height: 100vh; width: 100%; background: var(--dark-bg); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; perspective: 1000px; }
.hero-content { z-index: 10; transform-style: preserve-3d; width: 100%; padding: 0 15px;}

.hero-grid { position: absolute; bottom: -30%; left: -50%; width: 200%; height: 80%; background-image: linear-gradient(transparent 65%, rgba(77, 101, 255, 0.4) 66%, transparent 68%), linear-gradient(90deg, transparent 48%, rgba(255, 0, 127, 0.25) 49%, rgba(255, 0, 127, 0.25) 51%, transparent 52%); background-size: 100% 80px, 80px 100%; transform: rotateX(75deg) translateZ(0); animation: gridMove 4s linear infinite; z-index: 1; mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); will-change: background-position;}
@keyframes gridMove { 0% { background-position: 0 0, 0 0; } 100% { background-position: 0 80px, 0 0; } }

.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); color: #fff; font-weight: 900; line-height: 1.1; margin: 0; transform: translateZ(80px); text-shadow: 0 0 30px rgba(255,255,255,0.2); letter-spacing: 2px; word-wrap: break-word;}

.flicker-1 { animation: textFlicker 3s infinite alternate; will-change: opacity, text-shadow; display: inline-block; }
.flicker-2 { animation: textBroken 5s infinite; color: rgba(255,255,255,0.6); will-change: opacity, text-shadow; display: inline-block; }

@keyframes textFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% { text-shadow: 0 0 10px #fff, 0 0 20px #4d65ff, 0 0 40px #4d65ff; opacity: 1; }
    20%, 24%, 55% { text-shadow: none; opacity: 0.6; }
}
@keyframes textBroken {
    0%, 9%, 11%, 19%, 21%, 69%, 71%, 100% { opacity: 0.6; text-shadow: 0 0 5px rgba(77,101,255,0.3); color: rgba(255,255,255,0.6); }
    10%, 20%, 70% { opacity: 1; text-shadow: 0 0 15px #fff, 0 0 30px #4d65ff; color: #fff;}
}

.dynamic-text-wrapper { color: var(--neon-cyan); text-shadow: 0 0 20px var(--neon-cyan), 0 0 50px rgba(0,240,255,0.6); display: inline-block; position: relative; transition: text-shadow 0.3s ease; will-change: transform, text-shadow; }
@keyframes glowExplode {
    0% { text-shadow: 0 0 20px var(--neon-cyan); transform: scale(1); }
    50% { text-shadow: 0 0 50px #fff, 0 0 100px var(--neon-blue), 0 0 150px var(--neon-cyan); transform: scale(1.08); color: #fff; }
    100% { text-shadow: 0 0 20px var(--neon-cyan); transform: scale(1); color: var(--neon-cyan); }
}

.cursor { display: inline-block; width: 4px; background-color: var(--neon-cyan); animation: blink 1s infinite; margin-left: 4px; box-shadow: 0 0 10px var(--neon-cyan); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.6; animation: pulse 12s infinite alternate; pointer-events: none; z-index: 2; will-change: transform, opacity; transform: translateZ(0); backface-visibility: hidden;}
.orb-blue { width: 600px; height: 600px; background: var(--neon-blue); top: -20%; left: -10%; }
.orb-pink { width: 500px; height: 500px; background: var(--neon-pink); bottom: -10%; right: -10%; }
.orb-cyan { width: 400px; height: 400px; background: var(--neon-cyan); top: 40%; left: 30%; opacity: 0.2; }
@keyframes pulse { to { transform: scale(1.3) translate(40px, -40px); opacity: 0.8; } }

/* ==========================================================================
   INNER HERO (SUBPAGES)
   ========================================================================== */
.inner-hero {
    height: 50vh;
    min-height: 350px;
    width: 100%;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    perspective: 1000px;
}
.inner-hero .hero-grid {
    bottom: -50%;
    opacity: 0.6;
}
.inner-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 30px rgba(255,255,255,0.2);
    letter-spacing: 2px;
}
.inner-hero h1 span {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue), 0 0 50px rgba(77,101,255,0.6);
}
.inner-hero .hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-top: 1.5rem;
    z-index: 10;
    position: relative;
    letter-spacing: 1px;
}
.inner-hero .breadcrumb {
    z-index: 10;
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
}
.inner-hero .breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}
.inner-hero .breadcrumb a:hover {
    color: var(--neon-cyan);
}
.inner-hero .breadcrumb span {
    color: var(--neon-blue);
    font-weight: 700;
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
.tagline-pill { background-color: rgba(77, 101, 255, 0.1); color: var(--neon-blue); padding: 8px 20px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; display: inline-block; margin-bottom: 1.5rem; box-shadow: 0 0 20px rgba(77, 101, 255, 0.15); border: 1px solid rgba(77, 101, 255, 0.3); text-transform: uppercase; letter-spacing: 2px;}
.heading-style-h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.15; margin-top: 0; color: #111; font-weight: 900; margin-bottom: 1.5rem; letter-spacing: -1px;}
.heading-style-h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.2; font-weight: 900; color: #111; margin-bottom: 1rem;}
.text-size-medium { font-size: 1.2rem; line-height: 1.7; color: #555; margin-bottom: 2rem;}

.reveal-3d, .reveal-scale, .reveal-blur { opacity: 0; transform-origin: top center; transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1); will-change: transform, opacity, filter; }
.reveal-3d { transform: translateY(40px) rotateX(-8deg) scale(0.97); }
.reveal-scale { transform: scale(0.85); }
.reveal-blur { transform: translateY(20px); filter: blur(10px); }

.reveal-3d.active { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
.reveal-scale.active { opacity: 1; transform: scale(1); }
.reveal-blur.active { opacity: 1; transform: translateY(0); filter: blur(0); }

.ambient-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none; opacity: 0.3; animation: floatSlow 15s infinite alternate ease-in-out; will-change: transform;}
.ambient-1 { width: 400px; height: 400px; background: rgba(77,101,255,0.4); top: 10%; left: -10%; }
.ambient-2 { width: 500px; height: 500px; background: rgba(255,0,127,0.3); bottom: 10%; right: -10%; }
@keyframes floatSlow { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }

/* BG Pattern & Neon Shapes */
.bg-pattern {
    background-image: radial-gradient(rgba(77, 101, 255, 0.08) 2px, transparent 2px);
    background-size: 40px 40px;
}
.bg-neon-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: hidden; }
.neon-shape { position: absolute; opacity: 0.2; filter: drop-shadow(0 0 15px currentColor); animation: floatShapeSvg 12s infinite ease-in-out; will-change: transform, opacity; }
.neon-shape-1 { top: 15%; left: 5%; color: var(--neon-pink); animation-delay: 0s; width: 100px; height: 100px; }
.neon-shape-2 { top: 60%; right: 5%; color: var(--neon-cyan); animation-delay: -3s; width: 80px; height: 80px; }
.neon-shape-3 { bottom: 10%; left: 40%; color: var(--neon-blue); animation-delay: -6s; width: 120px; height: 120px; }
.neon-shape-4 { top: 25%; right: 45%; color: var(--neon-pink); animation-delay: -9s; opacity: 0.12; width: 60px; height: 60px; }

@keyframes floatShapeSvg {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.1; }
    33% { transform: translate(30px, -40px) rotate(15deg) scale(1.1); opacity: 0.25; }
    66% { transform: translate(-20px, 30px) rotate(-15deg) scale(0.9); opacity: 0.15; }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.1; }
}

/* About Features */
.about-features { display: flex; gap: 2rem; margin: 2rem 0; flex-wrap: wrap; }
.neon-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; flex: 1; min-width: 120px;}
.neon-icon-wrapper { width: 65px; height: 65px; border-radius: 16px; background: rgba(77, 101, 255, 0.05); border: 2px solid rgba(77, 101, 255, 0.3); display: flex; justify-content: center; align-items: center; color: var(--neon-blue); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 0 15px rgba(77, 101, 255, 0.1); }
.neon-feature:hover .neon-icon-wrapper { transform: translateY(-10px) scale(1.1) rotate(5deg); background: rgba(77, 101, 255, 0.15); border-color: var(--neon-blue); box-shadow: 0 0 25px var(--neon-blue), inset 0 0 15px var(--neon-blue); }

.neon-icon-pink { color: var(--neon-pink); border-color: rgba(255,0,127,0.3); box-shadow: 0 0 15px rgba(255,0,127,0.1); background: rgba(255,0,127,0.05);}
.neon-feature:hover .neon-icon-pink { border-color: var(--neon-pink); box-shadow: 0 0 25px var(--neon-pink), inset 0 0 15px var(--neon-pink); background: rgba(255,0,127,0.15); color: #fff;}

.neon-icon-cyan { color: var(--neon-cyan); border-color: rgba(0,240,255,0.3); box-shadow: 0 0 15px rgba(0,240,255,0.1); background: rgba(0,240,255,0.05);}
.neon-feature:hover .neon-icon-cyan { border-color: var(--neon-cyan); box-shadow: 0 0 25px var(--neon-cyan), inset 0 0 15px var(--neon-cyan); background: rgba(0,240,255,0.15); color: #fff;}

.neon-feature span { font-size: 1.1rem; font-weight: 800; color: #111; }

/* Cards */
.card-3d { background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 24px; padding: 3rem; border: 1px solid rgba(255,255,255,0.6); transition: all 0.5s ease; transform-style: preserve-3d; position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.04); overflow: hidden; }
.card-3d:hover { border-color: rgba(77,101,255,0.4); box-shadow: 0 40px 80px rgba(77,101,255,0.15); }
.card-3d.dark { background: linear-gradient(145deg, #111 0%, #1a1a1a 100%); color: #fff; border-color: #333; }
.card-3d.dark:hover { border-color: var(--neon-pink); box-shadow: 0 30px 60px rgba(255,0,127,0.2); }

.img-wrapper { border-radius: 16px; overflow: hidden; transform: translateZ(40px); margin-bottom: 1.5rem; height: 240px; will-change: transform; width: 100%;}
.card-3d img.pop-out { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform: scale(1.1); }
.card-3d:hover img.pop-out { transform: scale(1.2) rotate(2deg); }

.card-3d h3 { font-size: 1.7rem; transform: translateZ(30px); margin-bottom: 1rem; font-weight: 800;}
.card-3d p { transform: translateZ(20px); color: #666; font-size: 1.1rem; line-height: 1.6;}
.card-3d.dark p { color: #aaa; }
.stat-number { font-size: 4.5rem; font-weight: 900; color: var(--neon-blue); margin-bottom: 1rem; transform: translateZ(50px); display: inline-block; text-shadow: 0 10px 20px rgba(77,101,255,0.3);}
.card-3d.dark .stat-number { text-shadow: 0 0 30px rgba(77,101,255,0.8); }

.light-reveal { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; background: radial-gradient(circle at var(--x) var(--y), rgba(77,101,255,0.15) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; z-index: 1; border-radius: inherit;}
.card-3d:hover .light-reveal { opacity: 1; }

/* Service icon styling */
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-icon.blue { background: rgba(77,101,255,0.1); border: 2px solid rgba(77,101,255,0.3); color: var(--neon-blue); }
.service-icon.pink { background: rgba(255,0,127,0.1); border: 2px solid rgba(255,0,127,0.3); color: var(--neon-pink); }
.service-icon.cyan { background: rgba(0,240,255,0.1); border: 2px solid rgba(0,240,255,0.3); color: var(--neon-cyan); }
.card-3d:hover .service-icon.blue { box-shadow: 0 0 25px var(--neon-blue); background: rgba(77,101,255,0.2); }
.card-3d:hover .service-icon.pink { box-shadow: 0 0 25px var(--neon-pink); background: rgba(255,0,127,0.2); }
.card-3d:hover .service-icon.cyan { box-shadow: 0 0 25px var(--neon-cyan); background: rgba(0,240,255,0.2); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-section { padding: 4rem 0; background: #fafafa; border-top: 1px solid #eee; border-bottom: 1px solid #eee; overflow: hidden; position: relative; width: 100%;}
.marquee-title { text-align: center; font-weight: 800; color: #999; letter-spacing: 4px; font-size: 0.9rem; margin-bottom: 3rem; text-transform: uppercase; padding: 0 15px;}
.marquee-container { width: 100%; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-container::before, .marquee-container::after { content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none;}
.marquee-container::before { left: 0; background: linear-gradient(to right, #fafafa 0%, transparent 100%); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #fafafa 0%, transparent 100%); }

.marquee-track { display: inline-flex; align-items: center; animation: marquee 15s linear infinite; will-change: transform;}
.marquee-track img { display: inline-block; width: 150px; height: 70px; margin: 0 3rem; filter: grayscale(100%) opacity(0.5); transition: all 0.4s ease; object-fit: contain;}
.marquee-track img:hover { filter: grayscale(0%) opacity(1) drop-shadow(0 0 20px var(--neon-pink)); transform: scale(1.15); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   CTA & EMAIL
   ========================================================================== */
.cta-final { background: #08080a; padding: 120px 0 80px 0; position: relative; overflow: hidden; margin-top: 2rem; width: 100%;}
.cta-card-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; background: #111; border-radius: 30px; overflow: hidden; box-shadow: 0 50px 100px rgba(0,0,0,0.8); position: relative; border: 1px solid rgba(255,255,255,0.05); transform-style: preserve-3d; width: 100%;}
.cta-text-side { padding: 6rem 5rem; position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-pink-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%); filter: blur(80px); opacity: 0.35; top: 0%; left: -10%; z-index: 1; pointer-events: none; }
.cta-logo-img { height: 75px; max-width: 100%; object-fit: contain; margin-bottom: 2.5rem; filter: drop-shadow(0 0 20px rgba(255,255,255,0.2)); transform: translateZ(50px);}
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; font-weight: 900; margin: 0 0 1.5rem 0; line-height: 1.1; transform: translateZ(40px); text-shadow: 0 0 20px rgba(255,0,127,0.4);}
.cta-final p { color: #bbb; font-size: 1.2rem; line-height: 1.7; max-width: 500px; margin-bottom: 3rem; transform: translateZ(30px);}
.cta-image-side { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #08080a;}
.cta-image-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, #111 0%, transparent 20%); z-index: 2; }
.crane-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform: scale(1); }
.cta-card-wrap:hover .crane-img { transform: scale(1.05); }
.btn-white { background: #fff; color: #111 !important; box-shadow: 0 10px 30px rgba(255,255,255,0.2); transform: translateZ(40px);}
.btn-white:hover { box-shadow: 0 15px 40px rgba(255,255,255,0.5); background: #f0f0f0; color: #111 !important;}

.huge-email-section { background: #020204; padding: 2rem 0 6rem 0; text-align: center; position: relative; overflow: hidden; width: 100%; }
.huge-email-section h3 { color: rgba(255,255,255,0.8); font-size: 1.2rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px; padding: 0 15px; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.huge-email-link { font-size: clamp(1.5rem, 6vw, 6rem); font-weight: 900; color: rgba(255,255,255,0.1); -webkit-text-stroke: 2px rgba(255,255,255,0.6); text-shadow: 0 0 15px rgba(255,255,255,0.2); text-decoration: none; display: inline-block; transition: all 0.4s ease; position: relative; will-change: transform; word-break: break-all; padding: 0 15px;}
.huge-email-link::before { content: 'info@clasiconeon.com'; position: absolute; left: 15px; top: 0; width: 0%; color: #fff; -webkit-text-stroke: 0px; overflow: hidden; transition: width 0.5s cubic-bezier(0.77, 0, 0.17, 1); text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-blue); white-space: nowrap; }
.huge-email-link:hover::before { width: calc(100% - 30px); }
.huge-email-link:hover { transform: scale(1.02); }

/* ==========================================================================
   PRELOADER & EFFECTS
   ========================================================================== */
.preloader-overlay { position: fixed; inset: 0; background: #010101; z-index: 99999; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity 0.3s ease; }

.cinematic-container { position: relative; width: 80%; max-width: 500px; z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: center; perspective: 1200px; }

.logo-wrapper-3d { position: relative; width: 100%; transform-style: preserve-3d; animation: float3D 4s ease-in-out infinite alternate; }

.logo-cinematic {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: cinematicRevealPro 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    will-change: filter, transform, opacity;
    z-index: 10;
    position: relative;
}

.logo-reflection {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: rotateX(180deg) translateY(-10px) scale(0.95);
    opacity: 0;
    filter: blur(8px) brightness(0.5);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    animation: revealReflection 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.light-sweep {
    position: absolute;
    top: 0;
    height: 100%;
    transform: skewX(-25deg);
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 20;
}
.sweep-1 { left: -150%; width: 30%; background: linear-gradient(to right, rgba(255,0,127,0) 0%, rgba(255,0,127,0.6) 50%, rgba(255,0,127,0) 100%); animation: sweepEffectPro 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards; }
.sweep-2 { left: -150%; width: 60%; background: linear-gradient(to right, rgba(0,240,255,0) 0%, rgba(0,240,255,0.4) 50%, rgba(0,240,255,0) 100%); animation: sweepEffectPro 3s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards; }

.cinematic-particles { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.c-particle { position: absolute; background: #fff; border-radius: 50%; opacity: 0; animation: floatUp 4s infinite linear; }
.c-p1 { left: 20%; bottom: -10px; width: 4px; height: 4px; box-shadow: 0 0 10px var(--neon-cyan); background: var(--neon-cyan); animation-duration: 4.5s; animation-delay: 0.2s; }
.c-p2 { left: 40%; bottom: -10px; width: 6px; height: 6px; box-shadow: 0 0 15px var(--neon-pink); background: var(--neon-pink); animation-duration: 5.5s; animation-delay: 1.1s; }
.c-p3 { left: 70%; bottom: -10px; width: 3px; height: 3px; box-shadow: 0 0 8px var(--neon-blue); background: var(--neon-blue); animation-duration: 3.8s; animation-delay: 0.6s; }
.c-p4 { left: 85%; bottom: -10px; width: 5px; height: 5px; box-shadow: 0 0 12px var(--neon-cyan); background: var(--neon-cyan); animation-duration: 6s; animation-delay: 1.5s; }
.c-p5 { left: 50%; bottom: -10px; width: 4px; height: 4px; box-shadow: 0 0 10px var(--neon-pink); background: var(--neon-pink); animation-duration: 4.2s; animation-delay: 2.2s; }

@keyframes float3D {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes cinematicRevealPro {
    0% { opacity: 0; transform: perspective(1000px) rotateX(20deg) scale(0.85) translateY(40px); filter: blur(30px) brightness(0); }
    100% { opacity: 1; transform: perspective(1000px) rotateX(0deg) scale(1) translateY(0); filter: blur(0px) brightness(1.2) drop-shadow(0 0 30px var(--neon-pink)) drop-shadow(0 0 60px rgba(255,0,127,0.3)); }
}

@keyframes revealReflection {
    0% { opacity: 0; transform: rotateX(180deg) translateY(20px) scale(0.85); }
    100% { opacity: 0.6; transform: rotateX(180deg) translateY(-10px) scale(0.95); }
}

@keyframes sweepEffectPro {
    0% { left: -150%; opacity: 0; }
    20% { opacity: 1; }
    80% { left: 150%; opacity: 0; }
    100% { left: 150%; opacity: 0; }
}

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

.shockwave-ring { position: fixed; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 50px #fff, inset 0 0 50px #fff, 0 0 150px var(--neon-cyan); top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none; will-change: transform, opacity;}
.shockwave-ring.explode { animation: explodeRing 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
@keyframes explodeRing { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; border-width: 40px; box-shadow: 0 0 100px #fff, inset 0 0 100px #fff, 0 0 200px var(--neon-pink); } 100% { transform: translate(-50%, -50%) scale(200); opacity: 0; border-width: 0px; } }


.progress-bar { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink)); z-index: 10001; width: 0%; box-shadow: 0 0 20px var(--neon-blue); will-change: width; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .custom-cursor { display: none !important; }

  
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .nav-links { 
      position: fixed; 
      top: 82px;
      left: 0; 
      width: 100vw; 
      height: auto;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
      flex-direction: column; 
      padding: 2rem 0; 
      gap: 1.5rem; 
      border-bottom: 2px solid var(--neon-blue);
      transform: translateY(-150%); 
      opacity: 0; 
      pointer-events: none; 
      transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      z-index: 999;
  }
  .navbar.dark-mode .nav-links { background: rgba(2,2,4,0.98); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  
  .nav-link { font-size: 1.2rem; padding: 10px 20px; }

  .w-layout-grid, .grid-2, .grid-3, .cta-card-wrap, .footer-top-wrapper { 
      grid-template-columns: 1fr !important; 
      gap: 2rem !important; 
  }
  .footer-menu-wrapper {
      grid-template-columns: 1fr 1fr !important;
      gap: 2rem !important;
  }
  
  .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem) !important; }
  .inner-hero h1 { font-size: clamp(2rem, 6vw, 3rem) !important; }
  .glitch-text { font-size: 3rem !important; letter-spacing: 5px; }
  .section-padding { padding: 5rem 0 !important; }
  .cta-text-side { padding: 4rem 2rem !important; }
  .marquee-track img { margin: 0 1.5rem; height: 40px; }
  .marquee-container::before, .marquee-container::after { width: 50px; }
  
  .cta-card-wrap { display: flex !important; flex-direction: column; }
  .cta-image-side { order: 1; height: 350px !important; min-height: 350px; width: 100%; }
  .cta-image-side::before { background: linear-gradient(to bottom, #111 0%, transparent 30%); }
  .cta-text-side { order: 2; width: 100%;}
  
  .huge-email-link { font-size: clamp(1.2rem, 5vw, 2.5rem) !important; -webkit-text-stroke: 1px rgba(255,255,255,0.5); padding: 0 10px; word-break: normal;}
}

@media screen and (max-width: 480px) {
  .padding-global { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.5rem) !important; }
  .inner-hero h1 { font-size: clamp(1.8rem, 8vw, 2.2rem) !important; }
  .heading-style-h1 { font-size: 1.8rem !important; }
  .heading-style-h2 { font-size: 1.6rem !important; }
  .text-size-medium { font-size: 1rem; }
  .about-features { flex-direction: column; align-items: flex-start; gap: 1.5rem;}
  .neon-feature { flex-direction: row; align-items: center; }
  .section-padding { padding: 3.5rem 0 !important; }
  .card-3d { padding: 2rem 1.5rem !important; }
  .stat-number { font-size: 3.5rem; }
  .cta-text-side { padding: 3rem 1.5rem !important; }
  .cta-final h2 { font-size: 2rem !important; }
  .huge-email-link { font-size: 5vw !important; }
  .footer-address { font-size: 0.9rem; }
  .footer-menu-wrapper { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
  .marquee-track img { margin: 0 1rem; height: 35px; }
}
