/* ========================================
   PHILOSOPHY PAGE - Ultra Modern Design
   Creative, Unique & High-Performance
   ======================================== */

/* ========== CSS RESET & VARIABLES ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Deep, rich color palette - Matching Home page */
    --bg-void: #0b0f14;
    --bg-deep: #0b0f14;
    --bg-surface: #121822;
    --bg-elevated: #18202c;

    /* Accent colors - Unconventional combination */
    --accent-cyan: #06b6d4;
    --accent-violet: #8b5cf6;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;
    --accent-emerald: #10b981;

    /* Text colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* Glass effects */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 50%, var(--accent-emerald) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-accent: 'Caveat', cursive;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

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

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

/* ========== BACKGROUND EFFECTS (Matching Home) ========== */
.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.gradient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    bottom: 30%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -20px) scale(1.02); }
}

.grid-pattern {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* ========== SKIP LINK (Accessibility) ========== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-md) var(--space-xl);
    background: var(--accent-cyan);
    color: var(--bg-void);
    font-weight: 700;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 500;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ========== FLOATING NAVIGATION SYSTEM - Command Dock (Matching Home) ========== */

/* Floating Logo - Top Left */
.floating-logo {
    position: fixed;
    top: var(--space-lg);
    left: var(--space-xl);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 200;
    padding: 0.5rem 0.75rem;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-logo:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.15);
}

.logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img,
.logo-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    letter-spacing: -0.01em;
    line-height: 1;
}

.logo-dot {
    color: #60a5fa;
}

/* Floating Language Switcher - Top Right */
.floating-language {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-xl);
    z-index: 200;
}

.floating-language .language-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-language .language-btn:hover {
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--text-primary);
}

.floating-language .globe-icon {
    font-size: 1rem;
}

.floating-language .language-current {
    font-weight: 500;
}

.floating-language .language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(12, 18, 32, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-language .language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--glass-border);
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: var(--glass-highlight);
    color: var(--text-primary);
}

.language-option.current {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.language-code {
    font-weight: 700;
    font-size: 0.7rem;
    color: #60a5fa;
}

/* Command Dock - Top Center Floating Pill */
.command-dock {
    position: fixed;
    top: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    animation: dockFloatIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.dock-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.command-dock:hover .dock-glow {
    opacity: 1;
}

.dock-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(96, 165, 250, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Dock Links - Text Based */
.dock-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: var(--radius-lg);
}

.dock-text {
    position: relative;
    display: inline-block;
}

/* Animated gradient underline on hover */
.dock-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #f6c453, #60a5fa);
    background-size: 200% 100%;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.dock-link:hover::after {
    width: calc(100% - 20px);
}

.dock-link.active,
.dock-link[aria-current="page"] {
    color: var(--text-primary);
    background: rgba(96, 165, 250, 0.12);
}

.dock-link.active::after,
.dock-link[aria-current="page"]::after {
    width: calc(100% - 20px);
}

/* Text lift effect on hover */
.dock-link:hover .dock-text {
    transform: translateY(-1px);
    display: inline-block;
    transition: transform 0.3s ease;
}

.dock-group {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.dock-group-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.18);
    margin: 0 var(--space-sm);
}

/* Separator styling */
.dock-separator {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    font-size: 0.875rem;
    user-select: none;
    padding: 0 2px;
}

/* CTA Link - Contact */
.dock-link-cta {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(246, 196, 83, 0.18));
    color: var(--text-primary);
    margin-left: 8px;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.dock-link-cta::after {
    display: none;
}

.dock-link-cta:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(246, 196, 83, 0.3));
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

