/* ============================================================
   HELICONTROL — TEAM PAGE
   Page-specific styles
   ============================================================ */

.team-page {
    --team-green: #9cff00;
    --team-blue: #6ea8ff;
    --team-white: #f5f5f5;
    --team-muted: #7fa7d1;
    --team-line: rgba(255, 255, 255, 0.10);
    --team-panel: rgba(255, 255, 255, 0.025);
    --team-black: #030506;

    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(156, 255, 0, 0.045),
            transparent 28%
        ),
        #030506;

    color: var(--team-white);
    min-height: 100vh;
    overflow: hidden;
}


/* ============================================================
   GLOBAL CONTAINER
   ============================================================ */

.team-container {
    width: min(1380px, calc(100% - 72px));
    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.team-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--team-line);

    background:
        radial-gradient(
            circle at 82% 48%,
            rgba(156, 255, 0, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at 18% 75%,
            rgba(0, 120, 255, 0.04),
            transparent 25%
        );
}

.team-hero::before {
    content: "TEAM";
    position: absolute;
    right: 4%;
    top: 120px;

    font-size: clamp(100px, 16vw, 250px);
    line-height: 0.85;
    font-weight: 800;
    letter-spacing: -10px;

    color: rgba(255, 255, 255, 0.018);
    pointer-events: none;
    user-select: none;
}

.team-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0.8),
        transparent 80%
    );

    pointer-events: none;
}

.team-hero .team-container {
    position: relative;
    z-index: 2;
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.team-hero-label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--team-blue);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;

    background: var(--team-green);
    box-shadow:
        0 0 0 4px rgba(156, 255, 0, 0.08),
        0 0 20px rgba(156, 255, 0, 0.35);
}

.team-hero-title {
    max-width: 900px;
    margin: 32px 0 28px;

    font-size: clamp(64px, 8vw, 118px);
    line-height: 0.90;
    letter-spacing: -5px;
    font-weight: 800;
}

.team-hero-title span {
    display: block;
    color: var(--team-green);
}

.team-hero-description {
    max-width: 650px;
    margin: 0;

    color: var(--team-muted);

    font-size: 17px;
    line-height: 1.8;
}

.team-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 42px;
}

.team-hero-meta span {
    padding: 10px 15px;

    border: 1px solid rgba(156, 255, 0, 0.25);
    border-radius: 999px;

    color: var(--team-green);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}


/* ============================================================
   TEAM MEMBERS
   ============================================================ */

.team-members {
    padding: 120px 0 40px;
}

.team-member {
    position: relative;

    min-height: 700px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 55px;

    border-top: none;
}

.team-member-left {
    grid-template-areas:
        "image content";
}

.team-member-right {
    grid-template-areas:
        "content image";
}

.team-member-left,
.team-member-right {
    position: relative;
}

.team-member-left::after,
.team-member-right::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.035),
        transparent
    );

    pointer-events: none;
}


/* ============================================================
   MEMBER IMAGE
   ============================================================ */

.team-member-image-wrap {
    position: relative;

    grid-area: image;

    min-height: 650px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;
}

.team-member-image {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 660px;

    object-fit: contain;
    object-position: center bottom;

    display: block;

    filter:
        contrast(1.02)
        brightness(0.96);

    transition:
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.8s ease;
}

.team-member:hover .team-member-image {
    transform: scale(1.025);
    filter:
        contrast(1.05)
        brightness(1.02);
}


/* ============================================================
   IMAGE FADE
   ============================================================ */

.team-member-image-fade {
    position: absolute;
    z-index: 3;

    inset: 0;

    pointer-events: none;
}

.team-member-image-fade-left {
    background:
        linear-gradient(
            to right,
            #030506 0%,
            rgba(3,5,6,0.92) 11%,
            rgba(3,5,6,0.55) 28%,
            transparent 52%
        ),
        linear-gradient(
            to top,
            #030506 0%,
            transparent 26%
        );
}

.team-member-image-fade-right {
    background:
        linear-gradient(
            to left,
            #030506 0%,
            rgba(3,5,6,0.92) 11%,
            rgba(3,5,6,0.55) 28%,
            transparent 52%
        ),
        linear-gradient(
            to top,
            #030506 0%,
            transparent 26%
        );
}


/* ============================================================
   MEMBER NUMBER
   ============================================================ */

.team-member-number {
    position: absolute;
    z-index: 1;

    top: 30px;
    left: 10px;

    font-size: clamp(120px, 14vw, 230px);
    line-height: 0.8;
    font-weight: 800;
    letter-spacing: -10px;

    color: rgba(255,255,255,0.018);

    pointer-events: none;
    user-select: none;
}


/* ============================================================
   MEMBER CONTENT
   ============================================================ */

.team-member-content {
    grid-area: content;

    position: relative;
    z-index: 4;

    max-width: 520px;
}

