/* styles.css */
:root {
    --bg-dark: #050814;
    --primary-cyan: #009FE3; /* Adjusted from #00f0ff to logo blue */
    --primary-magenta: #B68645; /* Adjusted from #ff0055 to logo brown/gold */
    --primary-green: #39ff14; /* Keeping green for valid states */
    --primary-yellow: #B68645; /* Aligning yellow to the logo brown */
    --glass-bg: rgba(16, 25, 43, 0.4);
    --glass-border: rgba(0, 159, 227, 0.15); /* Updated to logo blue */
    --text-main: #f0f4f8;
    --text-muted: #8a9bb2;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html {
    scroll-behavior: auto; /* Handled by JS for warp effect now */
    scroll-snap-type: y proximity;
}

body {
    margin: 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: #080c13;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 159, 227, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(182, 134, 69, 0.08) 0%, transparent 45%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 5% 40px;
    box-sizing: border-box;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
}

/* Warp Overlay CSS */
.warp-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #030508; z-index: 9999;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    overflow: hidden; perspective: 1000px;
}
.warp-overlay.active { opacity: 1; pointer-events: all; }

.warp-star {
    position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%;
    transform: translateZ(0); opacity: 0;
}
.warp-overlay.active .warp-star {
    animation: warp-dash 0.6s linear infinite;
    box-shadow: 0 0 10px var(--primary-cyan), 0 0 20px var(--primary-yellow);
}

@keyframes warp-dash {
    0% { transform: rotate(var(--angle)) translateY(0px) scaleY(1); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: rotate(var(--angle)) translateY(2000px) scaleY(40); opacity: 0; }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--primary-cyan);
    text-shadow: 0 0 15px rgba(0, 159, 227, 0.6);
}

.sub {
    font-size: 0.85rem;
    color: var(--primary-magenta);
    display: block;
    margin-top: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-symbol {
    height: 48px;
    width: auto;
    border-radius: 50%;
    margin-right: -5px; /* Pull text slightly closer to center symbol visually */
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-symbol {
    transform: rotate(30deg);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -2px;
    background: linear-gradient(90deg, #d3e1ea, #ffffff, #009fe3, #00d2ff, #f0c330, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shiny-text 6s ease-in-out infinite;
    text-transform: lowercase;
}

@keyframes shiny-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 159, 227, 0.15);
    border-color: rgba(0, 159, 227, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(0, 159, 227, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s, text-shadow 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active-nav {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 159, 227, 0.5);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    color: #fff;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 159, 227, 0.5);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* --- 1. Hero Section --- */
.hero-section {
    height: 100vh;
    padding-top: 100px; /* Account for navbar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 10;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.brain-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin-top: 2rem;
}

/* Master Brain */
.master-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.master-brain .brain-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    animation: brain-breathe 3s infinite ease-in-out;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px var(--primary-cyan)) drop-shadow(0 0 30px rgba(0, 159, 227, 0.4));
}

.master-brain .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    animation: ring-pulse 3s infinite ease-out;
}

@keyframes brain-breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px var(--primary-cyan)) drop-shadow(0 0 30px rgba(0, 159, 227, 0.4)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px var(--primary-cyan)) drop-shadow(0 0 50px rgba(0, 159, 227, 0.6)) brightness(1.2); }
}

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Satellite Brains */
.satellite {
    position: absolute;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 159, 227, 0.3);
    box-shadow: 0 0 20px rgba(0, 159, 227, 0.1);
    animation: sat-float 6s infinite ease-in-out;
    z-index: 4;
}

.sat-vision { top: 15%; left: 15%; animation-delay: 0s; }
.sat-nlp { top: 20%; right: 15%; animation-delay: 1.5s; }
.sat-rpa { bottom: 20%; left: 15%; animation-delay: 3s; }
.sat-data { bottom: 15%; right: 15%; animation-delay: 4.5s; }

@keyframes sat-float {
    0%, 100% { transform: translateY(0px); box-shadow: 0 0 20px rgba(0, 159, 227, 0.1); }
    50% { transform: translateY(-15px); box-shadow: 0 0 30px rgba(0, 159, 227, 0.3); border-color: var(--primary-cyan); }
}

/* Synapses & Packets */
.synapses {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 1;
}

.flow-line {
    fill: none;
    stroke: rgba(0, 159, 227, 0.25);
    stroke-width: 2;
    stroke-dasharray: 6, 6;
    animation: dash-flow 15s linear infinite;
}

@keyframes dash-flow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 1000; }
}

.packet {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan), 0 0 20px var(--primary-cyan);
    z-index: 2;
    opacity: 0;
}

