/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- Main Body & Container --- */
.pricing-body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    padding: 60px 15px;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.pricing-header p {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 60px;
}

/* --- Pricing Grid Wrapper --- */
.pricing-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* --- Pricing Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    min-width: 1000px;
}

/* --- Plan Card --- */
.plan-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.plan-card .plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111827;
}

.plan-card .plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 5px;
}

.plan-card .plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

.plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

.plan-card .plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #4b5563;
    font-size: 1rem;
}

.plan-card .plan-features i {
    color: #3b82f6; /* Blue */
    margin-right: 12px;
    font-size: 1.2rem;
}

.plan-card .order-btn {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.plan-card .order-btn:hover {
    background-color: #2563eb;
}

/* --- Popular Plan --- */
.plan-card.popular {
    background-color: #1f2937;
    color: #f9fafb;
    border: none;
}

.plan-card.popular .plan-title,
.plan-card.popular .plan-price,
.plan-card.popular .plan-price span,
.plan-card.popular .plan-features li {
    color: #f9fafb;
}

.plan-card.popular .plan-features i {
    color: #3b82f6;
}

.plan-card.popular .order-btn {
    background-color: #3b82f6;
}

.plan-card.popular .order-btn:hover {
    background-color: #2563eb;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3b82f6;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
    background-color: #ffffff; color: #333;
    padding: 30px; border-radius: 15px; width: 90%; max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.95); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-container { transform: scale(1); }
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; margin-bottom: 20px;
}
.modal-header h2 { font-size: 1.5rem; font-weight: 600; color: #1a202c; margin: 0; }
.modal-close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #718096; }
.modal-body p { color: #4a5568; margin-bottom: 25px; }
.modal-body .payment-options button {
    width: 100%; padding: 15px; border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 1.1rem; font-weight: 500; cursor: pointer; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
    background-color: #fff;
}
.modal-body .payment-options button:hover { border-color: #3b82f6; background-color: #f0f5ff; }
.modal-body .payment-options button i { margin-right: 10px; }

/* --- Crypto Modal Specifics --- */
.crypto-selection button {
    border: 2px solid #e5e7eb;
    padding: 15px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.crypto-selection button.active {
    border-color: #3b82f6;
}
.crypto-details {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.crypto-address-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #d1d5db;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.crypto-address-box code {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.copy-btn {
    background-color: #e5e7eb;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.txn-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 15px;
}
.submit-crypto-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #10b981;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}
.submit-crypto-btn:hover {
    background-color: #059669;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) { 
    .pricing-grid { 
        min-width: 0;
        grid-template-columns: repeat(2, 1fr);
    } 
}
@media (max-width: 768px) {
    .pricing-grid { 
        grid-template-columns: 1fr;
    }
    .plan-card.popular { transform: scale(1); }
}
