/* ==========================================================================
   AdPaholic iTech — Design System v3 "Signal"
   Premium / futuristic AI-technology interface layer.
   ========================================================================== */

:root {
    --bg-void: #05060a;
    --bg-void-2: #0a0c16;
    --bg-panel: rgba(255, 255, 255, 0.035);
    --bg-panel-strong: rgba(255, 255, 255, 0.075);
    --border-soft: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.2);
    --text-primary: #f2f3f7;
    --text-secondary: #9295a6;
    --text-tertiary: #5b5e6d;
    --accent-cyan: #4fd8e8;
    --accent-cyan-dim: rgba(79, 216, 232, 0.35);
    --accent-violet: #8b7bff;
    --accent-violet-dim: rgba(139, 123, 255, 0.35);
    --accent-amber: #ffb454;
    --accent-emerald: #48e6a8;
    --nav-bg: rgba(7, 8, 13, 0.62);
    --font-display: "Space Grotesk", "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.5, 0, 0, 1);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --scroll: 0;
}

/* Backward-compat aliases (legacy variable names still referenced by inline styles) */
:root {
    --bg-dark: var(--bg-void);
    --card-bg: var(--bg-panel);
    --card-hover: var(--bg-panel-strong);
    --border-subtle: var(--border-soft);
    --text-light: var(--text-primary);
    --text-muted: var(--text-secondary);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-body); }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-void);
    background-image: radial-gradient(ellipse 90% 60% at 50% -10%, #0d1220 0%, var(--bg-void) 55%);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    opacity: 0;
    animation: pageFadeIn 1s var(--ease-premium) forwards;
    position: relative;
}
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3, h4, h5, h6, .logo, .bento-card h3, .feature-node h3, .demo-card h4, .contact-form-card h3, .legal-header h1, .massive-quote h2, .cta-text h2, .process-step h4, .footer-brand-name { font-family: var(--font-display); }

::selection { background: rgba(79, 216, 232, 0.28); color: #fff; }

/* --- Schematic grid backdrop (subtle blueprint texture, whole site) --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 40% at 15% 0%, rgba(79, 216, 232, 0.06), transparent 60%),
                radial-gradient(ellipse 60% 40% at 85% 8%, rgba(139, 123, 255, 0.06), transparent 60%);
}

/* --- Film-grain / noise texture for premium finish --- */
.noise-layer {
    position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

/* --- Enhanced Cursor (aura, NOT a replacement for the native pointer) --- */
/* The OS pointer is always visible; these elements are a decorative glow only. */
.cursor-dot {
    width: 6px; height: 6px; background-color: var(--accent-cyan); border-radius: 50%;
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 40;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 2px rgba(79, 216, 232, 0.8);
    opacity: 0.9;
}
.cursor-outline {
    width: 340px; height: 340px; border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 39; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(79, 216, 232, 0.10) 0%, rgba(139, 123, 255, 0.05) 45%, transparent 72%);
    mix-blend-mode: screen;
    filter: blur(2px);
    transition: opacity 0.3s ease;
}
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* --- Interactive Canvas Background (neural network field) --- */
#lusionCanvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0.85; }
header, main, footer { position: relative; z-index: 10; }

/* --- Scroll Progress Bar --- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet)); z-index: 10000; box-shadow: 0 0 10px rgba(79, 216, 232, 0.7); transition: width 0.1s ease-out; }

/* --- Navigation: floating capsule --- */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding-top: 18px; pointer-events: none; transition: padding 0.4s var(--ease-premium); }
header.scrolled { padding-top: 10px; }
.nav-container {
    pointer-events: auto;
    max-width: 1180px; margin: 0 auto; padding: 0.65rem 0.65rem 0.65rem 1.75rem;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--border-soft); border-radius: 999px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.45);
    transition: all 0.4s var(--ease-premium);
}
header.scrolled .nav-container { padding: 0.5rem 0.5rem 0.5rem 1.5rem; box-shadow: 0 15px 45px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,216,232,0.08); }
.logo { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); text-decoration: none; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; transition: transform 0.3s var(--ease-premium); }
.logo img { height: 24px; width: auto; filter: drop-shadow(0 0 6px rgba(79,216,232,0.4)); }
.logo span { color: var(--accent-cyan); font-weight: 700; text-shadow: 0 0 10px rgba(79, 216, 232, 0.5); animation: logoPulse 3.5s ease-in-out infinite; }
@keyframes logoPulse { 0%, 100% { text-shadow: 0 0 10px rgba(79, 216, 232, 0.5); } 50% { text-shadow: 0 0 20px rgba(79, 216, 232, 0.9), 0 0 34px rgba(139, 123, 255, 0.5); } }
.logo:hover { transform: scale(1.03); }
.nav-links { position: relative; display: flex; gap: 0.35rem; list-style: none; align-items: center; }
.nav-indicator { position: absolute; top: 0; height: 100%; left: 0; width: 0; border-radius: 999px; background: linear-gradient(135deg, rgba(79,216,232,0.16), rgba(139,123,255,0.16)); border: 1px solid rgba(79,216,232,0.3); transition: transform 0.5s var(--ease-premium), width 0.5s var(--ease-premium), opacity 0.3s ease; z-index: 0; opacity: 0; pointer-events: none; }
.nav-links a { position: relative; z-index: 1; color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 0.55rem 1rem; display: inline-block; border-radius: 999px; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active-link { color: var(--text-primary); }
.nav-cta { margin-left: 0.5rem; background: var(--text-primary); color: var(--bg-void) !important; font-weight: 600 !important; padding: 0.6rem 1.25rem !important; display: inline-flex; align-items: center; gap: 0.4rem; transition: box-shadow 0.3s var(--ease-premium), transform 0.3s var(--ease-premium); }
.nav-cta:hover { box-shadow: 0 8px 22px rgba(79, 216, 232, 0.35); transform: translateY(-1px); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; z-index: 101; pointer-events: auto; padding: 8px; }
.menu-toggle .bar { width: 22px; height: 2px; background-color: var(--text-primary); border-radius: 3px; transition: all 0.3s ease-in-out; }

/* --- Back To Top --- */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); backdrop-filter: blur(14px); color: var(--text-primary); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; z-index: 500; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.4s var(--ease-premium); cursor: pointer; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-cyan); color: var(--bg-void); border-color: var(--accent-cyan); box-shadow: 0 0 24px rgba(79, 216, 232, 0.55); }

