/* ======================================================
   MK GLOBAL INNOVATIONS — DESIGN SYSTEM & STYLES
   ====================================================== */

/* ---- CSS VARIABLES ---- */
:root {
    /* Colors */
    --bg-primary: #030014;
    --bg-secondary: #0a0a1a;
    --surface-1: rgba(255, 255, 255, 0.02);
    --surface-2: rgba(255, 255, 255, 0.04);
    --surface-3: rgba(255, 255, 255, 0.06);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;

    --blue: #3b82f6;
    --purple: #a855f7;
    --cyan: #06b6d4;
    --green: #10b981;
    --pink: #ec4899;
    --orange: #f97316;

    --gradient-primary: linear-gradient(135deg, var(--blue), var(--purple));
    --gradient-accent: linear-gradient(135deg, var(--purple), var(--cyan));
    --gradient-warm: linear-gradient(135deg, var(--orange), var(--pink));

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-smooth: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);

    /* Spacing */
    --section-padding: 8rem 0;
    --container-max: 1200px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ---- RESET ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
}



/* ---- LOADING SCREEN ---- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--surface-3);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loaderFill 1.8s var(--ease-out-expo) forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* --- AI VISUAL EFFECTS (BACKGROUND) --- */
        #ai-network {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -2;
            pointer-events: none;
        }

        .ambient-orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
            pointer-events: none;
            animation: pulseOrb 8s infinite alternate ease-in-out;
        }

        .orb-1 {
            width: 400px; height: 400px;
            background: rgba(112, 0, 255, 0.15);
            top: -100px; left: -100px;
        }

        .orb-2 {
            width: 500px; height: 500px;
            background: rgba(0, 240, 255, 0.1);
            bottom: -200px; right: -100px;
            animation-delay: -4s;
        }

        @keyframes pulseOrb {
            0% { transform: scale(1); opacity: 0.5; }
            100% { transform: scale(1.2); opacity: 1; }
        }

/* ---- SITE WRAPPER ---- */
.site-wrapper {
    position: relative;
    z-index: 1;
}

/* ---- LAYOUT ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

.center {
    text-align: center;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.center .section-description {
    margin: 0 auto 4rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-animated {
    background: linear-gradient(270deg, var(--blue), var(--purple), var(--cyan), var(--blue));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

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

/* ---- GLASS CARD ---- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px -4px rgba(59, 130, 246, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px -4px rgba(59, 130, 246, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--surface-3);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-icon, .btn-icon-left {
    width: 18px;
    height: 18px;
}

.full-width {
    width: 100%;
}

/* ======================================================
   NAVIGATION
   ====================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(3, 0, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 0, 20, 0.95);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: var(--blue);
}

.mobile-cta {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulseDot 2s ease infinite;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Clients */
.hero-clients {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.clients-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsl(var(--hue), 60%, 30%);
    border: 2px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -10px;
    transition: transform 0.3s var(--ease-out-back);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-4px) scale(1.1);
    z-index: 1;
}

.avatar-count {
    margin-left: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Hero Float Cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    z-index: 2;
}

.float-card-1 {
    top: 20%;
    right: 8%;
    animation: floatY 7s ease-in-out infinite;
}

.float-card-2 {
    top: 50%;
    right: 3%;
    animation: floatY 8s ease-in-out infinite reverse;
}

.float-card-3 {
    bottom: 20%;
    right: 12%;
    animation: floatY 6s ease-in-out infinite;
    animation-delay: 1s;
}

.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card-icon.purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--purple);
}

.float-card-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.float-card-value {
    font-weight: 700;
    font-size: 0.95rem;
}

.float-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-green {
    background: var(--green);
    animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* ======================================================
   ABOUT
   ====================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.about-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.feature-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple);
}

.feature-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
}

.about-feature:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.about-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.about-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Visual */
.about-visual-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: var(--blue);
    top: 10%;
    left: 10%;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--purple);
    bottom: 10%;
    right: 10%;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 8s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.1); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

.about-glass-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.glass-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: default;
}

.glass-tile:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.tile-1 { color: var(--blue); }
.tile-2 { color: var(--purple); }
.tile-3 { color: var(--cyan); }

/* ======================================================
   SERVICES
   ====================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(168, 85, 247, 0.05));
    border-color: rgba(168, 85, 247, 0.15);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-icon-wrap.purple {
    background: rgba(168, 85, 247, 0.12);
    color: var(--purple);
}

.service-icon-wrap.cyan {
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
}

.service-icon-wrap.gradient {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
    color: var(--purple);
}

.service-icon-wrap.green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.75rem;
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--surface-3);
    color: var(--text-primary);
}

/* ======================================================
   STATS
   ====================================================== */
