 /* Design System Implementation */
:root {
    /* Primary Colors */
    --primary-navy: #1a1d29;
    --primary-blue: #2563eb;
    --primary-accent: #3b82f6;
    
    /* Secondary Colors */
    --secondary-warm: #f59e0b;
    --secondary-orange: #ea580c;
    --secondary-green: #10b981;
    --secondary-red: #ef4444;
    
    /* Neutral Palette */
    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-700: #374151;
    --neutral-600: #4b5563;
    --neutral-500: #6b7280;
    --neutral-400: #9ca3af;
    --neutral-300: #d1d5db;
    --neutral-200: #e5e7eb;
    --neutral-100: #f3f4f6;
    --neutral-50: #f9fafb;
    --white: #ffffff;
    
    /* Glassmorphism & Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --backdrop-blur: blur(20px);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 12px 48px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 20px 64px rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    /* Type Scale */
    --text-5xl: 3rem;
    --text-4xl: 2.25rem;
    --text-3xl: 1.875rem;
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
    --text-lg: 1.125rem;
    --text-base: 1rem;
    --text-sm: 0.875rem;
    --text-xs: 0.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Animation */
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    color: var(--neutral-900);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.nav-top {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-soft);
}

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

.nav-logo {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-menu {
    display: flex;
    gap: var(--space-2);
    list-style: none;
}

.nav-item {
    padding: var(--space-2) var(--space-4);
    border-radius: 8px;
    color: var(--neutral-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.nav-item.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--neutral-800) 100%);
    color: var(--white);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232563eb" fill-opacity="0.1" d="M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,128C672,117,768,139,864,165.3C960,192,1056,224,1152,218.7C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--neutral-300);
    max-width: 600px;
    line-height: 1.8;
}

/* Content Sections */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-6);
}

.section {
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: var(--space-8);
    position: relative;
    padding-left: var(--space-6);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-accent) 100%);
    border-radius: 2px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.card-glass {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 20px;
    padding: var(--space-6);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--white);
    font-size: 24px;
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: var(--space-3);
}

.card-description {
    color: var(--neutral-600);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-12);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-accent) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-8);
    background: var(--white);
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: var(--space-6);
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-soft);
}

.timeline-date {
    font-size: var(--text-sm);
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: var(--space-2);
}

.timeline-description {
    color: var(--neutral-600);
    line-height: 1.8;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.tech-item {
    background: var(--neutral-100);
    padding: var(--space-4);
    border-radius: 12px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
}

.tech-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.impact-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--neutral-800) 100%);
    color: var(--white);
    padding: var(--space-6);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-green) 0%, var(--secondary-warm) 100%);
}

.impact-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-warm) 0%, var(--secondary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.impact-label {
    font-size: var(--text-sm);
    color: var(--neutral-300);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: var(--text-4xl);
    }
    
    .nav-menu {
        display: none;
    }
    
    .container {
        padding: var(--space-8) var(--space-4);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .timeline {
        padding-left: var(--space-8);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s var(--ease-out);
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--neutral-700);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: 8px;
    transition: all 0.2s var(--ease-out);
}

.mobile-menu-btn:hover {
    background: var(--neutral-100);
    color: var(--primary-blue);
}

/* Hamburger Icon */
.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

/* Hamburger Animation */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}
.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}
.mobile-menu-btn.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
}

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

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    transition: right 0.3s var(--ease-out);
    box-shadow: var(--shadow-strong);
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--neutral-700);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: 8px;
    transition: all 0.2s var(--ease-out);
}

.mobile-menu-close:hover {
    background: var(--neutral-100);
    color: var(--primary-blue);
}

.mobile-menu-nav {
    flex: 1;
    padding: var(--space-6);
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin-bottom: var(--space-2);
}

.mobile-menu-nav .nav-item {
    display: block;
    padding: var(--space-4);
    font-size: var(--text-lg);
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s var(--ease-out);
}

.mobile-menu-nav .nav-item:hover {
    background: var(--neutral-100);
    transform: translateX(4px);
}

.mobile-menu-nav .nav-item.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-accent) 100%);
    color: var(--white);
}

.mobile-menu-footer {
    padding: var(--space-6);
    border-top: 1px solid var(--neutral-200);
    text-align: center;
}

.mobile-menu-footer p {
    color: var(--neutral-500);
    font-size: var(--text-sm);
    margin: 0;
}

/* Show mobile menu button on mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}