/* --- Ambient depth blobs (parallax) --- */
.depth-field { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.depth-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.depth-blob.b1 { width: 520px; height: 520px; top: -12%; left: 6%; background: radial-gradient(circle, rgba(79, 216, 232, 0.32), transparent 70%); }
.depth-blob.b2 { width: 480px; height: 480px; top: 8%; right: 2%; background: radial-gradient(circle, rgba(139, 123, 255, 0.28), transparent 70%); }
.depth-blob.b3 { width: 380px; height: 380px; bottom: -10%; left: 30%; background: radial-gradient(circle, rgba(255, 180, 84, 0.14), transparent 70%); }
.depth-blob.b4 { width: 300px; height: 300px; bottom: 6%; right: 18%; background: radial-gradient(circle, rgba(72, 230, 168, 0.16), transparent 70%); }

/* --- Buttons (unified system) --- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-body); font-size: 1rem; font-weight: 600; padding: 0.95rem 2rem; border-radius: 999px; text-decoration: none; border: none; cursor: pointer; transition: transform 0.25s var(--ease-premium), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease; will-change: transform; }
.btn-primary { background: linear-gradient(135deg, #fdfdfe, #d9dbe4); color: var(--bg-void); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(79, 216, 232, 0.3); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent-cyan); background: rgba(79,216,232,0.08); }
.btn-arrow { transition: transform 0.3s var(--ease-premium); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --- Hero Section --- */
.hero { position: relative; padding: 11.5rem 2rem 5rem; max-width: 1400px; margin: 0 auto; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-cyan); background: rgba(79, 216, 232, 0.08); border: 1px solid rgba(79, 216, 232, 0.25); padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.75rem; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 8px 2px rgba(79,216,232,0.8); animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
.hero h1 { font-size: clamp(2.75rem, 6.5vw, 6.2rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; margin-bottom: 1.5rem; }
.hero h1, .hero h1 .line span {
    background: linear-gradient(to right, #ffffff, #86868b, #ffffff);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite;
}
@keyframes textShine { to { background-position: 200% center; } }
.hero h1 > span:not(.line) { background: none; -webkit-text-fill-color: var(--text-secondary); color: var(--text-secondary); animation: none; } /* legacy inline accent span (sub-pages) */
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; }
.hero h1 .line .muted-line { background: none; -webkit-text-fill-color: var(--text-secondary); color: var(--text-secondary); animation: none; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 760px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; }

.hero-slider-wrapper { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; position: relative; }
.hero-slider { width: 100%; max-width: 1000px; aspect-ratio: 900 / 222; margin: 0 auto; position: relative; border-radius: var(--radius-lg); overflow: hidden; background-color: #000; transform: translateY(0); animation: floatSlider 7s ease-in-out infinite; }
.hero-slider::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(79,216,232,0.5), rgba(255,255,255,0.05) 30%, rgba(139,123,255,0.5) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 3; pointer-events: none; }
.hero-slider::after { content: ''; position: absolute; inset: 0; box-shadow: 0 30px 60px rgba(0,0,0,0.85), 0 0 60px rgba(79,216,232,0.08); border-radius: inherit; pointer-events: none; z-index: 2; }
@keyframes floatSlider { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.hero-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease-soft), transform 1.4s var(--ease-soft); transform: scale(1.06); }
.hero-slider img.active { opacity: 1; transform: scale(1); }
.hero-slider > svg.hero-diagram { width: 100%; height: 100%; display: block; }

/* --- Hero split layout (all hero-bearing pages) --- */
.hero--split { text-align: left; padding-top: 10.5rem; }
.hero--split h1 { font-size: clamp(2.3rem, 4.4vw, 4.6rem); line-height: 1.08; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4vw; } }
.hero--split .hero h1, .hero--split h1 { text-align: left; }
.hero--split p { margin: 0 0 2.25rem; text-align: left; }
.hero--split .hero-actions { justify-content: flex-start; }
.hero--split .hero-eyebrow { margin-bottom: 1.5rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.hero-chip { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); background: var(--bg-panel); border: 1px solid var(--border-soft); padding: 0.5rem 0.9rem; border-radius: 999px; }
.hero-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 6px 1px rgba(79,216,232,0.7); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 2.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border-soft); }
.hero-meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.meta-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.meta-label { font-size: 0.82rem; color: var(--text-tertiary); font-family: var(--font-mono); letter-spacing: 0.02em; }

