/* ── PROJECT.CSS ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #06060f;
    --purple: #7c3aed;
    --purple2: #a78bfa;
    --cyan: #22d3ee;
    --border: rgba(124, 58, 237, 0.25);
    --surface: rgba(255, 255, 255, 0.04);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 64px;
    background: rgba(6, 6, 15, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.nav-brand .ai {
    color: var(--purple2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-btn {
    padding: 7px 20px;
    background: var(--purple) !important;
    color: #fff !important;
    border-radius: 40px;
    font-weight: 600 !important;
}

/* ── MAIN CONTENT ── */
.project-main {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 5% 80px;
}

/* ── HERO ── */
.proj-hero {
    text-align: center;
    padding: 60px 0 70px;
}

.proj-hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.35);
    color: var(--purple2);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 40px;
    margin-bottom: 1.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.proj-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.grad {
    background: linear-gradient(135deg, var(--purple2), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proj-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── SECTION SHARED ── */
.section-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border);
    color: var(--purple2);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 40px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2.8rem;
}

/* ── COLLEGE INFO CARD ── */
.info-section {
    margin-bottom: 80px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.card-icon {
    font-size: 2.4rem;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.info-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 12px;
    transition: border-color 0.25s;
}

.info-row:hover {
    border-color: var(--purple2);
}

.info-key {
    min-width: 140px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-val {
    font-size: 1rem;
    font-weight: 600;
}

/* ── TEAM SECTION ── */
.team-section {
    text-align: center;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 2rem;
}

.member-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.member-card:hover {
    border-color: var(--purple2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
}

.member-card.featured {
    border-color: rgba(124, 58, 237, 0.5);
    grid-column: span 1;
    background: rgba(124, 58, 237, 0.07);
}

.member-card.featured:hover {
    border-color: var(--purple);
    box-shadow: 0 24px 80px rgba(124, 58, 237, 0.25);
}

.member-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 14px;
    letter-spacing: -0.02em;
}

.member-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: var(--purple2);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 40px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.member-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.member-roll {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.tag {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--purple2);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 40px;
}

.member-desc {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── TECH STACK ── */
.tech-section {
    text-align: center;
    margin-bottom: 80px;
}

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

.tech-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: border-color 0.25s, transform 0.25s;
}

.tech-card:hover {
    border-color: var(--purple2);
    transform: translateY(-4px);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tech-desc {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ── FEATURES LIST ── */
.features-section {
    text-align: center;
    margin-bottom: 70px;
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.92rem;
    transition: border-color 0.2s;
}

.feat-item:hover {
    border-color: var(--purple2);
}

.feat-check {
    color: #4ade80;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── CTA ── */
.proj-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--purple), #6366f1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border: 1px solid var(--purple);
    color: var(--purple2);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.12);
    transform: translateY(-2px);
}

/* ── FOOTER ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px 5%;
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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