/* =========================================
   COACH CLOCK — MOBILE FIRST
   ========================================= */

:root {
    --background: #0A0A0A;
    --surface: #141414;
    --surface-light: #1B1B1B;

    --text: #FFFFFF;
    --text-secondary: #A7A7A7;

    --green: #5CFC9F;
    --border: rgba(255, 255, 255, 0.10);

    --page-padding: 22px;
}

#players,
#coaches,
#download {
    scroll-margin-top: 74px;
}


/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);

    font-family: "Poppins", sans-serif;

    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    width: 100%;
    height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 var(--page-padding);

position: fixed;
top: 0;
left: 0;
z-index: 100;

background: rgba(10, 10, 10, 0.78);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);

border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    display: block;
    width: 135px;
    height: auto;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.menu-button {
    width: 44px;
    height: 44px;

    border-radius: 50%;
    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.05);
    color: white;

    font-size: 20px;
    cursor: pointer;
}

.desktop-hero-extra-screens {
    display: none;
}

/* =========================================
   MOBILE MENU
   ========================================= */

.mobile-menu {
    position: fixed;
    inset: 0;

    background: rgba(8, 8, 8, 0.98);

    z-index: 1000;

    display: flex;
    flex-direction: column;

    padding: 28px var(--page-padding);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    align-self: flex-end;

    width: 44px;
    height: 44px;

    border-radius: 50%;
    border: 1px solid var(--border);

    background: var(--surface);
    color: white;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.mobile-menu-links {
    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 20px;

    text-align: center;
}



.menu-link {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -2px;
    width: fit-content;
    text-align: center;

    transition: color 0.2s ease;
}

.menu-link:hover {
    color: var(--green);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding:
        150px
        var(--page-padding)
        70px;

    position: relative;
}

.hero::before {
    content: "";

    position: absolute;
    width: 360px;
    height: 360px;

    left: 50%;
    top: 25%;

    transform: translateX(-50%);

    background: rgba(92, 252, 159, 0.12);
    filter: blur(120px);

    border-radius: 50%;

    pointer-events: none;
}

.eyebrow,
.section-label {
    color: var(--green);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.6px;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 11vw, 58px);
    line-height: 0.98;
    letter-spacing: -2.5px;
    max-width: 600px;
    position: relative;
}

.hero-text {
    margin-top: 28px;

    max-width: 500px;

    color: var(--text-secondary);

    font-size: 17px;
    line-height: 1.6;
}


/* =========================================
   BUTTONS
   ========================================= */

.hero-buttons {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-top: 34px;
}

.primary-button,
.secondary-button {
    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    padding: 0 24px;

    font-size: 16px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.primary-button {
    background: var(--green);
    color: #050505;
}

.secondary-button {
    border: 1px solid var(--border);
    background: var(--surface);
    color: white;
}

.primary-button:active,
.secondary-button:active {
    transform: scale(0.98);
}


/* =========================================
   FEATURE SECTIONS
   ========================================= */

.feature-section {
    min-height: 80svh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        90px
        var(--page-padding);

    border-top: 1px solid var(--border);
}

.feature-section h2 {
    font-size: clamp(42px, 12vw, 62px);

    line-height: 1;
    letter-spacing: -2.5px;

    margin-bottom: 26px;
}

.feature-section > p:last-child {
    color: var(--text-secondary);

    font-size: 17px;
    line-height: 1.65;

    max-width: 520px;
}


/* =========================================
   FINAL CTA
   ========================================= */

.final-cta {
    min-height: 80svh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding:
        90px
        var(--page-padding);

    position: relative;
    overflow: hidden;

    border-top: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(92, 252, 159, 0.14),
            transparent 45%
        );
}

.final-cta h2 {
    position: relative;
    z-index: 2;

    font-size: clamp(52px, 15vw, 76px);

    line-height: 0.92;
    letter-spacing: -3px;
}