.hero-visual { position: relative; }
.hero-visual .hero-slider-wrapper { padding: 0; max-width: 100%; }
.hero-visual .hero-slider { max-width: 100%; animation: none; }
.hero-orbit { position: absolute; inset: -12% -12% auto auto; width: 46%; aspect-ratio: 1; pointer-events: none; opacity: 0.9; z-index: 4; top: -14%; right: -8%; }
.hero-orbit svg { width: 100%; height: 100%; overflow: visible; }
.hero-orbit .orbit-ring { fill: none; stroke: rgba(255,255,255,0.12); stroke-dasharray: 2 8; }
.hero-orbit .orbit-ring.ring-accent { stroke: rgba(79,216,232,0.35); stroke-dasharray: none; }
.hero-orbit .orbit-group { transform-origin: 50% 50%; animation: orbitSpin 26s linear infinite; }
.hero-orbit .orbit-group.reverse { animation-direction: reverse; animation-duration: 34s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.hero-orbit .orbit-node { fill: var(--accent-cyan); filter: drop-shadow(0 0 6px rgba(79,216,232,0.9)); }
.hero-orbit .orbit-node.violet { fill: var(--accent-violet); filter: drop-shadow(0 0 6px rgba(139,123,255,0.9)); }

.hud-chip { position: absolute; display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-secondary); background: rgba(8,10,16,0.72); backdrop-filter: blur(14px); border: 1px solid var(--border-soft); padding: 0.65rem 1rem; border-radius: 999px; z-index: 5; box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.hud-chip strong { color: var(--text-primary); font-weight: 600; }
.hud-chip .chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); box-shadow: 0 0 8px 2px rgba(72,230,168,0.8); animation: dotPulse 1.8s ease-in-out infinite; }
.hud-chip--top { top: -1.25rem; left: 1.5rem; }
.hud-chip--bottom { bottom: -1.25rem; right: 1.5rem; }

/* --- Capability Strip (icon tiles) --- */
.capability-strip { max-width: 1400px; margin: 1rem auto 5rem; padding: 0 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .capability-strip { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .capability-strip { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } }
.capability-tile { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem 1.4rem; border-radius: var(--radius-md); background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel)); border: 1px solid var(--border-soft); text-decoration: none; color: var(--text-primary); transition: transform 0.4s var(--ease-premium), border-color 0.4s ease, box-shadow 0.4s ease; transform-style: preserve-3d; will-change: transform; position: relative; overflow: hidden; }
.capability-tile:hover { border-color: rgba(79,216,232,0.32); box-shadow: 0 18px 38px rgba(0,0,0,0.5), 0 0 24px rgba(79,216,232,0.12); }
.tile-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(79, 216, 232, 0.1); border: 1px solid rgba(79, 216, 232, 0.22); color: var(--accent-cyan); }
.tile-icon svg { width: 22px; height: 22px; }
.capability-tile h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.capability-tile p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }
.capability-tile .tile-arrow { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--text-tertiary); font-size: 0.85rem; transition: transform 0.3s var(--ease-premium), color 0.3s; }
.capability-tile:hover .tile-arrow { transform: translate(3px, -3px); color: var(--accent-cyan); }

