/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
    color: #333;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1561736778-92e52a7769ef?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: white;
    margin-top: -20px;
}

#hero h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

#hero .btn-primary {
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Subscription Cards */
.subscription-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.subscription-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.subscription-card .card-header {
    border-bottom: none;
}

.subscription-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
}

.subscription-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subscription-card ul li:last-child {
    border-bottom: none;
}

.subscription-card .btn {
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscription-card .btn:hover {
    transform: translateY(-3px);
}

/* Order Form */
#order {
    background-color: #fff;
}

#orderForm {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#orderForm .form-label {
    font-weight: 500;
}

#orderForm .btn-primary {
    padding: 12px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

#orderForm .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    width: calc(33.333% - 10px);
    transition: all 0.2s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background-color: #f0f7ff;
}

.payment-method input[type="radio"]:checked + label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Colors for payment methods */
.text-purple {
    color: #6f42c1;
}

.text-orange {
    color: #fd7e14;
}

/* Payment Number Box Styles */
.payment-number-box {
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-purple {
    background-color: #f3ebff;
    border-color: #6f42c1;
    color: #6f42c1;
}

.alert-orange {
    background-color: #fff4eb;
    border-color: #fd7e14;
    color: #fd7e14;
}

.payment-number {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 5px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Footer Styles */
footer {
    padding-bottom: 20px;
}

footer .social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

footer ul.list-unstyled li {
    padding: 5px 0;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer a.text-muted:hover {
    color: white !important;
    text-decoration: none;
}

footer .text-white {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

footer .mt-2 a {
    text-decoration: none;
    transition: all 0.2s ease;
}

footer .mt-2 a:hover {
    text-decoration: underline;
}

/* Price Display Animation */
@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
        transform: scale(1);
    }
}

#priceDisplay {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    background-color: #e7f1ff;
}

#priceDisplay.d-block {
    animation: pulse-highlight 1s;
}

#displayedPrice {
    color: var(--primary-color);
}

/* Style for the message when selection is incomplete */
#displayedPrice.message-text {
    font-style: italic;
    font-size: 1rem !important;
    color: #6c757d;
}

/* Responsive styles */
@media (max-width: 768px) {
    #hero {
        padding: 60px 0;
    }
    
    #hero h1 {
        font-size: 2.2rem;
    }
    
    .payment-method {
        width: 100%;
    }
    
    footer .col-md-4 {
        margin-bottom: 20px;
        text-align: center;
    }
    
    footer address {
        margin-bottom: 15px;
    }

    .subscription-card {
        margin-bottom: 30px;
    }

    .row {
        row-gap: 0;
    }
}

@media (max-width: 576px) {
    .subscription-card {
        margin-bottom: 30px;
    }
    
    footer .social-icons {
        margin-bottom: 15px;
    }
    
    .row {
        row-gap: 0;
    }
}
