/* ============ TEAM PAGE STYLES ============ */
.team-hero {
    padding: 80px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 18vw, 220px);
    font-weight: 800;
    font-style: italic;
    color: rgba(91, 33, 250, 0.06);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    line-height: 1;
    z-index: 0;
}

.team-hero-content {
    position: relative;
    z-index: 6;
    margin-bottom: 0;
}

.team-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #5a5a72;
    font-weight: 600;
    margin-bottom: 20px;
}

.team-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5b21fa;
    box-shadow: 0 0 0 3px rgba(91, 33, 250, 0.2);
}

.team-hero h1 {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.team-hero h1 .hero-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.team-hero h1 .hero-word > span {
    display: inline-block;
    transform: translateY(105%);
}

.team-hero h1 em {
    font-style: italic;
    font-weight: 800;
    background: linear-gradient(135deg, #5b21fa, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-big-results-wrap {
    position: relative;
    width: 100%;
    margin-top: -50px;
    display: flex;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.team-big-results {
    font-size: clamp(110px, 21vw, 300px);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.045em;
    line-height: 0.85;
    color: rgb(91 33 250 / 20%);
    text-align: center;
    white-space: nowrap;
    user-select: none;
    z-index: 1;
}

.team-big-results .tl {
    display: inline-block;
    transform-origin: bottom;
}

.team-hero-desc {
    font-size: 17px;
    color: #5a5a72;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
}

.team-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a1a2e;
    color: #fff;
    padding: 12px 20px 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 14px 24px -8px rgba(26, 26, 46, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -2px 4px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}

.team-pill:hover {
    transform: translateY(-2px);
    color: #fff;
}

.team-pill .pill-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b21fa, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.team-pill:hover .pill-arrow {
    transform: rotate(45deg);
}

/* ============ CARDS ROW ============ */
.team-cards-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    height: 340px;
    z-index: 3;
    pointer-events: none;
}

.team-cards-row > * {
    pointer-events: auto;
}

.tp-card {
    position: absolute;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #5b21fa 0%, #7c3aed 50%, #a78bfa 100%);
    box-shadow: 0 30px 50px -16px rgba(91, 33, 250, 0.45),
    0 14px 26px -8px rgba(91, 33, 250, 0.25),
    inset 0 2px 0 rgba(255,255,255,0.3),
    inset 0 -4px 8px rgba(60,10,120,0.3);
    cursor: pointer;
    will-change: transform;
    transition: box-shadow 0.5s cubic-bezier(0.6,0,0.2,1);
}

.tp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(255,255,255,0.22) 0%, transparent 30%, transparent 70%, rgba(60,10,120,0.22) 100%);
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
}

.tp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tp-card:hover {
    box-shadow: 0 44px 70px -20px rgba(91, 33, 250, 0.6),
    0 22px 38px -10px rgba(91, 33, 250, 0.35),
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -4px 8px rgba(60,10,120,0.35);
}

.tp-card-1 { width: 130px; height: 180px; left: 4%;  top: 30px; z-index: 1; }
.tp-card-2 { width: 160px; height: 220px; left: 12%; top: 50px; z-index: 2; }
.tp-card-3 { width: 200px; height: 270px; left: 22%; top: 20px; z-index: 4; }
.tp-card-4 { width: 150px; height: 200px; left: 36%; top: 70px; z-index: 3; }
.tp-card-5 { width: 230px; height: 310px; left: 44%; top: 0px;  z-index: 5; }
.tp-card-6 { width: 160px; height: 215px; left: 59%; top: 55px; z-index: 3; }
.tp-card-7 { width: 175px; height: 240px; left: 70%; top: 30px; z-index: 4; }
.tp-card-8 { width: 130px; height: 175px; left: 84%; top: 50px; z-index: 2; }

.team-subline {
    margin-top: 240px;
    text-align: center;
    z-index: 6;
    position: relative;
    padding-bottom: 80px;
    opacity: 0;
}

.team-subline-text {
    margin-top: 16px;
    font-size: 13px;
    color: #8888a0;
    letter-spacing: 0.06em;
}

/* ============ SECRET INVESTORS SECTION ============ */
.team-investors {
    padding: 80px 0 40px;
}

.team-investors-head {
    text-align: center;
    margin-bottom: 48px;
}

