/* =========================================================
   PILOTYT — WAITLIST
   Premium Black / Red Early Access Experience
========================================================= */

.waitlist-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(255, 31, 61, 0.09),
            transparent 38%
        ),
        #050505;

    color: #ffffff;
}


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

.waitlist-header {
    position: sticky;

    top: 0;

    z-index: 100;

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 5vw;

    border-bottom:
        1px solid #191919;

    background:
        rgba(5, 5, 5, 0.88);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}


.waitlist-logo {
    display: flex;

    align-items: center;
}


.waitlist-logo img {
    width: 135px;

    max-height: 42px;

    object-fit: contain;
}


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

.waitlist-header-user {
    display: flex;

    align-items: center;

    gap: 18px;
}


.waitlist-header-user > span {
    max-width: 260px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #666666;

    font-size: 12px;

    font-weight: 600;
}


.waitlist-header-user button {
    padding:
        10px 15px;

    border:
        1px solid #282828;

    border-radius:
        9px;

    background:
        #0b0b0b;

    color:
        #888888;

    font-family:
        inherit;

    font-size:
        11px;

    font-weight:
        700;

    cursor:
        pointer;

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


.waitlist-header-user button:hover {
    color:
        #ffffff;

    border-color:
        #ff1f3d;

    background:
        rgba(255, 31, 61, 0.06);
}


/* =========================================================
   MAIN
========================================================= */

.waitlist-main {
    min-height:
        calc(100vh - 78px);

    overflow:
        hidden;
}


/* =========================================================
   LOADING
========================================================= */

.waitlist-loading {
    min-height:
        calc(100vh - 78px);

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        18px;

    color:
        #555555;

    font-size:
        13px;
}


.waitlist-loader {
    width:
        30px;

    height:
        30px;

    border:
        2px solid #202020;

    border-top-color:
        #ff1f3d;

    border-radius:
        50%;

    animation:
        waitlist-spin 0.75s linear infinite;
}


@keyframes waitlist-spin {

    to {
        transform:
            rotate(360deg);
    }

}


/* =========================================================
   CONTENT
========================================================= */

.waitlist-content {
    max-width:
        1050px;

    margin:
        0 auto;

    padding:
        105px 24px 100px;
}


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

.waitlist-hero {
    position:
        relative;

    text-align:
        center;

    margin:
        0 auto 65px;
}


.waitlist-hero::before {
    content:
        "";

    position:
        absolute;

    width:
        650px;

    height:
        500px;

    left:
        50%;

    top:
        -220px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 31, 61, 0.13),
            transparent 68%
        );

    filter:
        blur(25px);

    pointer-events:
        none;
}


.waitlist-eyebrow {
    position:
        relative;

    display:
        inline-block;

    color:
        #ff1f3d;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        0.16em;
}


.waitlist-hero h1 {
    position:
        relative;

    margin:
        23px auto 0;

    font-size:
        clamp(
            68px,
            11vw,
            125px
        );

    line-height:
        0.85;

    letter-spacing:
        -0.085em;
}


.waitlist-hero h1 span {
    color:
        #ff1f3d;
}


.waitlist-hero p {
    position:
        relative;

    max-width:
        650px;

    margin:
        30px auto 0;

    color:
        #777777;

    font-size:
        17px;

    line-height:
        1.7;
}


/* =========================================================
   USER CARD
========================================================= */

.waitlist-user-card {
    display:
        flex;

    align-items:
        center;

    gap:
        17px;

    max-width:
        700px;

    margin:
        0 auto 20px;

    padding:
        20px;

    border:
        1px solid #1e1e1e;

    border-radius:
        16px;

    background:
        rgba(10, 10, 10, 0.8);
}


.waitlist-avatar {
    flex:
        0 0 auto;

    width:
        52px;

    height:
        52px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        rgba(255, 31, 61, 0.3);

    border-radius:
        14px;

    background:
        rgba(255, 31, 61, 0.07);

    color:
        #ff1f3d;

    font-size:
        19px;

    font-weight:
        800;
}


.waitlist-user-info {
    min-width:
        0;
}


.waitlist-user-info > span {
    display:
        block;

    color:
        #4d4d4d;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.12em;
}


.waitlist-user-info strong {
    display:
        block;

    margin-top:
        5px;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

    color:
        #ffffff;

    font-size:
        16px;
}


