* {
    box-sizing: border-box;
}

/* ফন্ট এবং বেস স্টাইল */
body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; background-color: #f0f2f5; color: #333; }
.container { max-width: 1100px; margin: 20px auto; background: #ffffff; padding: 0; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); overflow: hidden; }

/* হেডার */
.header { background-color: #007bff; color: white; padding: 30px 20px; text-align: center; }
.platform-name { font-size: 2.5em; font-weight: 800; margin-bottom: 5px; letter-spacing: 1px; }
.tagline { font-size: 1em; font-weight: 300; opacity: 0.9; }

/* প্যাকেজ সেকশন */
.section-title { font-size: 1.8em; font-weight: 700; color: #007bff; text-align: center; margin: 30px 0 20px; }
.package-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; 
    padding: 25px; 
}
.package-card { 
    background: #ffffff; 
    border: 1px solid #e0e0e0; 
    border-radius: 10px; 
    padding: 20px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    transition: all 0.3s; 
    position: relative;
    min-height: 400px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* ✨ হাইলাইট ইফেক্ট ✨ */
.package-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); 
}
.package-card.selected {
    border: 3px solid #28a745;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background-color: #e6f7ed;
    transform: scale(1.02);
}

.package-card h3 { 
    font-size: 1.5em; 
    color: #d9534f; 
    margin-top: 0; 
    border-bottom: 2px solid #eee; 
    padding-bottom: 10px; 
    margin-bottom: 10px; 
    text-align: center;
    font-weight: 700;
}
.features { 
    font-size: 0.95em; 
    color: #007bff; 
    font-weight: 600; 
    margin-bottom: 15px; 
    display: block;
    text-align: center;
}
.price-list { list-style: none; padding: 0; margin: 0 0 15px 0; }
.price-list li { 
    background-color: #f7f7f7; 
    padding: 8px 12px; 
    margin-bottom: 5px; 
    border-radius: 5px; 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.9em;  
}
.price-list .credit { font-weight: 600; color: #5cb85c; }
.price-list .rate { color: #555; }

.best-deal-tag { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    background-color: #ffc107; 
    color: #333; 
    padding: 4px 12px; 
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.min-credit-info-group {
    font-size: 0.85em; 
    color: #777; 
    margin-top: 10px; 
    text-align: center; 
    font-weight: 600;
}

/* ডিসক্লেমার নোট স্টাইল */
.disclaimer-note-container {
    background-color: #ffe0e0; 
    border: 1px solid #ff9999; 
    color: #cc0000; 
    padding: 10px; 
    border-radius: 5px; 
    margin-top: 10px; 
    font-size: 0.8em; 
    line-height: 1.4;
}
.disclaimer-note-container p {
    margin: 0 0 5px 0; 
    font-weight: 700; 
    color: #cc0000;
}
.disclaimer-note-container ul {
     margin: 0; 
     padding-left: 15px;
}
.disclaimer-note-container li {
     list-style-type: disc;
}

/* প্যাকেজ ডিটেইলস বক্স */
.package-details {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}
.package-details strong {
    color: #0056b3;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
.package-details strong i {
    margin-right: 5px;
}
.package-details p {
    font-size: 0.85em;
    color: #444;
    line-height: 1.6;
    margin: 0;
}


/* CTA বাটন (অর্ডারের জন্য) */
.order-button-cta {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box; 
}
.order-button-cta:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* অতিরিক্ত বাটন গ্রুপ */
.extra-buttons-group {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.extra-btn {
    flex: 1; 
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px; 
    font-size: 1em; 
    font-weight: 700; 
    border-radius: 50px;
    border: none; 
    box-sizing: border-box;
}
.extra-btn i {
    margin-right: 5px;
}

/* চ্যানেল লিস্ট বাটন স্টাইল (কমলা) */
.channel-list-btn {
    background-color: #f0ad4e;
    color: white;
    box-shadow: 0 4px 10px rgba(240, 173, 78, 0.2);
}
.channel-list-btn:hover {
    background-color: #ec971f;
    color: white;
    transform: translateY(-2px);
}

/* টিউটোরিয়াল বাটন স্টাইল (নীল) */
.tutorial-btn {
    background-color: #3498db;
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
}
.tutorial-btn:hover {
    background-color: #2980b9;
    color: white;
    transform: translateY(-2px);
}


/* ট্রায়াল সেকশন স্টাইল */
.trial-section { margin-top: 50px; padding: 30px; background-color: #fff8e1; border: 2px dashed #ffc107; border-radius: 12px; }
.trial-section .section-title { color: #d9534f; margin-top: 0; }
.trial-section .whatsapp-button { background-color: #d9534f; } 
.trial-section .whatsapp-button:hover:not(.whatsapp-disabled) { background-color: #c9302c; }

/* অর্ডার ফর্ম সেকশন */
.payment-section { margin-top: 50px; padding: 30px; background-color: #f8f9fa; border: 1px solid #ddd; border-radius: 8px; }
.selection-group { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.form-group { flex-grow: 1; min-width: 250px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
.form-group select, .form-group input[type="text"], .form-group input[type="number"] { 
    width: 100%; 
    padding: 12px; 
    border-radius: 6px; 
    border: 1px solid #ccc; 
    font-size: 1em; 
    background-color: #f9f9f9; 
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.form-group select:focus, .form-group input:focus { border-color: #007bff; background-color: white; outline: none; box-shadow: 0 0 5px rgba(0, 123, 255, 0.2); }

.panel-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.radio-label {
    font-weight: 600;
    color: #555;
    cursor: pointer;
    padding: 8px 15px;
    border: 2px solid #ccc;
    border-radius: 50px;
    transition: all 0.3s;
}
.radio-label input { display: none; }
.radio-label input:checked { border-color: #007bff; background-color: #e6f7ff; color: #007bff;}
.radio-label input:checked + span { color: #007bff; font-weight: 700; }

/* মোট মূল্য ও পেমেন্ট নম্বর */
.price-summary { text-align: center; margin: 30px 0; padding: 20px; background-color: #e3f2fd; border-radius: 8px; border: 1px solid #90caf9; }
#totalPriceDisplay { font-size: 2.2em; font-weight: 800; color: #d9534f; margin-top: 5px; }
#savingMessage { font-size: 1em; color: #28a745; margin-top: 10px; font-weight: 600; }

.payment-number-group { display: flex; align-items: center; justify-content: center; margin: 15px 0; background: #fff3e0; padding: 15px; border-radius: 8px; border: 1px dashed #f0ad4e; }
#paymentNumber, #trialPaymentNumber { color: #c0392b; font-size: 1.2em; font-weight: 700; margin-right: 15px; }
#copyButton, #copyButtonTrial { background-color: #f0ad4e; color: white; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; font-size: 0.9em; font-weight: 600; transition: background-color 0.3s; }
#copyButton:hover, #copyButtonTrial:hover { background-color: #ec971f; }
#copyMessage, #copyMessageTrial { margin-left: 10px; color: #28a745; font-weight: 600; opacity: 0; transition: opacity 0.3s; }
#copyMessage.show, #copyMessageTrial.show { opacity: 1; }

/* WhatsApp বাটন */
.whatsapp-button-container { text-align: center; margin-top: 30px; }
.whatsapp-button { 
    background-color: #25d366; 
    color: white; 
    border: none; 
    padding: 15px 30px; 
    border-radius: 50px; 
    cursor: pointer; 
    font-size: 1.1em; 
    font-weight: 700; 
    transition: background-color 0.3s, transform 0.2s; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}
.whatsapp-button:hover:not(.whatsapp-disabled) { background-color: #128c7e; transform: translateY(-2px); }

/* WhatsApp বাটন ভ্যালিডেশন স্টেট */
.whatsapp-disabled { 
    background-color: #999; 
    cursor: not-allowed; 
    box-shadow: none; 
    transform: none !important;
}
.whatsapp-error-message { color: white; font-size: 0.8em; margin-left: 10px; font-weight: 600; }

.error-message { color: #d9534f; font-size: 0.9em; margin-top: 5px; font-weight: 600; }

/* স্পিনার লোডিং ইফেক্ট */
#loader, #packageLoader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.5em;
    color: #007bff;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* রেসপনসিভনেস */
@media (max-width: 768px) {
    .container { margin: 10px auto; }
    .platform-name { font-size: 1.8em; }
    .package-list { grid-template-columns: 1fr; padding: 15px; }
    .package-card { min-height: auto; }
    .selection-group { flex-direction: column; gap: 15px; }
    .form-group { min-width: 100%; }
    .payment-number-group { flex-direction: column; }
    #paymentNumber, #trialPaymentNumber { margin: 10px 0; }
    #copyButton, #copyButtonTrial { width: 100%; }
    .radio-label { width: 100%; text-align: center; box-sizing: border-box; }
    
    .extra-buttons-group {
        flex-direction: column; 
    }
}

/* ======================================
    ✅ নতুন: লাইভ কাউন্টার CSS
====================================== */
.centered-floating-buttons {
    position: fixed;
    top: 70%; 
    right: 20px;
    transform: translateY(-60%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* সাদা ব্যাকগ্রাউন্ড */
    color: #007bff; /* নীল টেক্সট */
    padding: 10px;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    width: 60px; 
    height: 80px;
    text-align: center;
}
.counter-item .number {
    font-size: 1.2em; 
    font-weight: bold;
}
.counter-item .label {
    font-size: 0.7em;
    color: #333; /* গাঢ় টেক্সট */
}
/* মোবাইলের জন্য বাটনটি ডানদিকে রাখা */
@media (max-width: 768px) {
    .centered-floating-buttons {
        right: 10px;
    }
}
