/* ==========================================================================
   1. THE CINEMATIC PALETTE & RESET
   ========================================================================== */
:root {
    --bg-void: #030303; 
    --bg-surface: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #8b8b8b; 
    --accent-glow: #00ff00;
    --border-harsh: 1px solid rgba(255, 255, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-void); 
    color: var(--text-primary); 
    overflow-x: clip; 
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo { font-family: 'Syncopate', sans-serif; text-transform: uppercase; letter-spacing: -1px; }
a { text-decoration: none; color: inherit; display: inline-block; }
button { font-family: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .cyber-dropdown-selected:focus-visible, .accordion-header:focus-visible {
    outline: 2px solid var(--accent-glow);
    outline-offset: 4px;
    background: rgba(0, 255, 0, 0.05);
}

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* ==========================================================================
   2. THE INCEPTION ILLUSION
   ========================================================================== */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 90000; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    will-change: opacity;
}

.wireframe-floor {
    position: fixed; bottom: -30vh; left: -50vw; width: 200vw; height: 80vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px; transform-origin: top center;
    transform: perspective(800px) rotateX(75deg);
    animation: gridFlow 10s linear infinite;
    z-index: -1; pointer-events: none;
    mask-image: radial-gradient(ellipse at top, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 80%);
    will-change: transform;
}

@keyframes gridFlow {
    0% { transform: perspective(800px) rotateX(75deg) translateY(0); }
    100% { transform: perspective(800px) rotateX(75deg) translateY(80px); }
}

/* ==========================================================================
   2.5 HERO PARTICLE CANVAS (Full-Page Background)
   ========================================================================== */
#hero-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

/* ==========================================================================
   3. STICKY HEADER (ENGINEERED FOR BOTTOM-TO-TOP REVEAL)
   ========================================================================== */
header { position: sticky; top: 0; left: 0; width: 100%; z-index: 10000; padding: clamp(16px, 2vw, 24px) 0; border-bottom: var(--border-harsh); border-top: var(--border-harsh); background: rgba(3, 3, 3, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; letter-spacing: 2px; flex-shrink: 0; }

.nav-right-cluster { display: flex; align-items: center; gap: 40px; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; transition: var(--transition); }

/* THE NEON HOVER OVERRIDE */
.nav-links a:hover { color: var(--accent-glow); text-shadow: 0 0 10px rgba(0, 255, 0, 0.4); }

.lets-talk-trigger {
    background: transparent; border: 1px solid var(--text-secondary); color: var(--text-primary);
    padding: 8px 16px; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
    font-family: 'Syncopate', sans-serif; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.lets-talk-trigger:hover {
    border-color: var(--accent-glow); color: var(--accent-glow);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.nav-toggle { display: none; color: var(--text-primary); font-size: 2rem; cursor: pointer; background: none; border: none; z-index: 10001; }

/* ==========================================================================
   3.5 INTERCEPTION MODAL
   ========================================================================== */
.cyber-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 100005; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.cyber-modal-overlay.active { opacity: 1; pointer-events: auto; }

.cyber-modal-box {
    background: #050505; border: 1px solid var(--accent-glow);
    padding: 60px 40px; max-width: 600px; width: 90%; text-align: center;
    position: relative; transform: scale(0.95) translateY(20px); transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 30px rgba(0,255,0,0.1);
}
.cyber-modal-overlay.active .cyber-modal-box { transform: scale(1) translateY(0); }

.close-btn {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 1.2rem;
    cursor: pointer; transition: var(--transition);
}
.close-btn:hover { color: #ff5f56; }

.cyber-modal-box h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 16px; color: var(--text-primary); letter-spacing: 2px;}
.cyber-modal-box p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 40px; }

.modal-btn-grid { display: flex; flex-direction: column; gap: 20px; }
.huge-modal-btn {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    width: 100%; padding: 20px; border: 1px solid rgba(255,255,255,0.1);
    font-family: 'Syncopate', sans-serif; font-size: 1.1rem; font-weight: 700;
    text-transform: uppercase; color: var(--text-primary); transition: var(--transition);
    background: rgba(255,255,255,0.02); cursor: pointer;
}
.huge-modal-btn svg { width: 28px; height: 28px; fill: currentColor; }

.huge-modal-btn.wa:hover { background: #25d366; border-color: #25d366; color: #000; box-shadow: 0 0 30px rgba(37, 211, 102, 0.5); transform: translateY(-3px);}
.huge-modal-btn.em:hover { background: var(--accent-glow); border-color: var(--accent-glow); color: #000; box-shadow: 0 0 30px rgba(0, 255, 0, 0.5); transform: translateY(-3px);}

/* ==========================================================================
   4. LAYOUT & TYPOGRAPHY
   ========================================================================== */
.site-wrapper { width: 100%; display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px; }
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* THE 2-COLUMN HERO ENGINE */
.hero { 
    min-height: 100vh;
    min-height: 100dvh; 
    display: flex; 
    align-items: center; 
    position: relative; 
    padding: 80px 20px; 
    z-index: 1; 
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr; 
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 { font-size: clamp(2rem, 5vw, 5rem); line-height: 1.1; margin-bottom: 16px; font-weight: 700; text-shadow: 0 10px 40px rgba(0,0,0,0.8); }
.hero-content p { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary); max-width: 700px; line-height: 1.8; margin-bottom: 40px; }

.hero-cta {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--text-primary); color: var(--bg-void);
    padding: 16px 32px; border-radius: 4px;
    font-family: 'Syncopate', sans-serif; font-weight: 700; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid transparent; transition: var(--transition);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
.hero-cta svg { 
    width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; 
    animation: scrollBounce 2s infinite ease-in-out; 
    transition: stroke 0.3s ease; 
}

.hero-cta:hover { background: transparent; color: var(--accent-glow); border-color: var(--accent-glow); box-shadow: 0 0 30px rgba(0,255,0,0.15); }
.hero-cta:hover svg { animation: none; transform: translateY(4px); }

.hero-trust { 
    border-left: 1px solid rgba(255,255,255,0.1); 
    padding-left: 40px;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    animation: fadeIn 2s ease 1s forwards; opacity: 0; 
}
@keyframes fadeIn { to { opacity: 1; } }
.hero-trust p { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 3px; margin: 0 0 24px 0; }
.hero-trust-logos { display: flex; flex-direction: column; gap: 20px; opacity: 1; } 

.hero-trust-logos span { 
    font-family: 'Syncopate', sans-serif; 
    font-size: clamp(0.8rem, 1.5vw, 1rem); 
    color: var(--accent-glow); 
    font-weight: 700; 
    letter-spacing: 2px; 
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transition: var(--transition);
}
.hero-trust-logos span:hover { 
    color: var(--text-primary); 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6); 
}

.section-header { padding: 40px; border-bottom: var(--border-harsh); border-top: var(--border-harsh); background: var(--bg-void); text-align: center; scroll-margin-top: 100px;}
.section-header h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--text-secondary); }

/* ==========================================================================
   5. CYBER-CARDS
   ========================================================================== */
.architecture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; width: 100%; max-width: 1400px; margin: 0 auto;}

.grid-cell { 
    position: relative; background-color: var(--bg-surface); padding: 80px 40px; transition: var(--transition);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
    border-left: 2px solid transparent;
}

.grid-cell::before {
    content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 255, 0, 0.1) 100%);
    opacity: 0; transition: var(--transition);
}

