@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap");


/* =========================================
   ROOT
========================================= */

:root {
    --bg: #08090a;
    --bg-soft: #101113;
    --card: #141518;

    --text: #f4f4f1;
    --muted: #98999d;

    --accent: #d8ff3e;
    --accent-dark: #b8dc27;

    --border: rgba(255, 255, 255, 0.11);
    --border-soft: rgba(255, 255, 255, 0.07);

    --container: 1240px;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;

    background: var(--bg);
    color: var(--text);

    font-family: "Space Grotesk", sans-serif;

    overflow-x: hidden;
}

body.popup-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 150px 0;
}

.eyebrow {
    display: inline-block;

    color: var(--accent);

    font-family: "DM Mono", monospace;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;
}

.nav-wrap {
    min-height: 94px;

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

    gap: 30px;
}

.brand {
    white-space: nowrap;

    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.brand span {
    color: var(--accent);
}

.brand strong {
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.desktop-nav a {
    color: var(--muted);

    font-size: 0.8rem;

    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--text);
}

.nav-button {
    min-height: 46px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;

    gap: 13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.nav-button:hover {
    background: var(--accent);
    color: #0b0b0b;
    border-color: var(--accent);
}


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

.hero {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border-soft);
}

.hero-content {
    position: relative;
    z-index: 3;

    width: 100%;

    padding-top: 170px;
    padding-bottom: 70px;
}

.hero-topline {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow: 0 0 18px var(--accent);
}

.hero h1 {
    max-width: 1100px;

    margin-top: 34px;

    font-size: clamp(4rem, 9vw, 9.5rem);
    line-height: 0.82;
    letter-spacing: -0.095em;
}

.hero h1 span {
    color: var(--accent);
}

.hero-bottom {
    max-width: 770px;

    margin-top: 38px;

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

    gap: 30px;
}

.hero-bottom p {
    max-width: 460px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.75;
}

.primary-button,
.final-button {
    min-height: 60px;
    padding: 0 25px;

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

    gap: 40px;

    border-radius: 999px;

    background: var(--accent);
    color: #0b0b0b;

    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.primary-button:hover,
.final-button:hover {
    transform: translateY(-4px);

    box-shadow: 0 18px 50px rgba(216, 255, 62, 0.18);
}

.primary-button b,
.final-button b {
    font-size: 1.2rem;
}

.hero-stats {
    margin-top: 90px;

    display: flex;
    align-items: center;

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

.hero-stat {
    flex: 1;

    min-height: 100px;

    padding: 28px 25px;

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

    gap: 7px;

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

.hero-stat:first-child {
    padding-left: 0;
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat span {
    color: #6f7075;

    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.hero-stat strong {
    font-size: 0.85rem;
    letter-spacing: -0.02em;
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.42;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.9),
            transparent 90%
        );
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(130px);
}

.hero-glow-one {
    width: 620px;
    height: 620px;

    top: -360px;
    right: -150px;

    background: rgba(216, 255, 62, 0.1);
}

.hero-glow-two {
    width: 500px;
    height: 500px;

    bottom: -330px;
    left: -180px;

    background: rgba(80, 80, 255, 0.08);
}


/* =========================================
   MARQUEE
========================================= */

.marquee-section {
    padding: 20px 0;

    overflow: hidden;

    background: var(--accent);
    color: #0b0b0b;
}

.marquee-track {
    width: max-content;

    display: flex;
    align-items: center;

    gap: 34px;

    animation: marquee 22s linear infinite;
}

.marquee-track span {
    white-space: nowrap;

    font-family: "DM Mono", monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.marquee-track i {
    font-style: normal;
    font-size: 0.9rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================
   SECTION INTRO
========================================= */

.section-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr;

    align-items: end;

    gap: 80px;

    margin-bottom: 80px;
}

.section-intro h2,
.process-header h2,
.about-sticky h2,
.final-content h2 {
    margin-top: 20px;

    font-size: clamp(3.2rem, 6vw, 6.5rem);
    line-height: 0.86;
    letter-spacing: -0.085em;
}

.section-intro h2 span,
.process-header h2 span,
.about-sticky h2 span {
    color: var(--accent);
}

.section-intro > p {
    max-width: 450px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: #0d0e10;
}

.services-list {
    border-top: 1px solid var(--border);
}

.service-row {
    min-height: 150px;

    padding: 25px 0;

    display: grid;
    grid-template-columns: 90px 1fr auto;

    align-items: center;

    gap: 30px;

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

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}

.service-row:hover {
    padding-left: 22px;
    padding-right: 22px;

    background: rgba(255, 255, 255, 0.025);
}

.service-number {
    color: var(--accent);

    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
}

.service-title h3 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    letter-spacing: -0.05em;
}

.service-title p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 0.88rem;
    line-height: 1.6;
}

.service-arrow {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

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

    color: var(--accent);

    font-size: 1.3rem;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.service-row:hover .service-arrow {
    background: var(--accent);
    color: #111;

    transform: rotate(45deg);
}


/* =========================================
   PROCESS
========================================= */

.process {
    border-top: 1px solid var(--border-soft);
}

.process-header {
    max-width: 900px;
}

.process-grid {
    margin-top: 75px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

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

.process-card {
    min-height: 330px;

    padding: 30px;

    display: flex;
    flex-direction: column;

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

    background: var(--bg);
}

.process-card:last-child {
    border-right: none;
}

.process-card > span {
    color: var(--accent);

    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
}

.process-card h3 {
    margin-top: auto;

    font-size: 1.3rem;
    letter-spacing: -0.04em;
}

.process-card p {
    margin-top: 14px;

    color: var(--muted);

    font-size: 0.86rem;
    line-height: 1.7;
}

.process-card-accent {
    background: var(--accent);
    color: #111;
}

.process-card-accent > span {
    color: rgba(0, 0, 0, 0.55);
}

.process-card-accent p {
    color: rgba(0, 0, 0, 0.65);
}


/* =========================================
   ABOUT
========================================= */

.about-section {
    background: #0d0e10;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 130px;
}

.about-lead {
    max-width: 700px;

    color: #d8d8d5;

    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.45;
    letter-spacing: -0.035em;
}

.about-item {
    margin-top: 45px;
    padding-top: 30px;

    display: grid;
    grid-template-columns: 60px 1fr;

    gap: 20px;

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

.about-item > span {
    color: var(--accent);

    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
}

.about-item h3 {
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.about-item p {
    max-width: 480px;

    margin-top: 10px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.7;
}

.text-button {
    margin-top: 55px;

    display: inline-flex;
    align-items: center;

    gap: 20px;

    color: var(--accent);

    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.text-button span {
    font-size: 1.2rem;
}


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

.final-section {
    position: relative;

    padding: 160px 0;

    overflow: hidden;

    background: var(--accent);
    color: #101010;
}

.final-content {
    position: relative;
    z-index: 2;
}

.final-content .eyebrow {
    color: rgba(0, 0, 0, 0.55);
}

.final-content h2 {
    max-width: 900px;
}

.final-content h2 span {
    color: rgba(0, 0, 0, 0.38);
}

.final-content p {
    max-width: 520px;

    margin-top: 30px;

    color: rgba(0, 0, 0, 0.65);

    font-size: 1rem;
    line-height: 1.75;
}

.final-button {
    margin-top: 35px;

    background: #111;
    color: white;
}

.final-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -250px;
    top: -400px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.22);

    filter: blur(120px);
}


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

.site-footer {
    padding: 36px 0;

    background: #08090a;

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

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-wrap p {
    color: #696a70;

    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
}


/* ==================================================
   SPRINTERS POPUP
================================================== */

.popup-overlay {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    padding: 24px;

    background: rgba(2, 3, 4, 0.88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

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

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* POPUP CARD

   IMPORTANT:
   No fixed height is used.
   No object-fit: cover is used.

   This prevents image cropping.
*/

.popup-card {
    position: relative;

    width: auto;

    max-width: min(92vw, 700px);
    max-height: calc(100dvh - 48px);

    display: inline-flex;

    overflow: visible;

    border-radius: 28px;

    border: 1px solid rgba(216, 255, 62, 0.28);

    background: #08090a;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(216, 255, 62, 0.05);

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.popup-overlay.active .popup-card {
    transform: translateY(0) scale(1);
}


/* WHOLE IMAGE IS THE LINK */

.popup-image-link {
    position: relative;

    display: block;

    max-width: min(92vw, 700px);
    max-height: calc(100dvh - 48px);

    overflow: hidden;

    border-radius: 27px;

    line-height: 0;

    cursor: pointer;
}


/* CRITICAL IMAGE FIX

   width: auto
   height: auto

   max-width and max-height ensure the ENTIRE
   image scales down to fit the screen.

   object-fit: contain ensures it is NEVER cropped.
*/

.popup-promo-image {
    display: block;

    width: auto;
    height: auto;

    max-width: min(92vw, 700px);
    max-height: calc(100dvh - 48px);

    object-fit: contain;

    cursor: pointer;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.popup-image-link:hover .popup-promo-image {
    transform: scale(1.015);
    filter: brightness(1.04);
}


/* CLOSE BUTTON

   ALSO A LINK TO:
   https://srprolink.shop/r/scsads
*/

.popup-close {
    position: absolute;

    z-index: 10;

    top: 16px;
    right: 16px;

    width: 58px;
    height: 58px;

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

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background: rgba(7, 8, 10, 0.82);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: white;

    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.popup-close:hover {
    transform: scale(1.08);

    background: var(--accent);
    color: #111;
}


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

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .section-intro,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-intro {
        gap: 30px;
    }

    .about-grid {
        gap: 80px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card:nth-child(2) {
        border-right: none;
    }

    .process-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

}


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

@media (max-width: 650px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 100px 0;
    }

    .nav-wrap {
        min-height: 78px;
    }

    .brand {
        font-size: 0.92rem;
    }

    .nav-button {
        min-height: 40px;
        padding: 0 12px;

        font-size: 0.5rem;
    }

    .nav-button span {
        display: none;
    }

    .hero-content {
        padding-top: 135px;
        padding-bottom: 55px;
    }

    .hero-topline {
        font-size: 0.52rem;
    }

    .hero h1 {
        margin-top: 27px;

        font-size: clamp(3.8rem, 18vw, 5.8rem);
    }

    .hero-bottom {
        margin-top: 30px;

        flex-direction: column;
        align-items: stretch;

        gap: 25px;
    }

    .hero-bottom p {
        font-size: 0.92rem;
    }

    .primary-button {
        width: 100%;
    }

    .hero-stats {
        margin-top: 60px;

        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-stat {
        min-height: auto;

        padding: 18px 0;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-stat:last-child {
        border-bottom: none;
    }

    .section-intro {
        margin-bottom: 50px;
    }

    .service-row {
        min-height: 130px;

        grid-template-columns: 45px 1fr;

        gap: 12px;
    }

    .service-arrow {
        display: none;
    }

    .service-row:hover {
        padding-left: 0;
        padding-right: 0;

        background: transparent;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: 250px;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .process-card:nth-child(2) {
        border-right: none;
    }

    .process-card:last-child {
        border-bottom: none;
    }

    .about-item {
        grid-template-columns: 45px 1fr;
    }

    .final-section {
        padding: 110px 0;
    }

    .final-button {
        width: 100%;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }


    /* =====================================
       MOBILE POPUP FIX
    ===================================== */

    .popup-overlay {
        padding: 16px;
    }

    .popup-card {
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 32px);

        border-radius: 22px;
    }

    .popup-image-link {
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 32px);

        border-radius: 21px;
    }

    .popup-promo-image {
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 32px);

        width: auto;
        height: auto;

        object-fit: contain;
    }

    .popup-close {
        top: 12px;
        right: 12px;

        width: 52px;
        height: 52px;

        font-size: 2rem;
    }

}

