/* NEURALKIN DESIGN SYSTEM
   World-Class Jarvis × Apple × Vercel Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    --bg-color: #02020a;
    --bg-secondary: #080812;
    --text-primary: #f0f4ff;
    --text-secondary: #7a8aaa;
    --accent-blue: #2563ff;
    --accent-cyan: #00e5ff;
    --accent-purple: #bf5aff;
    --accent-gold: #f0b429;
    --glass-bg: rgba(6, 6, 18, 0.72);
    --glass-border: rgba(0, 229, 255, 0.1);
    --glass-glow: rgba(0, 229, 255, 0.18);
    --neon-glow-cyan: 0 0 20px rgba(0,229,255,0.6), 0 0 60px rgba(0,229,255,0.2);
    --neon-glow-purple: 0 0 20px rgba(191,90,255,0.5), 0 0 60px rgba(191,90,255,0.15);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'Fira Code', monospace;
    --ease-bounce: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-blue: #0284c7;
    --accent-cyan: #0891b2;
    --accent-purple: #7e22ce;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-glow: rgba(14, 165, 233, 0.08);
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .hero-bg {
    opacity: 0.15;
    filter: invert(1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.5s ease, color 0.5s ease;
    cursor: none;
    /* Subtle noise texture for depth */
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(191, 90, 255, 0.05) 0%, transparent 50%);
}

/* Custom Cursor — Neon Crosshair */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease, background 0.3s ease, width 0.3s ease, height 0.3s ease;
    box-shadow: var(--neon-glow-cyan);
    mix-blend-mode: screen;
}

.cursor-outline {
    width: 36px; height: 36px;
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.25s var(--ease-bounce), width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.cursor-dot.hovering {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.cursor-outline.hovering {
    width: 56px; height: 56px;
    border-color: rgba(191, 90, 255, 0.7);
    box-shadow: var(--neon-glow-purple);
    background: rgba(191, 90, 255, 0.05);
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    margin-bottom: 1.5rem;
}

.preloader-ring {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: preloaderRing 2s ease forwards;
}

.preloader-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: preloaderPath 1.5s 0.5s ease forwards;
}

@keyframes preloaderRing {
    to { stroke-dashoffset: 0; }
}

@keyframes preloaderPath {
    to { stroke-dashoffset: 0; }
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.preloader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 2px;
    animation: preloaderFill 2.2s ease forwards;
}

@keyframes preloaderFill {
    0% { width: 0; }
    100% { width: 100%; }
}

.preloader-text {
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: 6px;
    font-size: 0.8rem;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: preloaderTextPulse 1.5s ease-in-out infinite alternate;
}

@keyframes preloaderTextPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* ============ ECLIPSE THEME OVERLAY ============ */
#theme-eclipse-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9998;
    pointer-events: none;
    transition: none;
}

/* ============ GRADIENT MESH BACKGROUND ============ */
.gradient-mesh {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mesh-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

[data-theme="light"] .mesh-layer { opacity: 0.15; }

.mesh-1 {
    width: 60vw; height: 60vw;
    top: -20%; left: -15%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    animation: meshFloat1 15s ease-in-out infinite alternate;
}

.mesh-2 {
    width: 50vw; height: 50vw;
    bottom: -25%; right: -10%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    animation: meshFloat2 18s ease-in-out infinite alternate;
}

.mesh-3 {
    width: 40vw; height: 40vw;
    top: 40%; left: 30%;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    animation: meshFloat3 20s ease-in-out infinite alternate;
}

@keyframes meshFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 8%) scale(1.15); }
}

@keyframes meshFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-8%, -6%) scale(1.2); }
}

@keyframes meshFloat3 {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0.2; }
    100% { transform: translate(5%, -10%) scale(1.1); opacity: 0.4; }
}

/* Jarvis Core Orb & HUD Elements */
.jarvis-orb {
    position: fixed;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.15) 0%, rgba(0,240,255,0.05) 30%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    z-index: -2;
    pointer-events: none;
    animation: orbPulse 4s ease-in-out infinite alternate, spin 30s linear infinite;
    box-shadow: 0 0 100px rgba(34,211,238,0.2) inset;
}
.jarvis-orb::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150vw; height: 150vh;
    transform: translate(-50%, -50%);
    background: repeating-radial-gradient(circle at center, transparent 0, transparent 40px, rgba(34,211,238,0.03) 41px, transparent 42px);
    z-index: -1;
}
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; filter: blur(40px); }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; filter: blur(60px); box-shadow: 0 0 150px rgba(34,211,238,0.4) inset; }
}

