/* ============================================
   VERTEX AI INTELLIGENT LOGISTICS ACADEMY
   ============================================
   Theme: Futuristic Logistics Campus
   Style: Dark steel gradients, electric-blue lighting,
          holographic warehouses, autonomous delivery robots,
          animated logistics routes, premium industrial dashboards
   ============================================ */

/* ============================================
   01. CSS VARIABLES & DESIGN TOKENS
   ============================================ */

:root {
    /* Core Colors */
    --color-bg-primary: #0a0e17;
    --color-bg-secondary: #111827;
    --color-bg-tertiary: #1a2332;
    --color-bg-glass: rgba(17, 24, 39, 0.7);
    
    /* Steel Gradients */
    --steel-dark: #1a1f2e;
    --steel-mid: #2a3441;
    --steel-light: #3d4a5c;
    
    /* Electric Blue Palette */
    --blue-primary: #00d4ff;
    --blue-bright: #33e5ff;
    --blue-dim: #0099cc;
    --blue-glow: rgba(0, 212, 255, 0.3);
    --blue-subtle: rgba(0, 212, 255, 0.08);
    
    /* Accent Colors */
    --accent-cyan: #00f0ff;
    --accent-green: #00e676;
    --accent-amber: #ffb300;
    --accent-rose: #ff6b6b;
    
    /* Text Colors */
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-glow: 0 0 20px var(--blue-glow);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ============================================
   02. RESET & BASE STYLES
   ============================================ */

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

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

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

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

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

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

ul {
    list-style: none;
}

/* ============================================
   03. UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.glass {
    background: var(--color-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   04. NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

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

.logo-icon {
    color: var(--blue-primary);
    font-size: 1.5rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-text {
    color: var(--text-primary);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: width var(--transition-base);
    box-shadow: var(--shadow-glow);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    transform-origin: center;
}

/* ============================================
   05. HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        var(--color-bg-primary);
}

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

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--blue-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float linear infinite;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--blue-subtle);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-primary);
    margin-bottom: var(--space-lg);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-dim), var(--blue-primary));
    color: var(--color-bg-primary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    box-shadow: var(--shadow-glow);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

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

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hologram Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.hologram-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-ring {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: ring-rotate linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-duration: 10s;
    border-top-color: var(--blue-primary);
}

.ring-2 {
    width: 280px;
    height: 280px;
    animation-duration: 15s;
    animation-direction: reverse;
    border-right-color: var(--blue-primary);
}

.ring-3 {
    width: 360px;
    height: 360px;
    animation-duration: 20s;
    border-bottom-color: var(--blue-primary);
}

.hologram-core {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: core-pulse 3s ease-in-out infinite;
}

.core-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px var(--blue-glow));
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--blue-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--blue-glow);
}

.dot-1 {
    animation: orbit 8s linear infinite;
}

.dot-2 {
    animation: orbit 12s linear infinite reverse;
    width: 8px;
    height: 8px;
}

.dot-3 {
    animation: orbit 16s linear infinite;
    width: 6px;
    height: 6px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--blue-primary);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* ============================================
   06. SECTION COMMON STYLES
   ============================================ */

section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
}

/* ============================================
   07. ABOUT SECTION
   ============================================ */

.about {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.about-card {
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    color: var(--blue-primary);
    margin-bottom: var(--space-md);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

/* Mission Section */
.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.mission-content {
    padding: var(--space-xl);
    position: relative;
}

.mission-accent-line {
    position: absolute;
    left: 0;
    top: var(--space-xl);
    bottom: var(--space-xl);
    width: 3px;
    background: linear-gradient(180deg, var(--blue-primary), transparent);
    border-radius: 3px;
}

.mission-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.mission-content cite {
    font-size: 0.9375rem;
    color: var(--blue-primary);
    font-style: normal;
    padding-left: var(--space-md);
}

/* Dashboard Preview */
.mission-visual {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 400px;
    background: var(--steel-dark);
    border-radius: var(--radius-lg);
    border: 1px solid var(--steel-light);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    background: var(--steel-mid);
    border-bottom: 1px solid var(--steel-light);
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose);
}

.dash-dot.yellow {
    background: var(--accent-amber);
}

.dash-dot.green {
    background: var(--accent-green);
}

.dash-title {
    margin-left: auto;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-body {
    padding: var(--space-md);
}

.dash-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.metric-value {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    color: var(--blue-primary);
    font-weight: 700;
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--blue-primary), var(--blue-dim));
    border-radius: 2px 2px 0 0;
    min-height: 4px;
    animation: chart-grow 2s ease-out forwards;
    transform-origin: bottom;
}

