/* ============================================
   1. VARIABLES & IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

:root {
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Orbitron', sans-serif;

    --color-bg: #020617;
    --color-bg-alt: #0f172a;
    --color-navy-deep: #0b1021;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-border: rgba(255, 255, 255, 0.08);

    --color-magenta: #e879f9;
    --color-magenta-glow: rgba(232, 121, 249, 0.45);
    --color-cyan: #22d3ee;
    --color-cyan-glow: rgba(34, 211, 238, 0.45);

    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;

    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

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

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--color-text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   4. LAYOUT & UTILITIES
   ============================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-cyan);
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 999px;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
}

.glass-panel {
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glass);
}

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

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-magenta), var(--color-cyan));
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--color-bg);
    font-size: 1.1rem;
}

.logo-accent {
    color: var(--color-cyan);
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-cyan));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text);
}

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

.nav-cta {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--color-cyan);
    border-radius: var(--radius-sm);
    color: var(--color-cyan);
}

.nav-cta:hover {
    background: rgba(34, 211, 238, 0.1);
    color: var(--color-cyan);
}

.nav-cta::after {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    transition: 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1e1b4b 0%, #020617 60%);
}

.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2,6,23,0.3) 0%, rgba(2,6,23,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-magenta), var(--color-cyan));
    color: #020617;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(232, 121, 249, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

/* Hero Entrance Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--transition) forwards;
}

.fade-in-up[data-delay="0"] { animation-delay: 0.2s; }
.fade-in-up[data-delay="100"] { animation-delay: 0.4s; }
.fade-in-up[data-delay="200"] { animation-delay: 0.6s; }
.fade-in-up[data-delay="300"] { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-cyan), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */
.about {
    background: linear-gradient(to bottom, #020617, #0f172a);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.about-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
}

.about-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.icon-magenta {
    background: rgba(232, 121, 249, 0.1);
    color: var(--color-magenta);
    border: 1px solid rgba(232, 121, 249, 0.2);
    box-shadow: 0 0 15px rgba(232, 121, 249, 0.15);
}

.icon-cyan {
    background: rgba(34, 211, 238, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
}

.holographic {
    background: linear-gradient(135deg, rgba(232,121,249,0.15), rgba(34,211,238,0.15));
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.1);
    animation: holoShift 4s ease infinite;
}

.glass-emphasis {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.12);
}

@keyframes holoShift {
    0%, 100% { box-shadow: 0 0 15px rgba(232, 121, 249, 0.25); }
    50% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.25); }
}

.about-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-family: var(--font-display);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   8. STATS SECTION
   ============================================ */
.stats {
    padding: 4rem 0;
    background: #0f172a;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-magenta), var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-cyan);
    margin-left: 0.25rem;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   9. PROGRAMS SECTION
   ============================================ */
.programs {
    background: linear-gradient(to bottom, #0f172a, #020617);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.program-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
}

.program-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.glow-magenta {
    background: radial-gradient(circle at 50% 0%, var(--color-magenta-glow), transparent 70%);
}

.glow-cyan {
    background: radial-gradient(circle at 50% 0%, var(--color-cyan-glow), transparent 70%);
}

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

.program-card:hover {
    transform: translateY(-6px);
}

.program-content {
    position: relative;
    z-index: 1;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-bottom: 1rem;
    display: block;
}

.program-content h3 {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-family: var(--font-display);
}

.program-meta {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--color-cyan);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   10. MARKETING LAB (GALLERY)
   ============================================ */
.lab {
    background: linear-gradient(to bottom, #020617, #0f172a);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.lab-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.lab-card:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: translateY(-4px) scale(1.01);
}

.lab-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.lab-visual {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    position: relative;
}

.lab-card:hover .lab-visual {
    transform: scale(1.1);
}

/* Abstract visual placeholders using gradients */
.visual-1 { background: linear-gradient(135deg, #1e1b4b, #4c1d95); }
.visual-2 { background: linear-gradient(135deg, #0f172a, #0369a1); }
.visual-3 { background: linear-gradient(135deg, #312e81, #1e1b4b); }
.visual-4 { background: linear-gradient(135deg, #0c4a6e, #082f49); }
.visual-5 { background: linear-gradient(135deg, #4a044e, #701a75); }
.visual-6 { background: linear-gradient(135deg, #111827, #1f2937); }

/* Overlay patterns for visuals */
.lab-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 11px);
}

.lab-info {
    padding: 1.5rem;
}

.lab-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-family: var(--font-display);
}

.lab-platform,
.lab-innovation {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-muted);
}

.lab-platform span,
.lab-innovation span {
    color: var(--color-cyan);
    font-weight: 600;
}

/* ============================================
   11. CONTACT SECTION
   ============================================ */
.contact {
    background: radial-gradient(ellipse at top, #1e1b4b 0%, #020617 50%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-panel {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
}

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.dot-magenta { background: var(--color-magenta); box-shadow: 0 0 8px var(--color-magenta); }
.dot-cyan { background: var(--color-cyan); box-shadow: 0 0 8px var(--color-cyan); }

.dash-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-label {
    width: 80px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-display);
}

.dash-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.dash-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fill-magenta { background: linear-gradient(90deg, var(--color-magenta), rgba(232,121,249,0.5)); }
.fill-cyan { background: linear-gradient(90deg, var(--color-cyan), rgba(34,211,238,0.5)); }

.dash-value {
    width: 45px;
    text-align: right;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--color-text);
}

.dash-line-chart {
    width: 100%;
    height: 60px;
    margin-top: 0.5rem;
}

.chart-line {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 2s ease;
}

.chart-line.active {
    stroke-dashoffset: 0;
}

.chart-magenta { stroke: var(--color-magenta); filter: drop-shadow(0 0 4px var(--color-magenta)); }
.chart-cyan { stroke: var(--color-cyan); filter: drop-shadow(0 0 4px var(--color-cyan)); }

.holographic-panel {
    background: linear-gradient(135deg, rgba(232,121,249,0.05), rgba(34,211,238,0.05));
    border: 1px solid rgba(255,255,255,0.1);
}

.funnel-viz {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.funnel-stage {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.05);
}

.stage-1 { width: 100%; background: rgba(232, 121, 249, 0.15); }
.stage-2 { width: 85%; background: rgba(167, 139, 250, 0.15); }
.stage-3 { width: 65%; background: rgba(34, 211, 238, 0.15); }
.stage-4 { width: 45%; background: rgba(34, 211, 238, 0.1); }

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

.contact-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

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

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-status {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-cyan);
    min-height: 1.5rem;
}

/* Contact Details */
.contact-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    margin-bottom: 0.15rem;
}

.detail-item a,
.detail-item address {
    color: var(--color-text);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--color-cyan);
}

/* ============================================
   12. FOOTER
   ============================================ */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    background: #020617;
    text-align: center;
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-top: 0.25rem;
}

/* ============================================
   13. ANIMATIONS & KEYFRAMES
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ============================================
   14. RESPONSIVE
   ============================================ */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-dashboard {
        order: 1;
    }
    .contact-form-wrapper {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--color-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }

    .mobile-toggle[aria-expanded="true"] .hamburger::before {
        top: 0;
        transform: rotate(45deg);
        background: var(--color-cyan);
    }

    .mobile-toggle[aria-expanded="true"] .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
        background: var(--color-cyan);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .programs-grid,
    .lab-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .funnel-stage {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
    }
}