/* --- Capability Marquee --- */
.marquee { position: relative; width: 100%; overflow: hidden; padding: 2.25rem 0; margin: 1rem 0 2rem; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marqueeScroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.95rem; color: var(--text-tertiary); white-space: nowrap; letter-spacing: 0.02em; }
.marquee-item::before { content: '◆'; color: var(--accent-cyan); font-size: 0.6rem; opacity: 0.8; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Section Scaffolding --- */
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 4rem; position: relative; scroll-margin-top: 120px; }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 1rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); margin-bottom: 0.75rem; }
.section-heading p { color: var(--text-secondary); font-size: 1.05rem; }

/* --- Flagship / Bento Panels --- */
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1400px; margin: 7rem auto; padding: 0 2rem; perspective: 1600px; scroll-margin-top: 110px; }
.bento-card {
    background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel));
    border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 3rem;
    display: flex; flex-direction: column; overflow: hidden; position: relative;
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
    transform-style: preserve-3d; will-change: transform;
}
.bento-card:hover { border-color: rgba(79, 216, 232, 0.3); box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 34px rgba(79, 216, 232, 0.14); }
.bento-card .panel-index { position: absolute; top: 1.75rem; right: 2rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tertiary); letter-spacing: 0.08em; z-index: 2; }
.bento-card .hud-corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--accent-cyan); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.bento-card .hud-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.bento-card .hud-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.bento-card:hover .hud-corner { opacity: 0.55; }
.bento-card h4 { color: var(--accent-cyan); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-family: var(--font-mono); font-weight: 500; }
.bento-card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; }
.bento-card p { font-size: 1.08rem; color: var(--text-secondary); margin-bottom: 2rem; }
.bento-card ul { list-style: none; margin-bottom: 3rem; }
.bento-card li { font-size: 1.03rem; color: var(--text-secondary); margin-bottom: 0.85rem; padding-left: 1.6rem; position: relative; }
.bento-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent-cyan); font-weight: bold; }
.bento-image-container { margin-top: auto; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-soft); background: #000; position: relative; }
.bento-image-container::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35)); pointer-events: none; }
.bento-image-container img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.6s var(--ease-premium); }
.bento-card:hover .bento-image-container img { transform: scale(1.035); }
.bento-image-container svg.diagram-svg { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease-premium); }
.bento-card:hover .bento-image-container svg.diagram-svg { transform: scale(1.035); }
.discover-pill { background-color: var(--text-primary); color: var(--bg-void); padding: 0.8rem 2rem; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: transform 0.25s var(--ease-premium), box-shadow 0.25s ease; will-change: transform; }
.discover-pill::after { content: '→'; transition: transform 0.3s var(--ease-premium); }
.bento-card:hover .discover-pill::after { transform: translateX(4px); }

@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.full-span { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 4rem; padding: 4rem; }
    .bento-card.full-span .bento-content { width: 50%; }
    .bento-card.full-span .bento-image-container { width: 50%; margin-top: 0; }
    .bento-grid > .bento-card:nth-of-type(even).full-span { flex-direction: row-reverse; }
}

/* --- Core Technologies: connected timeline layout --- */
.features { position: relative; max-width: 1000px; margin: 2rem auto 8rem; padding: 2rem 2rem 0; }
.features::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-strong) 8%, var(--border-strong) 92%, transparent);
    transform: translateX(-50%); z-index: 0;
}
.feature-node { display: grid; grid-template-columns: 1fr; position: relative; margin-bottom: 2.5rem; }
.feature-card {
    display: block; text-decoration: none;
    background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel));
    border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 2rem;
    position: relative; overflow: hidden;
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
    transform-style: preserve-3d; will-change: transform;
}
.feature-card .panel-index { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-tertiary); }
.feature-card .hud-corner { position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--accent-cyan); opacity: 0; transition: opacity 0.35s ease; }
.feature-card .hud-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.feature-card .hud-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.feature-card:hover .hud-corner { opacity: 0.55; }
.feature-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(79, 216, 232, 0.1), transparent); transform: skewX(-20deg); transition: 0.6s; z-index: 1; }
.feature-card:hover::before { left: 150%; }
.feature-card:hover { background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel-strong)); box-shadow: 0 22px 46px rgba(0,0,0,0.6), 0 0 26px rgba(79, 216, 232, 0.16); }
.feature-card img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1.5rem; background-color: #111; transition: transform 0.6s var(--ease-premium); }
.feature-card:hover img { transform: scale(1.05); }
.feature-card svg.diagram-svg { width: 100%; height: 190px; border-radius: var(--radius-sm); margin-bottom: 1.5rem; display: block; transition: transform 0.6s var(--ease-premium); }
.feature-card:hover svg.diagram-svg { transform: scale(1.05); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--text-primary); font-weight: 600; letter-spacing: -0.02em; transition: color 0.3s; }
.feature-card:hover h3 { color: var(--accent-cyan); }
.feature-card p { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.55; }
.feature-marker { display: none; }

