/* ===== PLANS.HTML - SPECIFIC STYLES ===== */

body {
    padding-top: 80px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    min-height: 100vh;
}

/* Hero Section */
.plans-hero {
    background: linear-gradient(135deg, #1a4b84 0%, #0f3054 100%);
    padding: 3rem 0 6rem;
    margin-bottom: -4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.plans-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0 4rem;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a4b84, #10b981);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #1a4b84;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card-popular {
    border: 2px solid #1a4b84;
    background: white;
}

.pricing-card-popular:hover {
    transform: translateY(-12px);
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #1a4b84 0%, #0f3054 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(26, 75, 132, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a4b84;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1a4b84 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    transition: all 0.3s;
}

.pricing-features li:hover {
    padding-left: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-card .btn {
    padding: 1.125rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pricing-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

.pricing-card .btn-outline-primary {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.pricing-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, #1a4b84 0%, #0f3054 100%);
    border: 2px solid #1a4b84;
}

.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, #0f3054 0%, #1a4b84 100%);
    border-color: #0f3054;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 75, 132, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-section {
        padding: 4rem 0 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .pricing-section {
        padding: 3rem 0 2rem;
    }
}


/* ===== PAYMENT QR MODAL STYLES ===== */

#qrModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#qrModal .modal-header {
    background: linear-gradient(135deg, #1a4b84 0%, #0f3054 100%);
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

#qrModal .modal-header .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#qrModal .modal-header .btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s;
}

#qrModal .modal-header .btn-close-white:hover {
    opacity: 1;
}

#qrModal .modal-body {
    padding: 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* QR Code Container */
#qrCodeContainer {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: inline-block;
    margin-bottom: 1.5rem;
}

#qrCodeImage {
    border-radius: 12px;
    max-width: 260px;
    width: 100%;
    height: auto;
}

#qrLoading {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#qrLoading .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Info Alert */
#qrModal .alert-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: none;
    border-radius: 12px;
    color: #0369a1;
    font-weight: 500;
    padding: 1rem 1.25rem;
}

#qrModal .alert-info i {
    font-size: 1.1rem;
}

/* Payment Amount */
#paymentAmount {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a4b84 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Checkout Button */
#checkoutLink {
    background: linear-gradient(135deg, #1a4b84 0%, #0f3054 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 75, 132, 0.3);
}

#checkoutLink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 75, 132, 0.4);
    background: linear-gradient(135deg, #0f3054 0%, #1a4b84 100%);
}

#checkoutLink i {
    font-size: 1.1rem;
}

/* Order Code Display */
#qrModal .border-top {
    border-color: #e2e8f0 !important;
}

#orderCodeDisplay {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #1a4b84;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

/* Payment Status Check */
#paymentStatusCheck {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#paymentStatusCheck .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

#paymentStatusCheck small {
    font-weight: 500;
}

/* Modal Animation */
#qrModal.fade .modal-dialog {
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease-out;
}

#qrModal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Responsive */
@media (max-width: 576px) {
    #qrModal .modal-body {
        padding: 1.5rem;
    }
    
    #qrCodeContainer {
        padding: 1rem;
    }
    
    #qrCodeImage {
        max-width: 220px;
    }
    
    #paymentAmount {
        font-size: 1.25rem;
    }
    
    #checkoutLink {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ===== Enhanced Mobile Responsive ===== */
@media (max-width: 575px) {
    body {
        padding-top: 60px;
    }
    
    .plans-hero {
        padding: 2rem 0 4.5rem;
        margin-bottom: -3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .pricing-section {
        padding: 2.5rem 0 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
        border-radius: 16px;
        margin-bottom: 1rem;
    }
    
    .pricing-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }
    
    .pricing-name {
        font-size: 1.35rem;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .price-currency {
        font-size: 1.1rem;
    }
    
    .pricing-features {
        margin: 1.5rem 0;
    }
    
    .pricing-features li {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }
    
    .pricing-features i {
        font-size: 1.1rem;
    }
    
    .pricing-card .btn {
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    /* QR Modal Mobile */
    #qrModal .modal-body {
        padding: 1.25rem;
    }
    
    #qrCodeContainer {
        padding: 0.875rem;
    }
    
    #qrCodeImage {
        max-width: 200px;
    }
    
    #paymentAmount {
        font-size: 1.1rem;
    }
    
    #checkoutLink {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    #orderCodeDisplay {
        font-size: 0.9rem;
    }
}