/* Blueprint Grid Background (Vercel Style) */
.bg-grid {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -3;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(34,211,238,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(34,211,238,0.05) 1px, transparent 1px);
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
}
[data-theme="light"] .bg-grid {
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #7a9fff 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(0,229,255,0.3));
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.pt-0 { padding-top: 0 !important; }
.text-center { text-align: center; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.z-10 { z-index: 10; }

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

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 2; 
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(10, 10, 12, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.8), transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-card:hover::before,
.glass-card:hover::after {
    opacity: 1;
}

.glass-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.9), 
        0 0 0 1px rgba(0, 229, 255, 0.2),
        0 0 60px rgba(0, 229, 255, 0.1); 
}

.glass-card > * { position: relative; z-index: 1; pointer-events: auto; }
.hover-lift {
    transform-style: preserve-3d;
    will-change: transform;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #0066ff);
    color: #000;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.4s var(--ease-bounce);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.35), 0 4px 15px rgba(0,0,0,0.4);
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: none;
}

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

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

.btn-primary:hover {
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.7), 0 8px 30px rgba(0,0,0,0.5);
    transform: translateY(-3px) scale(1.02);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary) !important;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 229, 255, 0.25);
    transition: all 0.3s var(--ease-bounce);
    backdrop-filter: blur(10px);
    display: inline-block;
    cursor: none;
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 20px rgba(0,229,255,0.15);
    transform: translateY(-2px);
}

/* Navbar & Logos */
.logo-img-nav {
    height: 55px; /* Tamaño aumentado */
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-img-nav:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4));
}
.logo-img-footer {
    height: 80px; /* Tamaño aumentado */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.2));
}

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 2, 10, 0.85);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
    padding: 1rem 0;
    box-shadow: 0 4px 40px rgba(0,0,0,0.6), 0 0 1px rgba(0,229,255,0.2);
}

.nav-actions { display: flex; align-items: center; gap: 2rem; }
.toggles { display: flex; align-items: center; gap: 0.5rem; border-left: 1px solid var(--glass-border); padding-left: 1rem; }

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: none;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, background 0.3s;
}

.icon-btn:hover { color: var(--text-primary); background: rgba(14, 165, 233, 0.1); }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.9rem; }
.font-medium { font-weight: 500; }

[data-theme="light"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon, :root:not([data-theme="light"]) .moon-icon { display: none; }

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s ease; cursor: none; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links .btn-primary { color: white !important; padding: 0.6rem 1.5rem; }

/* Canvas Neural Background */
#neural-canvas { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; opacity: 0.6; }
[data-theme="light"] #neural-canvas { opacity: 0.3; filter: invert(1); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 15vh;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    z-index: -1;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 100px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    color: var(--accent-cyan);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0,229,255,0.1), inset 0 0 20px rgba(0,229,255,0.05);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,229,255,0.1), inset 0 0 20px rgba(0,229,255,0.05); }
    50% { box-shadow: 0 0 30px rgba(0,229,255,0.25), inset 0 0 30px rgba(0,229,255,0.1); }
}

.glass-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title { 
    font-size: clamp(3.8rem, 7vw, 7.5rem); 
    margin-bottom: 1.5rem; 
    line-height: 1.02; 
    letter-spacing: -0.06em;
    font-weight: 900;
}
.hero-subtitle { 
    font-size: 1.2rem; 
    color: var(--text-secondary); 
    max-width: 520px; 
    margin-bottom: 3rem; 
    line-height: 1.75;
    font-weight: 400;
}
.hero-cta { display: flex; gap: 1.5rem; }

/* Interactive AI Terminal */
.hero-terminal {
    background: rgba(5, 5, 8, 0.7);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(34, 211, 238, 0.1);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-terminal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}
.hero-terminal::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

[data-theme="light"] .hero-terminal {
    background: rgba(25,25,30,0.9);
    color: #e2e8f0;
}

