:root {
    /* Brand Foundation: Crisp High-Tech Light Aesthetic (Derived from Logo & Tagline) */
    --bg-base: #f8fafd;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    
    /* Neon Glow & Brand Accents */
    --brand-cyan: #0284c7;
    --brand-cyan-rgb: 2, 132, 199;
    --brand-blue: #0052cc;
    --brand-blue-rgb: 0, 82, 204;
    --brand-indigo: #3b82f6;
    
    /* Text Hierarchy matching Deep Navy Logo Typography */
    --text-primary: #0a1628;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-dark: #0a1628;
    
    /* Glassmorphism System (Frosted Ice Glass) */
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 102, 255, 0.12);
    --glass-border-hover: rgba(0, 102, 255, 0.35);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 20px 45px -15px rgba(2, 27, 71, 0.08);

    /* Gradients */
    --primary-grad: linear-gradient(135deg, #0052cc 0%, #0284c7 60%, #00d2ff 100%);
    --cyan-glow: 0 0 30px rgba(0, 210, 255, 0.35);
    --blue-glow: 0 0 35px rgba(0, 102, 255, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* Reset & Global */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.14) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
        linear-gradient(to right, rgba(0, 102, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 102, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
}

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

/* ==============================================================================
   SMOOTH TELEMETRY PAGE LOADER & TRANSITION PROGRESS
   ============================================================================== */
.page-loader-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary-grad);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.7), 0 0 20px rgba(0, 102, 255, 0.5);
    z-index: 100000;
    pointer-events: none;
    opacity: 1;
    transform-origin: left center;
}

/* Dynamic Ambient Glows */
.bg-animation {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2; overflow: hidden; pointer-events: none;
}
.bg-particles-canvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
}
.blob {
    position: absolute; filter: blur(120px); border-radius: 50%; opacity: 0.55;
    animation: blobFloat 22s infinite alternate ease-in-out;
}
.blob-1 { top: -10%; left: 20%; width: 550px; height: 550px; background: rgba(0, 210, 255, 0.16); }
.blob-2 { top: 40%; right: -5%; width: 650px; height: 650px; background: rgba(0, 102, 255, 0.12); animation-delay: -7s; }
.blob-3 { bottom: -10%; left: 10%; width: 500px; height: 500px; background: rgba(59, 130, 246, 0.12); animation-delay: -14s; }

@keyframes blobFloat {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(60px) scale(1.12); }
}

.noise-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.015; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Utilities */
.gradient-text {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.text-glow {
    text-shadow: 0 0 35px rgba(0, 210, 255, 0.35);
}
.text-accent { color: var(--brand-blue) !important; }

/* Glass Panel Component */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 60px -15px rgba(0, 102, 255, 0.14), var(--glass-shadow);
}

