/* =========================================================
   THANK YOU PAGE
   Compact premium confirmation layout
   ========================================================= */

.thank-you-page {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(
                    circle at 8% 10%,
                    rgba(47, 111, 255, 0.07),
                    transparent 24%
            ),
            radial-gradient(
                    circle at 92% 88%,
                    rgba(47, 111, 255, 0.06),
                    transparent 24%
            );
}

.thank-you-content {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 42px;
    text-align: center;
}

.thank-you-background-shape {
    position: absolute;
    border: 1px solid rgba(47, 111, 255, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.shape-one {
    width: 280px;
    height: 280px;
    top: -150px;
    left: -150px;
}

.shape-two {
    width: 300px;
    height: 300px;
    right: -170px;
    bottom: -170px;
}

.thank-you-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.thank-you-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #d9faef;
    box-shadow: 0 0 0 8px rgba(217, 250, 239, 0.45);
}

.thank-you-icon i {
    color: #008f68;
    font-size: 23px;
}

.thank-you-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #1769ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.20em;
}

.thank-you-content h1 {
    margin: 0;
    color: #071426;
    font-size: clamp(42px, 6vw, 64px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.thank-you-content h1 span {
    color: #1769ff;
}

.thank-you-lead {
    margin: 16px auto 8px;
    color: #15233b;
    font-size: 20px;
    line-height: 1.35;
}

.thank-you-lead strong {
    color: #1769ff;
}

.thank-you-description {
    max-width: 720px;
    margin: 0 auto;
    color: #5d6b80;
    font-size: 13px;
    line-height: 1.55;
}

.thank-you-next {
    margin-top: 30px;
}

.thank-you-section-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.thank-you-section-heading span {
    height: 1px;
    background: #d8e1ed;
}

.thank-you-section-heading h2 {
    margin: 0;
    color: #14233a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.thank-you-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.thank-you-step {
    padding: 0 24px;
}

.thank-you-step + .thank-you-step {
    border-left: 1px solid #dce4ef;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 9px;
    border-radius: 50%;
    background: #eef5ff;
    color: #1769ff;
    font-size: 16px;
}

.thank-you-step h3 {
    margin: 0 0 5px;
    color: #071426;
    font-size: 13px;
    font-weight: 800;
}

.thank-you-step p {
    max-width: 190px;
    margin: 0 auto;
    color: #718096;
    font-size: 11px;
    line-height: 1.45;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.thank-you-primary,
.thank-you-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.thank-you-primary {
    background: #1769ff;
    color: #fff;
}

.thank-you-primary:hover {
    background: #0f56d4;
    color: #fff;
    transform: translateY(-1px);
}

.thank-you-secondary {
    border: 1px solid #cbd7e7;
    background: #fff;
    color: #17263e;
}

.thank-you-secondary:hover {
    border-color: #1769ff;
    color: #1769ff;
}

.thank-you-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    color: #8491a3;
    font-size: 10px;
}

.thank-you-note i {
    color: #1769ff;
}

@media (max-width: 700px) {

    .thank-you-content {
        width: min(100% - 28px, 620px);
        padding: 38px 0 34px;
    }

    .thank-you-content h1 {
        font-size: 46px;
    }

    .thank-you-lead {
        font-size: 17px;
    }

    .thank-you-description {
        font-size: 12px;
    }

    .thank-you-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .thank-you-step {
        padding: 0;
    }

    .thank-you-step + .thank-you-step {
        border-left: 0;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}