/* Calculate rough paths for packets based on SVG paths */
.packet-1 { top: 300px; left: 300px; animation: shoot-out-left 2.5s infinite ease-out; }
.packet-2 { top: 300px; right: 300px; animation: shoot-out-right 2.8s infinite ease-out; animation-delay: 1s; }
.packet-3 { top: 300px; left: 300px; animation: shoot-out-top 2.2s infinite ease-out; animation-delay: 0.5s; }
.packet-4 { top: 300px; left: 300px; animation: shoot-out-bottom 3s infinite ease-out; animation-delay: 1.5s; }

@keyframes shoot-out-left {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(-180px, 0); opacity: 0; }
}
@keyframes shoot-out-right {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(180px, 0); opacity: 0; }
}
@keyframes shoot-out-top {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(0, -180px); opacity: 0; }
}
@keyframes shoot-out-bottom {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(0, 180px); opacity: 0; }
}


/* --- Sections layout --- */
/* Solutions and Tech sections just inherit from global section */
.solutions-section, .tech-section {
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.grid-container, .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 40px;
}

.tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
}

.solution-card, .tech-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 450px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: crosshair;
}

.solution-card:hover, .tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 159, 227, 0.15);
    border-color: rgba(0, 159, 227, 0.4);
}

.card-header {
    margin-bottom: 25px;
}

.card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.simulation-area, .tech-sim {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}


/* --- 2.1 Zieview (Smart Vision AI) --- */
.vision-simulator {
    width: 320px;
    height: 220px;
    background: #0a0a0a;
    position: relative;
    border: 2px solid #222;
    border-radius: 10px;
    overflow: hidden;
}

.mock-feed {
    width: 100%;
    height: 100%;
    position: relative;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 159, 227, 0.03) 2px, rgba(0, 159, 227, 0.03) 4px);
}

.scan-line {
    width: 100%;
    height: 2px;
    background: var(--primary-cyan);
    box-shadow: 0 0 15px var(--primary-cyan);
    position: absolute;
    top: -5px;
    left: 0;
    opacity: 0;
}

.interactive-card:hover .scan-line {
    animation: scanAnim 2.5s infinite linear;
}

