.promo-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 2px solid #3b82f6;
    position: relative;
    z-index: 40;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 50%);
    pointer-events: none;
}

.promo-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .promo-banner-container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.promo-banner-content {
    flex: 1;
    min-width: 0;
}

.promo-banner-headline {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.promo-banner-subheadline {
    font-size: 0.875rem;
    color: #cbd5e1;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.promo-banner-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 18rem;
}

@media (min-width: 1024px) {
    .promo-banner-pricing {
        align-items: flex-end;
    }
}

.promo-banner-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.promo-banner-pix {
    font-size: 0.75rem;
    color: #fbbf24;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-top: 0.25rem;
    text-align: center;
}

.promo-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .promo-banner-actions {
        flex-direction: row;
        width: auto;
    }
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
    max-width: 100%;
}

@media (max-width: 1023.98px) {
    .promo-banner {
        padding: 1.25rem 0;
    }

    .promo-banner-container {
        max-width: 34rem;
    }

    .promo-banner-content {
        text-align: center;
    }

    .promo-banner-actions {
        align-items: stretch;
        max-width: 23rem;
    }

    .promo-banner-actions .promo-btn {
        width: 100%;
        white-space: normal;
    }
}

.promo-btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    border: 1px solid #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.promo-btn-primary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4);
}

.promo-btn-secondary {
    background-color: #25d366;
    color: #ffffff;
    border: 1px solid #25d366;
}

.promo-btn-secondary:hover {
    background-color: #128c7e;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Modal Styles */
.promo-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.promo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-modal-content {
    background-color: #ffffff;
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.promo-modal-overlay.active .promo-modal-content {
    transform: scale(1) translateY(0);
}

.promo-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    z-index: 10;
}

.promo-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #0f172a;
}

.promo-modal-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 1.25rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.promo-modal-badge {
    display: inline-block;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.promo-modal-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.promo-modal-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #475569;
    margin-bottom: 0;
}

.promo-modal-body {
    padding: 1.25rem;
}

.promo-modal-price-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.promo-modal-price {
    font-size: clamp(2rem, 10vw, 2.5rem);
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.promo-modal-price-period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.promo-modal-pix {
    display: inline-block;
    background-color: #fef3c7;
    color: #d97706;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.promo-modal-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.promo-modal-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.promo-modal-benefits li i {
    color: #3b82f6;
    font-size: 1.25rem;
}

.promo-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.promo-modal-actions .promo-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
}

.promo-modal-footer {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 1rem 0;
    }

    .promo-banner-headline {
        font-size: 1.1rem;
        line-height: 1.25;
    }

    .promo-banner-actions .promo-btn {
        width: 100%;
        white-space: normal;
    }

    .promo-modal-overlay {
        align-items: flex-start;
        padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    }

    .promo-modal-content {
        max-height: calc(100vh - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
        border-radius: 0.75rem;
    }

    .promo-modal-header,
    .promo-modal-body,
    .promo-modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .promo-modal-benefits li {
        align-items: flex-start;
        gap: 0.625rem;
    }
}

@media (max-width: 360px) {
    .promo-banner-price {
        font-size: 1.3rem;
    }

    .promo-modal-badge,
    .promo-modal-pix {
        white-space: normal;
        max-width: 100%;
    }
}

@media (max-height: 620px) and (orientation: landscape) {
    .promo-modal-overlay {
        align-items: flex-start;
    }

    .promo-modal-header {
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }

    .promo-modal-body {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .promo-modal-price-box,
    .promo-modal-benefits {
        margin-bottom: 1rem;
    }
}
