/* ── Features Page Styles ─────────────────────────────────── */

/* Hero */
.features-hero {
    padding: 100px 0 60px;
    background: linear-gradient(160deg, #f8faff 0%, var(--bg-subtle) 100%);
    border-bottom: 1px solid rgba(0,51,153,0.08);
}
.features-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.features-hero-badge {
    display: inline-block;
    background: rgba(0,51,153,0.08);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.features-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.15;
}
.features-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}
.features-hero-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.ftab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}
.ftab-club {
    background: var(--accent);
    color: #fff;
}
.ftab-club:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,51,153,0.25);
}
.ftab-player {
    background: var(--green);
    color: #fff;
}
.ftab-player:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}

/* ── Audience Sections ── */
.audience-section {
    padding: 80px 0;
}
.club-section {
    background: #fff;
}
.player-section {
    background: var(--bg-subtle);
}

.audience-header {
    text-align: center;
    margin-bottom: 60px;
}
.audience-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.club-badge {
    background: rgba(0,51,153,0.08);
    color: var(--accent);
}
.player-badge {
    background: var(--green-light);
    color: #15803d;
}
.audience-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}
.audience-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Showcase Layout ── */
.showcase {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}
.showcase-reverse {
    grid-template-columns: 1fr 320px;
}

/* ── Phone Mockup ── */
.phone-showcase {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
}
.showcase-phone {
    position: relative;
    width: 260px;
}
.showcase-phone::before {
    content: '';
    position: absolute;
    inset: -20px -30px;
    border-radius: 60px;
    z-index: 0;
}
.club-showcase .showcase-phone::before {
    background: radial-gradient(ellipse at center, rgba(0,51,153,0.10) 0%, transparent 70%);
}
.player-showcase .showcase-phone::before {
    background: radial-gradient(ellipse at center, rgba(34,197,94,0.10) 0%, transparent 70%);
}

.sp-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #111;
    border-radius: 999px;
    z-index: 10;
}
.sp-screen {
    position: relative;
    width: 260px;
    height: 540px;
    background: #0f172a;
    border-radius: 40px;
    overflow: hidden;
    box-shadow:
        0 0 0 8px #1e293b,
        0 0 0 10px #334155,
        0 30px 60px rgba(0,0,0,0.35);
    z-index: 1;
}
.club-section .sp-screen {
    box-shadow:
        0 0 0 8px #1e293b,
        0 0 0 10px #334155,
        0 30px 60px rgba(0,51,153,0.25);
}
.player-section .sp-screen {
    box-shadow:
        0 0 0 8px #1e293b,
        0 0 0 10px #334155,
        0 30px 60px rgba(34,197,94,0.18);
}
.sp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sp-img.active {
    opacity: 1;
}

/* Dots */
.sp-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}
.sp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}
.club-section .sp-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 999px;
}
.player-section .sp-dot.active {
    background: var(--green);
    width: 20px;
    border-radius: 999px;
}

/* ── Feature Detail Items ── */
.feature-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fd-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 16px;
    padding: 18px 20px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    background: transparent;
}
.fd-item:hover {
    background: rgba(0,51,153,0.03);
}
.player-features .fd-item:hover {
    background: rgba(34,197,94,0.04);
}
.fd-item.active {
    background: #fff;
    border-color: rgba(0,51,153,0.15);
    box-shadow: 0 4px 20px rgba(0,51,153,0.08);
}
.player-features .fd-item.active {
    border-color: rgba(34,197,94,0.25);
    box-shadow: 0 4px 20px rgba(34,197,94,0.10);
}

.fd-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-top: 2px;
}
.club-icon {
    background: rgba(0,51,153,0.08);
}
.player-icon {
    background: var(--green-light);
}

.fd-body {
    flex: 1;
    min-width: 0;
}
.fd-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    transition: color 0.2s;
}
.fd-item.active .fd-body h3,
.fd-item:hover .fd-body h3 {
    color: var(--accent);
}
.player-features .fd-item.active .fd-body h3,
.player-features .fd-item:hover .fd-body h3 {
    color: #15803d;
}

/* Collapsed: hide ul by default */
.fd-body ul {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
}
.fd-item.active .fd-body ul {
    display: flex;
}
.fd-body ul li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}
.fd-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}
.club-features .fd-body ul li::before {
    background: var(--accent);
}

/* ── Why / Stats / CTA ── */
.why-section {
    padding: 80px 0 40px;
    background: #fff;
}
.why-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .showcase,
    .showcase-reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .showcase-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .phone-showcase {
        position: static;
    }
    .showcase-phone {
        width: 220px;
    }
    .sp-screen {
        width: 220px;
        height: 460px;
    }
}
@media (max-width: 480px) {
    .features-hero {
        padding: 80px 0 48px;
    }
    .audience-section {
        padding: 56px 0;
    }
    .showcase-phone {
        width: 200px;
    }
    .sp-screen {
        width: 200px;
        height: 420px;
    }
}