@keyframes scanAnim {
    0% { top: 0; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.target-object {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 8px;
    /* Blur blob to represent ambiguous object */
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.bounding-box {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.interactive-card:hover .bounding-box {
    border-color: var(--primary-cyan); /* changed from magenta to cyan for box */
    box-shadow: 0 0 20px rgba(0, 159, 227, 0.4), inset 0 0 10px rgba(0, 159, 227, 0.2);
    animation: animate-ping 1.5s infinite;
}

.crosshair {
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--primary-cyan);
    border-style: solid;
    border-width: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.interactive-card:hover .crosshair { opacity: 1; }

.crosshair.top-left { top: -5px; left: -5px; border-top-width: 2px; border-left-width: 2px; }
.crosshair.top-right { top: -5px; right: -5px; border-top-width: 2px; border-right-width: 2px; }
.crosshair.bottom-left { bottom: -5px; left: -5px; border-bottom-width: 2px; border-left-width: 2px; }
.crosshair.bottom-right { bottom: -5px; right: -5px; border-bottom-width: 2px; border-right-width: 2px; }

@keyframes animate-ping {
    0%, 100% { opacity: 1; transform: scale(1); border-color: var(--primary-cyan); }
    50% { opacity: 0.6; transform: scale(1.05); border-color: #007bb5; }
}

/* Learning pipeline */
.learning-pipeline {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #333;
}

.data-node {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    white-space: nowrap;
}
.data-node.raw { background: #444; }
.data-node.trained { 
    background: var(--primary-green); 
    color: #000;
    box-shadow: 0 0 10px var(--primary-green); 
    opacity: 0.2; 
}

.flow-arrow {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #444, #444);
    position: relative;
    overflow: hidden;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
}

.interactive-card:hover .flow-arrow::after {
    animation: animate-data-flow 1.5s infinite linear;
}

.interactive-card:hover .data-node.trained {
    opacity: 1;
    transition: opacity 0.3s 1s; /* delay until data flows */
}

@keyframes animate-data-flow {
    0% { left: -50%; }
    100% { left: 100%; }
}


/* --- 2.2 Neuro-VPP (AI Grid & Energy) --- */
.vpp-simulator {
    width: 100%;
    height: 100%;
    display: flex;
}

.map-grid {
    flex: 2;
    position: relative;
    background: radial-gradient(circle at center, #112233 0%, #050a10 100%);
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(0, 159, 227, 0.05) 1px, transparent 1px), 
        linear-gradient(to bottom, rgba(0, 159, 227, 0.05) 1px, transparent 1px);
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-cyan);
    z-index: 2;
}

/* Node layout */
.n1 { top: 20%; left: 30%; }
.n2 { top: 60%; left: 20%; }
.n3 { top: 40%; left: 70%; }
.n4 { top: 75%; left: 60%; }

.edge {
    position: absolute;
    background: rgba(0, 159, 227, 0.2);
    z-index: 1;
    transform-origin: 0 50%;
}
/* Connect lines manually via CSS geometry */
.e1 { top: 20%; left: 30%; width: 45%; height: 1px; transform: rotate(26deg); } /* n1 to n3 */
.e2 { top: 60%; left: 20%; width: 55%; height: 1px; transform: rotate(-22deg); } /* n2 to n3 */
.e3 { top: 40%; left: 70%; width: 35%; height: 1px; transform: rotate(105deg); } /* n3 to n4 */

.energy-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-yellow);
    opacity: 0;
    z-index: 3;
}

.interactive-card:hover .energy-particle { opacity: 1; }
.interactive-card:hover .p1 { animation: objMove1 2s infinite linear; }
.interactive-card:hover .p2 { animation: objMove2 2.5s infinite linear; animation-delay: 0.5s; }
.interactive-card:hover .p3 { animation: objMove3 1.5s infinite linear; animation-delay: 1s; }

@keyframes objMove1 {
    0% { top: 20%; left: 30%; }
    100% { top: 40%; left: 70%; } /* n1 to n3 */
}
@keyframes objMove2 {
    0% { top: 60%; left: 20%; }
    100% { top: 40%; left: 70%; } /* n2 to n3 */
}
@keyframes objMove3 {
    0% { top: 40%; left: 70%; }
    100% { top: 75%; left: 60%; } /* n3 to n4 */
}

.hash-stream-container {
    flex: 1.2;
    background: rgba(0, 0, 0, 0.6);
    border-left: 1px solid var(--glass-border);
    padding: 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--primary-green);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hash-label {
    color: #fff;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    font-weight: bold;
}

.hash-text {
    margin-bottom: 8px;
    opacity: 0.2;
    transform: translateY(10px);
}

.interactive-card:hover .hash-text {
    animation: hash-fall 2.5s infinite ease-out;
}

.interactive-card:hover .delayed { animation-delay: 0.5s; }
.interactive-card:hover .delayed-2 { animation-delay: 1.0s; color: var(--primary-cyan); font-weight: bold; }
.interactive-card:hover .delayed-3 { animation-delay: 1.5s; }

@keyframes hash-fall {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}


/* --- 2.3 ZiewCore M-Pulse (D2C Commerce AI) --- */
.phone-frame {
    width: 200px;
    height: 400px;
    border: 12px solid #1a1a1a;
    border-radius: 30px;
    background: #000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 10px rgba(255,255,255,0.1);
}

.phone-frame::before { /* Notch simulation */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.ar-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111 0%, #2a1a2a 100%);
    position: relative;
}

/* --- Added Sections Styling --- */

/* About Section */
.about-section {
    /* Global section takes care of padding and flex wrap */
    position: relative;
    z-index: 10;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    text-align: center;
    border-top: 2px solid var(--primary-cyan);
}

.about-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 159, 227, 0.4);
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

.certification-badges {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align bottom */
    flex-wrap: wrap; /* allow wrapping on small screens */
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-10px) scale(1.05);
}

.badge:hover .badge-img {
    /* Replaced box-shadow with drop-shadow to outline transparent PNGs properly */
    filter: drop-shadow(0 15px 35px rgba(0, 159, 227, 0.6));
}

.badge-img {
    max-width: 200px; /* Much larger than before */
    max-height: 280px; 
    object-fit: contain;
    border-radius: 4px;
    transition: filter 0.3s ease;
}


.badge span {
    font-size: 0.75rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
}
.about-container h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

.about-container .desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-container .desc strong {
    color: var(--primary-cyan);
    font-weight: 700;
}

/* Section Titles & Differentiators */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-title .highlight-text {
    color: var(--primary-yellow);
    font-size: 0.95rem;
    margin-top: 15px;
    font-weight: 500;
}

.differentiator {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary-cyan);
    line-height: 1.5;
    background: rgba(0, 159, 227, 0.05);
    padding: 10px;
    border-radius: 8px;
    border-left: 2px solid var(--primary-cyan);
}

.tech-card .differentiator {
    margin-top: 20px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--primary-magenta);
}

.tech-card .differentiator strong {
    color: var(--primary-magenta);
}

/* Footer Section */
.footer {
    padding: 100px 5% 40px;
    border-radius: 0; /* Removing border radius because it spans full width now */
    margin-top: 0; /* Removing margin because it is a standalone page view */
    border-top: none;
    min-height: 100vh;
    display: flex; /* Hide by default; JS overrides this */
    flex-direction: column;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Changed from flex-start to center to align with map */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}