.stats {
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.stat-label {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ======================================================
   TECH STACK
   ====================================================== */
.tech {
    overflow: hidden;
}

.tech-marquee {
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.tech-item {
    padding: 1rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ======================================================
   TESTIMONIALS
   ====================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
}

.testimonial-stars {
    color: var(--orange);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: hsl(var(--hue), 50%, 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ======================================================
   CONTACT
   ====================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-info-item i {
    color: var(--blue);
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-tertiary);
    margin-top: 1rem;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ======================================================
   ANIMATIONS — Reveal on Scroll
   ====================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card.featured {
        grid-column: span 2;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 0;
    }

    body {
        cursor: auto;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-float-card {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual-container {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ======================================================
   2026 CONTENT EXPANSION — ABOUT / INDUSTRIES / SERVICES /
   INTERNSHIPS / CAREER
   ====================================================== */
.nav-container-wide { max-width: 1380px; }
.nav-links-expanded { gap: 1.35rem; }
.nav-links-expanded .nav-link { font-size: .84rem; white-space: nowrap; }

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 2rem;
    max-width: 720px;
}
.hero-pill-row span,
.job-tags span {
    padding: .45rem .75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 240, 255, .16);
    background: rgba(0, 240, 255, .05);
    color: #bdefff;
    font-size: .76rem;
    font-weight: 600;
}

.about-hero-copy { max-width: 920px; margin-inline: auto; }
.mv-grid,
.team-grid,
.industry-grid,
.internship-grid,
.jobs-grid {
    display: grid;
    gap: 1.5rem;
}
.mv-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }
.value-card { padding: 2rem; }
.value-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin: 1rem 0 .65rem; }
.value-card p { color: var(--text-secondary); font-size: .94rem; }
.value-icon,
.category-icon,
.job-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #8eeeff;
    border: 1px solid rgba(0, 240, 255, .2);
    background: rgba(0, 240, 255, .08);
}
.value-icon.purple,
.category-icon.purple,
.job-icon.purple { color: #d8b4fe; border-color: rgba(168,85,247,.22); background: rgba(168,85,247,.09); }
.value-icon.cyan,
.category-icon.cyan { color: #67e8f9; }

.about-subsection { margin-top: 6rem; }
.subsection-heading { margin-bottom: 2rem; }
.subsection-heading h3,
.about-cta h3,
.internship-cta h3,
.application-panel-head h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
}
.eyebrow {
    display: inline-block;
    color: #67e8f9;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: .45rem;
}
.timeline { position: relative; display: grid; gap: 1rem; }
.timeline::before { content:""; position:absolute; left: 59px; top: 10px; bottom: 10px; width:1px; background: linear-gradient(var(--cyan), rgba(168,85,247,.2)); }
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}
.timeline-year { font-family: var(--font-mono); color: #67e8f9; font-weight: 800; }
.timeline-item h4 { font-family: var(--font-heading); font-size: 1.08rem; margin-bottom: .25rem; }
.timeline-item p { color: var(--text-secondary); font-size: .9rem; }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.team-avatar {
    width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display:grid; place-items:center;
    font-family:var(--font-heading); font-size:1.65rem; font-weight:800;
    background: var(--gradient-primary); box-shadow: 0 0 35px rgba(59,130,246,.22);
}
.team-card h4 { font-family: var(--font-heading); font-size: 1.25rem; }
.team-card span { display:block; color:#cbd5e1; font-size:.88rem; margin-top:.2rem; }
.team-card p { color: var(--text-tertiary); font-size:.82rem; }
.about-cta,
.internship-cta {
    margin-top: 4rem;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.industries { background: linear-gradient(180deg, transparent, rgba(6,182,212,.025), transparent); }
.industry-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }
.industry-card {
    min-height: 230px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.025);
    transition: transform .35s var(--ease-out-expo), border-color .35s ease, background .35s ease;
}
.industry-card:hover { transform: translateY(-6px); border-color: rgba(0,240,255,.22); background: rgba(0,240,255,.035); }
.industry-card > svg { width: 34px; height: 34px; color:#67e8f9; margin-bottom: 1.5rem; }
.industry-card h3 { font-family:var(--font-heading); font-size:1.35rem; margin-bottom:.65rem; }
.industry-card p { color:var(--text-secondary); font-size:.9rem; }

.service-category {
    padding: 2rem;
    margin-top: 1.5rem;
    overflow: hidden;
}
.service-category:first-of-type { margin-top: 3.5rem; }
.service-category-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}
.service-category-header h3 { font-family:var(--font-heading); font-size:1.25rem; }
.category-count { font-family:var(--font-mono); color:#67e8f9; font-size:.78rem; border:1px solid rgba(0,240,255,.15); border-radius:999px; padding:.45rem .7rem; }
.service-list-grid { display:grid; grid-template-columns:1fr 1fr; gap:.75rem 1rem; }
.service-line { display:flex; gap:.9rem; align-items:center; padding:.9rem 1rem; border-radius:12px; background:rgba(255,255,255,.018); border:1px solid rgba(255,255,255,.035); }
.service-line span { color:#64748b; font-family:var(--font-mono); font-size:.72rem; }
.service-line strong { font-size:.9rem; font-weight:600; color:#e2e8f0; }
.service-total { margin-top:2rem; display:flex; flex-wrap:wrap; align-items:baseline; justify-content:center; gap:.6rem; text-align:center; }
.service-total strong { font-family:var(--font-heading); font-size:2.5rem; color:#67e8f9; }
.service-total span { font-weight:700; }
.service-total small { flex-basis:100%; color:var(--text-tertiary); }

.internship-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }
.internship-card { padding:2rem; border-radius:var(--radius-lg); border:1px solid var(--glass-border); background:rgba(255,255,255,.025); }
.internship-card > svg { color:#a5f3fc; width:32px; height:32px; margin-bottom:1.35rem; }
.internship-card > span { color:#67e8f9; text-transform:uppercase; letter-spacing:.1em; font-size:.68rem; font-weight:800; }
.internship-card h3 { font-family:var(--font-heading); font-size:1.25rem; margin:.3rem 0 .65rem; }
.internship-card p { color:var(--text-secondary); font-size:.9rem; }

.internship-card { display:flex; flex-direction:column; }
.internship-card p { flex:1; }
.internship-apply-btn {
    width:100%;
    margin-top:1.35rem;
    justify-content:center;
    gap:.45rem;
}
.internship-apply-btn svg { width:16px; height:16px; }

.career { background: linear-gradient(180deg, transparent, rgba(168,85,247,.025), transparent); }
.jobs-grid { grid-template-columns:1fr 1fr; max-width:1000px; margin:3.5rem auto 0; }
.job-card { padding:2rem; }
.job-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.job-type { color:var(--text-tertiary); font-family:var(--font-mono); font-size:.72rem; }
.job-card h3 { font-family:var(--font-heading); font-size:1.5rem; margin-bottom:.65rem; }
.job-card > p { color:var(--text-secondary); font-size:.9rem; min-height:78px; }
.job-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.25rem 0 1.5rem; }
.job-card .apply-role-btn { width:100%; justify-content:center; cursor:pointer; }

.application-panel { display:none; max-width:1000px; margin:2rem auto 0; padding:2rem; }
.application-panel.open { display:block; animation: applicationOpen .4s var(--ease-out-expo); }
@keyframes applicationOpen { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.application-panel-head { display:flex; justify-content:space-between; gap:1rem; margin-bottom:1.75rem; }
.application-panel-head p { color:var(--text-secondary); max-width:750px; font-size:.88rem; margin-top:.5rem; }
.icon-btn { width:40px; height:40px; border-radius:12px; border:1px solid var(--glass-border); background:rgba(255,255,255,.035); color:var(--text-primary); cursor:pointer; display:grid; place-items:center; }
.resume-upload-box { display:flex; align-items:center; gap:1rem; padding:1.2rem; border:1px dashed rgba(0,240,255,.22); border-radius:var(--radius-md); background:rgba(0,240,255,.025); margin-bottom:1.5rem; }
.resume-upload-box .btn-secondary { border:1px solid rgba(255,255,255,.1); cursor:pointer; display:flex; align-items:center; gap:.5rem; }
.resume-status { color:var(--text-secondary); font-size:.85rem; overflow-wrap:anywhere; }
.application-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem 1.25rem; }
.form-feedback { margin-top:1rem; min-height:24px; font-size:.9rem; color:#67e8f9; }
.form-feedback.error { color:#fda4af; }
.form-feedback.success { color:#6ee7b7; }

.contact-form select { width:100%; }

@media (max-width: 1180px) {
    .nav-links-expanded { gap:.8rem; }
    .nav-links-expanded .nav-link { font-size:.78rem; }
    .nav-links-expanded .nav-cta { padding-inline:1rem; }
}
@media (max-width: 1024px) {
    .mv-grid, .team-grid, .industry-grid, .internship-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid .value-card:last-child, .team-grid .team-card:last-child { grid-column: span 2; }
    .nav-links-expanded { display:none; }
    .mobile-menu-btn { display:flex; }
}
@media (max-width: 768px) {
    .mv-grid, .team-grid, .industry-grid, .internship-grid, .jobs-grid, .service-list-grid, .application-form-grid { grid-template-columns:1fr; }
    .mv-grid .value-card:last-child, .team-grid .team-card:last-child { grid-column:span 1; }
    .service-category-header { grid-template-columns:auto 1fr; }
    .category-count { grid-column:2; justify-self:start; }
    .timeline::before { display:none; }
    .timeline-item { grid-template-columns:1fr; gap:.4rem; }
    .about-cta, .internship-cta, .resume-upload-box { flex-direction:column; align-items:flex-start; }
    .application-panel { padding:1.35rem; }
    .job-card > p { min-height:0; }
}
@media (max-width: 480px) {
    .service-category, .job-card, .value-card, .industry-card, .internship-card { padding:1.35rem; }
    .service-category-header { grid-template-columns:1fr; }
    .category-count { grid-column:1; }
    .hero-pill-row { gap:.4rem; }
    .hero-pill-row span { font-size:.68rem; }
}
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after { width: 100%; }


/* ======================================================
   SERVICE HOVER EXPANSION
   Each service grows and reveals a short description on
   mouse hover, keyboard focus, or touch focus.
   ====================================================== */
.service-category {
    overflow: visible;
}

.service-list-grid {
    align-items: start;
}

.service-line {
    position: relative;
    align-items: flex-start;
    min-height: 58px;
    cursor: default;
    overflow: hidden;
    transform-origin: center;
    transition: transform .32s var(--ease-out-expo),
                min-height .32s var(--ease-out-expo),
                border-color .28s ease,
                background .28s ease,
                box-shadow .32s ease;
}

.service-copy {
    flex: 1;
    min-width: 0;
}

.service-copy strong {
    display: block;
    line-height: 1.4;
}

.service-copy p {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    color: var(--text-secondary);
    font-size: .82rem;
    line-height: 1.65;
    transition: max-height .35s var(--ease-out-expo),
                margin-top .3s ease,
                opacity .25s ease,
                transform .32s var(--ease-out-expo);
}

.service-line:hover,
.service-line:focus,
.service-line:focus-visible {
    z-index: 5;
    min-height: 126px;
    transform: scale(1.045) translateY(-3px);
    border-color: rgba(0, 240, 255, .28);
    background: linear-gradient(135deg, rgba(0, 240, 255, .075), rgba(168, 85, 247, .055));
    box-shadow: 0 20px 42px rgba(0, 0, 0, .34), 0 0 30px rgba(0, 240, 255, .055);
    outline: none;
}

.service-line:hover .service-copy p,
.service-line:focus .service-copy p,
.service-line:focus-visible .service-copy p {
    max-height: 120px;
    margin-top: .55rem;
    opacity: 1;
    transform: translateY(0);
}

.service-line:hover > span,
.service-line:focus > span,
.service-line:focus-visible > span {
    color: #67e8f9;
}

@media (max-width: 768px) {
    .service-line:hover,
    .service-line:focus,
    .service-line:focus-visible {
        transform: scale(1.02) translateY(-2px);
    }
}

@media (hover: none) {
    .service-line {
        cursor: pointer;
    }
}

/* ---- APPLY BUTTON BLUE HOVER ----
   Internship "Click To Apply" and Career "Apply for ..." buttons
   remain transparent/glass until the pointer is placed over them. */
.internship-apply-btn,
.career-apply-btn {
    cursor: pointer;
}

.career-apply-btn {
    width: 100%;
    justify-content: center;
}

.internship-apply-btn:hover,
.internship-apply-btn:focus-visible,
.career-apply-btn:hover,
.career-apply-btn:focus-visible {
    background: #2563eb;
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px -4px rgba(37, 99, 235, 0.6);
    outline: none;
}

.internship-apply-btn svg,
.career-apply-btn svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.internship-apply-btn:hover svg,
.internship-apply-btn:focus-visible svg,
.career-apply-btn:hover svg,
.career-apply-btn:focus-visible svg {
    transform: translate(2px, -2px);
}
