:root {
    --color-primary: #030811;
    --color-primary-light: #0B1D3A;
    --color-accent: #00E5FF;
    --color-accent-glow: rgba(0, 229, 255, 0.4);
    --color-accent-subtle: rgba(0, 229, 255, 0.08);
    
    --color-bg-dark: #02050A;
    --color-bg-card: rgba(13, 25, 41, 0.7);
    --color-white: #FFFFFF;
    --color-text-main: #F8FAFC;
    --color-text-muted: #A1B0C4;
    --color-border: rgba(0, 229, 255, 0.08);
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 4px 30px 0 var(--color-accent-glow);
    
    --transition-snappy: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom cursor ONLY on desktop with pointer device */
@media (hover: hover) and (pointer: fine) {
    *, *::before, *::after {
        cursor: none !important;
    }
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

/* Custom Scrollbar — WebKit */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* Custom Scrollbar — Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-light) var(--color-bg-dark);
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color var(--transition-snappy);
}

.text-accent { color: var(--color-accent); }

.text-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #7d97c3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stroke-text {
    color: var(--color-accent);
    opacity: 0.8;
    transition: all var(--transition-smooth);
}

.stroke-text:hover {
    opacity: 1;
    text-shadow: 0 0 15px var(--color-accent-glow);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3vw;
}

/* ====================== */
/*       PRELOADER         */
/* ====================== */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center; justify-content: center;
}

.loader-content {
    width: 300px; text-align: center;
}

.loader-text {
    display: block; font-family: var(--font-heading);
    font-size: 0.8rem; letter-spacing: 0.3em;
    color: var(--color-accent); margin-bottom: 1rem;
}

.loader-bar-wrap {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.05); position: relative;
    overflow: hidden;
}

.loader-bar {
    width: 0%; height: 100%;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

.loader-percentage {
    margin-top: 1rem; font-family: var(--font-heading);
    font-size: 2rem; font-weight: 300; color: #fff;
}

/* ====================== */
/*     CUSTOM CURSOR       */
/* ====================== */
.cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 9999;
}

.cursor-outline {
    position: fixed; top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 9998;
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-outline.hover {
    width: 60px; height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.8);
    backdrop-filter: blur(2px);
}

/* Hide cursor elements on touch devices */
@media (hover: none) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ====================== */
/*   NETWORK BG & ORBS     */
/* ====================== */
.network-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    opacity: 0.6;
}

.ambient-orb {
    position: fixed; border-radius: 50%;
    filter: blur(150px); z-index: -1; pointer-events: none;
}
.orb-primary { width: 50vw; height: 50vw; background: rgba(0,229,255,0.05); top: -20vh; right: -10vw; }
.orb-cyan { width: 40vw; height: 40vw; background: rgba(11,29,58,0.3); bottom: -10vh; left: -10vw; }

/* ====================== */
/*        BADGES           */
/* ====================== */
.badge-premium {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.4rem 1rem; background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border); border-radius: 100px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
    color: var(--color-text-main); margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 6px; height: 6px; background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.section-badge {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    position: relative; display: inline-block;
}
.section-badge::after {
    content: ''; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 1px; background: var(--color-accent);
}

/* ====================== */
/*        HEADER           */
/* ====================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.header.scrolled {
    padding: 0.75rem 0;
}

.header.scrolled .header-container {
    max-width: 1100px;
    background: rgba(2, 5, 10, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 0.6rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    margin-top: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.header.scrolled .logo-text {
    font-size: 1.1rem;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: all 0.4s ease;
}

.logo-accent {
    color: var(--color-accent);
}

.logo-tech {
    font-weight: 300;
    color: var(--color-text-muted);
    margin-left: 2px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 8px;
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo { height: 60px; object-fit: contain; filter: drop-shadow(0.5px 0.5px 0 rgba(255,255,255,0.9)) drop-shadow(-0.5px -0.5px 0 rgba(255,255,255,0.9)); }

.main-nav { display: flex; align-items: center; gap: 3rem; }

.nav-link {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
    position: relative; display: inline-block;
    color: var(--color-text-main);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    width: 20px;
}

.logo-link {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.logo-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(30deg);
    transition: left 0.6s ease;
}

.logo-link:hover::after {
    left: 150%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px;
    z-index: 200;
    transition: border-color 0.3s;
}

.hamburger:hover {
    border-color: var(--color-accent);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====================== */
