/* Pricing V2 page specific styles (coupon section + overrides) */

header {
    margin-bottom: 0;
}

/* ===== Discount Applied Banner ===== */
.discount-applied-banner {
    background: #f0f7f0;
    border-bottom: 1px solid #d4e8d4;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .discount-applied-banner {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* ===== Annual card CTA — more visual weight ===== */
.plan-card:not(.plan-card-featured) .plan-cta-btn {
    background: #f0f2ff;
    border-color: #3C4BFB;
    color: #3C4BFB;
}

.plan-card:not(.plan-card-featured) .plan-cta-btn:hover {
    background: #e4e7ff;
}

/* ===== Coupon Section ===== */
.coupon-section {
    padding: 0 1rem 2rem;
    max-width: 460px;
    margin: 0 auto;
}

.coupon-container {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(60, 75, 251, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.coupon-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 0.75rem;
}

.coupon-input-row {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f9f9f9;
    color: #333;
    transition: border-color 0.2s;
}

.coupon-input:focus {
    outline: none;
    border-color: rgba(60, 75, 251, 0.4);
}

.coupon-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}

.coupon-btn:hover {
    background: linear-gradient(135deg, #3040e0 0%, #5a6fd8 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(60, 75, 251, 0.3);
}

.coupon-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.coupon-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.3em;
}

.coupon-message-success {
    color: #2e7d32;
}

.coupon-message-error {
    color: #c62828;
}

/* ===== Plan card tagline ===== */
.plan-card-tagline {
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

/* ===== Plan Feature List ===== */
.plan-feature-list {
    list-style: none;
    padding: 0;
    margin: 0.32rem 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plan-feature-list li {
    font-size: 0.85rem;
    color: #1a2b4a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-feature-icon {
    width: 14px;
    height: 10px;
    flex-shrink: 0;
    color: #3C4BFB;
}

/* ===== Discounted price display ===== */
.plan-discounted-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2e7d32;
}

.plan-price-struck {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
}

@media (max-width: 767px) {
    .coupon-section {
        max-width: 400px;
    }
    .coupon-container {
        padding: 1rem;
    }
    .coupon-input {
        min-width: 0;
    }
}

/* ===== Exit-Intent Trial Modal ===== */
.exit-intent-content {
    max-width: 420px;
    text-align: center;
    padding: 2.5rem 2rem;
    max-height: 90dvh;
    overflow-y: auto;
}

.exit-intent-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.exit-intent-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 100px;
}

.exit-intent-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0.25rem 0 0;
    line-height: 1.2;
}

.exit-intent-subtitle {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.exit-intent-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0.5rem 0;
}

.exit-intent-price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a2e;
}

.exit-intent-price-period {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.exit-intent-cta {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    margin-top: 0.25rem;
}

.exit-intent-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(60, 75, 251, 0.35);
}

.exit-intent-dismiss {
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    padding: 0.5rem;
    transition: color 0.2s;
}

.exit-intent-dismiss:hover {
    color: #555;
}
.plan-card-title-row {
    padding-top: 0.5rem;
}

/* ===== Mobile-Only Free Trial Card ===== */
.plan-card-trial {
    display: none;
}

.plan-banner-trial {
    background: linear-gradient(135deg, #3C4BFB 0%, #667eea 100%);
}

@media (max-width: 767px) {
    .plan-card-trial {
        display: flex;
    }
}

@media (max-width: 480px) {
    .exit-intent-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    .exit-intent-title {
        font-size: 1.25rem;
    }
    .exit-intent-price-amount {
        font-size: 1.5rem;
    }
}