.grid-cell:hover { background-color: #050505; transform: translateY(-4px); border-left: 2px solid var(--accent-glow); }
.grid-cell:hover::before { opacity: 1; }

.grid-cell h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 16px; color: var(--text-primary); }
.grid-cell h3::before { content: '>'; color: var(--accent-glow); font-family: 'JetBrains Mono', monospace; font-size: 1rem; font-weight: 700; }
.grid-cell p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ==========================================================================
   6. HOLOGRAPHIC DATABANKS
   ========================================================================== */
.metrics-section { 
    position: relative; border-top: var(--border-harsh); display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px; 
    background: rgba(255,255,255,0.05); max-width: 1400px; margin: 0 auto; overflow: hidden; 
}
.metric-card { position: relative; background: var(--bg-surface); padding: 60px 40px; text-align: center; overflow: hidden; }

.metrics-section::after {
    content: ''; position: absolute; top: -10px; left: 0; width: 100%; height: 2px;
    background: var(--accent-glow); box-shadow: 0 0 15px var(--accent-glow);
    opacity: 0; transition: opacity 0.4s ease; animation: globalScanline 4s linear infinite; pointer-events: none; z-index: 10;
}

.metrics-section:hover::after { opacity: 0.6; }
.metrics-section:hover .metric-card h3 { text-shadow: 0 0 20px rgba(0,255,0,0.5); }
@keyframes globalScanline { 0% { top: 0%; } 100% { top: 100%; } }