/* ==============================================================================
   NAVIGATION (Anime.js Style Overlay Navbar)
   ============================================================================== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 1.15rem 0;
    z-index: 1000; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px -10px rgba(2, 27, 71, 0.08);
}
.navbar.hidden { transform: translateY(-100%); }

.navbar-inner {
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}

.logo { 
    display: inline-flex; align-items: center; 
    transition: transform 0.3s ease; 
}
.logo:hover { transform: scale(1.03); }
.logo img { 
    height: 52px; width: auto; object-fit: contain; 
    filter: drop-shadow(0 2px 8px rgba(0, 82, 204, 0.08));
}

.nav-tagline-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.38rem 0.95rem; border-radius: 50px;
    background: rgba(0, 102, 255, 0.06);
    border: 1px solid rgba(0, 102, 255, 0.18);
    font-size: 0.78rem; font-family: var(--font-mono);
    color: var(--brand-blue); letter-spacing: 0.5px;
    font-weight: 500;
}
.status-indicator {
    width: 7px; height: 7px; border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusBlink 2s infinite ease-in-out;
}
@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link {
    color: var(--text-secondary); text-decoration: none; font-weight: 600;
    font-size: 0.92rem; transition: color 0.3s ease; position: relative;
}
.nav-link:hover { color: var(--brand-blue); }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background: var(--brand-blue);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 1.8rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
    font-family: var(--font-display); letter-spacing: 0.3px;
    border: none; position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--primary-grad); color: #fff;
    box-shadow: 0 10px 25px -8px rgba(0, 102, 255, 0.45);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px -8px rgba(0, 102, 255, 0.55);
}
.btn-secondary {
    background: #ffffff; color: var(--text-primary);
    border: 1px solid rgba(0, 102, 255, 0.2);
    box-shadow: 0 4px 15px rgba(2, 27, 71, 0.05);
}
.btn-secondary:hover {
    background: #f8fafd; border-color: var(--brand-blue);
    color: var(--brand-blue); transform: translateY(-2px);
}
.btn-nav {
    padding: 0.55rem 1.3rem; font-size: 0.85rem;
    background: rgba(0, 102, 255, 0.07); color: var(--brand-blue);
    border: 1px solid rgba(0, 102, 255, 0.22);
}
.btn-nav:hover {
    background: var(--brand-blue); color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background 0.25s ease;
}
.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
    background: rgba(0, 102, 255, 0.08);
    outline: none;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--brand-blue);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--brand-blue);
}

/* Mobile Menu Backdrop Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero {
    min-height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 8rem 0 4rem 0; overflow: hidden;
}
.hero-canvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 960px; margin: 0 auto;
}

.brand-pill {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 1.25rem; border-radius: 50px;
    background: rgba(0, 102, 255, 0.06); border: 1px solid rgba(0, 102, 255, 0.2);
    margin-bottom: 2rem; font-size: 0.8rem; font-family: var(--font-mono);
    color: var(--brand-blue); letter-spacing: 1.5px;
    box-shadow: 0 4px 20px -5px rgba(0, 102, 255, 0.1);
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-cyan); box-shadow: 0 0 8px var(--brand-cyan);
}

.hero-title {
    font-size: clamp(2.1rem, 6.5vw, 4.25rem); font-weight: 800; font-family: var(--font-display);
    line-height: 1.15; margin-bottom: 1.75rem; letter-spacing: -1.2px;
    color: var(--text-primary);
    overflow-wrap: break-word;
    word-break: normal;
}
.hero-desc {
    font-size: clamp(0.98rem, 2.5vw, 1.25rem); color: var(--text-secondary); max-width: 720px;
    margin: 0 auto 2.5rem auto; line-height: 1.75;
}

.hero-actions {
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.hero-buttons {
    display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
}

/* Terminal Command Pill (High-Tech Contrast Bar) */
.terminal-copy-pill {
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 0.75rem 1.4rem; border-radius: 12px;
    background: #0b1528;
    border: 1px solid rgba(0, 210, 255, 0.35);
    font-family: var(--font-mono); font-size: 0.88rem;
    color: #cbd5e1; cursor: pointer; position: relative;
    transition: all 0.3s ease; box-shadow: 0 15px 35px -10px rgba(2, 27, 71, 0.25);
}
.terminal-copy-pill:hover {
    border-color: #00d2ff;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.35);
    transform: translateY(-2px);
}
.terminal-prompt { color: #00d2ff; font-weight: 700; }
.terminal-code { color: #f8fafc; }
.terminal-copy-btn {
    background: none; border: none; color: #94a3b8; cursor: pointer;
    display: flex; align-items: center; padding: 2px; transition: color 0.2s;
}
.terminal-copy-pill:hover .terminal-copy-btn { color: #00d2ff; }
.copy-tooltip {
    position: absolute; top: -35px; right: 10px;
    background: #00d2ff; color: #050814;
    font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem;
    border-radius: 6px; opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s; transform: translateY(5px);
}
.copy-tooltip.show { opacity: 1; transform: translateY(0); }

/* Quick Telemetry Ticker */
.hero-ticker-wrapper {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; margin-top: 4.5rem; padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.85); border-radius: 50px;
    border: 1px solid var(--glass-border); font-family: var(--font-mono);
    font-size: 0.82rem; box-shadow: 0 10px 25px -10px rgba(2, 27, 71, 0.06);
    max-width: 100%;
}
.ticker-item { display: flex; align-items: center; gap: 0.6rem; }
.ticker-label { color: var(--text-muted); text-transform: uppercase; }
.ticker-val { font-weight: 700; }
.ticker-separator { color: rgba(0, 102, 255, 0.2); }

/* ==============================================================================
   SECTION HEADERS
   ============================================================================== */
.section { padding: 7rem 0; position: relative; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 4rem auto; }
.section-tag {
    font-family: var(--font-mono); font-size: 0.8rem;
    color: var(--brand-blue); letter-spacing: 2px; margin-bottom: 0.8rem;
    font-weight: 600;
}
.section-title {
    font-size: clamp(1.85rem, 5vw, 3rem); font-family: var(--font-display); font-weight: 800;
    line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.5px;
    color: var(--text-primary);
    overflow-wrap: break-word;
}
.section-subtitle {
    color: var(--text-secondary); font-size: clamp(0.95rem, 2.2vw, 1.15rem); line-height: 1.7;
}

/* ==============================================================================
   PRODUCTION PLATFORMS (3D TILT CARDS)
   ============================================================================== */
.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
}
.project-card {
    padding: 0; overflow: hidden; display: flex; flex-direction: column;
    border-radius: 20px; position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
    transform: translateY(-8px);
}
.project-banner {
    height: 160px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; background: #f8fafc;
    border-bottom: 1px solid var(--glass-border);
}
.project-logo {
    height: 68px; width: auto; object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}
.project-card:hover .project-logo { transform: scale(1.08); }

.project-content {
    padding: 2.25rem 2rem; display: flex; flex-direction: column; flex-grow: 1;
}
.project-badge {
    display: inline-block; padding: 0.25rem 0.75rem; border-radius: 6px;
    font-size: 0.72rem; font-family: var(--font-mono); font-weight: 600;
    margin-bottom: 1rem; width: fit-content;
}
.medixhub-badge {
    background: rgba(16, 185, 129, 0.08); color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.fitdesk-badge {
    background: rgba(0, 102, 255, 0.08); color: #0052cc;
    border: 1px solid rgba(0, 102, 255, 0.25);
}
.pahredaar-badge,
.commercex-badge {
    background: rgba(99, 102, 241, 0.08); color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.project-content h3 {
    font-size: 1.6rem; font-family: var(--font-display);
    margin-bottom: 0.75rem; color: var(--text-primary);
}
.project-content p {
    color: var(--text-secondary); font-size: 0.96rem; line-height: 1.7;
    margin-bottom: 1.25rem; flex-grow: 1;
}
.project-tags {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem;
}
.project-tag {
    font-size: 0.72rem; font-family: var(--font-mono); font-weight: 600;
    padding: 0.25rem 0.65rem; border-radius: 5px;
    background: rgba(0, 102, 255, 0.05); color: var(--brand-blue);
    border: 1px solid rgba(0, 102, 255, 0.12);
}
.project-telemetry {
    background: #f1f5f9; border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 8px; padding: 0.65rem 1rem; font-family: var(--font-mono);
    font-size: 0.78rem; display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.75rem;
}
.telemetry-bar { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); }
.telemetry-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #10b981; box-shadow: 0 0 6px #10b981;
}
.project-footer {
    margin-top: auto;
}

.btn-project {
    display: inline-flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 0.85rem 1.25rem; border-radius: 10px;
    background: #ffffff; border: 1px solid var(--glass-border);
    color: var(--text-primary); text-decoration: none; font-weight: 600;
    font-size: 0.9rem; transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(2, 27, 71, 0.04);
}
.btn-project:hover {
    background: var(--primary-grad); color: #fff; border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(0, 102, 255, 0.4);
}

/* App Platforms Section Spacing */
.app-platforms-section {
    padding-top: 1rem;
}

/* Coming Soon Badge & Card Styles */
.coming-soon-badge {
    background: rgba(245, 158, 11, 0.09);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.coming-soon-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 6px #f59e0b;
    animation: comingSoonPulse 2s infinite ease-in-out;
}

@keyframes comingSoonPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 102, 255, 0.16);
    position: relative;
}