.team-investors-head h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.team-investors-head p {
    font-size: 14px;
    color: #5b21fa;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-investors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.t-investor-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.t-investor-card:hover {
    filter: grayscale(0%);
}

.t-investor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.t-investor-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 10px 12px;
    letter-spacing: 0.04em;
}

/* ============ VISIONARY SECTION ============ */
.team-section {
    padding: 80px 0 60px;
}

.team-visionary-head {
    text-align: center;
    margin-bottom: 56px;
}

.team-visionary-head h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.team-visionary-head h2 em {
    font-style: italic;
    font-weight: 800;
    background: linear-gradient(135deg, #5b21fa, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ CIRCLE GRID ============ */
.team-circle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 20px;
    justify-items: center;
}

.t-circle-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.t-circle-img-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border: 4px solid #fff;
    box-shadow: 0 8px 28px -8px rgba(91, 33, 250, 0.25),
    0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.t-circle-member:hover .t-circle-img-wrap {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -10px rgba(91, 33, 250, 0.38),
    0 4px 14px rgba(0,0,0,0.1);
}

.t-circle-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.t-circle-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.t-circle-role {
    font-size: 12px;
    color: #8888a0;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.t-circle-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.t-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.t-social-btn.linkedin {
    background: #0a66c2;
    box-shadow: 0 4px 10px -2px rgba(10, 102, 194, 0.4);
}

.t-social-btn.twitter {
    background: #000;
    box-shadow: 0 4px 10px -2px rgba(0,0,0,0.3);
}

.t-social-btn:hover {
    transform: translateY(-2px) scale(1.1);
    color: #fff;
}

/* ============ STATS ============ */
.team-stats { padding: 60px 0 200px; }

.team-stats-inner {
    background: #1a1a2e;
    border-radius: 32px;
    padding: 70px 56px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: end;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    box-shadow: 0 40px 80px -28px rgba(26,26,46,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.team-stats-inner::before {
    content: '';
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91,33,250,0.35), transparent 65%);
    top: -180px; right: -80px;
    filter: blur(40px);
    pointer-events: none;
}

.team-stats-inner::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 65%);
    bottom: -130px; left: 20%;
    filter: blur(30px);
    pointer-events: none;
}

.team-stats-inner h3 {
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.team-stats-inner h3 em {
    font-style: italic;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item { position: relative; z-index: 1; }

.stat-item .stat-num {
    font-size: clamp(42px, 4.2vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

.stat-item .stat-num sup {
    font-size: 0.45em;
    color: #8888a0;
    font-weight: 500;
    vertical-align: super;
}

.stat-item .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #8888a0;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .team-circle-grid { grid-template-columns: repeat(4, 1fr); }
    .t-circle-img-wrap { width: 140px; height: 140px; }
    .team-investors-grid { grid-template-columns: repeat(4, 1fr); }
    .team-stats-inner { grid-template-columns: 1fr 1fr; padding: 48px 32px; }
}

@media (max-width: 900px) {
    .team-investors-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .team-cards-row { height: 220px; top: 52%; }
    .tp-card-1 { width: 80px;  height: 110px; left: 0%;  top: 20px; }
    .tp-card-2 { width: 90px;  height: 130px; left: 10%; top: 35px; }
    .tp-card-3 { width: 110px; height: 150px; left: 22%; top: 15px; }
    .tp-card-4 { width: 90px;  height: 120px; left: 36%; top: 50px; }
    .tp-card-5 { width: 130px; height: 180px; left: 46%; top: 0;    }
    .tp-card-6 { width: 95px;  height: 130px; left: 62%; top: 40px; }
    .tp-card-7 { width: 100px; height: 140px; left: 74%; top: 20px; }
    .tp-card-8 { width: 80px;  height: 110px; left: 87%; top: 35px; }
    .team-subline { margin-top: 140px; }
    .team-circle-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
    .t-circle-img-wrap { width: 110px; height: 110px; }
    .t-circle-name { font-size: 13px; }
    .team-investors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .team-stats-inner { grid-template-columns: 1fr 1fr; padding: 36px 24px; gap: 24px; }
    .team-stats-inner h3 { grid-column: span 2; }
}

@media (max-width: 520px) {
    .team-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
    .t-circle-img-wrap { width: 100px; height: 100px; }
    .team-investors-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
