:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.4);
    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-violet: #8B5CF6;
    --accent-blue: #0EA5E9;
    --accent-fuchsia: #F02AD4;
    --accent-cyan: #22D3EE;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background:
        radial-gradient(circle at 10%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90%, rgba(240, 42, 212, 0.15) 0%, transparent 40%),
        var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}


.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 320px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.profile-section {
    text-align: center;
    margin-bottom: 3rem;
}

.avatar {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px var(--accent-violet));
}

.sidebar h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.subtitle {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    margin-bottom: 3rem;
}

.nav-item {
    padding: 1rem 1.25rem;
    margin-bottom: 0.6rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    color: var(--text-secondary);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), transparent);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    font-weight: 700;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
}

.btn-primary {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
    color: white !important;
    text-align: center;
    padding: 0.85rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Main Content */
.main-content {
    margin-left: 320px;
    flex-grow: 1;
    padding: 5rem 4rem;
    max-width: 1400px;
}

.hero {
    text-align: left;
    margin-bottom: 5rem;
}

.mesh-text {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 40%, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.6;
}

/* Project Display */
.project-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 3rem;
}

.video-container {
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    aspect-ratio: 16 / 9;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-panel h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 600;
}

.footer {
    text-align: center;
    padding: 6rem 0 2rem;
    color: #475569;
}

/* Mobile Header */
.mobile-header {
    display: none;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav {
    display: none;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.mobile-nav .nav-item {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav .nav-item.active {
    background: var(--accent-violet);
    color: #fff;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
    }

    .mesh-text {
        font-size: 4rem;
    }
}

@media (max-width: 950px) {
    .sidebar {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 3rem 1.5rem;
    }
}