/* ============================================
   08. PROGRAMS SECTION
   ============================================ */

.programs {
    background: var(--color-bg-primary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.program-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.program-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.program-visual {
    position: relative;
    background: linear-gradient(135deg, var(--steel-dark), var(--steel-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.program-icon {
    font-size: 3rem;
    z-index: 2;
    position: relative;
}

/* Program Visual Animations */
.program-routes {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.route-path {
    stroke: var(--blue-primary);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: route-draw 3s ease-in-out infinite;
}

.route-node {
    fill: var(--blue-primary);
    animation: node-pulse 2s ease-in-out infinite;
}

.program-robots {
    position: absolute;
    inset: 0;
}

.robot-silhouette {
    position: absolute;
    width: 30px;
    height: 40px;
    background: var(--blue-primary);
    border-radius: 4px;
    opacity: 0.2;
}

.robot-1 {
    top: 30%;
    left: 20%;
    animation: robot-move 4s ease-in-out infinite;
}

.robot-2 {
    top: 50%;
    right: 20%;
    animation: robot-move 5s ease-in-out infinite reverse;
}

.robot-3 {
    bottom: 20%;
    left: 50%;
    animation: robot-move 6s ease-in-out infinite;
}

.program-network {
    position: absolute;
    inset: 0;
}

.network-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--blue-primary);
    border-radius: 50%;
}

.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    box-shadow: 0 0 15px var(--blue-glow);
}

.node-1 { top: 20%; left: 30%; }
.node-2 { top: 20%; right: 30%; }
.node-3 { bottom: 20%; left: 30%; }
.node-4 { bottom: 20%; right: 30%; }

.network-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
    opacity: 0.3;
}

.line-1 {
    top: 25%;
    left: 30%;
    right: 30%;
    animation: line-flow 3s linear infinite;
}

.line-2 {
    bottom: 25%;
    left: 30%;
    right: 30%;
    animation: line-flow 3s linear infinite reverse;
}

.program-transport {
    position: absolute;
    inset: 0;
}

.transport-track {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
    transform: translateY(-50%);
}

.transport-vehicle {
    position: absolute;
    top: 45%;
    width: 40px;
    height: 20px;
    background: var(--blue-primary);
    border-radius: 4px;
    animation: vehicle-move 4s linear infinite;
    box-shadow: 0 0 10px var(--blue-glow);
}

.transport-station {
    position: absolute;
    top: 40%;
    width: 8px;
    height: 8px;
    background: var(--accent-amber);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 179, 0, 0.5);
}

.st-1 { left: 15%; }
.st-2 { left: 50%; }
.st-3 { right: 15%; }

.program-content {
    padding: var(--space-lg);
}

.program-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--blue-primary);
    font-weight: 700;
}

.program-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: var(--space-xs) 0 var(--space-sm);
}

.program-content > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.program-features {
    margin-bottom: var(--space-md);
}

.program-features li {
    position: relative;
    padding-left: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.program-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue-primary);
}

.program-cta {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--blue-primary);
    transition: color var(--transition-fast);
}

.program-cta:hover {
    color: var(--blue-bright);
}

/* ============================================
   09. LOGISTICS LAB SECTION
   ============================================ */

.lab {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.project-card {
    overflow: hidden;
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--steel-dark), var(--steel-mid));
    position: relative;
    overflow: hidden;
}

/* Project Visuals */
.project-visual {
    position: absolute;
    inset: 0;
}

/* Drone Visual */
.visual-drone {
    display: flex;
    align-items: center;
    justify-content: center;
}

