/* =============================================
   ATLAS AI ARCHITECTURE ACADEMY - MAIN STYLES
   ============================================= */

/* ---------------------------------------------
   01. CSS VARIABLES & DESIGN TOKENS
   --------------------------------------------- */
:root {
    --bg-deep:        #05070a;
    --bg-base:        #070a0f;
    --bg-surface:     #0d1117;
    --bg-card:        #0f131c;
    --bg-elevated:    #111827;
    --border-subtle:  #1f2937;
    --border-light:   #374151;
    --border-glow:    rgba(0, 212, 255, 0.25);

    --text-primary:   #f8fafc;
    --text-secondary: #9ca3af;
    --text-muted:     #6b7280;
    --text-on-dark:   #f1f5f9;

    --accent-cyan:    #00d4ff;
    --accent-cyan-dim:rgba(0, 212, 255, 0.15);
    --accent-gold:    #d4af37;
    --accent-gold-dim:rgba(212, 175, 55, 0.15);

    --font-display:    'Space Grotesk', sans-serif;
    --font-body:       'Inter', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --transition-fast:   200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow:   800ms cubic-bezier(0.16, 1, 0.3, 1);

    --container-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { list-style: none; }

/* ---------------------------------------------
   03. UTILITIES & CONTAINERS
   --------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

/* Glassmorphism Base */
.glass-nav, .card-holo {
    background: rgba(14, 18, 26, 0.55);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.card-holo {
    border: 1px solid rgba(65, 80, 110, 0.35);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-base);
}

.card-holo:hover {
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.06), inset 0 1px 0 rgba(255,255,255,0.04);
    transform: translateY(-6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
}
.btn-primary:hover {
    background: #4ee;
    box-shadow: 0 4px 32px rgba(0, 212, 255, 0.35), 0 0 0 4px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1.5px solid rgba(120, 140, 170, 0.35);
    color: var(--text-primary);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.06);
}

.btn-icon { transition: transform var(--transition-base); }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-wide { width: 100%; padding: 16px 32px; }

/* Section Header */
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}
.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}
.centered .section-eyebrow::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(120deg, #ffffff 40%, #c0e8f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------------------------------------------
   04. NAVIGATION
   --------------------------------------------- */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background var(--transition-base), height var(--transition-base), box-shadow var(--transition-base);
}
#main-nav.scrolled {
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    height: 64px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border-bottom-color: rgba(0, 212, 255, 0.08);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.logo-text {
    background: linear-gradient(90deg, #ffffff, #a5dff0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    border: 1px solid transparent;
    transition: border-color var(--transition-base);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { border-color: rgba(120, 140, 170, 0.25); }

.nav-cta {
    color: var(--accent-cyan) !important;
    background: rgba(0, 212, 255, 0.08);
    border: 1.5px solid rgba(0, 212, 255, 0.25) !important;
}
.nav-cta:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5) !important;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-menu-btn[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------
   05. HERO SECTION
   --------------------------------------------- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

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

.hero-grid {
    position: absolute; inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    opacity: 0.3;
}
.hero-glow.top-right  { top: -100px; right: -150px; background: rgba(0, 212, 255, 0.18); }
.hero-glow.bottom-left { bottom: -100px; left: -150px; background: rgba(212, 175, 55, 0.12); }

.orb-container { position: absolute; inset: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbDrift 20s ease-in-out infinite alternate;
    opacity: 0.15;
}
.orb-1 { width: 400px; height: 400px; background: var(--accent-cyan); top: 10%; left: -5%; animation-duration: 25s; }
.orb-2 { width: 350px; height: 350px; background: var(--accent-gold); bottom: 5%; right: -8%; animation-duration: 30s; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(120, 180, 255, 0.6); top: 50%; left: 40%; animation-duration: 22s; animation-delay: -10s; }

@keyframes orbDrift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(40px, -30px) scale(1.1); }
    66%  { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-angle {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 255, 0.02) 100%);
    pointer-events: none;
}

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

.hero-tagline {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 14px;
}
.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 40px; height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    background: linear-gradient(160deg, #ffffff 20%, #00d4ff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 44px;
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero Floating Cards */
.hero-floats { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: none; }
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(65, 80, 110, 0.35);
    background: rgba(14, 18, 26, 0.65);
    backdrop-filter: blur(16px);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.85;
    animation: floatCard 6s ease-in-out infinite;
}
.floater-icon { width: 28px; height: 28px; color: var(--accent-cyan); display: block; }
.float-card-1 { top: 15%; right: 8%; animation-delay: 0s; }
.float-card-2 { top: 45%; right: 4%; animation-delay: -2s; }
.float-card-3 { bottom: 20%; right: 10%; animation-delay: -4s; }

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.scroll-mouse {
    width: 26px; height: 38px;
    border: 2px solid rgba(0, 212, 255, 0.35);
    border-radius: 16px;
    position: relative;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%   { opacity: 1; top: 6px; }
    80%  { opacity: 0; top: 20px; }
    100% { opacity: 0; top: 6px; }
}

