/**
 * About Us Block — Horizontal Scroll Light Premium
 */

.about-us-horizontal-section {
    position: relative;
    /* Remove !important to allow GSAP pinning */
    background: #F8FAFC !important;
    color: #1A1A2E !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    min-height: 100vh;
}

/* === BACKGROUND SYSTEM === */
.about-bg-system {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(26, 26, 46, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 46, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.about-grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: multiply;
}

.about-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #EC4899 0%, transparent 75%);
    top: -10%;
    right: -5%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3B82F6 0%, transparent 75%);
    bottom: -5%;
    left: 10%;
}

/* === PINNING & LAYOUT === */
.about-scroll-pin {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.about-sticky-content {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* === SIDEBAR TITLE === */
.about-sidebar {
    width: 35%;
    padding: 0 5vw;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    background: #F8FAFC;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(26, 26, 46, 0.05);
}

.about-main-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    color: #1A1A2E !important;
    text-transform: uppercase !important;
    letter-spacing: -0.05em !important;
    margin: 0;
}

.about-main-title .title-word {
    display: inline-block;
    will-change: transform, opacity;
}

.about-sidebar-line {
    width: 60px;
    height: 4px;
    background: #EC4899;
    margin: 2rem 0;
}

.about-team-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: rgba(26, 26, 46, 0.4);
}

/* === HORIZONTAL VIEWPORT === */
.about-cards-viewport {
    flex-grow: 1;
    height: 100%;
    position: relative;
}

.about-svg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.about-cards-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 10vw 0 5vw;
    height: 100%;
    width: fit-content;
    will-change: transform;
}

/* === MEMBER CARDS === */
.about-member-card {
    width: 420px;
    flex-shrink: 0;
    z-index: 5;
}

.card-glass {
    background: #FFFFFF;
    padding: 3.5rem 2.5rem;
    border-radius: 40px;
    border: 1px solid rgba(26, 26, 46, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.about-member-card:hover .card-glass {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border-color: rgba(236, 72, 153, 0.2);
}

/* === AVATAR SYSTEM === */
.member-avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.avatar-ring {
    position: absolute;
    inset: -10px;
}

.avatar-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.avatar-ring .ring-bg {
    fill: none;
    stroke: rgba(26, 26, 46, 0.05);
    stroke-width: 2;
}

.avatar-ring .ring-active {
    fill: none;
    stroke: #EC4899;
    stroke-width: 2;
    stroke-dasharray: 301.6;
    /* 2 * PI * 48 */
    stroke-dashoffset: 301.6;
    stroke-linecap: round;
}

.avatar-image-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #F8FAFC;
    position: relative;
    z-index: 2;
    border: 4px solid #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-member-card:hover .avatar-img {
    transform: scale(1.15);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: #EC4899;
    background: #FFF0F6;
}

/* === MEMBER INFO === */
.member-info {
    text-align: center;
}

.member-meta {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #EC4899;
    margin-bottom: 0.75rem;
}

.member-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #1A1A2E !important;
    margin-bottom: 0.5rem !important;
}

.member-role {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 46, 0.5) !important;
    margin-bottom: 1.5rem;
}

.member-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: rgba(26, 26, 46, 0.7) !important;
    margin: 0;
}

/* === CARD TECH FOOTER === */
.card-tech-footer {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-dot {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 10px #22C55E;
}

.footer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3);
}

/* === RESPONSIVE (Fallback to Vertical) === */
@media (max-width: 991px) {
    .about-scroll-pin {
        height: auto !important;
    }

    .about-sticky-content {
        position: relative !important;
        height: auto !important;
        flex-direction: column;
        top: auto !important;
    }

    .about-sidebar {
        width: 100%;
        padding: 6rem 2rem 4rem;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
        align-items: center;
    }

    .about-sidebar-line {
        margin: 2rem auto;
    }

    .about-cards-viewport {
        width: 100%;
        overflow: hidden;
        padding-bottom: 6rem;
    }

    .about-cards-track {
        flex-direction: column;
        padding: 4rem 2rem;
        width: 100% !important;
        transform: none !important;
        gap: 3rem;
    }

    .about-member-card {
        width: 100%;
        max-width: 480px;
    }

    .about-svg-layer {
        display: none;
    }
}