/* Zwift Integration Page Styles — extends splash.css patterns */

/* Zwift accent */
:root {
    --zwift-orange: #F47920;
}

/* Hero — two-column: video left, text right */
.zwift-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px 60px;
}

.zwift-hero .section-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.zwift-hero .section-media {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.zwift-hero .phone-frame {
    max-width: 300px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #222222;
    position: relative;
}

.zwift-hero .phone-frame video {
    width: 100%;
    display: block;
    border-radius: 24px;
}

.hero-copy {
    flex: 1;
    min-width: 0;
    max-width: 480px;
}

.eyebrow {
    display: inline-block;
    background: var(--zwift-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 2rem;
}

.zwift-hero h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 12px;
    margin-bottom: 8px;
}

.zwift-hero .subhead {
    font-size: 20px;
    color: #8E8E93;
    line-height: 1.5;
    margin: 0 0 24px;
}

/* Two-column feature sections */
.zwift-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
}

.zwift-section .section-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.zwift-section .section-inner.reversed {
    flex-direction: row-reverse;
}

.zwift-section .section-media {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.zwift-section .section-media img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.zwift-section .section-copy {
    flex: 1;
    min-width: 0;
    max-width: 480px;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.zwift-section h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.zwift-section .body-text {
    font-size: 18px;
    color: #8E8E93;
    line-height: 1.6;
    margin-bottom: 24px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-list li {
    font-size: 15px;
    color: #ccc;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Section 3 — How to Connect (portrait video + steps) */
.zwift-section .section-media .phone-frame {
    max-width: 300px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #222222;
    position: relative;
}

.zwift-section .section-media .phone-frame video {
    width: 100%;
    display: block;
    border-radius: 24px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.steps-list li {
    counter-increment: step;
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
    padding-left: 36px;
    position: relative;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--background-color);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list li strong {
    color: #fff;
}

.steps-note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    line-height: 1.5;
}

/* Footer CTA Banner */
.zwift-cta {
    text-align: center;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 60px;
}

.zwift-cta h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .zwift-hero {
        padding: 60px 30px 40px;
    }

    .zwift-hero .section-inner {
        flex-direction: column;
    }

    .zwift-hero .hero-copy {
        text-align: center;
    }

    .zwift-hero h1 {
        font-size: 28px;
    }

    .zwift-hero .subhead {
        font-size: 18px;
    }

    .zwift-hero .phone-frame {
        max-width: 240px;
    }

    .zwift-section {
        padding: 40px 30px;
    }

    .zwift-section .section-inner,
    .zwift-section .section-inner.reversed {
        flex-direction: column;
    }

    .zwift-section .section-media {
        max-width: 100%;
    }

    .zwift-section .section-media .phone-frame {
        max-width: 240px;
        flex: none;
        margin: 0 auto;
    }

    .zwift-section .section-copy {
        text-align: center;
    }

    .zwift-section h2 {
        font-size: 28px;
    }

    .detail-list,
    .steps-list {
        text-align: left;
    }

    .zwift-cta {
        padding: 0 30px;
        margin: 60px auto;
    }

    .zwift-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 375px) {
    .zwift-hero {
        padding: 60px 16px 40px;
    }

    .zwift-hero h1 {
        font-size: 24px;
    }

    .zwift-hero .phone-frame {
        max-width: 200px;
    }

    .zwift-hero .subhead {
        font-size: 16px;
    }

    .zwift-section {
        padding: 40px 16px;
    }

    .zwift-section h2 {
        font-size: 22px;
    }

    .zwift-section .section-media .phone-frame {
        max-width: 200px;
    }

    .zwift-cta {
        padding: 0 16px;
    }
}
