/**
 * Hoty GF — Web Deals, Discount Plans & Razorpay Modal Styles
 * Light Theme Edition (Matches Modern White SaaS Design System)
 */

/* ============================================
   SECTION STYLING
   ============================================ */
.web-deals-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    overflow: hidden;
    z-index: 1;
}

.web-deals-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 45, 117, 0.08) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: -1;
}

.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 45, 117, 0.08);
    border: 1px solid rgba(255, 45, 117, 0.25);
    border-radius: 50px;
    color: #ff2d75;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-main-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.heading-gradient-pink {
    background: linear-gradient(135deg, #ff2d75 0%, #ec4899 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtext {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* ============================================
   PLAN CARDS (CLEAN WHITE SAAS STYLE)
   ============================================ */
.web-plan-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 28px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.web-plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 45, 117, 0.4);
    box-shadow: 0 20px 40px rgba(255, 45, 117, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.plan-card-featured {
    background: #ffffff;
    border: 2px solid #ff2d75 !important;
    box-shadow: 0 16px 36px rgba(255, 45, 117, 0.16);
}

.plan-ribbon {
    position: absolute;
    top: 14px;
    right: 18px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 30px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    letter-spacing: 0.5px;
}

.featured-ribbon {
    background: linear-gradient(135deg, #ff2d75, #ec4899);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 45, 117, 0.3);
}

.plan-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.plan-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.plan-current-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.currency-symbol {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff2d75;
    margin-right: 2px;
}

.plan-orig-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.plan-orig-price {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.badge-discount-chip {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
}

.plan-coins-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
}

.vip-tag-pill {
    padding: 2px 8px;
    background: #7c3aed;
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.plan-stock-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #b45309;
    background: #fffbeb;
    border: 1px dashed rgba(245, 158, 11, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background-color: #f59e0b;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #334155;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
}

.feature-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-buy-voucher {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-buy-voucher:hover {
    background: linear-gradient(135deg, #ff2d75, #ec4899);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 45, 117, 0.35);
}

.btn-buy-featured {
    background: linear-gradient(135deg, #ff2d75 0%, #ec4899 100%);
    border: none;
    box-shadow: 0 6px 18px rgba(255, 45, 117, 0.3);
}

.btn-buy-featured:hover {
    background: linear-gradient(135deg, #e11d48 0%, #db2777 100%);
    box-shadow: 0 10px 25px rgba(255, 45, 117, 0.45);
}

.btn-buy-voucher:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.secure-checkout-tag {
    text-align: center;
    margin-top: 12px;
    font-size: 0.78rem;
    color: #64748b;
}

.secure-checkout-tag strong {
    color: #0f172a;
}

/* ============================================
   MODALS (CLEAN WHITE CARD & SHADOWS)
   ============================================ */
.custom-web-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-web-modal.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 0 30px rgba(255, 45, 117, 0.08);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.custom-web-modal.active .custom-modal-card {
    transform: scale(1);
}

.modal-close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.modal-close-x:hover {
    background: #ff2d75;
    color: #ffffff;
}

.modal-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 45, 117, 0.1);
    border: 1px solid rgba(255, 45, 117, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

.modal-title-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 6px;
}

.modal-desc-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 24px;
}

.checkout-plan-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.summary-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.05rem;
}

.summary-coins {
    font-size: 0.85rem;
    color: #0284c7;
    font-weight: 600;
}

.summary-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #16a34a;
}

.custom-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.custom-input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.custom-text-input {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.custom-text-input:focus {
    outline: none;
    border-color: #ff2d75;
    box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.15);
}

.btn-proceed-pay {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff2d75 0%, #ec4899 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 45, 117, 0.35);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-proceed-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 45, 117, 0.5);
}

.btn-proceed-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.checkout-error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

/* ============================================
   SUCCESS PROMO CODE MODAL & COUPON CARD
   ============================================ */
.promo-coupon-card {
    background: linear-gradient(135deg, rgba(255, 45, 117, 0.05), rgba(124, 58, 237, 0.05));
    border: 2px dashed #ff2d75;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.promo-code-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 3px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    margin: 12px 0 16px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.btn-copy-code {
    background: #ff2d75;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(255, 45, 117, 0.25);
}

.btn-copy-code:hover {
    background: #e11d48;
    transform: scale(1.02);
}

.btn-copied-state {
    background: #16a34a !important;
}

.redeem-steps-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px;
}

.redeem-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 8px;
}

.redeem-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: rgba(255, 45, 117, 0.12);
    color: #ff2d75;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.btn-download-app-redeem {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    font-weight: 800;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25);
    transition: all 0.2s;
}

.btn-download-app-redeem:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    transform: translateY(-2px);
}