/* ---------------------------------------------
   06. SYSTEMS / PILLARS SECTION
   --------------------------------------------- */
.section-below-hero { position: relative; padding-top: 140px; }
.systems-ledge {
    position: absolute; top: -1px; left: 0; right: 0;
    height: 80px; z-index: 5;
    background: linear-gradient(to bottom, var(--bg-deep), transparent);
    pointer-events: none;
}
.systems { padding-bottom: 140px; }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card { padding: 40px 32px; }

.pillar-icon-wrap {
    width: 64px; height: 64px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.06);
    border: 1.5px solid rgba(0, 212, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all var(--transition-base);
}
.pillar-card:hover .pillar-icon-wrap {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}
.pillar-icon {
    width: 32px; height: 32px;
    color: var(--accent-cyan);
    transition: transform var(--transition-base);
}
.pillar-card:hover .pillar-icon { transform: rotateY(15deg) scale(1.1); }

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.pillar-faux-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.75;
    transition: opacity var(--transition-base), gap var(--transition-base);
}
.pillar-card:hover .pillar-faux-link { opacity: 1; gap: 12px; }

/* ---------------------------------------------
   07. PROGRAMS SECTION
   --------------------------------------------- */
.programs { padding: 100px 0 140px 0; position: relative; }

.programs-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.programs-sync-line {
    position: absolute;
    left: 320px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.25), transparent);
    opacity: 0.4;
}

.programs-tabs { display: flex; flex-direction: column; gap: 8px; }

.tab-btn {
    text-align: left;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}
.tab-btn .tab-icon {
    width: 22px; height: 22px;
    opacity: 0.6;
    transition: opacity var(--transition-base), color var(--transition-base);
    flex-shrink: 0;
    color: currentColor;
}
.tab-btn:hover {
    background: rgba(255,255,255,0.02);
    color: var(--text-primary);
}
.tab-btn.active {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
    color: var(--text-primary);
}
.tab-btn.active .tab-icon {
    opacity: 1;
    color: var(--accent-cyan);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelFade 0.5s ease-out; }
@keyframes panelFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.program-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 420px;
}

.program-visual {
    position: relative;
    background: linear-gradient(135deg, #0a1525 0%, #0f172a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(65, 80, 110, 0.2);
}

.program-shape {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 212, 255, 0.15);
    animation: shapePulse 4s ease-in-out infinite;
}
.shape-1 { width: 240px; height: 240px; animation-delay: 0s; }
.shape-2 { width: 180px; height: 180px; border-color: rgba(212, 175, 55, 0.15); animation-delay: 1.5s; }
.shape-3 { width: 120px; height: 120px; border-color: rgba(0, 212, 255, 0.25); animation-delay: 3s; }

@keyframes shapePulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%      { transform: scale(1.15); opacity: 0.8; }
}

.program-details { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.program-details h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}
.program-details p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.program-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.program-meta li {
    display: flex; flex-direction: column; gap: 4px;
    font-size: 0.85rem; color: var(--text-secondary); font-weight: 500;
}
.program-meta span {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700; color: var(--accent-cyan);
}

/* ---------------------------------------------
   08. DESIGN LAB SECTION
   --------------------------------------------- */
.design-lab { padding: 120px 0; position: relative; }
.design-lab-glow {
    position: absolute; top: 10%; right: 0;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.design-lab .container { position: relative; z-index: 1; }

.design-lab .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}
.design-lab .section-header .section-title { margin-bottom: 0; }

.lab-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all var(--transition-base);
    background: transparent;
}
.filter-btn:hover { color: var(--text-primary); border-color: rgba(120, 140, 170, 0.2); }
.filter-btn.active {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(65, 80, 110, 0.25);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-base);
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.5), 0 0 40px rgba(0, 212, 255, 0.04);
}

.project-media {
    position: relative;
    height: 240px;
    background: var(--project-bg, #0d1520);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-place {
    position: absolute;
    top: 16px; left: 16px;
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(10, 14, 22, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(120, 140, 170, 0.15);
    font-family: var(--font-display);
    font-size: 0.75rem; font-weight: 600; color: var(--text-secondary);
    z-index: 2;
}
.project-place svg { width: 14px; height: 14px; opacity: 0.7; }

/* Abstract building thumbnails */
.project-thumbs {
    position: absolute; inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding-bottom: 24px;
    opacity: 0.25;
    transition: opacity var(--transition-base), transform var(--transition-base);
}
.project-card:hover .project-thumbs {
    opacity: 0.5;
    transform: translateY(-6px);
}
.project-thumb {
    width: 48px; height: 120px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--accent-cyan), rgba(0, 212, 255, 0));
    opacity: 0.5;
}
.project-thumb.t2 { height: 170px; opacity: 0.7; }
.project-thumb.t3 { height: 90px; opacity: 0.35; }