.terminal-header {
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.term-btns { display: flex; gap: 6px; }
.term-btn { width: 12px; height: 12px; border-radius: 50%; }
.term-btn.red { background: #ff5f56; }
.term-btn.yellow { background: #ffbd2e; }
.term-btn.green { background: #27c93f; }

.term-title {
    margin: 0 auto;
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.terminal-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.term-line {
    margin-bottom: 8px;
    color: #a1a1aa;
}
.term-line.cmd { color: #00f0ff; text-shadow: 0 0 8px rgba(0,240,255,0.6); }
.term-line.success { color: #00ff88; text-shadow: 0 0 8px rgba(0,255,136,0.6); }
.term-line.warn { color: #facc15; text-shadow: 0 0 8px rgba(250,204,21,0.6); }
.term-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #22d3ee;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

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

/* Terminal Interactive Input */
.terminal-input-wrap {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
}

.term-prompt {
    color: #22d3ee;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.term-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    caret-color: #22d3ee;
}

.term-input::placeholder { color: rgba(255,255,255,0.3); }

/* Infinite Scroll Marquee */
.marquee-container {
    width: 100%;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    padding-left: 2rem;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
}

.tech-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Metrics / Odometer */
.metrics-section { padding: 4rem 0 2rem; }
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    text-align: center;
    padding: 2rem;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(0,229,255,0.5));
    font-variant-numeric: tabular-nums;
}

/* Odometer digit roll */
.odometer {
    display: inline-flex;
    overflow: hidden;
    height: 1em;
    line-height: 1;
    vertical-align: baseline;
}

.odometer-digit {
    display: inline-block;
    overflow: hidden;
    height: 1em;
    position: relative;
    width: 0.65em;
}

.odometer-digit-inner {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.odometer-digit-inner span {
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ TECH STACK GRID ============ */
.tech-stack-section { padding: 4rem 0; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-flip-card {
    perspective: 800px;
    height: 140px;
    cursor: none;
}

.tech-flip-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.tech-flip-card:hover .tech-flip-inner {
    transform: rotateY(180deg);
}

.tech-flip-front, .tech-flip-back {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.tech-flip-front svg {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.tech-flip-front span {
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(168,85,247,0.1));
    border-color: rgba(14,165,233,0.3);
}

.tech-flip-back p {
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section { background-color: var(--bg-secondary); }

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

.testimonial-card {
    padding: 2rem;
}

.testimonial-stars {
    color: #facc15;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
    color: white;
    letter-spacing: 1px;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Bento Box Grid - Asymmetric Architecture */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
}

.bento-card { padding: 2.5rem; }

.bento-mision {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-mision .icon-wrap { width: 80px; height: 80px; font-size: 2rem; }
.bento-mision h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.bento-mision p { font-size: 1.15rem; line-height: 1.8; }

.bento-vision {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}
.bento-vision h3 { font-size: 2rem; }

.bento-val {
    grid-row: 2 / 3;
    padding: 1.5rem;
}
.bento-val-1 { grid-column: 2 / 3; }
.bento-val-2 { grid-column: 3 / 4; }
.bento-val-3 { display: none; }

.border-accent {
    border-left: 3px solid var(--accent-purple);
}

/* Services */
.services { background-color: var(--bg-secondary); }
.service-icon {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(191,90,255,0.08));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.service-card {
    transition: all 0.4s var(--ease-bounce);
}
.service-card:hover {
    transform: translateY(-6px);
}

.service-card h3 { font-size: 1.35rem; margin-bottom: 1.3rem; font-weight: 700; }
.service-card ul { list-style: none; }
.service-card li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.5;
}
.service-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

/* Icon / Graphic Wraps */
.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

/* ============ TIMELINE ============ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 3rem auto 0;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-line-fill {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
    transition: height 0.3s ease;
    border-radius: 2px;
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    width: 50px; height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    transition: all 0.4s ease;
    z-index: 2;
}

.timeline-step.active .timeline-dot {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-color: transparent;
    color: #000;
    box-shadow: 0 0 30px rgba(0,229,255,0.6), 0 0 60px rgba(0,229,255,0.2);
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============ WIZARD / PROJECT CALCULATOR ============ */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.wizard-step-indicator span {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s ease;
}

.wizard-step-indicator.active span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(14,165,233,0.4);
}

.wizard-step-indicator.done span {
    background: #4ade80;
    border-color: transparent;
    color: white;
}

.wizard-step-indicator small {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wizard-connector {
    width: 60px; height: 2px;
    background: var(--glass-border);
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
}

.wizard-panel {
    display: none;
    animation: wizardSlide 0.4s ease;
}

.wizard-panel.active {
    display: block;
}

@keyframes wizardSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.wizard-panel-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.wizard-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wizard-option {
    cursor: none;
}

.wizard-option input[type="radio"] {
    display: none;
}

.wizard-option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    transition: all 0.3s ease;
    text-align: center;
}

.wizard-option-box svg {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.wizard-option input:checked + .wizard-option-box {
    border-color: var(--accent-cyan);
    background: rgba(14,165,233,0.1);
    box-shadow: 0 0 20px rgba(14,165,233,0.15);
}

.wizard-option input:checked + .wizard-option-box svg {
    color: var(--accent-cyan);
}

.wizard-option-box strong {
    font-size: 0.85rem;
}

.wizard-option-box:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.wizard-btn-row {
    display: flex;
    gap: 1rem;
}

.wizard-btn-row .btn-secondary,
.wizard-btn-row .btn-primary {
    flex: 1;
    text-align: center;
    border: none;
    padding: 1rem;
    font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-primary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Utility Classes for JS */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Cinematic Scrub Masking */
.scroll-reveal-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.massive-text {
    font-size: clamp(2.8rem, 7.5vw, 9rem);
    font-weight: 900;
    line-height: 1.0;
    text-align: center;
    letter-spacing: -0.06em;
    max-width: 1200px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, rgba(0,229,255,0.06) 0%, rgba(0,229,255,0.06) 100%);
    background-size: 100%;
    background-repeat: no-repeat;
    will-change: background-image;
}

[data-theme="light"] .massive-text {
    background-image: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.05) 100%);
}
.fade-in-up { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA */
.cta-section { position: relative; }
.cta-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(168, 85, 247, 0.05));
    border-color: rgba(14, 165, 233, 0.2);
}
.cta-card h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-card p { color: var(--text-secondary); font-size: 1.1rem; }

/* Footer */
.footer { 
    background: linear-gradient(to bottom, var(--bg-secondary), #000008);
    padding: 5rem 0 2.5rem; 
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
}
.border-t { border-top: none; padding-top: 3rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-slogan { color: var(--text-secondary); margin-top: 0.5rem; }
.footer-copy { color: var(--text-secondary); opacity: 0.4; font-size: 0.85rem; margin-top: 2rem; letter-spacing: 0.02em; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1ebea5, #00e676);
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: none;
}
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 8px 30px rgba(37, 211, 102, 0.6);
}

/* Apple Style Scroll Reveal */
.layout-welcome { height: 150vh; position: relative; padding-bottom: 20vh; }
.welcome-text { position: sticky; top: 20vh; }
.scroll-reveal-text {
    background: linear-gradient(to right, var(--text-primary) 0%, rgba(128,128,128,0.2) 0%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.7;
}

/* Contact Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.glass-input {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: none;
}

[data-theme="light"] .glass-input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.1);
}

.glass-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.glass-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

select.glass-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a1a1aa%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

select.glass-input option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}


/* New Logo Styles */
.logo-img-nav {
    height: 120px; 
    margin: -30px 0;
    width: auto;
    object-fit: contain;
    background: transparent;
    transform: scale(1.6);
    transform-origin: left center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5)) drop-shadow(0 0 16px rgba(168, 85, 247, 0.3));
}

.logo-img-nav:hover {
    transform: scale(1.75) translateY(-2px);
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.8)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.6));
}

.logo-img-footer {
    height: 150px; 
    margin: -20px 0;
    width: auto;
    object-fit: contain;
    background: transparent;
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.4)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.2));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img-footer:hover {
    transform: scale(1.25);
}

[data-theme="light"] .logo-img-nav, 
[data-theme="light"] .logo-img-footer {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

/* Flex utils */
.flex { display: flex; }
.justify-center { justify-content: center; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* ============ RESPONSIVE ============ */
.mobile-only { display: none !important; }

@media (max-width: 1024px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .bento-grid { display: flex; flex-direction: column; }
    .bento-val-3 { display: block; }
    .glass-card { padding: 2rem; }
    .hero-title { font-size: clamp(3rem, 4vw, 4rem); }
    .testimonials-track { grid-template-columns: 1fr; }
    .wizard-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none !important; }
    .mobile-only { display: flex !important; }
    
    .container { padding: 0 1rem; }
    .section { padding: 4rem 0; }
    
    .nav-content { padding: 0 1rem; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; right: 0; 
        background: var(--glass-bg); 
        backdrop-filter: blur(20px); 
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem; 
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
        gap: 1.5rem;
    }
    .nav-links.active { display: flex; }
    
    .logo-img-nav { transform: scale(1.1); margin: -10px 0; }
    .logo-img-nav:hover { transform: scale(1.15); }
    
    .hero { min-height: auto; padding-top: 120px; padding-bottom: 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta a { width: 100%; justify-content: center; display: inline-flex; text-align: center; }
    .hero-terminal { font-size: 0.75rem; min-height: 250px; display: flex; margin-top: 1rem; }
    .hero-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1rem; margin: 0 auto 2rem; }
    
    .metrics-grid { grid-template-columns: 1fr; gap: 1rem; }
    .metric-number { font-size: 2.5rem; }
    
    .layout-welcome { height: auto; padding-bottom: 5rem; }
    .welcome-text { position: static; }
    .scroll-reveal-text { font-size: 1.1rem; line-height: 1.6; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: var(--text-primary) !important; }
    
    .section-title { font-size: 2.2rem; }
    .bento-mision h3 { font-size: 2rem; }
    .bento-vision h3 { font-size: 1.8rem; }
    .bento-card, .service-card, .cta-card { padding: 1.5rem; }
    
    .marquee-track { animation-duration: 20s; }
    .tech-item { font-size: 0.95rem; padding: 0 1.5rem; }
    
    .massive-text { font-size: 2.5rem; background-image: none !important; color: var(--text-primary) !important; }
    
    .form-grid { grid-template-columns: 1fr; gap: 1rem; }
    
    .footer-logo img { transform: scale(1); margin: 0; }
    .footer-logo img:hover { transform: scale(1.05); }

    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .wizard-options { grid-template-columns: repeat(2, 1fr); }
    .wizard-btn-row { flex-direction: column; }
    .timeline-step { gap: 1rem; }

    .timeline-line { left: 14px; }
    .timeline-dot { width: 30px; height: 30px; min-width: 30px; }
    .timeline-dot svg { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .massive-text { font-size: 1.8rem; }
    .wizard-options { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ JARVIS HUD ============ */
.hud-frame {
    position: fixed;
    width: 90px; height: 90px;
    border: 1.5px solid rgba(0, 229, 255, 0.4);
    z-index: 9990;
    pointer-events: none;
    animation: hudFramePulse 4s ease-in-out infinite;
}
.hud-frame::before {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px rgba(0,229,255,0.5);
    border-radius: 1px;
}

@keyframes hudFramePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; border-color: rgba(0, 229, 255, 0.7); }
}

.hud-top-left { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hud-top-left::before { top: -2px; left: -2px; }

.hud-top-right { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.hud-top-right::before { top: -2px; right: -2px; }

.hud-bottom-left { bottom: 24px; left: 24px; border-right: none; border-top: none; }
.hud-bottom-left::before { bottom: -2px; left: -2px; }

.hud-bottom-right { bottom: 24px; right: 24px; border-left: none; border-top: none; }
.hud-bottom-right::before { bottom: -2px; right: -2px; }

.hud-text {
    position: fixed;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(0, 229, 255, 0.45);
    z-index: 9990;
    pointer-events: none;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: 500;
}
.hud-data-top-left { top: 36px; left: 36px; }
.hud-data-top-right { top: 36px; right: 36px; text-align: right; }
.hud-data-bottom-left { bottom: 36px; left: 36px; }
.hud-data-bottom-right { bottom: 36px; right: 36px; text-align: right; }

.text-cyan { color: var(--accent-cyan); }
.text-glow { 
    text-shadow: 0 0 10px var(--accent-cyan), 0 0 20px rgba(0,229,255,0.4); 
    font-weight: 700; 
    color: #fff; 
    font-size: 0.8rem;
}

[data-theme="light"] .hud-frame { display: none; }
[data-theme="light"] .hud-text { display: none; }

/* ============ EXTRA AMBIENT GLOW ============ */
.section {
    position: relative;
}

/* Glow dividers between sections */
.tech-stack-section::before,
.testimonials-section::before,
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.15), transparent);
}

/* Wizard step active glow */
.wizard-step-indicator.active span {
    background: linear-gradient(135deg, var(--accent-cyan), #0066ff) !important;
    border-color: transparent !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0,229,255,0.5) !important;
}