.coming-soon-card:hover {
    border-color: rgba(0, 102, 255, 0.35);
    box-shadow: 0 15px 35px -10px rgba(0, 102, 255, 0.12);
}

.tuitora-banner {
    background: #ffffff;
}

.tuitora-banner .project-logo {
    height: 80px;
    mix-blend-mode: multiply;
}

.varnetix-banner .project-logo {
    height: 66px;
}

.btn-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(0, 102, 255, 0.14);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: default;
    user-select: none;
    box-shadow: 0 2px 6px rgba(2, 27, 71, 0.03);
}

.btn-coming-soon .status-pulse-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

/* ==============================================================================
   ARCHITECTURE SECTION
   ============================================================================== */
.arch-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 2rem;
}
.arch-card {
    padding: 2.5rem 2rem; border-radius: 16px;
    display: flex; flex-direction: column;
}
.arch-num {
    font-size: 2.25rem; font-family: var(--font-display); font-weight: 800;
    margin-bottom: 1rem; line-height: 1;
}
.arch-card h3 {
    font-size: 1.3rem; font-family: var(--font-display);
    margin-bottom: 0.8rem; color: var(--text-primary);
}
.arch-card p {
    color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
}

/* ==============================================================================
   METRIC BENCHMARKS
   ============================================================================== */
