/* CSS específico para página de agradecimento */

.thank-you-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--secondary-cream) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.thank-you-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="80" cy="40" r="0.3" fill="%23d4af37" opacity="0.08"/><circle cx="40" cy="80" r="0.4" fill="%23d4af37" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* VERSÃO COMPACTA - UMA DOBRA */
.thank-you-hero-compact {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--secondary-cream) 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.thank-you-hero-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="80" cy="40" r="0.3" fill="%23d4af37" opacity="0.08"/><circle cx="40" cy="80" r="0.4" fill="%23d4af37" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.thank-you-content-compact {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.success-icon-compact {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    animation: bounceIn 1s ease-out;
}

.thank-you-title-compact {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.thank-you-subtitle-compact {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.main-content-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.ebook-preview-compact {
    flex-shrink: 0;
}

.ebook-cover-compact {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: fadeInLeft 0.8s ease-out 0.6s both;
}

.download-section-compact {
    text-align: center;
    max-width: 300px;
}

.download-button-compact {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: fadeInRight 0.8s ease-out 0.8s both;
    margin-bottom: 10px;
}

.download-button-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.download-button-compact i {
    margin-right: 8px;
}

.download-info-compact {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.download-info-compact i {
    color: var(--accent-gold);
    margin-right: 5px;
}

.bonus-compact {
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.bonus-compact i {
    margin-right: 5px;
}

.footer-actions-compact {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-btn-compact, .back-link-compact {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn-compact.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn-compact.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

.back-link-compact {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.back-link-compact:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

.share-btn-compact i, .back-link-compact i {
    margin-right: 5px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .thank-you-hero-compact {
        padding: 15px 0;
    }
    
    .thank-you-title-compact {
        font-size: 1.8rem;
    }
    
    .thank-you-subtitle-compact {
        font-size: 1rem;
    }
    
    .main-content-compact {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .ebook-cover-compact {
        width: 100px;
    }
    
    .download-button-compact {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .footer-actions-compact {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .thank-you-content-compact {
        padding: 0 15px;
    }
    
    .success-icon-compact {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .thank-you-title-compact {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .main-content-compact {
        margin-bottom: 15px;
    }
    
    .download-button-compact {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Animações */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Resto do CSS original mantido para compatibilidade... */
.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
    animation: bounceIn 1s ease-out;
}

.thank-you-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.thank-you-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.ebook-preview {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.ebook-cover {
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.ebook-cover:hover {
    transform: scale(1.05);
}

.download-section {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.download-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.download-button i {
    margin-right: 10px;
}

.download-info {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 15px;
}

.download-info i {
    color: var(--accent-gold);
    margin-right: 8px;
}

.next-steps {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.next-steps-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.step-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

.bonus-section {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.bonus-content {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.bonus-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bonus-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.social-share {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.share-text {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn i {
    margin-right: 8px;
}

.back-to-site {
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-gold);
}

.back-link i {
    margin-right: 8px;
}

.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .thank-you-hero {
        padding: 60px 0;
    }
    
    .thank-you-title {
        font-size: 2.2rem;
    }
    
    .thank-you-subtitle {
        font-size: 1.1rem;
    }
    
    .ebook-cover {
        width: 150px;
    }
    
    .download-button {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bonus-content {
        padding: 25px 20px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .thank-you-hero {
        padding: 40px 0;
    }
    
    .success-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .thank-you-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .ebook-preview {
        margin-bottom: 30px;
    }
    
    .ebook-cover {
        width: 120px;
    }
    
    .download-section {
        margin-bottom: 40px;
    }
    
    .download-button {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .next-steps-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .bonus-content {
        padding: 20px 15px;
    }
    
    .bonus-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .bonus-text {
        font-size: 1rem;
    }
}