/* Modern Design System */
:root {
    /* Color Palette - Deep Dark & Neon Accents */
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-accent: #00d2ff;

    --accent-primary: #00d2ff;
    /* Cyan for Tech */
    --accent-secondary: #7928ca;
    /* Purple for Depth */
    --accent-gradient: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Typography */
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Effects */
    --glass-blur: blur(10px);
    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.15);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Aurora Background Colors */
    --aurora-1: #00d2ff;
    --aurora-2: #7928ca;
    --aurora-3: #ff0080;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Aurora Animation */
@keyframes aurora {
    0% {
        background-position: 50% 50%, 50% 50%;
    }

    100% {
        background-position: 350% 50%, 350% 50%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography Utilities */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    font-weight: 700;
    text-align: center;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(121, 40, 202, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 0, 128, 0.1), transparent 40%);
    filter: blur(60px);
    animation: aurora 20s linear infinite alternate;
    opacity: 0.6;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-medium);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Sections Base */
section {
    padding: 100px 0;
}

/* Cards (Courses & Skills) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.card {
    background: rgba(18, 18, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: var(--space-lg);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    /* Fast transform for tilt */
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 210, 255, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.03) 25%, transparent 30%);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card:hover::before {
    transform: translateX(100%);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

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

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 99px;
    font-size: 0.75rem;
    margin-top: var(--space-md);
    font-weight: 500;
}

/* Footer */
footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-secondary);
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS toggle later */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
}