/*     BUTTONS (Premium)   */
/* ====================== */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; font-family: var(--font-heading); font-weight: 700;
    font-size: 0.9rem; letter-spacing: 0.05em; border: none;
    border-radius: 100px;
    background: transparent; color: var(--color-white);
    overflow: hidden; z-index: 1;
}

.btn-primary {
    background: var(--color-white); color: var(--color-bg-dark);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-hover-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-accent); border-radius: 100px;
    transform: scale(0); transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: -1;
}

.btn-primary:hover { color: var(--color-primary); box-shadow: var(--shadow-accent); }
.btn-primary:hover .btn-hover-layer { transform: scale(1.05); }

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
    border-color: var(--color-accent); color: var(--color-bg-dark);
}
.btn-outline .btn-hover-layer { background: var(--color-accent); }
.btn-outline:hover .btn-hover-layer { transform: scale(1.05); }

/* ====================== */
/*       HERO SECTION      */
/* ====================== */
.hero {
    min-height: 100svh; display: flex; align-items: center;
    padding: 5rem 0 1.5rem 0; position: relative;
}

.hero-container {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3vw; align-items: center;
}

.hero-title {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.15;
    margin-bottom: 1rem; word-wrap: break-word;
    font-weight: 700; letter-spacing: -0.04em;
}

.title-line { overflow: hidden; }

.typewriter-text { color: var(--color-accent); }
.cursor-blink { animation: blinking 1s infinite step-end; color: var(--color-accent); }
@keyframes blinking { 0%, 100% {opacity: 1;} 50% {opacity: 0;} }

.hero-subtitle { font-size: 0.95rem; font-weight: 300; color: var(--color-text-muted); max-width: 95%; line-height: 1.6; }

.hero-stats {
    display: flex; gap: 2rem; margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.05); flex-wrap: wrap;
}

.stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin-top: 0.25rem; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.08); }

/* ====================== */
/*    GLASS FORM (3D Tilt) */
/* ====================== */
.hero-form-wrapper { perspective: 2000px; }

.glass-form {
    background: rgba(4, 9, 18, 0.4);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), var(--shadow-glass);
    padding: 2rem; border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.1s;
    width: 100%; box-sizing: border-box;
}

.glass-form::before {
    content: ''; position: absolute; top: -1px; left: 10%; width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.form-header h3 { font-size: 1.4rem; margin-bottom: 0.3rem; transform: translateZ(30px); }
.form-header p { color: var(--color-text-muted); margin-bottom: 1.25rem; transform: translateZ(20px); font-size: 0.9rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; transform: translateZ(10px); }
.full-width { grid-column: 1 / -1; margin-top: 1rem; transform: translateZ(10px); }

.input-container { position: relative; margin-bottom: 0.5rem; }

.glass-input {
    width: 100%; padding: 0.85rem 0;
    background: transparent; border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 0.95rem; font-family: var(--font-body);
    transition: border-color var(--transition-snappy);
}

textarea.glass-input {
    resize: vertical;
    min-height: 60px;
}

.glass-input:focus { outline: none; border-bottom-color: var(--color-accent); }

.glass-label {
    position: absolute; left: 0; top: 1.25rem; color: var(--color-text-muted);
    font-size: 1rem; transition: all 0.2s ease; pointer-events: none;
}

.glass-input:focus ~ .glass-label,
.glass-input:not(:placeholder-shown) ~ .glass-label {
    top: -10px; font-size: 0.75rem; color: var(--color-accent); letter-spacing: 0.05em;
}

.form-security {
    font-size: 10px; color: rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}

/* ====================== */
/*      MARQUEE BANNER     */
/* ====================== */
.marquee-wrapper {
    width: 100%; padding: 4rem 0; border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(0,0,0,0.2); overflow: hidden; display: flex;
    white-space: nowrap;
}

.marquee {
    display: flex; animation: scroll-left 30s linear infinite;
    font-family: var(--font-heading); font-size: 2vw; font-weight: 800;
    color: rgba(161, 176, 196, 0.5); /* Usamos el color muted para mejor legibilidad */
}

.marquee span { padding: 0 2rem; transition: all 0.3s; }
.marquee span:hover { color: var(--color-accent); }
.separator { color: rgba(0, 229, 255, 0.3) !important; }

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

/* ====================== */
/*   SERVICES BENTO GRID   */
/* ====================== */
.services { padding: 8vw 0 5vw 0; }

.section-title { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 3rem; }

.bento-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(280px, auto); gap: 1.5rem;
}