@media (min-width: 900px) {
    .feature-node { grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 0; }
    .feature-node .feature-card { grid-column: 1; }
    .feature-node:nth-child(even) .feature-card { grid-column: 3; }
    .feature-marker {
        display: flex; grid-column: 2; justify-self: center; width: 44px; height: 44px; border-radius: 50%;
        align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
        background: var(--bg-void); border: 1px solid var(--border-strong); color: var(--accent-cyan); position: relative; z-index: 1;
        box-shadow: 0 0 0 6px var(--bg-void);
    }
}

/* --- Process / How We Engineer --- */
.process-strip { max-width: 1200px; margin: 0 auto 8rem; padding: 0 2rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; position: relative; }
@media (min-width: 900px) { .process-strip { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.process-strip::before { display: none; }
@media (min-width: 900px) {
    .process-strip { position: relative; }
    .process-strip::after { content: ''; position: absolute; top: 23px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent); z-index: 0; }
}
.process-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; }
.process-num { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-void); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; color: var(--accent-cyan); box-shadow: 0 0 0 6px var(--bg-void); }
.process-step h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* --- HUD Stat Panels --- */
.stats-strip { max-width: 1200px; margin: 2rem auto 7rem; padding: 3rem 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
    text-align: center; padding: 2rem 1rem; border-radius: var(--radius-md);
    background: var(--bg-panel); border: 1px solid var(--border-soft);
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    transition: border-color 0.35s ease, transform 0.35s var(--ease-premium), background 0.35s ease;
}
.stat-item:hover { border-color: rgba(79,216,232,0.3); transform: translateY(-6px); background: var(--bg-panel-strong); }
.stat-ring { position: relative; width: 92px; height: 92px; }
.stat-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat-ring circle { fill: none; stroke-width: 5; }
.stat-ring .ring-track { stroke: rgba(255,255,255,0.06); }
.stat-ring .ring-fill { stroke: var(--accent-cyan); stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; filter: drop-shadow(0 0 6px rgba(79,216,232,0.55)); transition: stroke-dashoffset 1.6s var(--ease-premium); }
.stat-number { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.stat-label { display: block; color: var(--text-secondary); font-size: 0.85rem; letter-spacing: 0.02em; }

/* --- Misc Components (Quotes, Reach, CTA) --- */
.global-reach { text-align: center; padding: 7rem 2rem; position: relative; border-top: 1px solid var(--border-soft); }
.global-reach p { color: var(--text-secondary); font-size: 1.25rem; max-width: 780px; margin: 0 auto; }
.massive-quote { max-width: 1100px; margin: 10rem auto; padding: 0 2rem; text-align: center; position: relative; }
.quote-icon { margin-bottom: 2rem; opacity: 0.3; }
.massive-quote h2 { font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.25; letter-spacing: -0.03em; font-weight: 700; color: var(--text-primary); margin-bottom: 2.5rem; }
.massive-quote p { font-size: 1.15rem; color: var(--accent-cyan); font-weight: 500; }
.massive-quote span { color: var(--text-tertiary); font-size: 0.9rem; }

.cta-section { position: relative; padding: 6rem 2rem; text-align: center; border-top: 1px solid var(--border-soft); }
.cta-container { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; background: var(--bg-panel); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 3rem; overflow: hidden; position: relative; }
.cta-container::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(79,216,232,0.10), transparent 55%), radial-gradient(circle at 85% 80%, rgba(139,123,255,0.10), transparent 55%); pointer-events: none; }
.cta-image { width: 100%; max-width: 420px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); position: relative; z-index: 1; }
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-text p { color: var(--text-secondary); margin-bottom: 1.75rem; font-size: 1.05rem; }
@media (min-width: 900px) { .cta-container { flex-direction: row; text-align: left; padding: 3.5rem; } }
.cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; position: relative; background-color: var(--text-primary); color: var(--bg-void); padding: 1rem 2.4rem; border-radius: 30px; text-decoration: none; font-size: 1.05rem; font-weight: 600; transition: transform 0.25s var(--ease-premium), box-shadow 0.25s ease; margin-top: 0.5rem; will-change: transform; }
.cta-btn::after { content: '→'; transition: transform 0.3s var(--ease-premium); }
.cta-btn:hover::after { transform: translateX(4px); }
.cta-btn:hover { box-shadow: 0 14px 32px rgba(79, 216, 232, 0.3); }

