:root {
    --bg-dark: #0f0c1b;
    --panel-bg: rgba(26, 22, 43, 0.7);
    --grid-line: rgba(255, 255, 255, 0.03);
    --purple: #a855f7;
    --pink: #ec4899;
    --yellow: #eab308;
    --blue: #3b82f6;
    --text-main: #ffffff;
    --text-dim: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

.glow-sphere {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -200px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(15, 12, 27, 0.95);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.4s ease;
}

.brand-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.brand-logo i {
    color: var(--purple);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.nav-menu a i {
    font-size: 1.2rem;
    width: 20px;
}

.nav-menu a:hover, .nav-menu a.active-tab {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.main-content {
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 105;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

.page-container {
    padding: 80px 5% 100px;
    max-width: 1000px;
    margin: 0 auto;
    flex-grow: 1;
    width: 100%;
    animation: fadeInPage 0.5s ease-out forwards;
}

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

.hero-section {
    text-align: center;
    margin-bottom: 80px;
}

.main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.main-title span {
    background: linear-gradient(to right, var(--pink), var(--yellow));
    -webkit-background-clip: text;
    color: transparent;
}

.sub-title {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.bento-card {
    background: var(--panel-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bento-card.full-width {
    grid-column: 1 / -1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.icon-purple { color: var(--purple); }
.icon-pink { color: var(--pink); }
.icon-yellow { color: var(--yellow); }
.icon-blue { color: var(--blue); }
.icon-green { color: #22c55e; }
.icon-orange { color: #f97316; }

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.card-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.profile-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border: 2px solid;
}

.profile-avatar.aman { border-color: var(--purple); color: var(--purple); }
.profile-avatar.vikrant { border-color: var(--yellow); color: var(--yellow); }

.profile-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--text-main);
}

.profile-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pink);
    font-weight: 600;
}

.bottom-footer {
    background: rgba(8, 6, 14, 0.9);
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer-credits {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-school {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .main-title {
        font-size: 3.5rem;
    }
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .page-container {
        padding-top: 100px;
    }
}