.footer-text-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.contact-form select option {
    background: #0d111a;
    color: #fff;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 8px rgba(0, 159, 227, 0.3);
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-symbol {
    height: 35px;
    width: auto;
    margin-right: -2px; /* Pull text slightly closer for optical centering */
    transition: transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo-symbol {
    transform: rotate(30deg);
}

.footer-logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #d3e1ea, #ffffff, #009fe3, #00d2ff, #f0c330, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shiny-text 6s ease-in-out infinite;
    text-transform: lowercase;
}

.submit-btn {
    padding: 12px;
    background: var(--primary-cyan);
    color: #0b101a;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 159, 227, 0.5);
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer .company-details h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 159, 227, 0.3);
}

.footer .company-details p, .footer .contact-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer .contact-details h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.footer .contact-details strong {
    color: var(--primary-cyan);
}

.copyright {
    text-align: center;
    color: #556677;
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Footer responsive logic unified in the main media query block at the end */

.face-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 140px;
    border: 2px dashed rgba(182, 134, 69, 0.3); /* changed to yellow/brown */
    border-radius: 50% 50% 40% 40%;
}

.ar-scan-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-magenta), transparent); /* magenta is yellow/brown */
    box-shadow: 0 0 10px var(--primary-magenta);
    position: absolute;
    top: 15%;
    opacity: 0;
}

.interactive-card:hover .ar-scan-line {
    animation: scanFace 2s ease-in-out forwards;
}

@keyframes scanFace {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

.ar-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-cyan), inset 0 0 4px #fff;
    opacity: 0;
}

.pt-1 { top: 42%; left: 35%; }  /* Eye L */
.pt-2 { top: 42%; left: 65%; }  /* Eye R */
.pt-3 { top: 68%; left: 50%; }  /* Mouth */

.interactive-card:hover .pt-1 { animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.5s; }
.interactive-card:hover .pt-2 { animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.8s; }
.interactive-card:hover .pt-3 { animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1.2s; }

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.bounce-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(182, 134, 69, 0.9); /* yellow/brown */
    backdrop-filter: blur(5px);
    border: 1px solid #B68645;
    color: white;
    width: 85%;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(182, 134, 69, 0.5);
    opacity: 0;
    z-index: 5;
}

.popup-title { font-weight: 800; font-size: 1rem; margin-bottom: 5px; }
.popup-desc { font-size: 0.8rem; margin-bottom: 8px; }
.countdown { 
    font-family: monospace; 
    font-size: 1.2rem; 
    font-weight: bold;
    background: rgba(0,0,0,0.3);
    padding: 4px;
    border-radius: 4px;
}

.interactive-card:hover .bounce-popup {
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2.2s;
}

@keyframes bounceIn {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    80% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}


/* --- 2.4 SIGMING (Smart Office AI) --- */
.office-simulator {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

.receipt-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.receipt-item {
    background: rgba(26, 35, 51, 0.8);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #444;
    transition: all 0.5s ease;
}

.r-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.status-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #444;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

/* Interactivity */
.interactive-card:hover .r-valid { 
    border-left-color: var(--primary-green); 
    background: rgba(26, 35, 51, 1);
}
.interactive-card:hover .r-valid .status-icon { 
    background: var(--primary-green); 
    box-shadow: 0 0 12px var(--primary-green); 
}

.interactive-card:hover .r-invalid { 
    border-left-color: var(--primary-magenta); 
    transition-delay: 0.8s;
}
.interactive-card:hover .r-invalid .status-icon { 
    background: var(--primary-magenta); 
    box-shadow: 0 0 12px var(--primary-magenta); 
    transition-delay: 0.8s;
}

.erp-form {
    height: 80px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.erp-label {
    color: var(--primary-cyan);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.typing-text-container {
    background: rgba(0,0,0,0.4);
    padding: 5px;
    border-radius: 4px;
    height: 30px;
    display: flex;
    align-items: center;
}

.typing-text {
    font-size: 0.85rem;
    color: var(--primary-green);
    border-right: 2px solid var(--primary-green);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
}

.interactive-card:hover .typing-text {
    animation: typing 1.5s steps(40, end) forwards 1.2s, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-green); }
}


/* --- 2.5 ZiewPrint (Smart Print Security AI) --- */
.print-simulator {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.universal-driver {
    background: rgba(0, 159, 227, 0.2);
    border: 1px solid var(--primary-cyan);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--primary-cyan);
    font-weight: bold;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 159, 227, 0.4);
    z-index: 2;
}

.driver-pulse {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    animation: pulse-blue 2s infinite;
}

.print-lines {
    width: 100%;
    height: 70px;
    position: absolute;
    top: 40px;
    z-index: 1;
}

.p-line {
    fill: none;
    stroke: var(--primary-cyan);
    stroke-width: 2;
    stroke-dasharray: 6;
    animation: pDashMove 1s linear infinite;
    opacity: 0;
}

.interactive-card:hover .p-line {
    opacity: 0.6;
}

