@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent-color: #9333ea;
    --accent-color-light: #a855f7;
    --accent-color-dark: #6b21a8;
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --gradient: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.6;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    background: rgba(10, 10, 10, 0.25);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

nav .container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

/* Cards */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        inset 0 1px 1px rgba(255,255,255,0.08),
        0 8px 32px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    background: var(--gradient);
}

footer .container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* Animations */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, 5px); }
}

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

.animate-float1 { animation: float1 8s ease-in-out infinite; }
.animate-float2 { animation: float2 10s ease-in-out infinite; }
.animate-float3 { animation: float3 12s ease-in-out infinite; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }

/* Team Cards */
.team-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
}

/* Career Cards */
.career-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apply-btn {
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 0;
    }
    
    nav .container {
        width: calc(100% - 1rem);
        margin: 0 auto;
        padding: 0.5rem 0.75rem;
    }
    
    footer {
        padding: 1rem 0;
    }
    
    footer .container {
        width: calc(100% - 1rem);
        margin: 0 auto;
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0;
    }
    
    nav .container {
        width: calc(100% - 0.5rem);
        margin: 0 auto;
        padding: 0.5rem;
    }
    
    footer {
        padding: 0.75rem 0;
    }
    
    footer .container {
        width: calc(100% - 0.5rem);
        margin: 0 auto;
        padding: 0.75rem;
    }
}