.bento-card {
    background: var(--color-bg-card); border: 1px solid rgba(255,255,255,0.03);
    border-radius: 28px; padding: 3rem; position: relative; overflow: hidden;
    transform-style: preserve-3d; transition: transform 0.1s, border-color 0.4s;
    display: flex; flex-direction: column;
}

.card-large { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 3rem; }

.card-glow-follow {
    position: absolute; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%; opacity: 0; transition: opacity 0.3s;
    pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
}

.bento-card:hover { border-color: rgba(0, 229, 255, 0.3); }
.bento-card:hover .card-glow-follow { opacity: 1; }

.bento-bg-gradient {
    position: absolute; top: 0; right: 0; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.03));
    z-index: 0; pointer-events: none;
}

.bento-content { position: relative; z-index: 1; transform: translateZ(20px); }

.glass-icon {
    width: 65px; height: 65px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-accent); margin-bottom: 2rem; backdrop-filter: blur(10px);
}

.service-title { font-size: clamp(1.25rem, 4vw, 1.6rem); margin-bottom: 0.75rem; line-height: 1.3; hyphenate-character: auto; word-break: break-word; }
.service-desc { color: var(--color-text-muted); font-size: 1rem; flex-grow: 1; font-weight: 300; line-height: 1.7; }

.tag-group { display: flex; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap; }
.chip {
    padding: 0.4rem 1rem; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px; font-size: 0.75rem; text-transform: uppercase;
    color: var(--color-text-main); letter-spacing: 0.05em;
    transition: all 0.3s;
}
.chip:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

/* ====================== */
/*    PARALLAX DIVIDER     */
/* ====================== */
.parallax-divider {
    height: 60vh; position: relative; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
}

.parallax-bg {
    position: absolute; top: -50%; left: 0; width: 100%; height: 200%;
    background-image: radial-gradient(circle at center, rgba(0,229,255,0.1) 0%, var(--color-bg-dark) 70%);
}

.parallax-text {
    font-size: clamp(2rem, 5.5vw, 4.5rem); 
    position: relative; z-index: 2; color: #fff;
    white-space: normal; text-align: center; text-transform: uppercase;
    font-weight: 800; padding: 0 1rem;
}
.outline-text { color: rgba(255, 255, 255, 0.5); }

/* ====================== */
/*    BENEFITS SECTION     */
/* ====================== */
.benefits {
    padding: 7vw 0 4vw 0;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s, border-color 0.4s, box-shadow 0.4s;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.benefit-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.05);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover .card-glow-follow {
    opacity: 1;
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s;
}

.benefit-card:hover .benefit-number {
    color: rgba(0, 229, 255, 0.06);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.benefit-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    transform: translateZ(15px);
}

.benefit-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.benefit-metric {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ====================== */
/*      CTA SECTION        */
/* ====================== */
.cta-section {
    padding: 4vw 0 5vw 0;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(6, 15, 28, 0.6) 50%, rgba(0, 229, 255, 0.03) 100%);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

/* ====================== */
/*         FOOTER          */
/* ====================== */
.footer {
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2rem;
    max-width: 85%;
    line-height: 1.7;
}

.logo-small {
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0.5px 0.5px 0 rgba(255,255,255,0.9)) drop-shadow(-0.5px -0.5px 0 rgba(255,255,255,0.9));
}

.footer-col h4 {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

.footer-col a {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.hover-underline {
    position: relative; display: inline-block;
}
.hover-underline::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
    background: var(--color-accent); transition: width 0.3s;
}
.hover-underline:hover::after { width: 100%; }

/* Footer Socials */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--color-accent);
}

.social-link svg {
    transition: transform 0.3s;
}