@keyframes pDashMove {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

.print-floor {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: flex-end;
    margin-top: auto;
    padding-bottom: 5px;
}

.auth-tablet {
    width: 60px;
    height: 90px;
    background: #111;
    border: 2px solid #555;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 2;
}

.qr-code {
    width: 35px;
    height: 35px;
    background: repeating-linear-gradient(45deg, #fff, #fff 4px, #000 4px, #000 8px);
    border: 2px solid #fff;
    margin-bottom: 5px;
    border-radius: 2px;
}

.pin-text {
    font-size: 0.55rem;
    color: #ccc;
    text-align: center;
}

.smart-printer {
    position: relative;
    width: 110px;
    height: 90px;
    background: linear-gradient(to bottom, #333, #1a1a1a);
    border-radius: 8px 8px 0 0;
    border: 1px solid #444;
    display: flex;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    z-index: 2;
}

.paper-slot {
    width: 70px;
    height: 6px;
    background: #000;
    position: absolute;
    top: 15px;
    border-radius: 3px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,1);
}

.printed-paper {
    width: 60px;
    height: 0;
    background: #e0e0e0;
    position: absolute;
    top: 18px;
    transition: height 1.5s ease-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.interactive-card:hover .printed-paper {
    height: 75px;
    transition-delay: 1s;
}

.watermark {
    transform: rotate(-45deg);
    color: rgba(182, 134, 69, 0.6);
    font-weight: 800;
    font-size: 0.45rem;
    letter-spacing: 1px;
    white-space: nowrap;
    border: 1px dashed rgba(182, 134, 69, 0.4);
    padding: 2px 5px;
}

.job-stats {
    position: absolute;
    bottom: -15px;
    width: 100%;
    background: var(--primary-green);
    color: #000;
    font-size: 0.6rem;
    font-weight: bold;
    text-align: center;
    padding: 2px;
    border-radius: 3px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.interactive-card:hover .job-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.5s;
}

.ai-chat-bubble {
    position: absolute;
    top: -50px;
    right: -60px;
    background: rgba(182, 134, 69, 0.95);
    border: 1px solid var(--primary-yellow);
    color: #fff;
    padding: 8px 10px;
    border-radius: 12px 12px 12px 0;
    font-size: 0.6rem;
    width: 110px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(182, 134, 69, 0.4);
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom left;
    z-index: 10;
}

.interactive-card:hover .ai-chat-bubble {
    animation: popInChat 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.5s;
}

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

@keyframes popInChat {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}


/* --- 2.6 ZiewCore Observer (APM/NPM Monitoring) --- */
.observer-simulator {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    gap: 15px;
}

/* Dashboard Top Stats */
.dashboard-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.metric-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.metric-box.alert {
    border-color: rgba(255, 77, 136, 0.5); /* magenta border */
    background: rgba(255, 77, 136, 0.1);
}

.m-label {
    font-size: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.m-val {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-cyan);
}

.m-val.warning {
    color: var(--primary-magenta);
    animation: flash-warning 1s infinite alternate;
}

@keyframes flash-warning {
    from { color: #fff; text-shadow: 0 0 5px #ff4d88; }
    to { color: var(--primary-magenta); text-shadow: 0 0 15px #ff4d88; }
}

/* Network Topology Area */
.topology-area {
    position: relative;
    height: 120px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px dashed rgba(255,255,255,0.1);
    perspective: 800px;
}

.server-node {
    position: absolute;
    width: 35px;
    height: 35px;
    background: var(--glass-bg);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 159, 227, 0.3);
    color: #fff;
    z-index: 2;
    transform: rotateX(20deg);
}

.server-node.db { top: 30px; left: 180px; border-color: var(--primary-magenta); }
.server-node.app { top: 80px; left: 180px; }
.server-node.web { top: 80px; left: 80px; }
.server-node.edge { top: 80px; left: 280px; }

.topo-links {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.t-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.interactive-card:hover .t-line {
    stroke: rgba(0, 159, 227, 0.4);
}

.err-line {
    stroke: rgba(255, 77, 136, 0.2);
}

.interactive-card:hover .err-line {
    stroke: rgba(255, 77, 136, 0.8);
    stroke-dasharray: 4;
    animation: dash-err 0.5s linear infinite;
}

@keyframes dash-err {
    to { stroke-dashoffset: -8; }
}

.packet {
    fill: var(--primary-cyan);
    filter: drop-shadow(0 0 4px var(--primary-cyan));
    opacity: 0;
}

.interactive-card:hover .p-req {
    animation: packet-move 1.5s linear infinite;
}

.interactive-card:hover .p-res {
    animation: packet-move-rev 1.5s linear infinite 0.5s;
}

.p-err {
    fill: var(--primary-magenta);
    filter: drop-shadow(0 0 6px var(--primary-magenta));
}

.interactive-card:hover .p-err {
    animation: drop-err 2s ease-in infinite;
}

@keyframes packet-move {
    0% { cx: 100; cy: 100; opacity: 1; }
    50% { cx: 200; cy: 100; opacity: 1; }
    51% { opacity: 0; }
    100% { opacity: 0; cx: 200; cy: 100; }
}

@keyframes packet-move-rev {
    0% { cx: 300; cy: 100; opacity: 1; }
    50% { cx: 200; cy: 100; opacity: 1; }
    51% { opacity: 0; }
    100% { opacity: 0; cx: 200; cy: 100; }
}

@keyframes drop-err {
    0% { cy: 100; opacity: 1; transform: scale(1); }
    20% { cy: 60; opacity: 1; transform: scale(1.5); fill: #fff; }
    40% { cy: 30; opacity: 0.8; transform: scale(1); fill: var(--primary-magenta); }
    100% { cy: 30; opacity: 0; }
}

/* Real-time Line Graph */
.graph-area {
    position: relative;
    height: 70px;
    width: 100%;
    background: #0b101a;
    border-radius: 6px;
    overflow: hidden;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    border-left: 2px solid rgba(255,255,255,0.1);
}

.graph-bg {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 50%;
    background: repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 11px);
}

.graph-line-draw {
    position: absolute;
    bottom: 10px;
    left: -100%;
    width: 200%;
    height: 40px;
    /* Create a zig-zag graph look using multiple linear gradients */
    background: 
        linear-gradient(45deg, transparent 40%, var(--primary-cyan) 45%, var(--primary-cyan) 55%, transparent 60%) 0 0 / 20px 20px,
        linear-gradient(-45deg, transparent 40%, var(--primary-cyan) 45%, var(--primary-cyan) 55%, transparent 60%) 10px 0 / 20px 20px;
    background-repeat: repeat-x;
    opacity: 0.8;
}

.interactive-card:hover .graph-line-draw {
    animation: scroll-graph 3s linear infinite;
}

@keyframes scroll-graph {
    from { transform: translateX(0); }
    to { transform: translateX(50%); } /* Scrolls half of the 200% width */
}

.anomaly-marker {
    position: absolute;
    top: 5px; right: 10px;
    background: var(--primary-magenta);
    color: #fff;
    font-size: 0.5rem;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-10px);
}

.interactive-card:hover .anomaly-marker {
    animation: alert-drop 4s infinite 1s;
}

@keyframes alert-drop {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); box-shadow: 0 0 10px var(--primary-magenta); }
    40% { opacity: 1; transform: translateY(0); box-shadow: none; }
    50% { opacity: 0; transform: translateY(0); }
    100% { opacity: 0; }
}


/* --- 3.1 Core Tech: Active Learning --- */
.scanner-area {
    width: 100%;
    height: 280px;
    position: relative;
    background: linear-gradient(to bottom, #0a0e17, #152033);
    border-radius: 10px;
    overflow: hidden;
}

.sweep-line {
    position: absolute;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 159, 227, 0.2), rgba(0, 159, 227, 0.8));
    border-right: 2px solid var(--primary-cyan);
    box-shadow: 5px 0 20px rgba(0, 159, 227, 0.4);
    left: -40px;
}

.interactive-card:hover .sweep-line {
    animation: sweepOver 3s linear infinite;
}

@keyframes sweepOver {
    0% { left: -40px; }
    100% { left: 100%; }
}

.data-sea {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
    transition: all 0.2s;
}

.d1 { top: 20%; left: 15%; }
.d2 { top: 70%; left: 30%; }
.d3 { top: 30%; left: 60%; }
.d4 { top: 80%; left: 75%; }
.d5 { top: 50%; left: 85%; }

.target-1 { top: 45%; left: 25%; background: var(--primary-yellow); opacity: 0.3; }
.target-2 { top: 25%; left: 50%; background: var(--primary-yellow); opacity: 0.3; }
.target-3 { top: 65%; left: 70%; background: var(--primary-yellow); opacity: 0.3; }

/* The targeting blinks only when the sweep line passes over them */
/* Sweep takes 3s. Target 1 is at 25% (0.75s). Target 2 is at 50% (1.5s). Target 3 is at 70% (2.1s). */
.interactive-card:hover .target-1 { animation: active-blink 3s infinite; animation-delay: 0.75s; }
.interactive-card:hover .target-2 { animation: active-blink 3s infinite; animation-delay: 1.5s; }
.interactive-card:hover .target-3 { animation: active-blink 3s infinite; animation-delay: 2.1s; }

@keyframes active-blink {
    0% { opacity: 0.3; transform: scale(1); box-shadow: none; }
    2% { opacity: 1; transform: scale(1.8); box-shadow: 0 0 15px var(--primary-yellow), 0 0 30px var(--primary-yellow); background: #fff; }
    15% { opacity: 0.3; transform: scale(1); box-shadow: none; background: var(--primary-yellow); }
    100% { opacity: 0.3; }
}


/* --- 3.1 Core Tech: Automated Validation --- */
.qa-simulator {
    width: 90%;
    height: 240px;
    background: #0d111a;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.05);
}

.qa-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 6px;
    border-left: 2px solid #333;
}

.qa-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.qa-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    box-shadow: none;
}