.metrics-card-wrapper {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
}

.metrics-telemetry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: rgba(248, 250, 253, 0.85);
    border-bottom: 1px solid var(--glass-border);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.metrics-telemetry-status {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-secondary);
}

.metrics-telemetry-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--text-muted);
}

.telemetry-badge {
    background: rgba(0, 102, 255, 0.08);
    color: var(--brand-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.72rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 3.5rem 2rem;
    text-align: center;
}

.metric-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1.75rem;
    position: relative;
    transition: transform 0.3s ease;
}

.metric-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 102, 255, 0.15), transparent);
}

.metric-block:hover {
    transform: translateY(-4px);
}

.metric-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brand-blue);
    background: rgba(0, 102, 255, 0.06);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 102, 255, 0.14);
}

.metric-num {
    font-size: 3.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.metric-name {
    font-size: 1.15rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.metric-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 230px;
}

.metrics-telemetry-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(248, 250, 253, 0.6);
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.telemetry-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.telemetry-chip svg {
    color: var(--brand-blue);
    flex-shrink: 0;
}

/* ==============================================================================
   CONTACT & ENGAGEMENT SECTION
   ============================================================================== */
.contact-card {
    text-align: center; max-width: 860px; margin: 0 auto;
    padding: 5rem 3rem; position: relative; overflow: hidden;
}
.contact-glow {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.contact-content { position: relative; z-index: 1; }
.contact-content .section-title { margin-bottom: 1.5rem; }
.contact-content p {
    color: var(--text-secondary); font-size: 1.2rem;
    max-width: 600px; margin: 0 auto 2.5rem auto; line-height: 1.8;
}
.contact-actions { display: flex; justify-content: center; }

/* ==============================================================================
   FOOTER
   ============================================================================== */
footer {
    padding: 5rem 0 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    background: #ffffff;
    box-shadow: 0 -10px 40px -15px rgba(2, 27, 71, 0.05);
}
.footer-content {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 3.5rem; margin-bottom: 3.5rem;
}
.footer-brand { max-width: 380px; }
.footer-brand .logo img { 
    height: 54px; width: auto; object-fit: contain; 
}
.footer-tagline {
    margin: 1.25rem 0 1.5rem 0; font-size: 0.95rem; color: var(--text-secondary);
    line-height: 1.7;
}
.system-status-indicator {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.4rem 0.9rem; border-radius: 50px;
    background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.25);
    font-family: var(--font-mono); font-size: 0.76rem; color: #059669;
    font-weight: 600;
}
.status-pulse-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #10b981; box-shadow: 0 0 8px #10b981;
}

.footer-links-group {
    display: flex; gap: 3.5rem; flex-wrap: wrap;
}
.footer-column h4 {
    font-size: 0.85rem; font-family: var(--font-mono);
    color: var(--brand-blue); letter-spacing: 1px;
    margin-bottom: 1.2rem; text-transform: uppercase;
    font-weight: 700;
}
.footer-column a {
    display: block; color: var(--text-secondary); text-decoration: none;
    font-size: 0.92rem; margin-bottom: 0.75rem; transition: color 0.25s ease;
}
.footer-column a:hover { color: var(--brand-blue); }

