/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fff;
    color: #111;
    min-height: 100vh;
    -webkit-user-select: none;
    user-select: none;
}
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ===== VARIABLES ===== */
:root {
    --pink: #FE2C55;
    --pink-light: rgba(254, 44, 85, 0.12);
    --pink-dark: rgba(254, 44, 85, 0.06);
    --cyan: #25F4EE;
    --bg: #ffffff;
    --card-bg: #f6f6f8;
    --card-bg-2: #ebebef;
    --text: #111111;
    --text-muted: #666666;
    --text-dim: #999999;
    --border: #e3e3e8;
    --border-pink: rgba(254, 44, 85, 0.4);
    --success: #16a34a;
    --danger: #dc2626;
    --warning-bg: rgba(254, 44, 85, 0.08);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

/* ===== LAYOUT ===== */
.upsell-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 0 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.up-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    gap: 8px;
}
.up-header .tiktok-icon {
    width: 24px;
    height: 24px;
}
.up-header .tiktok-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ===== MAIN CONTENT ===== */
.up-content {
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== ICON CIRCLE ===== */
.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 16px;
    font-size: 32px;
}
.icon-circle.pink {
    background: var(--pink-light);
    color: var(--pink);
}
.icon-circle.green {
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
}

/* ===== TITLES ===== */
.up-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
}
.up-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 360px;
}
.up-question {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-pink {
    background: var(--pink);
    color: #fff;
}
.badge-dark {
    background: var(--card-bg-2);
    color: var(--text-muted);
}
.badge-gradient {
    background: linear-gradient(135deg, var(--pink), #8B5CF6);
    color: #fff;
}

/* ===== OPTION CARDS ===== */
.option-card {
    width: 100%;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    text-align: left;
    transition: all 0.2s ease;
}
.option-card.recommended {
    border: 2px dashed var(--pink);
    background: var(--pink-dark);
}
.option-card.secondary {
    border: 2px dashed var(--border);
    background: transparent;
}
.option-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.option-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.option-card-icon.pink {
    background: var(--pink-light);
    color: var(--pink);
}
.option-card-icon.gray {
    background: var(--card-bg-2);
    color: var(--text-muted);
}
.option-card-title {
    font-size: 16px;
    font-weight: 700;
}
.option-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}
.option-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 12px;
}