.final-cta-text {
    position: relative;
    z-index: 2;

    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 17px;
}

.final-cta .section-label {
    color: var(--green);
}

.store-buttons {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 10px;

    margin-top: 34px;
}

.store-buttons a {
    display: block;
}

.store-buttons img {
    display: block;

    width: 145px;
    height: auto;
}

.final-cta h2 {
    font-size: clamp(52px, 15vw, 76px);

    line-height: 0.92;
    letter-spacing: -3px;
}

.final-cta p {
    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 17px;
}

.final-cta .primary-button {
    width: 100%;
    margin-top: 32px;
}

/* =========================================
   DOWNLOAD VIDEO
   ========================================= */

.download-layout {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 55px;
}

.download-copy {
    position: relative;
    z-index: 2;
}

.download-video {
    position: relative;

    width: 100%;

    border-radius: 24px;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: #111;
}

.download-video video {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    padding:
        50px
        var(--page-padding);

    border-top: 1px solid var(--border);

    display: flex;
    flex-direction: column;

    gap: 10px;
}

footer p {
    color: #666;
    font-size: 13px;
}

.footer-logo {
    display: flex;
    align-items: center;
    width: fit-content;
}

.footer-logo img {
    display: block;
    width: 135px;
    height: auto;
}

/* =========================================
   HERO APP SCREEN
   ========================================= */

.hero-device {
    position: relative;
    width: 220px;

    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;

    z-index: 2;
}

.hero-device img {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: auto;

    border-radius: 34px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-glow {
    position: absolute;

    width: 120%;
    height: 85%;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: rgba(92, 252, 159, 0.16);

    filter: blur(80px);

    border-radius: 50%;

    z-index: 1;
}

/* =========================================
   PLAYER FEATURE
   ========================================= */

.feature-player {
    position: relative;
    overflow: hidden;
}

.feature-copy {
    position: relative;
    z-index: 2;
}

.feature-device {
    position: relative;

    width: 220px;

    margin:
        50px
        auto
        0;

    z-index: 2;
}

.feature-device img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 34px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.08);

    position: relative;
    z-index: 2;
}

.feature-glow {
    position: absolute;

    width: 140%;
    height: 90%;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: rgba(92, 252, 159, 0.14);

    filter: blur(90px);

    border-radius: 50%;

    z-index: 1;
}

/* =========================================
   COACH FEATURE
   ========================================= */

.feature-coach {
    position: relative;
    overflow: hidden;
}

/* =========================================
   TABLET / IPAD
   ========================================= */

@media (min-width: 768px) {

    :root {
        --page-padding: 56px;
    }

    .navbar {
        height: 88px;
    }

    .navbar-logo img {
        width: 150px;
    }

    .hero {
        min-height: 100svh;

        padding:
            150px
            var(--page-padding)
            90px;
    }

    .hero h1 {
        font-size: 64px;
        line-height: 0.98;
        max-width: 650px;
    }

    .hero-text {
        max-width: 560px;
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 14px;
    }

    .primary-button,
    .secondary-button {
        min-width: 190px;
    }

.hero-device {
    width: 270px;

    margin-top: -55px;
    margin-left: auto;
    margin-right: 8%;
}

.download-layout {
    display: grid;

    grid-template-columns:
        minmax(360px, 0.65fr)
        minmax(650px, 1.35fr);

    align-items: center;

    gap: 5vw;

    width: 100%;
}

.download-video {
    width: 100%;
    max-width: 1000px;

    justify-self: end;

    border-radius: 28px;
}

.download-video video {
    width: 100%;
    height: auto;
}


    /* PLAYER + COACH SECTIONS */

    .feature-section {
        min-height: 90svh;

        padding:
            110px
            var(--page-padding);
    }

    .feature-section h2 {
        font-size: 64px;
        max-width: 650px;
    }

    .feature-section > p,
    .feature-copy > p:last-child {
        max-width: 560px;
        font-size: 18px;
    }

    .feature-device {
        width: 270px;

        margin-top: 55px;
    }


    /* FINAL CTA */

    .final-cta {
        min-height: 85svh;

        padding:
            110px
            var(--page-padding);
    }

    .final-cta h2 {
        font-size: 78px;
    }

    .final-cta-text {
        font-size: 18px;
    }

    .store-buttons {
        flex-direction: row;
        align-items: center;

        gap: 12px;
    }

    .store-buttons img {
        width: 155px;
    }


    /* STICKY NAV OFFSET */

    #players,
    #coaches,
    #download {
        scroll-margin-top: 88px;
    }
}


