* {
    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; 
    }
}

/* ===== 2026 Premium Reseller UI ===== */
:root {
    --brand: #2563eb;
    --brand-dark: #173ea5;
    --accent: #16a34a;
    --ink: #172033;
    --muted: #667085;
    --surface: rgba(255,255,255,.94);
    --line: #e6eaf0;
}
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 4%, rgba(37,99,235,.14), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(14,165,233,.12), transparent 27%),
        linear-gradient(160deg, #f8fbff 0%, #eef4ff 48%, #f8fafc 100%);
}
.container {
    width: min(1440px, calc(100% - 32px));
    max-width: 1440px;
    margin: 24px auto 110px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 28px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 25px 70px rgba(30,64,175,.13);
    backdrop-filter: blur(16px);
}
.header {
    position: relative;
    overflow: hidden;
    padding: 48px 24px 44px;
    background: linear-gradient(125deg, #102a72 0%, #2563eb 58%, #0ea5e9 100%);
}
.header::before,.header::after { content:""; position:absolute; border-radius:50%; background:rgba(255,255,255,.1); }
.header::before { width:240px;height:240px;right:-70px;top:-120px; }
.header::after { width:140px;height:140px;left:7%;bottom:-100px; }
.platform-name { position:relative; font-size:clamp(1.8rem,4vw,3.2rem); letter-spacing:-.03em; text-shadow:0 5px 18px rgba(0,0,0,.2); }
.tagline { position:relative; max-width:700px; margin:10px auto 0; font-size:clamp(.95rem,2vw,1.1rem); }
.package-section,.trial-section,.payment-section { padding: 8px clamp(12px,3vw,32px) 30px; }
.section-title { margin:38px 0 24px; color:var(--ink); font-size:clamp(1.35rem,3vw,2rem); }
.section-title::after { content:""; display:block; width:58px; height:4px; margin:10px auto 0; border-radius:10px; background:linear-gradient(90deg,var(--brand),#38bdf8); }
.package-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    padding: 8px 0 22px;
}
.package-card {
    min-width:0;
    min-height:0;
    padding:0;
    border:1px solid rgba(203,213,225,.82);
    border-radius:22px;
    background:var(--surface);
    box-shadow:0 10px 28px rgba(15,23,42,.08);
    isolation:isolate;
}
.package-card::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,var(--brand),#38bdf8,var(--accent)); z-index:2; }
.package-card:hover { transform:translateY(-8px); border-color:#93c5fd; box-shadow:0 22px 46px rgba(37,99,235,.17); }
.package-card.selected { border:2px solid var(--accent); background:#f5fff8; transform:translateY(-4px); box-shadow:0 20px 42px rgba(22,163,74,.18); }
.package-card-content { padding:28px 22px 10px; min-width:0; }
.package-card-heading { display:flex; align-items:center; gap:12px; padding-right:68px; margin-bottom:16px; }
.package-icon { flex:0 0 44px; height:44px; display:grid; place-items:center; border-radius:13px; color:#fff; font-size:1.15rem; background:linear-gradient(135deg,var(--brand),#38bdf8); box-shadow:0 8px 16px rgba(37,99,235,.22); }
.package-card h3 { min-width:0; margin:0; padding:0; border:0; color:var(--ink); font-size:clamp(1.08rem,1.7vw,1.35rem); line-height:1.3; text-align:left; overflow-wrap:anywhere; }
.features { padding:9px 12px; margin:0 0 14px; border-radius:10px; color:#075985; background:#eff8ff; text-align:left; font-size:.88rem; }
.package-details { max-height:260px; overflow:auto; margin:0 0 18px; padding:14px; border:1px solid #e2e8f0; border-radius:13px; background:#f8fafc; scrollbar-width:thin; }
.package-details strong { color:var(--brand-dark); }
.package-details p { line-height:1.65; overflow-wrap:anywhere; }
.pricing-title { display:flex;align-items:center;gap:7px;margin:16px 0 10px;color:var(--ink);font-size:1rem; }
.pricing-title small { color:var(--muted);font-weight:500; }
.price-list { display:grid;gap:7px;margin-bottom:10px; }
.price-list li { margin:0;padding:11px 13px;border:1px solid #edf0f4;border-radius:11px;background:#f8fafc;font-size:.88rem; }
.price-list .credit { color:#15803d; }
.price-list .rate { color:#344054;font-weight:600; }
.best-deal-tag { top:14px;right:14px;z-index:3;padding:7px 10px;color:#713f12;background:linear-gradient(135deg,#fde047,#fbbf24);box-shadow:0 8px 18px rgba(245,158,11,.22);font-size:.69rem;max-width:108px;text-align:center; }
.package-card-footer { padding:0 22px 22px; }
.min-credit-info-group { padding:10px 12px;border-radius:12px;background:#f8fafc; }
.min-credit-info-group p { margin:4px 0; }
.disclaimer-note-container { border:0;border-left:4px solid #ef4444;border-radius:10px;background:#fff1f2; }
.order-button-cta { padding:13px 16px;border-radius:12px;background:linear-gradient(135deg,#16a34a,#22c55e);box-shadow:0 9px 20px rgba(22,163,74,.2); }
.extra-btn { border-radius:10px!important; }
.trial-section,.payment-section { margin:16px clamp(10px,2vw,24px) 30px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 12px 30px rgba(15,23,42,.05); }
.selection-group,.payment-number-group,.panel-options { border-radius:14px; }
input,select,textarea { border-radius:11px!important;border:1px solid #cbd5e1!important;transition:border-color .2s,box-shadow .2s!important; }
input:focus,select:focus,textarea:focus { outline:none!important;border-color:#60a5fa!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)!important; }
.centered-floating-buttons { right:18px;gap:8px; }
.counter-item { border:1px solid #dbeafe;border-radius:14px;box-shadow:0 10px 24px rgba(37,99,235,.15); }
@media (max-width:1050px) { .package-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) {
    .container { width:calc(100% - 16px);margin:8px auto 100px;border-radius:18px; }
    .header { padding:34px 16px; }
    .package-list { grid-template-columns:1fr;gap:16px; }
    .package-card-content,.package-card-footer { padding-left:16px;padding-right:16px; }
    .package-card-heading { padding-right:54px; }
    .package-details { max-height:none; }
    .trial-section,.payment-section { margin-left:4px;margin-right:4px;padding-left:12px;padding-right:12px; }
    .centered-floating-buttons { position:fixed;top:auto;bottom:8px;left:8px;right:8px;transform:none;flex-direction:row;justify-content:center; }
    .counter-item { width:84px;height:58px;padding:5px; }
}

/* ======================================
    ✅ নতুন: লাইভ কাউন্টার 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;
    }
}
