
body { background-color: #050507; color: #f8fafc; font-family: 'Inter', sans-serif; overflow-x: hidden; }
.tech-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 0.75rem; 
    background: rgba(59, 130, 246, 0.08); 
    border: 1px solid rgba(59, 130, 246, 0.3); 
    border-radius: 0.5rem; 
    font-size: 0.85rem; 
    color: #e0e7ff;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.tech-badge:hover { 
    background: rgba(59, 130, 246, 0.15); 
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.tech-icon { 
    width: 1rem; 
    height: 1rem; 
    display: inline-block;
    margin-right: 0.375rem;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 0 1px rgba(59, 130, 246, 0.2));
    flex-shrink: 0;
}
.glass-card {
    background: rgba(15, 17, 21, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(15, 17, 21, 0.8);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}
section {
    position: relative;
    overflow: hidden;
}
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.glass-card { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 1.5rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.glass-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(59, 130, 246, 0.2); transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.1); }
.heading-xl { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.text-gradient { background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.bg-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: 0; }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #050507; } ::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }

/* ==========================================================================
   Readability & UX improvements (site-wide)
   ========================================================================== */
body { line-height: 1.65; -webkit-font-smoothing: antialiased; }
p { line-height: 1.75; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.01em; }

/* Slightly brighten muted text for better contrast against the near-black background */
.text-slate-400 { color: #a3adc2; }
.text-slate-500 { color: #8b96ac; }

/* Consistent, comfortable link/focus states for accessibility */
a { text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   Stat counters — prevent oversized / overflowing numbers on small screens
   ========================================================================== */
.stat-number {
    font-size: clamp(1.35rem, 5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    word-break: break-word;
    display: block;
}
.stat-card { padding: 1.25rem; }
@media (min-width: 640px) { .stat-card { padding: 1.75rem; } }
@media (min-width: 1024px) { .stat-card { padding: 2rem; } }
.stat-label { font-size: 0.78rem; line-height: 1.4; }
@media (min-width: 640px) { .stat-label { font-size: 0.875rem; } }

/* ==========================================================================
   Hero utilities — keep short badges/rows on one line across breakpoints
   ========================================================================== */
.hero-badge { white-space: nowrap; }
.hero-info-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hero-info-row::-webkit-scrollbar { display: none; }
.hero-info-item { white-space: nowrap; flex-shrink: 0; }

/* Page hero spacing — guarantee clearance under the fixed header on every page */
.page-hero { padding-top: 7.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .page-hero { padding-top: 8.5rem; } }

/* ==========================================================================
   Professional header navigation
   ========================================================================== */
.nav-link { position: relative; padding-bottom: 4px; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: #3b82f6;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Mobile slide-in drawer menu */
.mobile-drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(2, 3, 8, 0.7);
    backdrop-filter: blur(2px);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(82vw, 340px);
    background: #0b0d11;
    border-left: 1px solid rgba(255,255,255,0.06);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 60;
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.mobile-drawer-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.5rem; font-size: 1rem; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.2s ease, color 0.2s ease; }
.mobile-drawer-link:hover, .mobile-drawer-link:active { background: rgba(59,130,246,0.08); color: #fff; }
.hamburger-line { transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: center; }
.header-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
#mobile-menu-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#mobile-menu-toggle.is-active .hamburger-line:nth-child(2) { opacity: 0; }
#mobile-menu-toggle.is-active .hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
            