/* =========================================
   DESKTOP
   ========================================= */

@media (min-width: 1100px) {

    :root {
        --page-padding: clamp(70px, 8vw, 140px);
    }


    /* NAVIGATION */

    .navbar {
        height: 96px;
    }

    .navbar-logo img {
        width: 155px;
    }


    /* HERO */

    .hero {
        min-height: 100vh;

        padding:
            160px
            45%
            110px
            var(--page-padding);

        justify-content: center;
    }

    .hero h1 {
        font-size: 76px;
        line-height: 0.96;

        max-width: 720px;
    }

    .hero-text {
        max-width: 620px;

        font-size: 18px;
        line-height: 1.65;
    }

    .hero-buttons {
        margin-top: 36px;
    }

    .primary-button,
    .secondary-button {
        min-width: 190px;
    }

.hero-device {
    position: absolute;

    right: 11vw;
    top: 50%;

    transform: translateY(-50%);

    width: min(29vw, 390px);

    margin: 0;
}

    /* PLAYER SECTION */

    .feature-player {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 0.8fr);

        align-items: center;

        gap: 9vw;

        min-height: 100vh;
    }

    .feature-player .feature-copy {
        max-width: 680px;
    }

    .feature-section h2 {
        font-size: 72px;
        line-height: 0.98;

        max-width: 720px;
    }

    .feature-copy > p:last-child {
        max-width: 590px;

        font-size: 18px;
        line-height: 1.7;
    }

    .feature-device {
        width: min(25vw, 340px);

        margin: 0 auto;
    }


    /* COACH SECTION */

    .feature-coach {
        display: grid;

        grid-template-columns:
            minmax(320px, 0.8fr)
            minmax(0, 1fr);

        align-items: center;

        gap: 9vw;

        min-height: 100vh;
    }

    .feature-coach .feature-device {
        grid-column: 1;
        grid-row: 1;

        width: min(25vw, 340px);

        margin: 0 auto;
    }

    .feature-coach .feature-copy {
        grid-column: 2;
        grid-row: 1;

        max-width: 680px;
    }


    /* FINAL CTA */

    .final-cta {
        min-height: 90vh;

        padding:
            130px
            var(--page-padding);
    }

    .final-cta h2 {
        font-size: 92px;
        line-height: 0.9;

        max-width: 850px;
    }

    .final-cta-text {
        font-size: 19px;
    }

    .store-buttons {
        flex-direction: row;

        gap: 14px;
    }

    .store-buttons img {
        width: 165px;
    }


    /* FOOTER */

    footer {
        padding:
            60px
            var(--page-padding);
    }

    .footer-logo img {
        width: 155px;
    }


    /* STICKY HEADER OFFSET */

    #players,
    #coaches,
    #download {
        scroll-margin-top: 96px;
    }

    .desktop-hero-extra-screens {
    display: block;
}

.desktop-extra-screen {
    position: absolute;

    width: 185px;
    height: auto;

    border-radius: 28px;

    opacity: 0.72;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.desktop-extra-player {
    right: 30vw;
    top: 300px;
    transform: rotate(-5deg);
    z-index: 1;
}

.desktop-extra-coach {
    right: 1.5vw;
    top: 300px;
    transform: rotate(5deg);
    z-index: 1;
}

.hero-device {
    z-index: 3;
}

}