/* ==========================================================================
   MEET OUR TEAM (team.html) — Team Nokkhotropoth
   ========================================================================== */
body {
    font-family: var(--font-main);
}

.team-hero {
    text-align: center;
    padding: 90px 24px 60px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(167, 139, 250, 0.16), transparent 60%),
        radial-gradient(ellipse at 80% 120%, rgba(34, 211, 238, 0.1), transparent 55%),
        #030712;
}

.team-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(167, 139, 250, 0.45);
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.08);
    color: #c4b5fd;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 22px;
}

.team-hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: #f8fafc;
    margin: 0 0 18px;
    font-weight: 800;
}

.team-accent {
    background: linear-gradient(90deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-hero-sub {
    max-width: 640px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.08rem;
    line-height: 1.7;
}

.team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px;
}

.team-section-title {
    text-align: center;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: #f8fafc;
    margin: 0 0 10px;
    font-weight: 800;
}

.team-section-sub {
    text-align: center;
    color: #94a3b8;
    margin: 0 0 42px;
}

.team-grid {
    display: grid;
    gap: 24px;
}

.team-founders {
    grid-template-columns: repeat(3, 1fr);
}

.team-members {
    grid-template-columns: repeat(3, 1fr);
}

.team-card {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
    padding: 34px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 14px 36px rgba(167, 139, 250, 0.12);
}

.team-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(34, 211, 238, 0.25));
    border: 2px solid rgba(167, 139, 250, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 18px;
}

.team-avatar.small {
    width: 74px;
    height: 74px;
    font-size: 1.25rem;
}

.team-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.45);
    background: rgba(167, 139, 250, 0.1);
    margin-bottom: 14px;
}

.team-name {
    color: #f8fafc;
    font-size: 1.25rem;
    margin: 0 0 6px;
    font-weight: 700;
}

.team-role {
    color: #67e8f9;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 14px;
}

.team-bio {
    color: #94a3b8;
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0 0 18px;
    flex: 1;
}

.team-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.team-cta {
    text-align: center;
    padding: 80px 24px;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(37, 211, 102, 0.14), transparent 60%),
        #030712;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.team-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #f8fafc;
    margin: 0 0 12px;
    font-weight: 800;
}

.team-cta p {
    color: #94a3b8;
    margin: 0 0 28px;
    font-size: 1.05rem;
}

.team-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #062b16;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .team-founders,
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-founders,
    .team-members {
        grid-template-columns: 1fr;
    }
    .team-hero {
        padding: 60px 20px 48px;
    }
}