.waitlist-user-info p {
    margin-top:
        3px;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

    color:
        #555555;

    font-size:
        12px;
}


/* =========================================================
   POSITION CARD
========================================================= */

.position-card {
    position:
        relative;

    overflow:
        hidden;

    max-width:
        700px;

    margin:
        0 auto;

    padding:
        45px 35px 38px;

    border:
        1px solid
        rgba(255, 31, 61, 0.25);

    border-radius:
        22px;

    background:
        linear-gradient(
            145deg,
            #12090b,
            #080808
        );

    text-align:
        center;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.4);
}


.position-card::before {
    content:
        "";

    position:
        absolute;

    width:
        350px;

    height:
        350px;

    top:
        -200px;

    left:
        50%;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 31, 61, 0.12),
            transparent 68%
        );

    pointer-events:
        none;
}


.position-label {
    position:
        relative;

    color:
        #6a6a6a;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        0.15em;
}


.position-number {
    position:
        relative;

    margin-top:
        13px;

    color:
        #ffffff;

    font-size:
        clamp(
            65px,
            10vw,
            105px
        );

    font-weight:
        900;

    line-height:
        0.95;

    letter-spacing:
        -0.07em;
}


.position-number::first-letter {
    color:
        #ff1f3d;
}


.position-total {
    position:
        relative;

    margin-top:
        12px;

    color:
        #555555;

    font-size:
        13px;
}


.position-total strong {
    color:
        #999999;

    font-weight:
        700;
}


/* =========================================================
   POSITION BAR
========================================================= */

.position-bar {
    position:
        relative;

    height:
        5px;

    max-width:
        450px;

    margin:
        30px auto 0;

    overflow:
        hidden;

    border-radius:
        20px;

    background:
        #202020;
}