.social-link:hover svg {
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* ====================== */
/*    RESPONSIVE DESIGN    */
/* ====================== */
@media (max-width: 1024px) {
    .container { padding: 0 2rem; overflow-x: hidden; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 4rem; width: 100%; }
    .hero-subtitle { margin: 0 auto; }
    .hero-stats { justify-content: center; gap: 1.5rem; }
    .stat-divider { display: none; }
    .card-large { flex-direction: column; text-align: left; }
    .bento-card { padding: 2.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .glass-form { padding: 2.5rem; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .benefit-card { padding: 2.5rem; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .cta-card { padding: 4rem 2.5rem; }
}

@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .hero { padding: 7rem 0 3rem 0; }
    .hero-title { font-size: 2rem; line-height: 1.15; }
    .bento-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .stat-number { font-size: 1.8rem; }
    .hero-form-wrapper { width: 100%; max-width: 450px; margin: 0 auto; display: flex; justify-content: center; }
    .glass-form { padding: 1.25rem; border-radius: 18px; width: 100%; margin: 0 auto; }
    .form-header h3 { font-size: 1.3rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .cta-card { padding: 3rem 1.5rem; border-radius: 24px; }
    .cta-title { font-size: 1.8rem; }
    .cta-desc { font-size: 1rem; }
    .parallax-text { font-size: 12vw; }
    .marquee { font-size: 4vw; }

    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(2, 5, 10, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding: 2rem;
        border-left: 1px solid var(--color-border);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 150;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav .nav-link {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }

    .main-nav .btn {
        width: 80%;
        text-align: center;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 140;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.75rem; margin-bottom: 2rem; }
    .benefit-card { padding: 1.5rem; }
    .metric-value { font-size: 1.6rem; }
    .benefit-number { font-size: 3rem; }
    .cta-title { font-size: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .process-timeline { gap: 2rem; }
    .step-number { font-size: 2rem; }
    .testimonial-card { padding: 1.5rem; }
    .faq-question { padding: 1.25rem; font-size: 0.9rem; }
}

/* ====================== */
/*    PROCESS SECTION     */
/* ====================== */
.process-section { padding: 7vw 0 5vw 0; }

.section-subtitle {
    font-size: 1.05rem; color: var(--color-text-muted);
    max-width: 600px; margin: -1.5rem auto 3.5rem auto;
    text-align: center; line-height: 1.7;
}

.process-timeline {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; position: relative;
    max-width: 900px; margin: 0 auto;
}

.process-line {
    display: none;
}

.process-step {
    display: flex; gap: 1.5rem; align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading); font-size: 2.5rem;
    font-weight: 800; color: rgba(0, 229, 255, 0.15);
    line-height: 1; min-width: 50px;
}

.step-content {
    background: rgba(4, 9, 18, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 16px; padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.step-content:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.06);
}

.step-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px; margin-bottom: 1rem;
    color: var(--color-accent);
}

.step-content h3 {
    font-size: 1.15rem; margin-bottom: 0.6rem;
    font-weight: 700;
}

.step-content p {
    font-size: 0.9rem; color: var(--color-text-muted);
    line-height: 1.65; margin-bottom: 1rem;
}

.step-time {
    display: inline-block; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--color-accent);
    background: rgba(0, 229, 255, 0.08);
    padding: 0.35rem 0.85rem; border-radius: 100px;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

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

/* ====================== */
/*   SOCIAL PROOF         */
/* ====================== */
.social-proof { padding: 7vw 0 5vw 0; }

.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; margin-bottom: 4rem;
}

.testimonial-card {
    background: rgba(4, 9, 18, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 20px; padding: 2rem;
    transition: all 0.4s ease;
    display: flex; flex-direction: column;
}

.testimonial-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.05);
}

.testimonial-stars {
    color: #facc15; font-size: 0.9rem;
    letter-spacing: 0.15em; margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem; line-height: 1.7;
    color: var(--color-text-soft); margin-bottom: 1.5rem;
    font-style: italic; flex: 1;
}

.testimonial-text::before { content: none; }

.testimonial-author {
    display: flex; align-items: center; gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem;
    color: var(--color-bg-dark);
}

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

.author-info strong {
    font-size: 0.9rem; color: var(--color-text-main);
}

.author-info span {
    font-size: 0.78rem; color: var(--color-text-muted);
}

/* Client Logos */
.client-logos {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.logos-label {
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--color-text-muted);
    margin-bottom: 2rem; font-weight: 500;
}

.logos-track {
    display: flex; justify-content: center;
    gap: 3rem; flex-wrap: wrap;
    align-items: center;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1.05rem; font-weight: 700;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .logos-track { gap: 2rem; }
}

/* ====================== */
/*     FAQ SECTION        */
/* ====================== */
.faq-section { padding: 7vw 0 5vw 0; }

.faq-grid {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0.75rem;
}

.faq-item {
    background: rgba(4, 9, 18, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 14px; overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover, .faq-item.active {
    border-color: rgba(0, 229, 255, 0.2);
}

.faq-question {
    width: 100%; display: flex;
    justify-content: space-between;
    align-items: center; padding: 1.4rem 1.75rem;
    background: transparent; border: none;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 600;
    cursor: pointer; text-align: left;
    transition: color 0.3s ease;
    gap: 1rem;
}

.faq-question:hover { color: var(--color-accent); }

.faq-icon {
    flex-shrink: 0; color: var(--color-accent);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.35s ease;
    padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p {
    font-size: 0.92rem; color: var(--color-text-muted);
    line-height: 1.75;
}

.faq-answer strong {
    color: var(--color-accent);
}

/* ====================== */
/*   WHATSAPP BUTTON      */
/* ====================== */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 60px; height: 60px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; z-index: 120;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute; right: 70px; top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff; padding: 0.5rem 1rem;
    border-radius: 8px; font-size: 0.8rem;
    font-weight: 500; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15), 0 0 0 12px rgba(37, 211, 102, 0.08); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ====================== */
/*  FORM VALIDATION UX    */
/* ====================== */
.required-star { color: var(--color-accent); }

.input-error {
    display: none; font-size: 0.75rem;
    color: #f87171; margin-top: 0.35rem;
    font-weight: 400;
}

.input-container.error .glass-input {
    border-bottom-color: #f87171;
}

.input-container.error .input-error {
    display: block;
}

.input-container.success .glass-input {
    border-bottom-color: #34d399;
}

.char-counter {
    display: block; text-align: right;
    font-size: 0.7rem; color: var(--color-text-muted);
    margin-top: 0.35rem;
}

.char-counter.near-limit { color: #facc15; }
.char-counter.at-limit { color: #f87171; }

/* ====================== */
/*   PRIVACY MODAL        */
/* ====================== */
.privacy-modal {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200; display: flex;
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}

.privacy-modal.active {
    opacity: 1; pointer-events: all;
}

.privacy-modal-content {
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 20px; padding: 3rem;
    max-width: 650px; width: 90%;
    max-height: 80vh; overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-light) var(--color-bg-dark);
}

.privacy-close {
    position: absolute; top: 1.25rem; right: 1.5rem;
    background: none; border: none;
    color: var(--color-text-muted);
    font-size: 2rem; cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.privacy-close:hover { color: var(--color-text-main); }

.privacy-modal-content h2 {
    font-size: 1.6rem; margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.privacy-modal-content h3 {
    font-size: 1.1rem; margin: 1.5rem 0 0.5rem 0;
    color: var(--color-accent);
}

.privacy-body p, .privacy-body li {
    font-size: 0.9rem; color: var(--color-text-muted);
    line-height: 1.7;
}

.privacy-body ul {
    padding-left: 1.5rem; margin: 0.5rem 0;
}

.privacy-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ====================== */
/* INTERACTIVE CALCULATORS */
/* ====================== */
.calculators-section { position: relative; z-index: 10; }
.interactive-tabs {
    display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.tab-btn {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted); padding: 0.75rem 1.5rem; border-radius: 30px;
    font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease;
    font-family: var(--font-main);
}
.tab-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-text-main); }
.tab-btn.active {
    background: rgba(0, 229, 255, 0.1); border-color: rgba(0, 229, 255, 0.3);
    color: var(--color-accent); box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.calc-panel { display: none; animation: fadeIn 0.4s ease; }
.calc-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.calc-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem;
    background: rgba(4, 9, 18, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 229, 255, 0.1); border-radius: 24px;
    padding: 3rem; box-shadow: var(--shadow-glass);
}
.calc-inputs h3 { color: var(--color-text-main); font-size: 1.5rem; margin-bottom: 0.5rem; font-weight: 600; }
.calc-desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; }

.slider-group { margin-bottom: 1.5rem; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.slider-header label { font-size: 0.95rem; font-weight: 500; color: var(--color-text-main); }
.slider-val { font-size: 0.95rem; color: var(--color-accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.glass-slider {
    -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
    background: rgba(255, 255, 255, 0.1); outline: none; margin: 10px 0;
}
.glass-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 20px; height: 20px;
    border-radius: 50%; background: var(--color-accent); cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5); border: 2px solid #fff;
}
.glass-input-sm {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main); padding: 0.5rem; border-radius: 8px; font-family: var(--font-main);
    outline: none; transition: border-color 0.3s ease;
}
.glass-input-sm:focus { border-color: var(--color-accent); }

.glow-card {
    background: linear-gradient(145deg, rgba(16, 26, 44, 0.7), rgba(4, 9, 18, 0.9));
    border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 16px;
    padding: 2.5rem; text-align: center; height: 100%; display: flex;
    flex-direction: column; justify-content: center; box-shadow: inset 0 0 40px rgba(0, 229, 255, 0.03);
}
.glow-card span { font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.result-number { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); margin: 1rem 0; font-variant-numeric: tabular-nums; }
.glow-card p { font-size: 0.9rem; line-height: 1.6; color: var(--color-text-muted); }

/* Checkboxes */
.checkbox-group { display: flex; flex-direction: column; gap: 0.75rem; }
.custom-chk {
    display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
    background: rgba(255,255,255,0.03); padding: 1rem; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease;
}
.custom-chk:hover { background: rgba(255,255,255,0.06); }
.custom-chk input { accent-color: var(--color-accent); width: 18px; height: 18px; }

/* ====================== */
/* RESOURCES / LEAD MAGNETS */
/* ====================== */
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 4rem; }
.resource-card {
    background: rgba(4, 9, 18, 0.4); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px;
    padding: 2.5rem 2rem; display: flex; flex-direction: column; transition: all 0.4s ease;
}
.resource-icon {
    width: 60px; height: 60px; background: rgba(0, 229, 255, 0.1);
    color: var(--color-accent); border-radius: 15px; display: flex;
    justify-content: center; align-items: center; margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}
.resource-card h3 { font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.4; color: var(--color-text-main); font-weight: 600; }
.resource-card p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 2rem; flex-grow: 1; }
.resource-card:hover { transform: translateY(-10px); border-color: rgba(0, 229, 255, 0.3); box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1); }

/* ====================== */
/* MODAL POPUP */
/* ====================== */
.resource-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 9, 18, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 9999; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    padding: 2rem;
}
.resource-modal-overlay.active { opacity: 1; pointer-events: auto; }
.resource-modal-content {
    max-width: 450px; width: 100%; position: relative; margin: 0 auto;
    transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.resource-modal-overlay.active .resource-modal-content { transform: translateY(0); }
.close-modal-btn {
    position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none;
    color: var(--color-text-muted); font-size: 2rem; cursor: pointer; line-height: 0.5;
    transition: color 0.3s ease; padding: 0.5rem; border-radius: 5px;
}
.close-modal-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

@media (max-width: 1024px) {
    .calc-grid { grid-template-columns: 1fr; padding: 2rem; }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .interactive-tabs { flex-direction: column; gap: 0.5rem; }
    .tab-btn { text-align: center; width: 100%; }
    .calc-grid { padding: 1.5rem; }
    .glow-card { padding: 2rem 1.5rem; }
    .resources-grid { grid-template-columns: 1fr; }
}

/* ====================== */
/*      DEMOS SECTION      */
/* ====================== */
.demos-section {
    padding: 8vw 0;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.demo-card {
    background: rgba(15, 31, 55, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all var(--transition-smooth);
    position: relative;
    padding: 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 290px;
}

.demo-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 229, 255, 0.1);
}

.demo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.5s;
}