.team-member-label {
    margin-bottom: 22px;

    color: var(--team-blue);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.team-member-content h2 {
    margin: 0;

    font-size: clamp(42px, 5vw, 74px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.team-member-role {
    margin-top: 25px;

    color: var(--team-green);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.team-member-content p {
    max-width: 480px;
    margin: 30px 0 0;

    color: var(--team-muted);

    font-size: 16px;
    line-height: 1.85;
}

.team-member-line {
    width: 100%;
    height: 1px;

    margin: 35px 0 18px;

    background: linear-gradient(
        to right,
        rgba(156,255,0,0.32),
        transparent
    );
}

.team-member-right .team-member-line {
    background: linear-gradient(
        to left,
        rgba(156,255,0,0.32),
        transparent
    );
}

.team-member-status {
    color: rgba(255,255,255,0.45);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ============================================================
   CLOSING SECTION
   ============================================================ */

.team-closing {
    padding: 120px 0 140px;
}

.team-closing-inner {
    position: relative;

    padding: 85px 80px;

    border: 1px solid rgba(156,255,0,0.18);

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(156,255,0,0.08),
            transparent 30%
        ),
        rgba(255,255,255,0.012);

    overflow: hidden;
}

.team-closing-inner::after {
    content: "TEAM";
    position: absolute;

    right: 20px;
    bottom: -35px;

    font-size: 190px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -8px;

    color: rgba(255,255,255,0.018);

    pointer-events: none;
}

.team-closing-label {
    position: relative;
    z-index: 1;

    margin-bottom: 24px;

    color: var(--team-blue);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.team-closing h2 {
    position: relative;
    z-index: 1;

    margin: 0;

    font-size: clamp(55px, 7vw, 100px);
    line-height: 0.92;
    letter-spacing: -5px;
    font-weight: 800;
}

.team-closing h2 span {
    display: block;
    color: var(--team-green);
}

.team-closing p {
    position: relative;
    z-index: 1;

    max-width: 650px;

    margin-top: 28px;

    color: var(--team-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* ============================================================
   FOOTER
   ============================================================ */

.team-footer {
    border-top: 1px solid var(--team-line);
    padding: 30px 0;
}

.team-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    color: rgba(255,255,255,0.45);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.team-footer-content > div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--team-white);
}

.team-footer-mark {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(156,255,0,0.35);
    border-radius: 7px;

    color: var(--team-green);
}

/* ============================================================
   HELICONTROL — TEAM FOOTER
   Fully isolated from global styles
   ============================================================ */

.hc-team-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #030606;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.hc-team-footer-container {
    width: min(1180px, calc(100% - 72px));
    margin: 0 auto;
}

.hc-team-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 60px;

    padding: 58px 0 54px;
}

.hc-team-footer-brand {
    max-width: 360px;
    min-width: 0;
}

.hc-team-footer-logo {
    display: inline-flex !important;
    align-items: center !important;

    gap: 10px !important;

    color: #f5f7f8 !important;
    text-decoration: none !important;
}

.hc-team-footer-mark {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    border: 1px solid #9cff00 !important;
    border-radius: 7px !important;

    background: transparent !important;

    color: #9cff00 !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-align: center !important;
}

.hc-team-footer-name {
    color: #f5f7f8 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
}

.hc-team-footer-description {
    max-width: 300px !important;

    margin: 14px 0 0 !important;

    color: #637c90 !important;

    font-size: 13px !important;
    line-height: 1.7 !important;
}

.hc-team-footer-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;

    gap: 34px !important;

    padding-top: 6px !important;
}

.hc-team-footer-nav a {
    display: inline-block !important;

    color: #6f8ba3 !important;

    font-size: 13px !important;
    line-height: 1.4 !important;

    text-decoration: none !important;

    transition: color 180ms ease !important;
}

.hc-team-footer-nav a:hover {
    color: #9cff00 !important;
}

.hc-team-footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 30px !important;

    padding: 24px 0 28px !important;

    border-top: 1px solid rgba(255,255,255,0.07) !important;

    color: #4f687b !important;

    font-size: 12px !important;
    line-height: 1.5 !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .hc-team-footer-container {
        width: min(100% - 44px, 720px);
    }

    .hc-team-footer-top {
        flex-direction: column;

        gap: 32px;

        padding: 48px 0 42px;
    }

    .hc-team-footer-nav {
        justify-content: flex-start !important;

        gap: 18px 28px !important;

        padding-top: 0 !important;
    }
}


@media (max-width: 560px) {

    .hc-team-footer-container {
        width: calc(100% - 34px);
    }

    .hc-team-footer-top {
        padding: 44px 0 36px;
    }

    .hc-team-footer-nav {
        gap: 16px 22px !important;
    }

    .hc-team-footer-bottom {
        align-items: flex-start !important;

        flex-direction: column !important;

        gap: 8px !important;

        padding: 20px 0 24px !important;
    }
}