/* =============================================
   PÁGINA DE AGRADECIMENTO — E-BOOK METAS
   ============================================= */

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(145deg, #070d1f 0%, #0c1a45 60%, #0f1e52 100%);
    min-height: 100vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ---- Container principal ---- */
.ty-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.ty-container {
    max-width: 580px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ---- Logo ---- */
.ty-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

/* ---- Hero ---- */
.ty-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.ty-check-icon {
    width: 72px;
    height: 72px;
    background: rgba(176, 115, 255, 0.18);
    border: 2px solid rgba(176, 115, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ty-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.ty-congrats {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FC7D55 0%, #B073FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.ty-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
    text-align: center;
}

.ty-subtitle strong {
    color: #ffffff;
}

/* ---- Cards ---- */
.ty-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    backdrop-filter: blur(8px);
    text-align: left;
}

/* Card e-book com borda de destaque */
.ty-card--ebook {
    border-color: rgba(252, 125, 85, 0.3);
    background: rgba(252, 125, 85, 0.07);
    text-align: center;
    align-items: center;
}

.ty-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FC7D55 0%, #B073FF 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.ty-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ty-card__label {
    font-size: 0.73rem;
    font-weight: 700;
    color: #FC7D55;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ty-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.ty-card__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* ---- Botão download ---- */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #FC7D55 0%, #B073FF 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0 2rem;
    height: 56px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(252, 125, 85, 0.35);
    width: auto;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(252, 125, 85, 0.5);
}

/* ---- Divisor ---- */
.ty-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* ---- Card Instagram ---- */
.ty-card--instagram {
    text-align: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ty-card--instagram::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ty-insta-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.ty-insta-handle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.03em;
}

/* ---- Botão Instagram ---- */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0 2rem;
    height: 50px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(220, 39, 67, 0.3);
    width: auto;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.45);
}

/* ---- Lembrete final ---- */
.ty-reminder {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.32);
    max-width: 420px;
    line-height: 1.6;
    text-align: center;
}

/* ---- Responsivo ---- */
@media (max-width: 480px) {
    .ty-title    { font-size: 1.8rem; }
    .ty-congrats { font-size: 1.2rem; }
    .ty-card     { padding: 1.25rem; }
}