/* Dock float-in animation on page load */
@keyframes dockFloatIn {
    0% {
        transform: translateX(-50%) translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Floating elements entrance animations */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-logo {
    animation: floatIn 0.6s ease-out 0.2s both;
}

.floating-language {
    animation: floatIn 0.6s ease-out 0.3s both;
}

/* Scrolled states - enhanced visibility when scrolling */
.floating-logo.scrolled,
.floating-language.scrolled {
    background: rgba(10, 10, 15, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

.command-dock.scrolled .dock-container {
    background: rgba(10, 10, 15, 0.92);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Mobile Menu Toggle */
.mobile-dock-toggle {
    position: fixed;
    top: var(--space-lg);
    right: calc(var(--space-xl) + 80px);
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    z-index: 300;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dock-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-dock-toggle:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.mobile-dock-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-dock-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-dock-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-lg);
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.mobile-nav-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.mobile-nav-link {
    font-family: 'Space Grotesk', var(--font-body);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #f6c453);
    transition: width 0.3s ease;
}

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

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

.mobile-nav-link.active,
.mobile-nav-link[aria-current="page"] {
    color: #60a5fa;
}

.mobile-nav-link.cta {
    background: linear-gradient(90deg, #60a5fa, #f6c453);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .command-dock {
        display: none;
    }

    .mobile-dock-toggle {
        display: flex;
    }

    .floating-logo {
        padding: 0.375rem;
    }

    .floating-logo .logo-text {
        display: none;
    }

    .floating-logo .logo-icon {
        width: 24px;
        height: 24px;
    }

    .floating-language {
        right: var(--space-lg);
    }

    .mobile-dock-toggle {
        right: calc(var(--space-lg) + 60px);
    }
}
/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(139, 92, 246, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(16, 185, 129, 0.08), transparent 50%);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: fadeSlideUp 1s ease-out;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Image */
.hero-profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-lg);
    position: relative;
    border: 4px solid transparent;
    background:
        linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box,
        conic-gradient(from 0deg, var(--primary), var(--accent-purple), var(--accent-pink), var(--primary)) border-box;
    box-shadow:
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 80px rgba(139, 92, 246, 0.15);
    animation: profileFloat 6s ease-in-out infinite;
}

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

.hero-profile-img:hover {
    animation-play-state: paused;
    transform: scaleX(-1) scale(1.05);
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.4),
        0 0 100px rgba(139, 92, 246, 0.2);
}

/* Availability Badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
    animation: badgePulse 2.5s ease-in-out infinite;
}

.availability-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero Name */
.hero-name {
    font-family: 'Caveat', cursive;
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nameShimmer 4s ease-in-out infinite;
}

@keyframes nameShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Hero Title */
.hero-title {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    font-style: italic;
    margin-bottom: var(--space-xl);
}

/* ========== HERO MESSAGE BOX ========== */
.hero-message-box {
    max-width: 38rem;
    margin: 0 auto var(--space-2xl);
    padding: var(--space-xl) var(--space-2xl);
    background: transparent;
    border: none;
    border-left: 3px solid var(--accent-violet);
    border-radius: 0;
    position: relative;
    text-align: left;
}


.hero-message-line {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

.hero-message-line:last-of-type:not(.hero-message-tagline) {
    margin-bottom: 1.5rem;
}

.hero-message-subtle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
}

.hero-message-highlight {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-message-line em {
    font-style: italic;
    color: var(--text-primary);
}

.hero-message-tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .hero-message-box {
        padding: var(--space-lg) var(--space-md);
        margin-left: var(--space-md);
        margin-right: var(--space-md);
    }

    .hero-message-line {
        font-size: 0.95rem;
    }

    .hero-message-subtle {
        font-size: 0.9rem;
    }

    .hero-message-tagline {
        font-size: 1.4rem;
    }
}

/* Hero Message Animations */
.hero-message-box {
    animation: messageBoxReveal 0.8s ease-out forwards;
}

.hero-message-line {
    opacity: 0;
    animation: lineReveal 0.6s ease-out forwards;
}

.hero-message-line:nth-child(1) { animation-delay: 0.3s; }
.hero-message-line:nth-child(2) { animation-delay: 0.5s; }
.hero-message-line:nth-child(3) { animation-delay: 0.7s; }
.hero-message-line:nth-child(4) { animation-delay: 0.9s; }
.hero-message-line:nth-child(5) { animation-delay: 1.1s; }

.hero-message-tagline {
    opacity: 0;
    animation: taglineReveal 0.8s ease-out 1.4s forwards;
}

@keyframes messageBoxReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineReveal {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes taglineReveal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== STATS GRID ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:nth-child(1) { animation: fadeSlideUp 0.6s ease-out 0.1s backwards; }
.stat-card:nth-child(2) { animation: fadeSlideUp 0.6s ease-out 0.2s backwards; }
.stat-card:nth-child(3) { animation: fadeSlideUp 0.6s ease-out 0.3s backwards; }
.stat-card:nth-child(4) { animation: fadeSlideUp 0.6s ease-out 0.4s backwards; }

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-number {
    animation: numberPop 0.4s ease-out;
}

@keyframes numberPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
    position: relative;
    z-index: 1;
}

/* ========== CTA BUTTONS ========== */
.cta-group {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px var(--space-2xl);
}

/* ========== WORKFLOW - COMPACT ========== */
.workflow-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.workflow-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

.workflow-pill {
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.workflow-pill:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
    border-color: rgba(59, 130, 246, 0.25);
}

.workflow-dot {
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.5;
}

/* ========== PLATFORMS - COMPACT STRIP ========== */
.platforms-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: var(--space-md) var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.platforms-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.platform-badge:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.platform-badge-icon {
    font-size: 1rem;
}

.platform-badge-count {
    font-weight: 600;
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .workflow-compact {
        gap: 6px;
        padding: var(--space-sm) var(--space-md);
    }

    .workflow-label {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .workflow-pill {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .platforms-strip {
        padding: var(--space-sm) var(--space-md);
        gap: 8px;
    }

    .platforms-label {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .platform-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ========== VALUE PROPOSITION BOX ========== */
.value-box {
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-xl);
    text-align: center;
    margin: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-pink), var(--accent-gold));
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.value-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.value-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== SECTION STYLES ========== */
.section {
    margin-bottom: var(--space-2xl);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 600;
    background: linear-gradient(135deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== CAPABILITIES GRID - COMPACT ========== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.capability-item {
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.2s ease;
}

.capability-item:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .capability-item {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Old platforms-grid removed - using compact .platforms-strip instead */

/* ========== PROJECTS GRID ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    transition: height 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
    height: 100%;
}

.project-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.project-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== LOCATIONS SECTION ========== */
.locations-section {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
}

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

.locations-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.locations-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.location-card {
    padding: var(--space-lg) var(--space-md);
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.location-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.location-card:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.location-card:hover::after {
    transform: scaleX(1);
}

.location-flag {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    transition: transform 0.4s ease;
}

.location-card:hover .location-flag {
    animation: flagWave 0.6s ease-out;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.location-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.relocation-note {
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--radius-md);
}

.relocation-note p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.relocation-note strong {
    color: var(--accent-light);
}

/* ========== TARGET ROLES ========== */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.role-card {
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
}

.role-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: rgba(139, 92, 246, 0.05);
}

.role-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    transition: transform 0.3s ease;
}

.role-card:hover .role-icon {
    transform: scale(1.2);
}

.role-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========== WORK PREFERENCES ========== */
.preferences-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.preference-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preference-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.preference-tag:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.preference-tag:hover::before {
    width: 200%;
    height: 200%;
}

.preference-tag svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.preference-tag span {
    position: relative;
    z-index: 1;
}

/* ========== SPONSOR SECTION ========== */
.sponsor-section {
    padding: var(--space-2xl) 40px;
    position: relative;
}

.section-divider {
    position: relative;
    width: 100%;
    height: 1px;
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.divider-glow {
    width: 200px;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.2), transparent 70%);
    filter: blur(20px);
    position: absolute;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.sponsor-content {
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-pink);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.sponsor-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.sponsor-subheadline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-quote {
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(236, 72, 153, 0.02));
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.sponsor-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
}

.sponsor-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #ec4899, #db2777);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.sponsor-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

/* Fade in animation */
.fade-in-up {
    animation: fadeSlideUp 0.8s ease-out backwards;
}

.fade-in-up[style*="--delay"] {
    animation-delay: var(--delay);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    text-align: center;
    padding: var(--space-2xl) 40px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.03), transparent);
    border-top: 1px solid var(--glass-border);
}

.contact-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.contact-card {
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.4s ease;
    min-width: 280px;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-card.primary {
    background: var(--gradient-primary);
    border-color: var(--primary);
    position: relative;
}

.contact-card.primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.contact-card.primary:hover::before {
    opacity: 0.5;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.contact-card.primary .contact-label {
    color: rgba(255, 255, 255, 0.7);
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-card.primary .contact-value {
    color: white;
}

.current-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.current-location svg {
    color: var(--accent);
}

/* ========== SIGNATURE ========== */
.signature {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

.signature-name {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    position: relative;
    display: inline-block;
}

.signature-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.signature:hover .signature-name::after {
    transform: scaleX(1);
}

.signature-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    padding: var(--space-lg) 0;
    background: var(--bg-surface);
    z-index: 2;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

.footer-text a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: var(--accent-cyan);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .navbar {
        width: 98%;
        top: 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .language-dropdown {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        border-radius: var(--radius-lg);
    }

    .navbar-container {
        padding: 10px 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 80px 20px 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 250;
        border-radius: 0;
    }

    .navbar-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-menu li {
        width: 100%;
        max-width: 300px;
    }

    .navbar-link {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-md);
    }

    .language-switcher {
        position: absolute;
        top: 100px;
        right: 20px;
    }

    .language-dropdown {
        right: 0;
        min-width: calc(100vw - 40px);
        max-width: 100%;
    }

    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .google-play-dropdown .play-store-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        margin-top: 8px;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero-profile-img {
        width: 130px;
        height: 130px;
    }

    .main-content {
        padding: 0 20px var(--space-2xl);
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-card {
        padding: var(--space-md);
    }

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

    .locations-section {
        padding: var(--space-xl) var(--space-md);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-box {
        padding: var(--space-xl) var(--space-md);
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-section {
        padding: var(--space-xl) 20px;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 400px;
    }

    .sponsor-section {
        padding: var(--space-xl) 20px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 8px 12px;
    }

    .logo-tagline {
        display: none;
    }

    .hero-profile-img {
        width: 110px;
        height: 110px;
    }

    .hero-name {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .locations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

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

    .preferences-grid {
        gap: var(--space-sm);
    }

    .preference-tag {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .signature-name {
        font-size: 2.5rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-profile-img {
        animation: none;
    }
}

*:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .hero-bg,
    .floating-messages {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        padding-top: 20px;
    }
}