/* ===== BENEFIT LIST ===== */
.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.benefit-item .icon-check {
    color: var(--success);
    font-size: 16px;
    flex-shrink: 0;
}
.benefit-item .icon-x {
    color: var(--danger);
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== CTA BUTTON ===== */
.btn-cta {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: all 0.2s ease;
}
.btn-cta.pink {
    background: var(--pink);
    color: #fff;
}
.btn-cta.pink:hover {
    background: #e6194a;
    transform: translateY(-1px);
}
.btn-cta.gradient {
    background: linear-gradient(135deg, var(--pink), #8B5CF6);
    color: #fff;
}
.btn-cta.gradient:hover {
    transform: translateY(-1px);
}
.btn-cta-secondary {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    border: 2px dashed var(--border);
    transition: all 0.2s ease;
}
.btn-cta-secondary:hover {
    border-color: var(--text-muted);
}

/* ===== TIMER ===== */
.timer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}
.timer-bar .time {
    color: var(--pink);
    font-weight: 700;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

/* ===== ALERT BOX ===== */
.alert-box {
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    border-left: 4px solid var(--pink);
    background: var(--warning-bg);
}
.alert-box-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-box-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== PAYMENT BOX ===== */
.payment-box {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}
.payment-box .badge {
    margin-bottom: 16px;
}
.payment-box-value {
    font-size: 32px;
    font-weight: 800;
    margin: 8px 0;
}
.payment-box-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== BENEFIT CARDS ===== */
.benefit-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.benefit-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: var(--pink-light);
    color: var(--pink);
}
.benefit-card-text {
    display: flex;
    flex-direction: column;
}
.benefit-card-title {
    font-size: 14px;
    font-weight: 600;
}
.benefit-card-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== BADGES ROW ===== */
.badges-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ===== PROGRESS BAR ===== */
.progress-section {
    width: 100%;
    margin-bottom: 20px;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--card-bg-2);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: var(--pink);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ===== FAQ ===== */
.faq-section {
    width: 100%;
    margin-top: 24px;
}
.faq-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.faq-item {
    border: 1px dashed var(--border);
    border-radius: var(--radius-xs);
    margin-bottom: 8px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
.faq-question svg {
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-question.open svg {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.faq-answer.open {
    padding: 0 16px 14px;
    max-height: 200px;
}

/* ===== PRICING ===== */
.pricing-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
.price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.price-new {
    font-size: 36px;
    font-weight: 800;
    color: var(--pink);
    margin: 4px 0;
}
.price-info {
    font-size: 12px;
    color: var(--text-muted);
}
.price-guarantee {
    font-size: 12px;
    color: var(--success);
    margin-top: 4px;
}

/* ===== OFFER CARD ===== */
.offer-card {
    width: 100%;
    background: linear-gradient(135deg, var(--pink), #8B5CF6);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}
.offer-card .badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    margin-bottom: 12px;
}
.offer-card .price-old {
    color: rgba(255,255,255,0.6);
}
.offer-card .price-new {
    color: #fff;
    font-size: 40px;
}
.offer-card .price-info {
    color: rgba(255,255,255,0.7);
}

/* ===== VAGAS ===== */
.vagas-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}
.vagas-info .count {
    color: var(--pink);
    font-weight: 700;
}

/* ===== GUARANTEES ===== */
.guarantees {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* ===== FOOTER ===== */
.up-footer {
    padding: 24px 20px;
    text-align: center;
}
.up-footer-copy {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.up-footer-terms {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 12px;
    line-height: 1.4;
}
.up-footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.up-footer-links button, .up-footer-links a {
    font-size: 11px;
    color: var(--pink);
    text-decoration: underline;
}
.up-footer-links .sep {
    color: var(--text-dim);
    font-size: 11px;
}
.security-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    color: var(--text-dim);
}
.security-badges span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== BONUS BOX ===== */
.bonus-box {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.bonus-box-icon {
    font-size: 24px;
}
.bonus-box-text {
    font-size: 14px;
    line-height: 1.4;
}
.bonus-box-text strong {
    color: var(--pink);
}

/* ===== TAX DETAIL CARD ===== */
.tax-detail {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.tax-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.tax-detail-label {
    font-size: 13px;
    color: var(--text-muted);
}
.tax-detail-value {
    font-size: 24px;
    font-weight: 800;
}
.tax-detail-badge {
    margin-top: 8px;
}
/* ===== UNIFIED TIKTOK APP VISUAL SYSTEM ===== */
:root {
    --site-max-width: 460px;
    --site-title-size: clamp(25px, 5.8vw, 34px);
    --site-subtitle-size: clamp(13px, 3vw, 16px);
    --site-text-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.site-header {
    position: relative;
    z-index: 10;
    width: 100vw !important;
    min-height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 11px 16px !important;
    overflow: hidden;
    background: #000 !important;
}

.site-brand {
    width: auto !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}

.site-brand-logo {
    display: block !important;
    width: 173px !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 46px !important;
    object-fit: contain !important;
}

.upsell-page,
.withdrawal-page,
.page-shell,
.insurance-page {
    width: 100%;
    max-width: var(--site-max-width) !important;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--site-text-font) !important;
}

.up-content,
.withdrawal-main,
.withdrawal-footer,
.page-content,
.page-footer,
.insurance-main,
.insurance-footer {
    width: calc(100% - 28px) !important;
    max-width: var(--site-max-width) !important;
}

.withdrawal-title,
.up-title,
.hero h1,
.insurance-title {
    font-family: var(--site-text-font) !important;
    font-size: var(--site-title-size) !important;
    line-height: 1.12 !important;
    letter-spacing: -.8px !important;
    font-weight: 800 !important;
}

.withdrawal-subtitle,
.up-subtitle,
.hero-subtitle,
.insurance-subtitle {
    font-family: var(--site-text-font) !important;
    font-size: var(--site-subtitle-size) !important;
    line-height: 1.45 !important;
}

.shared-check-icon {
    position: relative !important;
    width: 90px !important;
    height: 90px !important;
    min-width: 90px !important;
    min-height: 90px !important;
    display: grid !important;
    place-items: center !important;
    margin: 16px auto !important;
    border-radius: 50% !important;
    color: #ff2d5a !important;
    background: radial-gradient(circle, #fff 0 47%, #ffeaf0 48% 70%, #fff8fa 71% 100%) !important;
    box-shadow: 0 7px 18px rgba(255, 45, 90, .10) !important;
}

.shared-check-icon::before,
.shared-check-icon::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffb4c8;
}

.shared-check-icon::before {
    top: 8px;
    left: -13px;
}

.shared-check-icon::after {
    right: -13px;
    bottom: 12px;
    background: #8dd9c0;
}

.shared-check-icon svg {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    color: currentColor !important;
}

@media (max-width: 480px) {
    .site-header {
        min-height: 60px !important;
        padding: 9px 14px !important;
    }

    .site-brand {
        height: 40px !important;
    }

    .site-brand-logo {
        width: 151px !important;
        max-height: 40px !important;
    }

    .shared-check-icon {
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
        min-height: 82px !important;
    }

    .shared-check-icon svg {
        width: 44px !important;
        height: 44px !important;
    }
}

/* ===== FINAL HEADER ALIGNMENT ===== */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

.withdrawal-main,
.page-content,
.insurance-main {
    padding-top: 0 !important;
}

.site-header {
    top: 0 !important;
    min-height: 60px !important;
    padding: 8px 16px !important;
}

.site-brand {
    height: 36px !important;
}

.site-brand-logo {
    width: 121px !important;
    max-height: 33px !important;
}

@media (max-width: 480px) {
    .site-header {
        min-height: 60px !important;
        padding: 8px 14px !important;
    }

    .site-brand {
        height: 36px !important;
    }

    .site-brand-logo {
        width: 121px !important;
        max-height: 33px !important;
    }
}

/* ===== BALANCED UPSSELL 01/02 SPACING ===== */
.withdrawal-page .withdrawal-main,
.upsell-page .up-content {
    padding-bottom: 18px !important;
}

.withdrawal-page .withdrawal-title,
.upsell-page .up-title {
    font-size: 30px !important;
    line-height: 1.14 !important;
    letter-spacing: -.75px !important;
}

.withdrawal-page .withdrawal-subtitle,
.upsell-page .up-subtitle {
    margin-top: 9px !important;
    margin-bottom: 19px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.withdrawal-page .withdrawal-hero-icon,
.upsell-page .shared-check-icon {
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
    min-height: 84px !important;
    margin-top: 15px !important;
    margin-bottom: 14px !important;
}

.withdrawal-page .summary-card {
    padding: 11px 13px !important;
}

.withdrawal-page .summary-row {
    grid-template-columns: 50px 1fr !important;
    gap: 11px !important;
    min-height: 57px !important;
}

.withdrawal-page .summary-icon {
    width: 50px !important;
    height: 50px !important;
}

.withdrawal-page .summary-label {
    font-size: 12px !important;
}

.withdrawal-page .summary-value {
    font-size: 20px !important;
}

.withdrawal-page .summary-value.small {
    font-size: 16px !important;
}

.withdrawal-page .receive-heading {
    margin-top: 18px !important;
    margin-bottom: 14px !important;
}

.withdrawal-page .receive-heading h2 {
    margin-bottom: 5px !important;
    font-size: 19px !important;
}

.withdrawal-page .receive-heading p {
    font-size: 13px !important;
}

.withdrawal-page .choice-card {
    padding: 14px !important;
}

.withdrawal-page .choice-wait {
    margin-top: 9px !important;
}

.withdrawal-page .choice-title {
    font-size: 17px !important;
}

.withdrawal-page .choice-desc {
    font-size: 12.5px !important;
    line-height: 1.38 !important;
}

.withdrawal-page .choice-icon {
    width: 48px !important;
    height: 48px !important;
}

.withdrawal-page .choice-bottom {
    grid-template-columns: 132px 1fr !important;
    gap: 11px !important;
}

.withdrawal-page .choice-fee {
    font-size: 23px !important;
}

.withdrawal-page .choice-benefits {
    gap: 6px !important;
}

.withdrawal-page .choice-benefit {
    font-size: 11px !important;
}

.upsell-page .up-question {
    margin-bottom: 15px !important;
    font-size: 16px !important;
}

.upsell-page .progress-section {
    margin-bottom: 16px !important;
}

.upsell-page .step-block {
    margin-bottom: 16px !important;
}

.upsell-page .step-block h2 {
    margin-bottom: 6px !important;
    font-size: 19px !important;
}

.upsell-page .step-block p {
    font-size: 14px !important;
    line-height: 1.42 !important;
}

.upsell-page .fee-card {
    grid-template-columns: 70px 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 14px !important;
}

.upsell-page .fee-icon {
    width: 70px !important;
    height: 70px !important;
}

.upsell-page .fee-icon svg {
    width: 39px !important;
    height: 39px !important;
}

.upsell-page .fee-label {
    font-size: 14px !important;
}

.upsell-page .fee-value {
    margin-bottom: 6px !important;
    font-size: 32px !important;
}

.upsell-page .refund-badge {
    font-size: 11px !important;
}

.upsell-page .fee-meta {
    padding-top: 10px !important;
    font-size: 12px !important;
}

.upsell-page .benefit-cards {
    gap: 7px !important;
    margin-top: 11px !important;
}

.upsell-page .benefit-card {
    min-height: 44px !important;
    padding: 9px 13px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
}

.upsell-page .benefit-card svg {
    width: 19px !important;
    height: 19px !important;
}

.upsell-page .benefit-card::after {
    font-size: 18px !important;
}

.upsell-page .bonus-box {
    min-height: 66px !important;
    gap: 12px !important;
    margin-top: 11px !important;
    padding: 9px 13px !important;
    border-radius: 11px !important;
}

.upsell-page .bonus-box-icon {
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 58px !important;
    font-size: 0 !important;
}

.upsell-page .bonus-gift-image {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
}

.upsell-page .bonus-box-text {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.upsell-page #btnCompra {
    min-height: 50px !important;
    margin-top: 14px !important;
    padding: 11px 15px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}

.upsell-page #skip-btn {
    min-height: 46px !important;
    margin-top: 9px !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}

.upsell-page .timer-bar {
    margin-top: 12px !important;
    font-size: 12px !important;
}

@media (max-width: 480px) {
    .withdrawal-page .withdrawal-title,
    .upsell-page .up-title {
        font-size: 28px !important;
    }

    .withdrawal-page .choice-bottom {
        grid-template-columns: 124px 1fr !important;
    }

    .upsell-page .fee-card {
        grid-template-columns: 64px 1fr !important;
        padding: 14px !important;
    }

    .upsell-page .fee-icon {
        width: 64px !important;
        height: 64px !important;
    }

    .upsell-page .fee-value {
        font-size: 30px !important;
    }
}
