﻿/* =============================================
   Team Page Styles
   ============================================= */

        /* ===== Hero Banner ===== */
        .team-hero {
            position: relative;
            padding: 160px 40px 100px;
            text-align: center;
            overflow: hidden;
            background: #0a0e14;
        }

        .team-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.15), transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.1), transparent 50%);
            pointer-events: none;
        }

        .team-hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .team-hero .section-eyebrow {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(180, 160, 255, 0.9);
            margin-bottom: 22px;
        }

        .team-hero h1 {
            font-family: 'Space Grotesk', 'Inter', sans-serif;
            font-size: clamp(40px, 6vw, 72px);
            font-weight: 700;
            letter-spacing: -1.5px;
            line-height: 1.1;
            margin-bottom: 24px;
            background: linear-gradient(135deg, #fff 0%, #8B5CF6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .team-hero p {
            font-size: clamp(16px, 2vw, 20px);
            color: rgba(255, 255, 255, 0.55);
            line-height: 1.7;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ===== Team Grid Section ===== */
        .team-section {
            position: relative;
            padding: 100px 40px 120px;
            background: var(--bg-dark);
        }

        .team-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.04);
        }

        .team-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 32px;
        }

        /* ===== Team Card ===== */
        .team-card {
            position: relative;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            padding: 40px 28px 32px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            overflow: hidden;
        }

        .team-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            opacity: 0;
            transition: opacity 0.4s;
        }

        .team-card:hover {
            transform: translateY(-6px);
            border-color: rgba(139, 92, 246, 0.2);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1);
        }

        .team-card:hover::before {
            opacity: 1;
        }

        .team-avatar {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            margin: 0 auto 20px;
            overflow: hidden;
            border: 3px solid rgba(139, 92, 246, 0.3);
            transition: border-color 0.4s;
            background: rgba(139, 92, 246, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .team-card:hover .team-avatar {
            border-color: rgba(139, 92, 246, 0.6);
        }

        .team-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .team-avatar .avatar-placeholder {
            font-size: 40px;
            font-weight: 700;
            color: var(--primary-light);
            font-family: 'Space Grotesk', sans-serif;
        }

        .team-name {
            font-family: 'Space Grotesk', 'Inter', sans-serif;
            font-size: 20px;
            font-weight: 600;
            color: #f3f3f6;
            margin-bottom: 6px;
            letter-spacing: -0.3px;
        }

        .team-role {
            font-size: 14px;
            font-weight: 500;
            color: var(--primary-light);
            margin-bottom: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .team-bio {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .team-socials {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .team-socials a {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            text-decoration: none;
            transition: all 0.3s;
        }

        .team-socials a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

        /* ===== Section Header ===== */
        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-header .section-eyebrow {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(180, 160, 255, 0.9);
            margin-bottom: 18px;
        }

        .section-header h2 {
            font-family: 'Space Grotesk', 'Inter', sans-serif;
            font-size: clamp(28px, 4vw, 44px);
            font-weight: 600;
            color: #ffffff;
            letter-spacing: -0.5px;
            line-height: 1.2;
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.5);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* ===== Values / Culture Section ===== */
        .values-section {
            position: relative;
            padding: 100px 40px;
            background: #0b0b0e;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        .values-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08), transparent 50%);
            pointer-events: none;
        }

        .values-container {
            max-width: 1100px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 28px;
        }

        .value-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 16px;
            padding: 32px;
            transition: all 0.3s;
        }

        .value-card:hover {
            border-color: rgba(139, 92, 246, 0.15);
            background: rgba(255, 255, 255, 0.04);
        }

        .value-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--primary-light);
        }

        .value-card h3 {
            font-family: 'Space Grotesk', 'Inter', sans-serif;
            font-size: 18px;
            font-weight: 600;
            color: #f3f3f6;
            margin-bottom: 10px;
        }

        .value-card p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.7;
        }

        /* ===== CTA Section ===== */
        .join-section {
            position: relative;
            padding: 100px 40px;
            text-align: center;
            background: var(--bg-dark);
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        .join-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08), transparent 60%);
            pointer-events: none;
        }

        .join-content {
            position: relative;
            z-index: 1;
            max-width: 640px;
            margin: 0 auto;
        }

        .join-content h2 {
            font-family: 'Space Grotesk', 'Inter', sans-serif;
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .join-content p {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.7;
            margin-bottom: 32px;
        }

        .join-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            padding: 16px 36px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
        }

        .join-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
        }

        /* ===== Responsive ===== */
        @media (max-width: 768px) {
            .team-hero {
                padding: 140px 20px 70px;
            }

            .team-section {
                padding: 60px 20px 80px;
            }

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

            .values-section {
                padding: 60px 20px;
            }

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

            .join-section {
                padding: 60px 20px;
            }
        }

        @media (max-width: 480px) {
            .team-avatar {
                width: 90px;
                height: 90px;
            }
        }
