/* ============================================
   QUANTUM AI FINANCE INSTITUTE
   Production Stylesheet
   ============================================ */

/* 1. CSS Variables & Theme Configuration */
:root {
    --bg-deep: #050507;
    --bg-dark: #0a0a0f;
    --bg-panel: #12121a;
    --bg-elevated: #1a1a24;
    
    --emerald: #00ff88;
    --emerald-dim: #00d67a;
    --emerald-glow: rgba(0, 255, 136, 0.4);
    
    --gold: #ffd700;
    --gold-dim: #e6c200;
    --gold-glow: rgba(255, 215, 0, 0.4);
    
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6b6b78;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --section-padding: 120px;
    --container-width: 1280px;
}

/* 2. Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* 3. Typography & Fonts */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* 4. Utility Classes */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--emerald);
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.section-title {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* 5. Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--emerald);
    font-size: 1.5rem;
    animation: pulse-emerald 3s infinite;
}

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

.nav-menu {
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-smooth);
}

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

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

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

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* 6. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #12121a 0%, #050507 100%);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,7,0.3) 0%, rgba(5,5,7,0.8) 100%);
    z-index: 2;
}

.hero-panels {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.float-panel {
    position: absolute;
    padding: 20px;
    width: 220px;
    pointer-events: auto;
    transition: var(--transition-smooth);
}

.float-panel:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--glass-highlight);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--gold-glow);
}

.panel-1 {
    top: 15%;
    left: 8%;
    animation: float-1 8s ease-in-out infinite;
}

.panel-2 {
    top: 25%;
    right: 10%;
    animation: float-2 9s ease-in-out infinite;
}

.panel-3 {
    bottom: 20%;
    left: 12%;
    animation: float-3 7s ease-in-out infinite;
}

.panel-header {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.panel-chart {
    height: 50px;
    margin-bottom: 10px;
}

.chart-svg polyline {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-chart 3s ease-out forwards;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100%;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--emerald), transparent);
    border-radius: 2px 2px 0 0;
    animation: grow-bar 2s ease-out forwards;
    opacity: 0.8;
}

.panel-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.panel-1 .panel-value { color: var(--emerald); text-shadow: 0 0 20px var(--emerald-glow); }
.panel-2 .panel-value { color: var(--gold); text-shadow: 0 0 20px var(--gold-glow); }
.panel-3 .panel-value { color: var(--emerald); text-shadow: 0 0 20px var(--emerald-glow); }

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

.hero-title {
    margin-bottom: 28px;
    line-height: 1.05;
}

.title-line {
    display: block;
}

.title-line-accent {
    background: linear-gradient(90deg, var(--emerald), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0,255,136,0.2));
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold) 0%, var(--emerald) 100%);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3), 0 0 60px rgba(0, 255, 136, 0.15);
    letter-spacing: 0.02em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4), 0 0 80px rgba(0, 255, 136, 0.25);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s;
}

.cta-button:hover::before {
    transform: rotate(45deg) translateY(100%);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fade-in-up 2s ease-out 1s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--emerald), transparent);
    animation: scroll-pulse 2s infinite;
}

/* 7. Systems (About) Section */
.systems {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

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

.system-card {
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--emerald), var(--gold));
    opacity: 0;
    transition: opacity 0.3s;
}

.system-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-highlight);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.system-card:hover::before {
    opacity: 1;
}

.system-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 10px currentColor);
}

.system-card h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.system-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 8. Programs Section */
.programs {
    background: var(--bg-dark);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.program-card {
    padding: 48px;
    transition: var(--transition-smooth);
    position: relative;
}

.program-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.05), 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

.program-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 4px 12px;
    border-radius: 100px;
}

.program-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.program-card > p {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.7;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-features li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.program-features li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 9. Finance Lab Section */
.finance-lab {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lab-card {
    overflow: hidden;
    transition: var(--transition-smooth);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.lab-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 30px rgba(0,255,136,0.08);
    border-color: rgba(0,255,136,0.2);
}

.lab-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.lab-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.8;
}

.grad-1 { background: linear-gradient(135deg, #1a1a24 0%, #0f3d2e 100%); }
.grad-2 { background: linear-gradient(135deg, #1a1a24 0%, #3d3a0f 100%); }
.grad-3 { background: linear-gradient(135deg, #1a1a24 0%, #1c3d5c 100%); }
.grad-4 { background: linear-gradient(135deg, #1a1a24 0%, #3d1c1c 100%); }
.grad-5 { background: linear-gradient(135deg, #1a1a24 0%, #2d1c3d 100%); }
.grad-6 { background: linear-gradient(135deg, #1a1a24 0%, #1c3d35 100%); }

.lab-platform {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    background: rgba(0,0,0,0.4);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.lab-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lab-content h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.lab-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.lab-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lab-tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 255, 136, 0.08);
    color: var(--emerald);
    border: 1px solid rgba(0, 255, 136, 0.15);
    font-family: var(--font-heading);
    font-weight: 500;
}

/* 10. Contact Section */
.contact {
    background: var(--bg-deep);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-wrapper {
    padding: 60px;
    border-right: 1px solid var(--glass-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff88' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

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

.submit-button {
    position: relative;
    padding: 18px 36px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--emerald) 0%, var(--gold) 100%);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-top: 10px;
    letter-spacing: 0.02em;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 24px;
}

.form-status.success { color: var(--emerald); }
.form-status.error { color: #ff4444; }

.contact-info {
    padding: 60px;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.info-icon {
    font-size: 1.3rem;
    color: var(--gold);
    filter: drop-shadow(0 0 8px var(--gold-glow));
    line-height: 1.4;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: normal;
    line-height: 1.5;
}

.info-value a {
    transition: color 0.3s;
}

.info-value a:hover {
    color: var(--emerald);
}

.contact-map {
    margin-top: auto;
    padding-top: 20px;
}

.map-frame {
    position: relative;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-panel);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0,255,136,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,136,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--emerald);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--emerald);
    animation: map-pulse 2s infinite;
}

.map-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* 11. Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-deep);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

/* 12. Animations & Keyframes */
@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

@keyframes draw-chart {
    to { stroke-dashoffset: 0; }
}

@keyframes grow-bar {
    from { height: 0; opacity: 0; }
    to { opacity: 0.8; }
}

@keyframes pulse-emerald {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-pulse {
    0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@keyframes map-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0,255,136,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,255,136,0); }
}

/* 13. Media Queries & Responsive */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }
    
    .float-panel {
        display: none;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        line-height: 1.1;
    }
    
    .lab-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
    
    .program-card {
        padding: 32px 24px;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
    }
}