.drone-body {
    width: 60px;
    height: 20px;
    background: var(--steel-light);
    border-radius: 10px;
    position: relative;
}

.drone-prop {
    position: absolute;
    width: 30px;
    height: 4px;
    background: var(--blue-primary);
    border-radius: 2px;
    animation: prop-spin 0.2s linear infinite;
}

.prop-1 { top: -8px; left: -15px; }
.prop-2 { top: -8px; right: -15px; }
.prop-3 { bottom: -8px; left: -15px; }
.prop-4 { bottom: -8px; right: -15px; }

/* Sorter Visual */
.visual-sorter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sorter-belt {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--steel-light);
    transform: translateY(-50%);
}

.sorter-package {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--accent-amber);
    border-radius: 4px;
    animation: package-move 3s linear infinite;
}

.pkg-1 { animation-delay: 0s; }
.pkg-2 { animation-delay: 1s; }
.pkg-3 { animation-delay: 2s; }

.sorter-arm {
    position: absolute;
    top: 30%;
    right: 25%;
    width: 4px;
    height: 60px;
    background: var(--blue-primary);
    border-radius: 2px;
    transform-origin: top;
    animation: arm-swing 2s ease-in-out infinite;
}

/* Truck Visual */
.visual-truck {
    display: flex;
    align-items: center;
    justify-content: center;
}

.truck-cab {
    position: absolute;
    left: 25%;
    width: 40px;
    height: 50px;
    background: var(--steel-light);
    border-radius: 8px 8px 0 0;
}

.truck-trailer {
    position: absolute;
    right: 20%;
    width: 80px;
    height: 40px;
    background: linear-gradient(90deg, var(--steel-light), var(--steel-mid));
    border-radius: 4px;
}

.truck-wheel {
    position: absolute;
    bottom: 25%;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: wheel-spin 1s linear infinite;
}

.w-1 { left: 30%; }
.w-2 { right: 25%; }

.truck-sensor {
    position: absolute;
    top: 35%;
    left: 30%;
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: sensor-blink 1s ease-in-out infinite;
}

/* Map Visual */
.visual-map {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.map-route {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 40%;
    border: 2px solid var(--blue-primary);
    border-radius: 8px;
    animation: route-pulse 3s ease-in-out infinite;
}

.map-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

.mn-1 { top: 25%; left: 25%; }
.mn-2 { top: 25%; right: 25%; }
.mn-3 { bottom: 25%; left: 50%; }

.map-heat {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3), transparent);
    border-radius: 50%;
    animation: heat-pulse 2s ease-in-out infinite;
}

/* Bot Visual */
.visual-bot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-body {
    width: 50px;
    height: 60px;
    background: var(--steel-light);
    border-radius: 12px;
    position: relative;
}

.bot-eye {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 12px;
    background: var(--blue-primary);
    border-radius: 6px;
    animation: eye-scan 3s ease-in-out infinite;
}

.bot-arm {
    position: absolute;
    top: 25px;
    width: 30px;
    height: 8px;
    background: var(--steel-light);
    border-radius: 4px;
}

.bot-arm.left {
    left: -25px;
    transform-origin: right;
    animation: arm-wave 2s ease-in-out infinite;
}

.bot-arm.right {
    right: -25px;
    transform-origin: left;
    animation: arm-wave 2s ease-in-out infinite reverse;
}

.bot-track {
    position: absolute;
    bottom: -10px;
    left: -10px;
    right: -10px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 4px;
}

/* Ship Visual */
.visual-ship {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ship-hull {
    position: absolute;
    bottom: 30%;
    width: 120px;
    height: 30px;
    background: var(--steel-light);
    border-radius: 0 0 15px 15px;
}

.ship-deck {
    position: absolute;
    bottom: calc(30% + 30px);
    width: 100px;
    height: 20px;
    background: var(--steel-mid);
    border-radius: 4px 4px 0 0;
}

.ship-container {
    position: absolute;
    width: 20px;
    height: 12px;
    border-radius: 2px;
    animation: container-stack 2s ease-in-out infinite;
}

.c-1 { bottom: calc(30% + 50px); left: 35%; background: var(--accent-amber); }
.c-2 { bottom: calc(30% + 50px); left: 45%; background: var(--blue-primary); animation-delay: 0.5s; }
.c-3 { bottom: calc(30% + 50px); left: 55%; background: var(--accent-green); animation-delay: 1s; }

.ship-wave {
    position: absolute;
    bottom: 25%;
    left: 20%;
    right: 20%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
    border-radius: 2px;
    animation: wave-motion 2s ease-in-out infinite;
}

/* Project Info */
.project-info {
    padding: var(--space-md);
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--blue-subtle);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin: var(--space-xs) 0 var(--space-sm);
}