.project-text { padding: 24px; }
.project-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    transition: color var(--transition-base);
}
.project-card:hover .project-title { color: var(--accent-cyan); }

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.project-platform {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.06);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.12);
    width: fit-content;
}

.lab-cta { margin-top: 56px; text-align: center; }

/* ---------------------------------------------
   09. CONTACT SECTION
   --------------------------------------------- */
.contact { padding: 120px 0 0 0; position: relative; }
.contact-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.contact-grid-overlay {
    position: absolute; inset: 0; opacity: 0.06;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}
.contact-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.25;
}
.contact-glow.tl { top: -180px; left: -100px; background: rgba(212, 175, 55, 0.15); }
.contact-glow.br { bottom: -180px; right: -100px; background: rgba(0, 212, 255, 0.12); }

.contact-grid-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    position: relative; z-index: 1;
    margin-bottom: 80px;
}

.contact-info-col { display: flex; flex-direction: column; gap: 20px; }

.info-card {
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-cyan);
}
.info-icon svg { width: 20px; height: 20px; }
.info-details h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.info-details p, .info-details a {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
}

.holo-form {
    padding: 48px;
    position: relative;
}
.holo-form::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-gold), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0.5;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.form-group { position: relative; margin-bottom: 30px; flex: 1; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color var(--transition-base);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(120, 140, 170, 0.2);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    transition: border-color var(--transition-base);
}
.form-group textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%239ca3af%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
}
.form-group select option { background: var(--bg-card); color: var(--text-primary); }

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-cyan);
}

.form-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent-cyan);
    transition: width var(--transition-smooth);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { width: 100%; }

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label { color: var(--accent-cyan); }

.form-status {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-height: 24px;
}
.form-status.success { color: #4ec9b0; }
.form-status.error   { color: #fc8181; }

/* Submit button loading state */
.btn-submit.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid rgba(0,0,0,0.15);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------
   10. FOOTER
   --------------------------------------------- */
.site-footer {
    border-top: 1px solid rgba(65, 80, 110, 0.2);
    padding: 80px 0 40px;
    background: rgba(5, 7, 10, 0.95);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand { max-width: 340px; }
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 20px;
}

.logo-invert .logo-text {
    background: linear-gradient(90deg, #ffffff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-base), padding-left var(--transition-base);
    padding-left: 0;
    display: inline-block;
}
.footer-col ul li a:hover { color: var(--accent-cyan); padding-left: 4px; }

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid rgba(65, 80, 110, 0.15);
    text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------------------------------------------
   11. RESPONSIVE STYLES
   --------------------------------------------- */
@media (min-width: 1025px) {
    .hero-floats { display: block; }
}

@media (max-width: 1024px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid-layout { grid-template-columns: 1fr; }
    .programs-layout {
        grid-template-columns: 1fr;
    }
    .programs-sync-line { display: none; }
    .programs-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .programs-tabs::-webkit-scrollbar { display: none; }
    .tab-btn { flex-shrink: 0; white-space: nowrap; }
    .program-card { grid-template-columns: 1fr; }
    .program-visual { height: 200px; border-right: none; border-bottom: 1px solid rgba(65, 80, 110, 0.2); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links {
        position: fixed; inset: 0;
        top: var(--nav-height);
        background: rgba(5, 7, 10, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 999;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link {
        font-size: 1.3rem;
        padding: 16px 32px;
    }
    
    .section-below-hero { padding-top: 100px; }
    .systems { padding-bottom: 90px; }
    .programs { padding: 70px 0 100px; }
    .design-lab { padding: 80px 0; }
    .contact { padding-top: 90px; }
    
    .projects-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    
    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand { max-width: 100%; }
    .footer-col h5 { margin-bottom: 14px; }
    
    .hero-headline { font-size: clamp(2.2rem, 10vw, 3.6rem); }
    
    .design-lab .section-header { flex-direction: column; align-items: flex-start; }
    .lab-filters { width: 100%; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
    .hero-cta-group { width: 100%; flex-direction: column; }
    .btn { width: 100%; }
    .project-card { margin: 0; }
    .holo-form { padding: 32px 24px; }
    .hero-floats { display: none; }
}