.footer-bottom {
    border-top: 1px solid rgba(0, 102, 255, 0.08);
    padding-top: 2rem; display: flex; justify-content: space-between;
    align-items: center; font-size: 0.85rem; color: var(--text-muted);
    flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-meta { display: flex; gap: 1.5rem; font-family: var(--font-mono); font-size: 0.78rem; }


/* ==============================================================================
   PRIVACY & COMPLIANCE PAGES
   ============================================================================== */
.privacy-container {
    max-width: 960px;
    margin: 8rem auto 5rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.privacy-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem 3.5rem;
    box-shadow: var(--glass-shadow);
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.privacy-badge {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(0, 102, 255, 0.2);
    margin-bottom: 1.25rem;
}

.privacy-title {
    font-size: 2.75rem;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-meta {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 102, 255, 0.12);
}

.privacy-section h3 {
    font-size: 1.1rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.6rem 0;
}

.privacy-section p {
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin: 0.75rem 0 1.25rem 0;
}

.privacy-section li {
    margin-bottom: 0.6rem;
}

.privacy-section li strong,
.privacy-section p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.privacy-contact-box {
    margin-top: 1rem;
    background: #ffffff;
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px -4px rgba(2, 27, 71, 0.05);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.privacy-contact-box strong {
    color: var(--text-primary);
}

.privacy-contact-box a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.privacy-contact-box a:hover {
    color: var(--brand-cyan);
    text-decoration: underline;
}

.privacy-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    margin-bottom: 1.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(2, 27, 71, 0.04);
    transition: all 0.25s ease;
}

.privacy-back-link:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    transform: translateX(-3px);
}

/* ==============================================================================
   RESPONSIVE DESIGN SYSTEM
   ============================================================================== */
@media (max-width: 1024px) {
    .container { padding: 0 1.75rem; }
    .hero { padding: 7rem 0 3.5rem 0; min-height: auto; }
    .projects-grid { gap: 2rem; }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 0;
        padding: 3rem 1.75rem;
    }
    .metric-block:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 5rem 0; }
    .section-header { margin-bottom: 2.75rem; }
    
    /* Navbar & Mobile Navigation Drawer */
    .navbar { padding: 0.85rem 0; }
    .nav-tagline-badge { display: none; }
    .logo img { height: 42px; width: auto; max-width: 200px; }
    .mobile-menu-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 82vw);
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5.5rem 1.75rem 2.5rem 1.75rem;
        gap: 1.25rem;
        transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-left: 1px solid var(--glass-border);
        box-shadow: -15px 0 40px rgba(2, 27, 71, 0.12);
        overflow-y: auto;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        width: 100%;
        text-align: left;
    }
    .nav-links .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1.05rem;
        color: var(--text-primary);
        border-radius: 8px;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links .nav-link:hover {
        background: rgba(0, 102, 255, 0.06);
        color: var(--brand-blue);
    }
    .nav-links .nav-link::after {
        display: none;
    }
    .nav-links .btn-nav {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }

    /* Hero Section */
    .hero { padding: 6.5rem 0 3.5rem 0; min-height: auto; }
    .hero-ticker-wrapper {
        margin-top: 3rem;
        padding: 1rem 1.25rem;
        border-radius: 16px;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        width: 100%;
    }
    .hero-ticker-wrapper .ticker-separator {
        display: none;
    }

    /* Production & App Platforms */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .project-card {
        max-width: 100%;
    }
    .project-content {
        padding: 1.85rem 1.5rem;
    }

    /* Architecture Grid */
    .arch-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .arch-card {
        padding: 2rem 1.5rem;
    }

    /* Benchmarks / Metrics */
    .metrics-telemetry-header {
        padding: 1.15rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .metrics-telemetry-meta {
        flex-wrap: wrap;
        gap: 0.6rem 1rem;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 2.5rem 1.5rem;
    }
    .metric-block:not(:last-child)::after {
        display: none;
    }
    .metric-desc {
        max-width: 100%;
    }
    .metrics-telemetry-footer {
        padding: 1.15rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Contact Section */
    .contact-card {
        padding: 3.5rem 1.5rem;
        border-radius: 20px;
    }
    .contact-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    .contact-actions {
        width: 100%;
    }
    .contact-actions .btn {
        width: 100%;
        max-width: 420px;
        justify-content: center;
    }

    /* Footer */
    footer {
        padding: 4rem 0 2rem 0;
    }
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .footer-brand {
        max-width: 100%;
    }
    .footer-links-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-bottom-meta {
        flex-direction: column;
        gap: 0.4rem;
    }

    /* Privacy Pages */
    .privacy-container {
        margin: 5.5rem auto 3rem auto;
        padding: 0 1rem;
    }
    .privacy-card {
        padding: 2.25rem 1.35rem;
        border-radius: 18px;
    }
    .privacy-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    .privacy-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2rem; }

    /* Navbar & Logo */
    .logo img { height: 38px; max-width: 180px; }

    /* Hero Section */
    .hero { padding: 5.75rem 0 2.5rem 0; }
    .brand-pill {
        padding: 0.35rem 0.85rem;
        font-size: 0.72rem;
        letter-spacing: 0.3px;
        max-width: 100%;
    }
    .hero-desc {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
    .hero-ticker-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 1rem;
        border-radius: 14px;
        margin-top: 2.25rem;
    }
    .ticker-item {
        justify-content: space-between;
        width: 100%;
        font-size: 0.76rem;
    }

    /* Section Headers */
    .section-tag { font-size: 0.72rem; letter-spacing: 1.5px; }
    .section-title { font-size: 1.85rem; }
    .section-subtitle { font-size: 0.92rem; }

    /* Platforms */
    .project-banner { height: 135px; }
    .project-logo { height: 54px; }
    .project-content { padding: 1.35rem 1rem; }
    .project-content h3 { font-size: 1.4rem; }
    .project-content p { font-size: 0.9rem; }
    .project-badge { font-size: 0.68rem; }
    .project-tags { gap: 0.35rem; }
    .project-tag { font-size: 0.68rem; padding: 0.2rem 0.5rem; }
    .btn-project { padding: 0.75rem 1rem; font-size: 0.85rem; }

    /* Architecture */
    .arch-card { padding: 1.5rem 1.15rem; }
    .arch-num { font-size: 1.65rem; }
    .arch-card h3 { font-size: 1.15rem; }
    .arch-card p { font-size: 0.88rem; }

    /* Benchmarks / Metrics */
    .metric-num { font-size: 2.35rem; }
    .metric-name { font-size: 1.05rem; }
    .metric-desc { font-size: 0.84rem; }
    .telemetry-chip { font-size: 0.72rem; }

    /* Contact */
    .contact-card { padding: 2.5rem 1rem; border-radius: 16px; }
    .contact-content p { font-size: 0.95rem; }
    .contact-actions .btn { font-size: 0.84rem; padding: 0.8rem 1rem; }

    /* Footer */
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .footer-brand .logo img { height: 38px; }
    .footer-tagline { font-size: 0.88rem; }
    .system-status-indicator { font-size: 0.72rem; padding: 0.35rem 0.75rem; }

    /* Privacy Pages */
    .privacy-container {
        margin: 4.8rem auto 2rem auto;
        padding: 0 0.75rem;
    }
    .privacy-card {
        padding: 1.5rem 0.95rem;
        border-radius: 14px;
    }
    .privacy-title {
        font-size: 1.75rem;
    }
    .privacy-section h2 {
        font-size: 1.2rem;
    }
    .privacy-section p,
    .privacy-section li {
        font-size: 0.92rem;
    }
    .privacy-contact-box {
        padding: 1.1rem 0.9rem;
        font-size: 0.85rem;
    }
    .privacy-contact-box a {
        word-break: break-all;
    }
}



/* ==============================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-canvas, .bg-particles-canvas, .blob, .radar-sweep { display: none !important; }
}