/* --- Demo Grid (masonry-esque) --- */
.demo-section-title { text-align: center; margin-top: 4rem; margin-bottom: -1.5rem; font-size: 2rem; color: var(--text-secondary); font-weight: 600; letter-spacing: -0.02em; font-family: var(--font-display); }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 1400px; margin: 0 auto 8rem; padding: 0 2rem; }
.demo-card {
    background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel));
    border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 1.5rem;
    display: flex; flex-direction: column; position: relative;
    transition: transform 0.4s var(--ease-premium), border-color 0.4s ease, box-shadow 0.4s ease;
}
.demo-card:nth-child(3n+2) { transform: translateY(1.25rem); }
.demo-card:hover { transform: translateY(-8px); border-color: rgba(79, 216, 232, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.55), 0 0 22px rgba(79, 216, 232, 0.14); }
.demo-card:nth-child(3n+2):hover { transform: translateY(1.25rem) translateY(-8px); }
.demo-card img { width: 100%; height: auto; border-radius: var(--radius-sm); margin-bottom: 1.5rem; border: 1px solid var(--border-soft); transition: transform 0.6s var(--ease-premium); }
.demo-card:hover img { transform: scale(1.03); }
.demo-card h4 { font-size: 1.15rem; margin-bottom: 1rem; color: var(--text-primary); }
.demo-versions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.version-btn { background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid var(--border-soft); padding: 6px 14px; border-radius: 20px; text-decoration: none; font-size: 0.82rem; font-weight: 500; transition: all 0.25s var(--ease-premium); }
.version-btn:hover { background: var(--accent-cyan); color: var(--bg-void); border-color: var(--accent-cyan); transform: translateY(-2px); }

/* --- Contact & Forms --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 1400px; margin: 5rem auto 7rem; padding: 0 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-form-card { background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel)); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 3.5rem; position: relative; }
.contact-form-card h3 { font-size: 2.3rem; margin-bottom: 1rem; letter-spacing: -0.03em; }
.contact-form-card p { color: var(--text-secondary); margin-bottom: 2.5rem; font-size: 1.05rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; font-family: var(--font-mono); letter-spacing: 0.03em; }
.form-control { width: 100%; background: rgba(0,0,0,0.35); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 0.9rem 1rem; color: var(--text-primary); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-control:focus { outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(79, 216, 232, 0.14); }
textarea.form-control { height: 150px; resize: vertical; }
.submit-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--text-primary); color: var(--bg-void); border: none; padding: 1rem 2.75rem; border-radius: 30px; font-size: 1.05rem; font-weight: 600; transition: transform 0.25s var(--ease-premium), box-shadow 0.25s ease; margin-top: 0.5rem; will-change: transform; cursor: pointer; }
.submit-btn:hover { box-shadow: 0 14px 32px rgba(79, 216, 232, 0.3); }
.contact-details h3 { font-size: 1.4rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.contact-info-block { margin-bottom: 1.75rem; padding: 1.5rem; border-radius: var(--radius-md); background: var(--bg-panel); border: 1px solid var(--border-soft); }
.contact-info-block ul { list-style: none; color: var(--text-secondary); font-size: 1.05rem; }
.contact-info-block li { margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.92rem; }
.contact-info-block a { color: var(--accent-cyan); text-decoration: none; }
.contact-info-block a:hover { text-decoration: underline; }
.contact-regions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.region-chip { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-secondary); background: var(--bg-panel); border: 1px solid var(--border-soft); padding: 0.45rem 0.85rem; border-radius: 999px; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photo-gallery img { width: 100%; height: auto; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border-soft); filter: grayscale(70%) contrast(1.05); transition: all 0.4s var(--ease-premium); }
.photo-gallery img:hover { transform: scale(1.05); filter: grayscale(0%) contrast(1); }

/* --- Legal Pages (Split Screen) --- */
.page-wrapper { max-width: 1400px; margin: 8rem auto 4rem; padding: 0 2rem; display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .page-wrapper { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.legal-header { margin-bottom: 4rem; }
.legal-header h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); letter-spacing: -0.04em; margin-bottom: 1rem; line-height: 1.1; }
.legal-header p { color: var(--accent-cyan); font-size: 1.05rem; font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.02em; }
.legal-content section { margin-bottom: 2.5rem; padding: 1.75rem; border-radius: var(--radius-md); background: var(--bg-panel); border: 1px solid var(--border-soft); transition: border-color 0.3s ease; }
.legal-content section:hover { border-color: rgba(79,216,232,0.22); }
.legal-content h2 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-primary); letter-spacing: -0.02em; }
.legal-content p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.gallery-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; position: relative; }
.gallery-wrapper .gallery-col-2 { transform: translateY(3rem); }
.gallery-col { display: flex; flex-direction: column; gap: 1.5rem; }
.gallery-img-container { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-panel); position: relative; }
.gallery-img-container img { width: 100%; height: auto; display: block; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: all 0.5s var(--ease-premium); opacity: 0.8; }
.gallery-img-container:hover img { filter: grayscale(0%) contrast(1); transform: scale(1.05); opacity: 1; }