.project-info > p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-author {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.project-status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status.live {
    background: rgba(0, 230, 118, 0.15);
    color: var(--accent-green);
}

.project-status.beta {
    background: rgba(255, 179, 0, 0.15);
    color: var(--accent-amber);
}

/* ============================================
   10. CONTACT SECTION
   ============================================ */

.contact {
    background: var(--color-bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--blue-primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2px;
    font-style: normal;
}

.contact-value:hover {
    color: var(--blue-primary);
}

.contact-map {
    margin-top: auto;
    padding-top: var(--space-lg);
}

.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--steel-dark), var(--steel-mid));
    border-radius: var(--radius-md);
    border: 1px solid var(--steel-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-pin {
    position: relative;
    z-index: 1;
}

.pin-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--blue-primary);
    border-radius: 50%;
    animation: pin-pulse 2s ease-out infinite;
}

.pin-dot {
    width: 16px;
    height: 16px;
    background: var(--blue-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--blue-glow);
}

.map-label {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    padding: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--steel-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-base);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-primary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

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

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: width var(--transition-base);
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

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

/* ============================================
   11. FOOTER
   ============================================ */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--steel-dark);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--blue-primary);
    color: var(--color-bg-primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--blue-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-location {
    font-family: var(--font-heading);
}

/* ============================================
   12. TOAST NOTIFICATION
   ============================================ */

.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--steel-dark);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(150%);
    transition: transform var(--transition-base);
    z-index: 2000;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 230, 118, 0.15);
    border-radius: 50%;
    color: var(--accent-green);
    font-size: 1rem;
    font-weight: 700;
}

.toast-message {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   13. KEYFRAME ANIMATIONS
   ============================================ */

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 10px var(--blue-glow); }
    50% { text-shadow: 0 0 25px var(--blue-glow), 0 0 50px var(--blue-glow); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes orbit {
    from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

@keyframes route-draw {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

@keyframes node-pulse {
    0%, 100% { r: 4; opacity: 1; }
    50% { r: 6; opacity: 0.7; }
}

@keyframes robot-move {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes line-flow {
    0% { opacity: 0.1; }
    50% { opacity: 0.5; }
    100% { opacity: 0.1; }
}

@keyframes vehicle-move {
    0% { left: 10%; }
    100% { left: 70%; }
}

@keyframes chart-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes prop-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes package-move {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 70%; opacity: 0; }
}

@keyframes arm-swing {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(30deg); }
}

@keyframes wheel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sensor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes route-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes heat-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

@keyframes eye-scan {
    0%, 100% { transform: translateX(-50%) scaleX(1); }
    50% { transform: translateX(-50%) scaleX(0.3); }
}

@keyframes arm-wave {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

@keyframes container-stack {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes wave-motion {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    50% { transform: translateX(10px); opacity: 0.7; }
}

@keyframes pin-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* ============================================
   14. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-visual {
        width: 300px;
        height: 300px;
        right: 2%;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-mission {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        grid-template-columns: 160px 1fr;
    }
    
    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-150%);
        transition: transform var(--transition-base);
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--space-2xl) + 60px);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: var(--space-xl);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        grid-template-columns: 1fr;
    }
    
    .program-visual {
        height: 160px;
    }
    
    .lab-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .mission-content blockquote {
        font-size: 1.125rem;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

/* ============================================
   15. ACCESSIBILITY & PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle {
        display: none;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue-primary);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--blue-primary);
    color: var(--color-bg-primary);
}