/* ============================================================
   Thank You Page
   Prefix: ty-
   ============================================================ */

/* ── Hero section ── */
.ty-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    background: #151111;
}

.ty-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ── Container ── */
.ty-container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 160px 24px 80px;
    text-align: center;
}

/* ── Title ── */
.ty-hero__title {
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 32px;
}

/* ── Description ── */
.ty-hero__desc {
    font-family: 'SaansTRIAL-Regular', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.65;
    color: #fff;
    max-width: 680px;
    margin: 0 auto 40px;
}

/* ── Subheadline ── */
.ty-hero__sub {
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.5;
    color: #fff;
    margin: 0 0 36px;
}

/* ── Buttons row ── */
.ty-hero__buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.ty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-size: 1.15rem;
    font-style: normal;
    color: #fff;
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50px;
    padding: 17px 38px;
    text-decoration: none;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: url(#liquid-glass) blur(0.5px);
    -webkit-clip-path: inset(0 round 50px);
    clip-path: inset(0 round 50px);
    box-shadow:
        inset 3px 3px 8px rgba(255, 255, 255, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
}

.ty-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.25) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ty-btn:hover,
.ty-btn:focus,
.ty-btn:active {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #fff;
    text-decoration: none;
    outline: none;
    box-shadow:
        inset 3px 3px 8px rgba(255, 255, 255, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05);
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
    .ty-container {
        padding: 140px 32px 70px;
    }

    .ty-hero__title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    .ty-hero__buttons {
        flex-wrap: wrap;
        gap: 14px;
    }

    .ty-btn {
        white-space: normal;
        text-align: center;
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ty-container {
        padding: 120px 24px 60px;
    }

    .ty-hero__title {
        font-size: 2rem;
    }

    .ty-hero__desc {
        font-size: 1rem;
    }

    .ty-hero__sub {
        font-size: 1.3rem;
    }

    .ty-br-desktop {
        display: none;
    }

    .ty-hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .ty-btn {
        width: 100%;
        max-width: 320px;
        padding: 16px 28px;
        font-size: 1rem;
        white-space: normal;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ty-container {
        padding: 110px 20px 50px;
    }

    .ty-hero__title {
        font-size: 1.75rem;
    }

    .ty-hero__desc {
        font-size: 0.95rem;
    }

    .ty-hero__sub {
        font-size: 1.15rem;
    }

    .ty-btn {
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}