/* --- Modals --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); z-index: 2000; justify-content: center; align-items: center; padding: 2rem; }
.modal-content { background: linear-gradient(160deg, var(--bg-panel-strong), var(--bg-panel)); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 3rem; max-width: 500px; width: 100%; text-align: center; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.6); animation: modalFadeIn 0.35s var(--ease-premium); }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--text-primary); }
.modal-content h3 { font-size: 1.7rem; margin-bottom: 1rem; color: var(--text-primary); }
.modal-content p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2rem; }
.modal-btn { display: inline-block; background: var(--text-primary); color: var(--bg-void); padding: 0.8rem 2rem; border-radius: 30px; text-decoration: none; font-weight: 600; transition: transform 0.25s var(--ease-premium), box-shadow 0.25s ease; will-change: transform; }
.modal-btn:hover { box-shadow: 0 12px 28px rgba(79, 216, 232, 0.3); }
.modal-emails { text-align: left; background: rgba(255,255,255,0.03); padding: 1.5rem; border-radius: var(--radius-sm); border: 1px solid var(--border-soft); display: inline-block; width: 100%; }
.modal-emails p { margin-bottom: 0.5rem; color: var(--text-primary); }
.modal-emails p:last-child { margin-bottom: 0; }
.modal-emails a { color: var(--accent-cyan); text-decoration: none; font-weight: 500; }
.modal-emails a:hover { text-decoration: underline; }

/* --- Scroll Reveal System --- */
.reveal, .animate-up { opacity: 0; transform: translateY(36px) rotateX(4deg); transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium); transform-origin: bottom center; }
.reveal.active, .animate-up.active { opacity: 1; transform: translateY(0) rotateX(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* --- Footer --- */
footer.site-footer { border-top: 1px solid var(--border-soft); padding: 5rem 2rem 2.5rem; color: var(--text-secondary); font-size: 0.92rem; position: relative; z-index: 10; margin-top: 2rem; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; } }
.footer-brand-name { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); text-decoration: none; margin-bottom: 1rem; }
.footer-brand-name img { height: 22px; width: auto; }
.footer-brand-name span { color: var(--accent-cyan); }
.footer-col p.footer-blurb { max-width: 320px; line-height: 1.7; color: var(--text-secondary); font-size: 0.92rem; }
.footer-status { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--text-tertiary); margin-top: 1.5rem; }
.footer-status .chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald); box-shadow: 0 0 6px 1px rgba(72,230,168,0.7); animation: dotPulse 1.8s ease-in-out infinite; }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 1.25rem; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--accent-cyan); padding-left: 3px; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; padding-top: 2rem; border-top: 1px solid var(--border-soft); }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 0.5rem 0; }
.footer-bottom-links a { color: var(--text-secondary); text-decoration: none; margin: 0 12px; transition: color 0.2s ease; font-size: 0.85rem; }
.footer-bottom-links a:hover { color: var(--accent-cyan); }
.footer-bottom-links a.active-footer { color: var(--accent-cyan); }
.footer-copy { font-size: 0.85rem; color: var(--text-tertiary); }

/* --- Boot Sequence (first visit only; see main.js) --- */
.boot-screen { display: none; position: fixed; inset: 0; z-index: 99999; background: var(--bg-void); align-items: center; justify-content: center; }
.boot-screen.active { display: flex; }
.boot-screen.fade-out { opacity: 0; transition: opacity 0.6s var(--ease-premium); pointer-events: none; }
.boot-inner { width: min(420px, 82vw); text-align: left; }
.boot-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.75rem; letter-spacing: -0.01em; }
.boot-logo span { color: var(--accent-cyan); text-shadow: 0 0 16px rgba(79,216,232,0.6); }
.boot-log { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-cyan); min-height: 6.2em; line-height: 1.55; white-space: pre-wrap; margin-bottom: 1.25rem; }
.boot-log .boot-line-done { color: var(--text-tertiary); }
.boot-log .boot-cursor { display: inline-block; width: 7px; height: 1em; background: var(--accent-cyan); margin-left: 2px; vertical-align: text-bottom; animation: dotPulse 0.9s steps(2) infinite; }
.boot-bar { width: 100%; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.boot-bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet)); box-shadow: 0 0 10px rgba(79,216,232,0.7); transition: width 0.35s var(--ease-soft); }