.metric-card h3 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--text-primary); margin-bottom: 8px; font-weight: 800; font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; transition: text-shadow 0.4s ease; }
.metric-card p { font-family: 'Syncopate', sans-serif; font-size: 0.75rem; color: var(--text-secondary); letter-spacing: 2px; }

/* ==========================================================================
   7. MOCKUP SCROLL ENGINE 
   ========================================================================== */
.case-study { border-top: var(--border-harsh); display: grid; grid-template-columns: 1fr 1.5fr; background: var(--bg-surface); max-width: 1400px; margin: 0 auto;}
.case-study-info { padding: clamp(40px, 8vw, 80px) clamp(24px, 4vw, 40px); border-right: var(--border-harsh); }
.case-study-info h4 { font-size: 0.8rem; color: var(--text-secondary); letter-spacing: 2px; margin-bottom: 16px; }
.case-study-info h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 24px; }
.case-study-info p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }

.tech-stack { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tech-stack span { font-size: 0.75rem; padding: 6px 12px; border: var(--border-harsh); color: var(--text-secondary); text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }

.link-arrow { font-family: 'Syncopate', sans-serif; font-size: 0.9rem; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid var(--text-primary); padding-bottom: 4px; padding-top: 8px; transition: var(--transition); }
.link-arrow:hover { color: var(--text-primary); border-color: var(--accent-glow); color: var(--accent-glow);}

.case-study-visual { padding: 40px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%); perspective: 1200px; }
.wireframe-mockup {
    width: 100%; max-width: 480px; height: 360px; background: #050505;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.05);
    display: flex; flex-direction: column; overflow: hidden; transform: rotateY(-12deg) rotateX(8deg); transition: transform 0.6s ease;
}
.case-study-visual:hover .wireframe-mockup { transform: rotateY(0deg) rotateX(0deg); }
.mockup-header { background: #111; padding: 12px 16px; display: flex; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mac-dot { width: 10px; height: 10px; border-radius: 50%; }
.mac-dot.close { background: #ff5f56; } .mac-dot.minimize { background: #ffbd2e; } .mac-dot.expand { background: #27c93f; }

.iframe-wrapper { flex: 1; width: 100%; background: #050505; position: relative; overflow: hidden; }
.mockup-scroll-image { width: 100%; height: 100%; background-image: url('./full-neko-sample.png'); background-size: 100% auto; background-position: 0% 0%; background-repeat: no-repeat; will-change: background-position; }

@media (hover: hover) and (pointer: fine) {
    .mockup-scroll-image { transition: background-position 8s cubic-bezier(0.1, 1, 0.2, 1); }
    .wireframe-mockup:hover .mockup-scroll-image { background-position: 0% 100%; }
}
@media (hover: none) and (pointer: coarse) {
    .mockup-scroll-image.in-view { animation: cinematicAutoPan 15s ease-in-out infinite alternate; }
}
@keyframes cinematicAutoPan { 0%, 10% { background-position: 0% 0%; } 90%, 100% { background-position: 0% 100%; } }

/* ==========================================================================
   8. EXCLUSIVE COMMAND READOUT
   ========================================================================== */
.dna-section { 
    position: relative; max-width: 1200px; margin: 0 auto; text-align: center; 
    padding: 100px 40px; background: radial-gradient(ellipse at center, rgba(0, 255, 0, 0.03) 0%, transparent 70%);
}

.dna-section::before, .dna-section::after {
    content: ''; position: absolute; left: 10%; width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--text-muted) 50%, transparent 100%); opacity: 0.3;
}
.dna-section::before { top: 0; } .dna-section::after { bottom: 0; }

.dna-section h4 { 
    color: var(--accent-glow); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 8px; margin-bottom: 40px; 
    text-shadow: 0 0 15px rgba(0,255,0,0.4); display: flex; justify-content: center; align-items: center; gap: 16px;
}
.dna-section h4::before { content: '<'; opacity: 0.5; color: var(--text-muted); }
.dna-section h4::after { content: '/>'; opacity: 0.5; color: var(--text-muted); }

.dna-section h3 { 
    font-size: clamp(1rem, 2vw, 1.5rem); line-height: 2; font-family: 'Inter', sans-serif; font-weight: 400; margin-bottom: 0; text-transform: uppercase; letter-spacing: 3px;
    background: linear-gradient(90deg, #222222 0%, #ffffff 40%, #ffffff 60%, #222222 100%); background-size: 300% auto; color: transparent; -webkit-background-clip: text; background-clip: text;
    animation: titaniumSweep 8s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
@keyframes titaniumSweep { 0% { background-position: 0% center; } 100% { background-position: 100% center; } }

/* ==========================================================================
   9. TARGET LOCK & CYBER FORMS
   ========================================================================== */
.contact-section { border: var(--border-harsh); padding: 100px 40px; background: radial-gradient(circle at top right, rgba(255,255,255,0.03) 0%, transparent 60%), var(--bg-surface); max-width: 1400px; margin: 0 auto; border-radius: 4px; transition: var(--transition); scroll-margin-top: 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.contact-info h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 32px; position: relative; display: inline-block; }
.contact-info h2::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 40px; height: 4px; background: var(--accent-glow); transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
.contact-section:hover .contact-info h2::after { width: 100%; }
.contact-info p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; }

.founder-block { margin-top: 40px; padding-top: 40px; border-top: var(--border-harsh); }
.founder-block h5 { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--accent-glow); margin-bottom: 12px; }
.founder-block p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

.terminal-form { background: var(--bg-void); border: var(--border-harsh); padding: 40px; border-radius: 4px; width: 100%; position: relative; }
.terminal-header { font-family: 'Syncopate', sans-serif; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 2px; margin-bottom: 32px; border-bottom: 1px solid var(--text-muted); padding-bottom: 12px; }

.form-control { width: 100%; box-sizing: border-box; background: transparent; border: none; border-bottom: var(--border-harsh); padding: 12px 0; color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 24px; appearance: none; }
.form-control::placeholder { color: var(--text-muted); } 
.form-control:focus { outline: none; border-bottom: 1px solid var(--accent-glow); }

.cyber-dropdown-container { position: relative; width: 100%; margin-bottom: 24px; font-family: 'JetBrains Mono', monospace; }
.cyber-dropdown-selected { width: 100%; background: transparent; border-bottom: var(--border-harsh); padding: 12px 0; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; transition: var(--transition); }
.cyber-dropdown-selected:focus { outline: none; border-bottom: 1px solid var(--accent-glow); }
.cyber-dropdown-selected .placeholder-text { color: var(--text-muted); }
.cyber-dropdown-selected .cursor { display: inline-block; animation: blink 1s step-end infinite; color: var(--accent-glow); font-weight: bold; margin-left: 4px; }
@keyframes blink { 50% { opacity: 0; } }

.cyber-dropdown-options { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(5,5,5,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--accent-glow); border-top: none; list-style: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; z-index: 100; }
.cyber-dropdown-container.open .cyber-dropdown-options { max-height: 250px; border-bottom: 1px solid var(--accent-glow); }
.cyber-dropdown-options li { padding: 14px 16px; color: var(--text-secondary); cursor: pointer; transition: var(--transition); font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cyber-dropdown-options li:last-child { border-bottom: none; }
.cyber-dropdown-options li:hover { background: rgba(0,255,0,0.1); color: var(--text-primary); padding-left: 24px; }
.cyber-dropdown-options li:hover::before { content: '> '; color: var(--accent-glow); font-weight: bold; }

.btn-submit { background: var(--text-primary); color: var(--bg-void); border: 1px solid transparent; padding: 16px 32px; font-family: 'Syncopate', sans-serif; font-weight: 700; width: 100%; cursor: pointer; text-transform: uppercase; transition: var(--transition);}
.btn-submit:hover { background: transparent; color: var(--text-primary); border-color: var(--text-primary); }

.form-status { margin-top: 24px; padding: 16px; border: 1px solid transparent; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; display: none; text-align: center; }
.form-status.success { display: block; color: var(--accent-glow); border-color: rgba(0, 255, 0, 0.3); background: rgba(0, 255, 0, 0.05); }
.form-status.error { display: block; color: #ff5f56; border-color: rgba(255, 95, 86, 0.3); background: rgba(255, 95, 86, 0.05); }

/* ==========================================================================
   10. CYBER FOOTER
   ========================================================================== */
.cyber-footer { 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(40px, 8vw, 80px) 0 0 0; 
    background: var(--bg-surface); 
    position: relative; z-index: 1; 
}

.footer-grid-new { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }

.footer-col-new h4 { color: var(--text-primary); font-size: 1rem; margin-bottom: 24px; font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: normal; font-weight: 600;}
.footer-col-new p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
.footer-col-new ul { list-style: none; padding: 0; margin: 0; }
.footer-col-new ul li { margin-bottom: 12px; color: var(--text-secondary); font-size: 0.9rem;}
.footer-col-new ul li a { color: var(--text-secondary); transition: color 0.3s; }
.footer-col-new ul li a:hover { color: var(--accent-glow); }

.brand-col .logo { margin-bottom: 24px; }

.comm-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; max-width: 400px;}
.comm-action-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1);
    font-family: 'Syncopate', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-primary); transition: var(--transition); background: rgba(255,255,255,0.02);
}
.comm-action-btn svg { width: 22px; height: 22px; fill: currentColor; }
.comm-action-btn.wa:hover { background: #25d366; border-color: #25d366; color: #000; box-shadow: 0 0 20px rgba(37, 211, 102, 0.4); }
.comm-action-btn.em:hover { background: var(--accent-glow); border-color: var(--accent-glow); color: #000; box-shadow: 0 0 20px rgba(0, 255, 0, 0.4); }

.toggle-icon { display: none; font-size: 0.9rem; font-family: 'JetBrains Mono', monospace; font-weight: bold; color: var(--text-muted); }
.accordion-col.active .toggle-icon { color: var(--accent-glow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; font-family: 'JetBrains Mono', monospace; }

/* ==========================================================================
   11. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.wa-float {
    position: fixed; bottom: 40px; right: 40px; background-color: #25d366; color: #ffffff; border-radius: 50%; width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0px 10px 30px rgba(37, 211, 102, 0.4); z-index: 10000; transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.wa-float:hover { transform: scale(1.1) rotate(5deg); }
.wa-float svg { width: 35px; height: 35px; fill: currentColor; }

/* ==========================================================================
   12. CYBER HIGHLIGHTS (Surgical Neon)
   ========================================================================== */
.neon-highlight { color: var(--accent-glow); text-shadow: 0 0 12px rgba(0, 255, 0, 0.5); font-weight: 700; }

/* ==========================================================================
   13. MOBILE AUTONOMY (No-Hover Fallbacks)
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
    .reveal-up.is-visible .grid-cell:nth-child(1) { animation: autonomousHover 6s infinite 0s; }
    .reveal-up.is-visible .grid-cell:nth-child(2) { animation: autonomousHover 6s infinite 2s; }
    .reveal-up.is-visible .grid-cell:nth-child(3) { animation: autonomousHover 6s infinite 4s; }
    @keyframes autonomousHover { 0%, 100% { border-left: 2px solid transparent; background-color: var(--bg-surface); transform: translateY(0); } 10%, 40% { border-left: 2px solid var(--accent-glow); background-color: #050505; transform: translateY(-4px); } }

    .reveal-up.is-visible .grid-cell:nth-child(1)::before { animation: autonomousGlow 6s infinite 0s; }
    .reveal-up.is-visible .grid-cell:nth-child(2)::before { animation: autonomousGlow 6s infinite 2s; }
    .reveal-up.is-visible .grid-cell:nth-child(3)::before { animation: autonomousGlow 6s infinite 4s; }
    @keyframes autonomousGlow { 0%, 100% { opacity: 0; } 10%, 40% { opacity: 1; } }

    .metrics-section::after { opacity: 0.5; }
    .metric-card h3 { text-shadow: 0 0 15px rgba(0,255,0,0.4); }
    .wireframe-mockup { transform: rotateY(0deg) rotateX(0deg); }
    .contact-info h2::after { width: 100%; }
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS (Flawless Grid Snapping & Pad Stripping)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { text-align: center; align-items: center;}
    .hero-content h1 { text-align: center; margin: 0 auto 16px auto; }
    .hero-content p { text-align: center; margin: 0 auto 40px auto; }
    
    .hero-trust {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-left: 0;
        padding-top: 40px;
        align-items: center;
        width: 100%;
    }
    .hero-trust-logos { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 16px 24px; 
        width: 100%;
    }

    .case-study, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid-new { grid-template-columns: 1fr 1fr; gap: 40px;}
    .case-study-info { border-right: none; border-bottom: var(--border-harsh); }
    .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .wa-float svg { width: 28px; height: 28px; }
    .comm-action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo { position: relative; z-index: 100001; }
    .nav-toggle { display: block; position: relative; z-index: 100001; color: var(--text-primary); font-size: 2rem; cursor: pointer; background: none; border: none; }
    
    .nav-links { 
        display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
        position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; 
        background: var(--bg-void); 
        z-index: 100000; opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
        padding: 40px;
    }
    .nav-links.active { opacity: 1; pointer-events: auto; }

    .nav-links::before {
        content: 'SYSTEM_NAV // ONLINE';
        position: absolute;
        top: 120px;
        left: 40px;
        font-family: 'JetBrains Mono', monospace;
        color: var(--accent-glow);
        font-size: 0.7rem;
        letter-spacing: 4px;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.6s ease 0.3s;
    }
    .nav-links.active::before { opacity: 0.5; transform: translateY(0); }
    
    .nav-links a {
        font-family: 'Syncopate', sans-serif;
        font-size: clamp(2rem, 8vw, 3.5rem);
        font-weight: 800;
        color: rgba(255, 255, 255, 0.6); 
        margin-bottom: 24px;
        text-transform: uppercase;
        letter-spacing: -1px;
        position: relative;
        transform: translateX(-40px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease, color 0.3s;
        text-align: left;
        width: 100%;
        line-height: 1;
    }
    
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; transform: translateX(0); opacity: 1; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; transform: translateX(0); opacity: 1; }
    
    .nav-links a:active, .nav-links a:focus {
        color: var(--text-primary);
        outline: none;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        height: 2px;
        width: 0;
        background: var(--accent-glow);
        box-shadow: 0 0 10px var(--accent-glow);
        transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .nav-links a:active::after, .nav-links a:focus::after { width: 100%; }

    .nav-links .lets-talk-trigger {
        margin-top: 40px;
        width: 100%;
        max-width: 300px;
        padding: 24px;
        font-size: 1rem;
        transform: translateY(40px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.3s, opacity 0.5s ease 0.3s, background 0.3s, color 0.3s;
        border: 1px solid var(--accent-glow);
        color: var(--accent-glow);
        background: rgba(0, 255, 0, 0.05);
        text-align: center;
    }
    .nav-links.active .lets-talk-trigger {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-links .lets-talk-trigger:active {
        background: var(--accent-glow);
        color: var(--bg-void);
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    }
    
    .container { padding: 0 20px; }
    
    .hero { padding: 40px 16px 80px 16px; min-height: auto; justify-content: center; }
    
    /* LOGISTICS MOBILE OVERRIDE */
    .hero-trust-logos {
        gap: 10px 14px;
    }
    .hero-trust-logos span {
        font-size: 0.7rem;
        letter-spacing: 1px;
        text-align: center;
    }
    
    .hero-trust p { margin-bottom: 16px; }

    .grid-cell { padding: 40px 24px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
    .section-header { padding: 40px 20px; }
    .metric-card { padding: 40px 20px; }
    .case-study-info { padding: 40px 24px; }
    .case-study-visual { padding: 40px 16px; }
    .dna-section { padding: 60px 24px; }
    .contact-section { padding: 60px 24px; }
    .terminal-form { padding: 32px 20px; }
    .cyber-footer { padding-top: 60px; }

    .footer-grid-new { grid-template-columns: 1fr; gap: 0; }
    .brand-col { text-align: center; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .brand-col .logo { justify-content: center; }
    .comm-action-grid { grid-template-columns: 1fr; margin-left: auto; margin-right: auto; max-width: 100%;}
    
    .accordion-col { border-bottom: 1px solid rgba(255,255,255,0.05); }
    .accordion-col:last-child { border-bottom: none; }
    
    .accordion-header { display: flex !important; justify-content: space-between; align-items: center; cursor: pointer; padding: 24px 0; margin-bottom: 0; color: var(--text-primary); }
    .toggle-icon { display: block; }
    .accordion-content { display: none; padding-bottom: 24px; }
    .accordion-col.active .accordion-content { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .wireframe-floor, .noise-overlay { display: none; }
}

/* ==========================================================================
   15. LEGAL MODAL OVERRIDES
   ========================================================================== */
.legal-scroll-box { 
    max-height: 60vh; 
    overflow-y: auto; 
    text-align: left; 
    padding-right: 20px; 
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}
.legal-scroll-box h2 { 
    font-size: 1.1rem; 
    color: var(--accent-glow); 
    margin: 24px 0 12px 0; 
    font-family: 'JetBrains Mono', monospace;
}
.legal-scroll-box p { 
    color: var(--text-secondary); 
    font-size: 0.85rem; 
    line-height: 1.7; 
    margin-bottom: 16px; 
}
.legal-scroll-box strong { color: var(--text-primary); }

/* Custom Terminal Scrollbar */
.legal-scroll-box::-webkit-scrollbar { width: 4px; }
.legal-scroll-box::-webkit-scrollbar-track { background: rgba(0,0,0,0.5); }
.legal-scroll-box::-webkit-scrollbar-thumb { background: var(--accent-glow); border-radius: 4px; }

/* ==========================================================================
   16. LOGO OVERRIDES, 3D ROTATION & LIGHTNING STRIKE
   ========================================================================== */
@keyframes spinLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* PURE SVG LOGO ENGINE */
.nav-logo-svg { 
    width: 32px; height: 32px; fill: var(--accent-glow);
    filter: drop-shadow(0 0 8px var(--accent-glow)); 
    animation: spinLogo 15s linear infinite;
    transition: animation-duration 0.3s ease; 
}
.logo:hover .nav-logo-svg { animation-duration: 1.5s; }

.footer-logo-svg { 
    width: 40px; height: 40px; fill: var(--accent-glow);
    filter: drop-shadow(0 0 8px var(--accent-glow)); 
    animation: spinLogo 15s linear infinite;
}

/* High-Voltage Phone Number Animation */
.lightning-text {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 0; margin-bottom: 24px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.1rem;
    letter-spacing: 2px; text-decoration: none;
    animation: lightningStrike 2s infinite; transition: var(--transition);
}
.lightning-text svg { width: 24px; height: 24px; fill: currentColor; }

.lightning-text:hover { color: var(--accent-glow); text-shadow: 0 0 20px var(--accent-glow); animation: none; transform: translateX(5px); }

@keyframes lightningStrike {
    0%, 91%, 95%, 100% { color: var(--text-muted); text-shadow: none; }
    92%, 94% { color: var(--accent-glow); text-shadow: 0 0 25px var(--accent-glow), 0 0 50px var(--accent-glow); }
    93% { color: #ffffff; text-shadow: 0 0 40px #ffffff; }
}