.interactive-card:hover .qa-step:nth-child(1) .qa-status {
    animation: status-pass 0.1s forwards;
    animation-delay: 0.5s;
}
.interactive-card:hover .qa-step:nth-child(2) .qa-status {
    animation: status-pass 0.1s forwards;
    animation-delay: 1.2s;
}
.interactive-card:hover .qa-step:nth-child(3) .qa-status {
    animation: status-pass 0.1s forwards;
    animation-delay: 1.9s;
}
.interactive-card:hover .qa-step:nth-child(4) .qa-status {
    animation: status-deploy 0.1s forwards;
    animation-delay: 2.8s;
}

@keyframes status-pass {
    100% { background: var(--primary-cyan); box-shadow: 0 0 10px var(--primary-cyan); }
}

@keyframes status-deploy {
    100% { background: var(--primary-green); box-shadow: 0 0 15px var(--primary-green); }
}

.interactive-card:hover .qa-step:nth-child(1) { animation: step-glow 0.5s forwards 0.5s; }
.interactive-card:hover .qa-step:nth-child(2) { animation: step-glow 0.5s forwards 1.2s; }
.interactive-card:hover .qa-step:nth-child(3) { animation: step-glow 0.5s forwards 1.9s; }
.interactive-card:hover .qa-step:nth-child(4) { animation: step-deploy-glow 0.5s forwards 2.8s; }