.demo-card:hover::before {
    opacity: 0.6;
}

.demo-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: rgba(0, 229, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
}

.demo-features {
    list-style: none;
    margin: 1.25rem 0;
    flex: 1;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.demo-features li i {
    color: var(--color-accent);
    width: 18px;
    height: 18px;
}

.demo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.meta-tag {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 600;
}

.demo-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 700;
}

.demo-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 0;
}

/* ====================== */
/*      MEGA MENU         */
/* ====================== */
.mega-trigger {
    position: relative;
}

.nav-chevron {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s;
}

.mega-trigger:hover .nav-chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 850px;
    background: rgba(4, 9, 18, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.mega-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.mega-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.mega-card:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-5px);
}

.mega-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    color: var(--color-accent);
    border-radius: 10px;
}

.mega-icon-wrap i { width: 20px; height: 20px; }

.mega-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.mega-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.mega-status {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 229, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.status-dot-mini {
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--color-accent);
    animation: pulse 2s infinite;
}

.mega-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 992px) {
    .demos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .demo-visual-box {
        height: 250px;
    }
    /* Simple mobile menu fallback */
    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: transparent;
        border: none;
        padding: 0 0 0 1.5rem;
        box-shadow: none;
    }
    .main-nav.open .mega-menu {
        display: block;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
}