.position-bar-fill {
    width:
        0%;

    height:
        100%;

    border-radius:
        inherit;

    background:
        linear-gradient(
            90deg,
            #ff1f3d,
            #ff526a
        );

    box-shadow:
        0 0 18px
        rgba(255, 31, 61, 0.4);

    transition:
        width 1s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.position-message {
    position:
        relative;

    margin-top:
        18px;

    color:
        #555555;

    font-size:
        11px;
}


/* =========================================================
   WAITLIST STATS
========================================================= */

.waitlist-stats {
    display:
        grid;

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

    gap:
        14px;

    max-width:
        700px;

    margin:
        18px auto 0;
}


.waitlist-stat-card {
    padding:
        24px 20px;

    border:
        1px solid #1c1c1c;

    border-radius:
        15px;

    background:
        #090909;

    text-align:
        center;

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


.waitlist-stat-card:hover {
    border-color:
        #2b2b2b;

    transform:
        translateY(-2px);
}


.waitlist-stat-card > span {
    display:
        block;

    color:
        #505050;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.13em;
}


.waitlist-stat-card strong {
    display:
        block;

    margin-top:
        10px;

    color:
        #ffffff;

    font-size:
        27px;

    line-height:
        1;
}


.waitlist-stat-card small {
    display:
        block;

    margin-top:
        8px;

    color:
        #444444;

    font-size:
        10px;
}


.waitlist-stat-card .status-live {
    color:
        #ff1f3d;

    font-size:
        15px;

    letter-spacing:
        0.02em;
}


/* =========================================================
   REFERRAL CARD
========================================================= */

.referral-card {
    position:
        relative;

    max-width:
        700px;

    margin:
        65px auto 0;

    padding:
        32px;

    border:
        1px solid #202020;

    border-radius:
        20px;

    background:
        linear-gradient(
            145deg,
            #101010,
            #080808
        );
}


.referral-heading {
    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        20px;
}


.referral-heading > div > span {
    color:
        #ff1f3d;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        0.14em;
}


.referral-heading h2 {
    margin-top:
        9px;

    font-size:
        32px;

    line-height:
        1;

    letter-spacing:
        -0.045em;
}


.referral-icon {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        42px;

    height:
        42px;

    border:
        1px solid
        rgba(255, 31, 61, 0.25);

    border-radius:
        11px;

    background:
        rgba(255, 31, 61, 0.06);

    color:
        #ff1f3d;

    font-size:
        18px;
}


.referral-description {
    max-width:
        580px;

    margin-top:
        15px;

    color:
        #666666;

    font-size:
        13px;

    line-height:
        1.65;
}


/* =========================================================
   REFERRAL LINK
========================================================= */

.referral-link-box {
    display:
        grid;

    grid-template-columns:
        1fr auto;

    gap:
        8px;

    margin-top:
        24px;
}


.referral-link-box input {
    width:
        100%;

    min-width:
        0;

    height:
        54px;

    padding:
        0 15px;

    border:
        1px solid #292929;

    border-radius:
        10px;

    outline:
        none;

    background:
        #070707;

    color:
        #777777;

    font-family:
        inherit;

    font-size:
        12px;
}


.referral-link-box button {
    height:
        54px;

    padding:
        0 20px;

    border:
        1px solid
        rgba(255, 31, 61, 0.35);

    border-radius:
        10px;

    background:
        rgba(255, 31, 61, 0.08);

    color:
        #ff526a;

    font-family:
        inherit;

    font-size:
        12px;

    font-weight:
        800;

    cursor:
        pointer;

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


.referral-link-box button:hover {
    border-color:
        #ff1f3d;

    background:
        #ff1f3d;

    color:
        #ffffff;
}


/* =========================================================
   REFERRAL ACTIONS
========================================================= */

.referral-actions {
    display:
        flex;

    gap:
        10px;

    margin-top:
        12px;
}


.share-button {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    width:
        100%;

    min-height:
        48px;

    border:
        1px solid #292929;

    border-radius:
        10px;

    background:
        #0d0d0d;

    color:
        #cccccc;

    font-family:
        inherit;

    font-size:
        12px;

    font-weight:
        700;

    cursor:
        pointer;

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


.share-button:hover {
    border-color:
        #ff1f3d;

    color:
        #ffffff;

    transform:
        translateY(-2px);
}


.share-button span {
    color:
        #ff1f3d;

    font-size:
        16px;
}


/* =========================================================
   COPY MESSAGE
========================================================= */

.copy-message {
    min-height:
        18px;

    margin-top:
        10px;

    color:
        #42c88a;

    font-size:
        11px;

    text-align:
        center;

    opacity:
        0;

    transition:
        opacity 0.25s ease;
}


.copy-message.show {
    opacity:
        1;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-it-works {
    max-width:
        900px;

    margin:
        120px auto 0;

    text-align:
        center;
}


.how-it-works h2 {
    margin-top:
        20px;

    font-size:
        clamp(
            42px,
            6vw,
            70px
        );

    line-height:
        0.95;

    letter-spacing:
        -0.065em;
}


.how-it-works h2 span {
    color:
        #ff1f3d;
}


/* =========================================================
   STEPS
========================================================= */

.steps {
    display:
        grid;

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

    gap:
        14px;

    margin-top:
        42px;

    text-align:
        left;
}


.step {
    padding:
        24px;

    border:
        1px solid #1d1d1d;

    border-radius:
        16px;

    background:
        #090909;

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


.step:hover {
    border-color:
        #2b2b2b;

    transform:
        translateY(-3px);
}


.step-number {
    color:
        #ff1f3d;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        0.12em;
}


.step h3 {
    margin-top:
        25px;

    color:
        #ffffff;

    font-size:
        17px;

    letter-spacing:
        -0.02em;
}


.step p {
    margin-top:
        10px;

    color:
        #555555;

    font-size:
        12px;

    line-height:
        1.65;
}


/* =========================================================
   BOTTOM
========================================================= */

.waitlist-bottom {
    margin-top:
        130px;

    padding:
        110px 20px;

    border-top:
        1px solid #151515;

    text-align:
        center;
}


.waitlist-bottom h2 {
    font-size:
        clamp(
            55px,
            9vw,
            95px
        );

    line-height:
        0.9;

    letter-spacing:
        -0.075em;
}


.waitlist-bottom h2 span {
    color:
        #ff1f3d;
}


.waitlist-bottom p {
    max-width:
        520px;

    margin:
        25px auto 0;

    color:
        #606060;

    font-size:
        14px;

    line-height:
        1.7;
}


.waitlist-bottom a {
    display:
        inline-flex;

    align-items:
        center;

    margin-top:
        30px;

    padding:
        14px 20px;

    border:
        1px solid
        rgba(255, 31, 61, 0.35);

    border-radius:
        10px;

    background:
        rgba(255, 31, 61, 0.06);

    color:
        #ff526a;

    font-size:
        12px;

    font-weight:
        800;

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


.waitlist-bottom a:hover {
    background:
        #ff1f3d;

    color:
        #ffffff;

    transform:
        translateY(-2px);
}


/* =========================================================
   ERROR
========================================================= */

.waitlist-error {
    min-height:
        calc(100vh - 78px);

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    padding:
        30px;

    text-align:
        center;
}


.error-icon {
    width:
        55px;

    height:
        55px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        rgba(255, 31, 61, 0.3);

    border-radius:
        15px;

    background:
        rgba(255, 31, 61, 0.06);

    color:
        #ff1f3d;

    font-size:
        23px;

    font-weight:
        800;
}


.waitlist-error h2 {
    margin-top:
        20px;

    font-size:
        30px;

    letter-spacing:
        -0.04em;
}


.waitlist-error p {
    max-width:
        450px;

    margin-top:
        10px;

    color:
        #666666;

    font-size:
        13px;

    line-height:
        1.6;
}


.waitlist-error button {
    margin-top:
        25px;

    padding:
        13px 20px;

    border:
        0;

    border-radius:
        10px;

    background:
        #ff1f3d;

    color:
        #ffffff;

    font-family:
        inherit;

    font-size:
        12px;

    font-weight:
        800;

    cursor:
        pointer;

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


.waitlist-error button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 35px
        rgba(255, 31, 61, 0.2);
}


/* =========================================================
   HIDDEN
========================================================= */

[hidden] {
    display:
        none !important;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 850px) {

    .waitlist-content {
        padding-top:
            80px;
    }


    .waitlist-stats {
        grid-template-columns:
            1fr 1fr;
    }


    .waitlist-stat-card:last-child {
        grid-column:
            span 2;
    }


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

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .waitlist-header {
        height:
            70px;

        padding:
            0 18px;
    }


    .waitlist-logo img {
        width:
            115px;
    }


    .waitlist-header-user {
        gap:
            8px;
    }


    .waitlist-header-user > span {
        display:
            none;
    }


    .waitlist-header-user button {
        padding:
            9px 12px;
    }


    .waitlist-content {
        padding:
            70px 16px 70px;
    }


    .waitlist-hero {
        margin-bottom:
            45px;
    }


    .waitlist-hero h1 {
        font-size:
            clamp(
                60px,
                19vw,
                88px
            );
    }


    .waitlist-hero p {
        font-size:
            14px;
    }


    .waitlist-user-card {
        padding:
            16px;
    }


    .waitlist-avatar {
        width:
            45px;

        height:
            45px;

        border-radius:
            12px;
    }


    .waitlist-user-info strong {
        font-size:
            14px;
    }


    .position-card {
        padding:
            38px 20px 30px;

        border-radius:
            18px;
    }


    .position-number {
        font-size:
            clamp(
                62px,
                20vw,
                90px
            );
    }


    .waitlist-stats {
        grid-template-columns:
            1fr;

        gap:
            10px;
    }


    .waitlist-stat-card:last-child {
        grid-column:
            span 1;
    }


    .referral-card {
        margin-top:
            50px;

        padding:
            22px;

        border-radius:
            17px;
    }


    .referral-heading h2 {
        font-size:
            27px;
    }


    .referral-icon {
        width:
            37px;

        height:
            37px;
    }


    .referral-link-box {
        grid-template-columns:
            1fr;
    }


    .referral-link-box button {
        width:
            100%;
    }


    .how-it-works {
        margin-top:
            90px;
    }


    .how-it-works h2 {
        font-size:
            45px;
    }


    .step {
        padding:
            20px;
    }


    .waitlist-bottom {
        margin-top:
            90px;

        padding:
            80px 18px;
    }


    .waitlist-bottom h2 {
        font-size:
            clamp(
                52px,
                17vw,
                78px
            );
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;

    }

}

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

.waitlist-nav {
    display:
        flex;

    align-items:
        center;

    gap:
        32px;
}


.waitlist-nav a {
    position:
        relative;

    color:
        #737373;

    font-size:
        13px;

    font-weight:
        600;

    text-decoration:
        none;

    transition:
        color 0.25s ease;
}


.waitlist-nav a:hover {
    color:
        #ffffff;
}


.waitlist-nav a.active {
    color:
        #ffffff;
}


.waitlist-nav a.active::after {
    content:
        "";

    position:
        absolute;

    left:
        0;

    right:
        0;

    bottom:
        -10px;

    height:
        2px;

    border-radius:
        10px;

    background:
        #ff1f3d;
}