@keyframes step-glow {
    0% { border-left-color: #333; background: rgba(0,0,0,0.4); }
    10% { border-left-color: var(--primary-cyan); background: rgba(0, 159, 227, 0.1); }
    100% { border-left-color: var(--primary-cyan); background: rgba(0,0,0,0.4); color: white;}
}

@keyframes step-deploy-glow {
    0% { border-left-color: #333; background: rgba(0,0,0,0.4); }
    10% { border-left-color: var(--primary-green); background: rgba(31, 138, 0, 0.2); }
    100% { border-left-color: var(--primary-green); background: rgba(0,0,0,0.4); color: white;}
}

.qa-progress-bar {
    width: 100%;
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.qa-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
}

.interactive-card:hover .qa-progress-fill {
    animation: fill-progress 3s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fill-progress {
    0% { width: 0%; }
    20% { width: 25%; }
    50% { width: 50%; }
    80% { width: 75%; }
    100% { width: 100%; }
}

/* --- 3.2 Core Tech: Hot Swap --- */
.hotswap-card {
    /* override standard height for layout */
}

.hotswap-area {
    width: 100%;
    height: 280px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0d111a;
    border-radius: 10px;
    overflow: hidden;
}

.server-rack {
    position: absolute;
    bottom: 20px;
    width: 90%;
    height: 120px;
    border: 2px solid #333;
    background: #111;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 10px;
}

.rack-slot {
    width: 100%;
    height: 80px;
    border: 2px dashed #555;
    border-radius: 6px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    background: rgba(0,0,0,0.5);
}

.slot-label {
    color: #666;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.model {
    width: 80%;
    height: 70px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    font-size: 1.1rem;
}

.old-model {
    background: linear-gradient(90deg, #aa0033, var(--primary-magenta));
    border: 1px solid #ff4d88;
    color: white;
    /* initial position inside slot */
    bottom: 35px;
    z-index: 5;
}

.new-model {
    background: linear-gradient(90deg, #1f8a00, var(--primary-green));
    border: 1px solid #7fff55;
    color: #000;
    /* intial position above outside */
    top: -100px;
    opacity: 0;
    z-index: 6;
}

.interactive-card:hover .old-model {
    animation: swap-old-final 4s forwards cubic-bezier(0.5, 0, 0.2, 1);
}

.interactive-card:hover .new-model {
    animation: swap-new-final 4s forwards cubic-bezier(0.5, 0, 0.2, 1);
}

@keyframes swap-old-final {
    0% { bottom: 35px; opacity: 1; transform: scale(1); }
    15% { bottom: 35px; opacity: 1; transform: scale(0.95); } /* prepare */
    30% { bottom: -100px; opacity: 0; transform: scale(0.9); } /* drop out */
    100% { bottom: -100px; opacity: 0; display: none; }
}

@keyframes swap-new-final {
    0% { top: -100px; opacity: 0; transform: scale(0.9); }
    20% { top: 20px; opacity: 0.8; transform: scale(0.95); } /* slide in */
    35% { top: auto; bottom: 35px; opacity: 1; transform: scale(1); box-shadow: 0 0 30px rgba(57, 255, 20, 0.6); } /* snap */
}

/* --- 3.4 Core Tech: Ultra-Lightweight AI --- */
.lightweight-area {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background: radial-gradient(circle at center, #0a101a 0%, #050810 100%);
    border-radius: 10px;
}

.heavy-model {
    width: 120px;
    height: 120px;
    background: #2a2a2a;
    border: 3px solid #555;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.light-model {
    width: 90px;
    height: 90px;
    background: rgba(0, 159, 227, 0.1);
    border: 2px solid var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 159, 227, 0.3), inset 0 0 15px rgba(0, 159, 227, 0.2);
    position: relative;
    padding: 10px;
}

.light-model span {
    font-size: 0.7rem;
    text-align: center;
    font-weight: bold;
    color: var(--primary-cyan);
    line-height: 1.1;
}

.model-size {
    font-family: monospace;
    margin-top: 5px;
    font-size: 0.9rem;
}

.model-size.optimized {
    color: var(--primary-green);
    font-size: 0.8rem;
    font-weight: bold;
}

.compress-flow {
    display: flex;
    gap: 8px;
}

.c-arrow {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #444;
    transition: all 0.3s ease;
}

.interactive-card:hover .c-arrow {
    border-left-color: var(--primary-cyan);
    filter: drop-shadow(0 0 5px var(--primary-cyan));
    animation: compressFlowAnim 1.5s infinite;
}

.interactive-card:hover .c-arrow:nth-child(2) { animation-delay: 0.3s; }
.interactive-card:hover .c-arrow:nth-child(3) { animation-delay: 0.6s; }

.interactive-card:hover .heavy-model {
    animation: heavyShake 3s infinite;
}

.pulse-ring-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    opacity: 0;
}

.interactive-card:hover .pulse-ring-small {
    animation: smallPulse 2s infinite ease-out;
}

@keyframes compressFlowAnim {
    0% { transform: translateX(-5px); opacity: 0.2; }
    50% { opacity: 1; transform: translateX(0px); }
    100% { transform: translateX(5px); opacity: 0.2; }
}

@keyframes heavyShake {
    0% { transform: translateX(0); }
    5% { transform: translateX(-2px) rotate(-1deg); }
    10% { transform: translateX(2px) rotate(1deg); }
    15% { transform: translateX(-2px) rotate(-1deg); }
    20% { transform: translateX(2px) rotate(1deg); }
    25% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

@keyframes smallPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}


/* --- Comprehensive Responsive Adjustments --- */
@media (max-width: 900px) {
    /* Tablet optimizations */
    .hero-content h1 { font-size: 3.5rem; }
    .brain-container { transform: scale(0.75); margin-top: -30px; }
    .navbar { width: 95%; padding: 15px; }
    .nav-links { gap: 20px; }
    .about-container { padding: 40px; }
}

@media (max-width: 768px) {
    /* Large Mobile optimizations */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.05rem; padding: 0 10px; }
    .brain-container { transform: scale(0.6); margin-top: -60px; }
    
    .navbar { flex-direction: column; gap: 12px; padding: 15px; border-radius: 12px; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; }
    
    .footer-content { flex-direction: column; text-align: center; gap: 30px; }
    .about-section { padding: 60px 5%; }
    .section-title { margin-bottom: 40px; }
    
    .solution-card, .tech-card { padding: 25px; height: auto; min-height: 480px; }
    .vpp-simulator { flex-direction: column; }
    .map-grid { min-height: 220px; }
    .hash-stream-container { min-height: 120px; }
}

@media (max-width: 480px) {
    /* Small Mobile optimizations */
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 0.95rem; }
    .brain-container { transform: scale(0.45); margin-top: -120px; }
    .hero-section { padding-top: 18vh; min-height: 85vh; }
    
    .about-container h2 { font-size: 1.6rem; }
    .about-container h3 { font-size: 1.2rem; }
    .about-container .desc { font-size: 0.95rem; line-height: 1.6; }
    
    h2 { font-size: 2rem; margin-bottom: 30px; }
    .card-header h3 { font-size: 1.4rem; }
    .differentiator { font-size: 0.85rem; padding: 8px; }
    
    .vision-simulator { transform: scale(0.85); transform-origin: top center; margin: 0 auto; }
    .office-simulator { padding: 10px; }
    .receipt-item { padding: 10px; }
    .r-text { font-size: 0.75rem; }
    
    .scanner-area, .hotswap-area { height: 220px; }
    .old-model, .new-model { font-size: 0.9rem; height: 60px; }
    
    .bounce-popup { width: 95%; padding: 12px; }
    .bounce-popup .popup-title { font-size: 0.9rem; }
    .countdown { font-size: 1rem; }
}
