/* ============================================================
   1. SỬA LỖI CHỒNG LẤN TRÊN MOBILE & HERO SECTION
   ============================================================ */
#hero {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.hero {
    display: flex;
    flex-wrap: wrap; /* Tự động xuống dòng trên điện thoại */
    align-items: center;
    gap: 20px;
    width: 100%;
    height: auto !important; /* Bỏ chiều cao cố định nếu có */
}

.hero .left {
    flex: 1;
    min-width: 300px;
    z-index: 10;
}

.hero .logo {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 250px;
}

.hero .logo img {
    max-width: 200px;
    height: auto;
}

/* ============================================================
   2. HOÀN CHỈNH ĐOẠN CODE NÚT BẤM (BUTTONS)
   ============================================================ */
.hero .btn {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.hero .btn a {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 130px;
    display: inline-block;
    font-size: 16px;
}

.hero .btn a[href*="signup"] {
    background: #2563eb;
    color: #fff !important;
    border: 2px solid #2563eb;
}

.hero .btn a[href*="signin"] {
    background: transparent;
    color: #2563eb !important;
    border: 2px solid #2563eb;
}

.hero .btn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* ============================================================
   3. HOÀN CHỈNH ĐOẠN CODE THỐNG KÊ (STATISTICS)
   ============================================================ */
#statistics {
    display: grid;

    gap: 20px;
    width: 100%;
    margin-top: 40px;
    padding: 20px 0;
    clear: both;
}

#statistics .box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

#statistics .box h3 { 
    margin: 0; 
    font-size: 22px; 
    color: #1e293b; 
}

#statistics .box p { 
    margin: 0; 
    color: #64748b; 
    font-size: 14px; 
}

/* ============================================================
   4. CSS FAQ (GIỮ NGUYÊN CẤU TRÚC)
   ============================================================ */
#FAQs .FAQs_box { 
    width: 100%; 
    border-bottom: 1px solid #eee; 
    overflow: visible !important; 
}

.FAQs_btn { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    background: transparent !important; 
    border: none !important; 
    cursor: pointer; 
    font-weight: 600; 
    font-size: 16px; 
    color: #333; 
}

.FAQs_c { 
    display: none; 
    padding: 15px 0 20px 0; 
    color: #444 !important; 
    line-height: 1.6; 
    font-size: 15px; 
    height: auto !important; 
    max-height: none !important; 
    overflow: visible !important; 
    visibility: visible !important; 
    opacity: 1 !important; 
    border-top: 1px dashed #ddd; /* Đường gạch ngang */
    margin-top: 5px; 
}

.FAQs_c.active { 
    display: block !important; 
    animation: slideDown 0.4s ease-out; 
}

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

.FAQs_btn.active .fa-chevron-down { 
    transform: rotate(180deg); 
    color: #2563eb; 
}

/* ============================================================
   5. TELEGRAM, BANNER & RESPONSIVE
   ============================================================ */
#contact-telegram { 
    position: fixed;
    border-radius: 50%;
    bottom: 20px; 
    right: 20px; 
    z-index: 1000; 
    width: 60px; 
    height: 60px; 
    animation: pulse 1.5s infinite; 
}

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5); } 
    80% { box-shadow: 0 0 0 14px rgba(0, 136, 204, 0); } 
}

.banner { 
    width: 100%; 
    margin: 24px 0; 
    display: flex; 
    justify-content: center; 
}

#traffic-img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 16px; 
    transition: 0.3s; 
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    #hero { 
        text-align: center; 
    }
    .hero .btn { 
        justify-content: center; 
    }
    .hero .left h2 { 
        font-size: 24px; 
    }
}