/* --- Command Palette --- */
.nav-search-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); color: var(--text-secondary); font-family: var(--font-body); font-size: 0.86rem; padding: 0.5rem 0.75rem; border-radius: 999px; cursor: pointer; transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease; margin: 0 0.15rem; }
.nav-search-btn:hover { color: var(--text-primary); border-color: rgba(79,216,232,0.35); background: rgba(79,216,232,0.06); }
.nav-search-btn .cmd-icon { font-size: 0.95rem; line-height: 1; }
.nav-search-btn .cmd-kbd { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-tertiary); }
.cmd-overlay { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(4,5,9,0.72); backdrop-filter: blur(6px); align-items: flex-start; justify-content: center; padding: 12vh 1.5rem 2rem; }
.cmd-overlay.active { display: flex; }
.cmd-palette { width: min(600px, 100%); background: linear-gradient(160deg, var(--bg-panel-strong), #0b0d14); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: 0 40px 90px rgba(0,0,0,0.65), 0 0 0 1px rgba(79,216,232,0.08); overflow: hidden; animation: modalFadeIn 0.25s var(--ease-premium); }
.cmd-input-row { display: flex; align-items: center; gap: 0.75rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border-soft); }
.cmd-input-row .cmd-icon { color: var(--accent-cyan); font-size: 1.1rem; }
.cmd-input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 1.05rem; font-family: var(--font-body); }
.cmd-input::placeholder { color: var(--text-tertiary); }
.cmd-esc { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-tertiary); border: 1px solid var(--border-soft); padding: 0.15rem 0.45rem; border-radius: 5px; }
.cmd-results { list-style: none; max-height: 360px; overflow-y: auto; padding: 0.6rem; }
.cmd-results li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.15s ease; }
.cmd-results li.active-result { background: rgba(79,216,232,0.1); }
.cmd-result-main { display: flex; flex-direction: column; gap: 0.15rem; }
.cmd-result-title { color: var(--text-primary); font-size: 0.96rem; font-weight: 500; }
.cmd-result-sub { color: var(--text-tertiary); font-size: 0.78rem; font-family: var(--font-mono); }
.cmd-result-arrow { color: var(--accent-cyan); opacity: 0; transform: translateX(-3px); transition: all 0.2s ease; font-size: 0.9rem; }
.cmd-results li.active-result .cmd-result-arrow { opacity: 1; transform: translateX(0); }
.cmd-empty { padding: 1.5rem 0.9rem; color: var(--text-tertiary); font-size: 0.9rem; text-align: center; }
.cmd-footer { display: flex; gap: 1.25rem; padding: 0.85rem 1.4rem; border-top: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-tertiary); }
.cmd-footer b { color: var(--text-secondary); }

/* --- Scan divider: thin ambient "signal" line used between major sections --- */
.hr-scan { position: relative; height: 1px; background: var(--border-soft); overflow: hidden; margin: 0 auto; max-width: 1400px; }
.hr-scan::after { content: ''; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent); animation: scanSweep 6s ease-in-out infinite; opacity: 0.8; }
@keyframes scanSweep { 0% { left: -30%; } 50% { left: 100%; } 100% { left: 100%; } }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .cursor-dot, .cursor-outline { display: none; }
    .hero-orbit .orbit-group { animation: none; }
    .boot-screen { display: none !important; }
    .hr-scan::after { animation: none; opacity: 0.35; }
}

/* --- Mobile Queries --- */
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; }
    .menu-toggle { display: flex; }
    header { padding-top: 12px; }
    .nav-container { border-radius: 20px; }
    .nav-indicator { display: none; }
    .nav-cta { display: none !important; }
    .nav-search-btn { display: none; }
    .nav-links { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5, 6, 10, 0.97); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transform: translateY(-100%); transition: transform 0.5s var(--ease-premium); }
    .nav-links.active { transform: translateY(0); }
    .nav-links a { font-size: 1.4rem; padding: 0.5rem 1rem; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding-top: 8rem; }
    .hero--split { padding-top: 7.5rem; }
    .hero-slider { aspect-ratio: 16 / 9; }
    .hero-orbit { display: none; }
    .hud-chip--bottom { position: static; margin-top: 1rem; display: inline-flex; }
    .hud-chip--top { top: -0.9rem; left: 0.75rem; font-size: 0.65rem; padding: 0.5rem 0.8rem; }
    .contact-form-card { padding: 2rem; }
    .gallery-wrapper .gallery-col-2 { transform: translateY(0); }
    .depth-blob { width: 220px !important; height: 220px !important; filter: blur(55px); }
    .back-to-top { width: 42px; height: 42px; bottom: 1.25rem; right: 1.25rem; }
    .stats-strip { padding: 2rem 1rem; gap: 1rem; }
    .cta-container { padding: 2rem; }
    .demo-card:nth-child(3n+2), .demo-card:nth-child(3n+2):hover { transform: none; }
    .reveal, .animate-up { transform: translateY(24px); }
    .process-strip { gap: 2rem; }
    .footer-grid { gap: 2.25rem; }
    .cmd-overlay { padding: 8vh 1rem 1rem; }
    .cmd-footer { flex-wrap: wrap; row-gap: 0.4rem; }
}
