/* =========================================
   RESET & BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: #f4f6f9; color: #334155; line-height: 1.5; }
.container { width: 95%; max-width: 600px; margin: 0 auto; }

/* Mode Gelap (Opsional) */
body.dark-mode { background-color: #0f172a; color: #cbd5e1; }
body.dark-mode .top-header, body.dark-mode .category-scroll, body.dark-mode .card-paket { background-color: #1e293b; border-color: #334155; }
body.dark-mode .brand-name { color: #f8fafc !important; }
body.dark-mode .chip { background: #334155; color: #cbd5e1; border-color: #475569; }
body.dark-mode .category-item span { color: #94a3b8; }
body.dark-mode .wifi-icon { background: rgba(225, 29, 72, 0.2); color: #fb7185; }
body.dark-mode .result-count { color: #94a3b8; }

/* =========================================
   HEADER & LOGO INTERNETIFY
   ========================================= */
.top-header { background: #ffffff; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.top-header .container { display: flex; justify-content: space-between; align-items: center; }

/* Desain Logo Internetify */
.brand-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon-circle { 
    width: 40px; height: 40px; 
    background: linear-gradient(135deg, #e11d48, #be123c); 
    color: white; border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.2rem; box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}
.logo-text-group { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.5rem; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.brand-sub { font-size: 0.65rem; color: #64748b; font-weight: 600; }

.theme-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   MENU KATEGORI (SCROLL HORIZONTAL)
   ========================================= */
.category-scroll { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-container { display: flex; gap: 20px; width: max-content; padding: 0 5px; }

.category-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; width: 75px; }
.category-item span { font-size: 0.75rem; color: #64748b; font-weight: 600; text-align: center; margin-top: 8px; line-height: 1.2; }
.cat-icon { width: 45px; height: 45px; border-radius: 12px; background: #f1f5f9; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.3s; }
.category-item.active .cat-icon, .category-item:hover .cat-icon { background: #fef2f2; color: #e11d48; }
.category-item.active span { color: #e11d48; }
.cat-icon.bg-red { background: #e11d48; color: white; }

.category-item.active { position: relative; }
.category-item.active::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 100%; height: 3px; background: #e11d48; border-radius: 3px 3px 0 0; }

/* =========================================
   SECTION FILTER & LIST PAKET
   ========================================= */
.paket-section { padding: 20px 0 50px 0; }
.filter-chips { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 5px; }
.chip { background: #ffffff; border: 1px solid #cbd5e1; padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; color: #334155; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer; }
.chip i { color: #64748b; }

.result-count { font-size: 0.85rem; color: #64748b; margin-bottom: 15px; }

/* =========================================
   KARTU PAKET (GAYA INDihome/Internetify)
   ========================================= */
.paket-list { display: flex; flex-direction: column; gap: 20px; }

.card-paket { 
    background: #ffffff; 
    border-radius: 16px; 
    padding: 20px; 
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.flash-sale { 
    position: absolute; top: 15px; right: 0; background: #0f172a; color: white; 
    font-size: 0.75rem; font-weight: 700; padding: 5px 15px; border-radius: 20px 0 0 20px;
}

.card-top { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.wifi-icon { width: 40px; height: 40px; background: #fef2f2; color: #e11d48; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.card-top h3 { font-size: 1.1rem; color: #0f172a; font-weight: 800; line-height: 1.3; }

.card-price { margin-bottom: 20px; }
.kecepatan-text { font-size: 1.8rem; font-weight: 800; color: #0f172a; line-height: 1; margin-bottom: 5px; }
.label-mulai { font-size: 0.8rem; color: #64748b; }
.harga-text { font-size: 1.6rem; font-weight: 800; color: #e11d48; }
.harga-text span { font-size: 0.9rem; color: #64748b; font-weight: 500; }

.btn-pilih { 
    display: block; width: 100%; text-align: center; text-decoration: none;
    background: #e11d48; color: white; padding: 14px; border-radius: 30px; 
    font-weight: 700; font-size: 1rem; margin-bottom: 15px; transition: 0.3s;
}
.btn-pilih:hover { background: #be123c; }

.card-info { border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; margin-bottom: 15px; }
.info-item { font-size: 0.85rem; color: #334155; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.info-item i { color: #64748b; }

.card-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.feature-box { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: #334155; }
.feature-box i { font-size: 1.2rem; margin-top: 2px; }
.text-orange { color: #f59e0b; }
.feature-box b { display: block; font-weight: 700; color: #0f172a; margin-bottom: 2px;}

/* =========================================
   TOMBOL WHATSAPP MELAYANG
   ========================================= */
.floating-wa {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 20px;
    background-color: #25D366; color: #FFF; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000; text-decoration: none; transition: 0.3s;
}
.floating-wa:hover { transform: scale(1.1); }

/* =========================================
   RESPONSIVE DESKTOP
   ========================================= */
@media (min-width: 768px) {
    .container { max-width: 1000px; }
    .paket-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .category-container { justify-content: center; width: 100%; }
    .category-item { width: 100px; }
}
