/* =========================================================
   FASTSHOT STUDIO - Mode Terang
   Semua aturan di bawah ini hanya aktif saat <html data-theme="light">.
   Mode gelap memakai gaya bawaan style.css sehingga tidak ada section
   yang terbalik mode. Selector memakai awalan html[data-theme="light"]
   agar spesifisitasnya menang atas utility Tailwind.
   ========================================================= */

html[data-theme="light"] { color-scheme: light; }

/* ---------- Dasar halaman ---------- */
html[data-theme="light"] body {
  background: #f4f7fb;
  color: #0d1526;
}

/* Bintang hanya untuk mode gelap */
html[data-theme="light"] .stars { display: none; }

/* Orb dibuat jauh lebih halus agar tidak mengotori latar terang */
html[data-theme="light"] .orb { opacity: 0.16; }

/* ---------- Latar section (Tailwind arbitrary values) ---------- */
html[data-theme="light"] .bg-\[\#02050b\] { background-color: #eef2f8; }
html[data-theme="light"] .bg-\[\#03060c\] { background-color: #f1f5fa; }
html[data-theme="light"] .bg-\[\#020407\] { background-color: #e8edf5; }
html[data-theme="light"] .bg-\[\#040810\]\/70 { background-color: rgba(238, 242, 248, 0.88); }
html[data-theme="light"] .bg-\[\#090d16\]\/80 { background-color: rgba(255, 255, 255, 0.86); }
html[data-theme="light"] .bg-\[\#090e18\]\/95 { background-color: rgba(255, 255, 255, 0.97); }

/* ---------- Teks ---------- */
html[data-theme="light"] .text-white { color: #0d1526; }
html[data-theme="light"] .text-gray-200 { color: #26324a; }
html[data-theme="light"] .text-gray-300 { color: #38455f; }
html[data-theme="light"] .text-gray-400 { color: #55637a; }
html[data-theme="light"] .text-gray-500 { color: #6b7789; }
html[data-theme="light"] .text-cyan-100 { color: #075985; }
html[data-theme="light"] .text-cyan-200 { color: #0369a1; }
html[data-theme="light"] .text-cyan-300 { color: #0284c7; }
html[data-theme="light"] .text-cyan-400 { color: #0284c7; }
html[data-theme="light"] .text-cyan-400\/\[0\.05\] { color: rgba(2, 132, 199, 0.09); }
html[data-theme="light"] .text-cyan-400\/25 { color: rgba(2, 132, 199, 0.32); }
html[data-theme="light"] .text-red-200 { color: #b91c1c; }
html[data-theme="light"] .text-red-300 { color: #b91c1c; }

/* Placeholder input */
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder { color: #8b96a8; }

/* ---------- Border ---------- */
html[data-theme="light"] .border-white\/5 { border-color: rgba(13, 21, 38, 0.06); }
html[data-theme="light"] .border-white\/10 { border-color: rgba(13, 21, 38, 0.11); }
html[data-theme="light"] .border-white\/15 { border-color: rgba(13, 21, 38, 0.15); }
html[data-theme="light"] .border-cyan-400\/25 { border-color: rgba(2, 132, 199, 0.32); }
html[data-theme="light"] .border-cyan-400\/30 { border-color: rgba(2, 132, 199, 0.38); }
html[data-theme="light"] .border-cyan-400\/40 { border-color: rgba(2, 132, 199, 0.48); }
html[data-theme="light"] .border-red-400\/40 { border-color: rgba(185, 28, 28, 0.45); }

/* ---------- Latar translusen ---------- */
html[data-theme="light"] .bg-white\/5 { background-color: rgba(13, 21, 38, 0.04); }
html[data-theme="light"] .bg-white\/\[0\.02\] { background-color: rgba(13, 21, 38, 0.025); }
html[data-theme="light"] .bg-slate-950\/70 { background-color: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .bg-cyan-500\/10 { background-color: rgba(2, 132, 199, 0.1); }
html[data-theme="light"] .bg-cyan-500\/12 { background-color: rgba(2, 132, 199, 0.12); }
html[data-theme="light"] .bg-cyan-500\/15 { background-color: rgba(2, 132, 199, 0.14); }
html[data-theme="light"] .bg-cyan-500\/20 { background-color: rgba(2, 132, 199, 0.16); }
html[data-theme="light"] .bg-cyan-900\/60 { background-color: rgba(2, 132, 199, 0.14); }
html[data-theme="light"] .bg-sky-500\/15 { background-color: rgba(14, 165, 233, 0.14); }
html[data-theme="light"] .bg-sky-600\/15 { background-color: rgba(2, 132, 199, 0.13); }
html[data-theme="light"] .bg-red-500\/10 { background-color: rgba(185, 28, 28, 0.08); }

/* ---------- Kartu kaca ---------- */
html[data-theme="light"] .glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 253, 0.94) 100%);
  border-color: rgba(13, 21, 38, 0.1);
  box-shadow: 0 10px 28px -20px rgba(15, 30, 60, 0.5);
}
html[data-theme="light"] .glass-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 18px 36px -18px rgba(15, 30, 60, 0.28), 0 0 18px -6px rgba(2, 132, 199, 0.22);
}

/* ---------- Tombol ---------- */
html[data-theme="light"] .btn-secondary {
  background: rgba(13, 21, 38, 0.03);
  border-color: rgba(13, 21, 38, 0.16);
  color: #26324a;
}
html[data-theme="light"] .btn-secondary:hover {
  background: rgba(2, 132, 199, 0.09);
  border-color: rgba(2, 132, 199, 0.45);
  color: #075985;
}

/* Tombol utama tetap gelap agar kontrasnya kuat di latar terang.
   Teksnya wajib tetap putih karena latarnya gelap. Dipakai !important
   agar tidak bisa dikalahkan utility .text-white milik Tailwind CDN. */
html[data-theme="light"] .btn-glow,
html[data-theme="light"] .btn-glow span,
html[data-theme="light"] .btn-glow strong,
html[data-theme="light"] .btn-glow .text-white {
  color: #ffffff !important;
}
html[data-theme="light"] .btn-glow {
  background: linear-gradient(to top, #38b6d8 1px, #1f9dbf 4px, #0d7fa0 8px, #0a5f7a 14px, #073746 26px, #062430 40px);
  box-shadow: inset 0 1px 0 rgba(200, 245, 255, 0.35), 0 4px 14px -4px rgba(9, 90, 120, 0.5);
}
html[data-theme="light"] .btn-glow:hover {
  color: #ffffff !important;
  filter: brightness(1.12);
}

/* ---------- Eyebrow, breadcrumb, pagination ---------- */
html[data-theme="light"] .eyebrow {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.28);
  color: #075985;
}
html[data-theme="light"] .breadcrumb { color: #64748b; }
html[data-theme="light"] .breadcrumb a:hover { color: #0284c7; }
html[data-theme="light"] .breadcrumb .text-gray-300 { color: #26324a; }

html[data-theme="light"] .pagination a,
html[data-theme="light"] .pagination span {
  border-color: rgba(13, 21, 38, 0.12);
  color: #38455f;
}
html[data-theme="light"] .pagination a:hover {
  border-color: rgba(2, 132, 199, 0.5);
  color: #075985;
}
html[data-theme="light"] .pagination .current {
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.5);
  color: #075985;
}

/* ---------- Artikel ---------- */
html[data-theme="light"] .prose-fs { color: #33405a; }
html[data-theme="light"] .prose-fs h2,
html[data-theme="light"] .prose-fs h3 { color: #0d1526; }
html[data-theme="light"] .prose-fs a { color: #0284c7; }
html[data-theme="light"] .prose-fs strong { color: #0d1526; }
html[data-theme="light"] .prose-fs blockquote {
  border-left-color: #0284c7;
  color: #33405a;
}

/* ---------- Pesan flash ---------- */
html[data-theme="light"] .flash-message {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(2, 132, 199, 0.45);
  color: #075985;
  box-shadow: 0 12px 30px -16px rgba(15, 30, 60, 0.45);
}
html[data-theme="light"] .flash-success { border-color: rgba(5, 150, 105, 0.5); color: #065f46; }
html[data-theme="light"] .flash-error { border-color: rgba(185, 28, 28, 0.5); color: #991b1b; }

/* ---------- Gradien teks ---------- */
html[data-theme="light"] .headline-gradient {
  background-image: linear-gradient(90deg, #0369a1, #0284c7, #0ea5e9);
}
html[data-theme="light"] .stat-gradient {
  background-image: linear-gradient(90deg, #0369a1, #0284c7);
}

/* ---------- Kartu paket unggulan ---------- */
html[data-theme="light"] .plan-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8fd 100%);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 18px 40px -22px rgba(2, 132, 199, 0.5), 0 0 0 1px rgba(2, 132, 199, 0.12) inset;
}

/* ---------- Fade bawah hero ---------- */
html[data-theme="light"] .hero-fade {
  background-image: linear-gradient(to top, #f4f7fb, transparent);
}

/* ---------- Navigasi ---------- */
html[data-theme="light"] .nav-shell {
  box-shadow: 0 10px 30px -18px rgba(15, 30, 60, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ---------- Scrollbar slider ---------- */
html[data-theme="light"] .snap-slider { scrollbar-color: rgba(2, 132, 199, 0.45) transparent; }
html[data-theme="light"] .snap-slider::-webkit-scrollbar-track { background: rgba(13, 21, 38, 0.06); }
html[data-theme="light"] .snap-slider::-webkit-scrollbar-thumb { background: rgba(2, 132, 199, 0.45); }

/* ---------- Tombol navigasi slider & filter ---------- */
html[data-theme="light"] .slider-nav-btn {
  border-color: rgba(13, 21, 38, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #26324a;
}
html[data-theme="light"] .slider-nav-btn:hover {
  border-color: rgba(2, 132, 199, 0.5);
  background: rgba(2, 132, 199, 0.08);
  color: #075985;
}
html[data-theme="light"] .filter-chip {
  border-color: rgba(13, 21, 38, 0.14);
  color: #38455f;
}
html[data-theme="light"] .filter-chip.is-active {
  border-color: rgba(2, 132, 199, 0.5);
  background: rgba(2, 132, 199, 0.12);
  color: #075985;
}

/* ---------- Pemisah section ---------- */
html[data-theme="light"] .section-divider {
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.35), transparent);
}
html[data-theme="light"] .section-divider::after {
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.75), transparent);
}

/* ---------- Toggle tema ---------- */
html[data-theme="light"] .theme-toggle {
  border-color: rgba(13, 21, 38, 0.16);
  background: rgba(255, 255, 255, 0.85);
  color: #38455f;
}
html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(2, 132, 199, 0.45);
  color: #075985;
}

/* ---------- Widget WhatsApp ---------- */
html[data-theme="light"] .wa-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.98));
  border-color: rgba(13, 21, 38, 0.12);
  box-shadow: 0 24px 60px -24px rgba(15, 30, 60, 0.45);
}
html[data-theme="light"] .wa-panel-head { background: linear-gradient(135deg, #0f766e, #0e7490); }
html[data-theme="light"] .wa-bubble-in {
  background: #ffffff;
  border-color: rgba(13, 21, 38, 0.1);
  color: #26324a;
}
html[data-theme="light"] .wa-quick {
  background: rgba(2, 132, 199, 0.07);
  border-color: rgba(2, 132, 199, 0.28);
  color: #075985;
}
html[data-theme="light"] .wa-quick:hover { background: rgba(2, 132, 199, 0.14); }
html[data-theme="light"] .wa-input {
  background: #ffffff;
  border-color: rgba(13, 21, 38, 0.14);
  color: #0d1526;
}
html[data-theme="light"] .wa-input::placeholder { color: #8b96a8; }
html[data-theme="light"] .wa-panel-foot { border-top-color: rgba(13, 21, 38, 0.1); }
html[data-theme="light"] .wa-panel-note { color: #6b7789; }

/* ---------- Lightbox galeri ---------- */
html[data-theme="light"] .gallery-item {
  border-color: rgba(13, 21, 38, 0.1);
  background: #ffffff;
}
html[data-theme="light"] .gallery-item:hover { border-color: rgba(2, 132, 199, 0.4); }
html[data-theme="light"] .lightbox-figure {
  background: #ffffff;
  border-color: rgba(13, 21, 38, 0.12);
}
html[data-theme="light"] .lightbox-title { color: #0d1526; }
html[data-theme="light"] .lightbox-desc,
html[data-theme="light"] .lightbox-counter { color: #55637a; }
html[data-theme="light"] .lightbox-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 21, 38, 0.14);
  color: #26324a;
}
html[data-theme="light"] .lightbox-btn:hover {
  border-color: rgba(2, 132, 199, 0.5);
  color: #075985;
}

/* =========================================================
   Mode terang: komponen toko produk digital
   ========================================================= */
html[data-theme="light"] .badge-live { background: rgba(5, 150, 105, 0.1); border-color: rgba(5, 150, 105, 0.35); color: #065f46; }
html[data-theme="light"] .badge-contacted { background: rgba(180, 83, 9, 0.1); border-color: rgba(180, 83, 9, 0.35); color: #92400e; }
html[data-theme="light"] .badge-archived { background: rgba(100, 116, 139, 0.1); border-color: rgba(100, 116, 139, 0.3); color: #475569; }

html[data-theme="light"] .license-key {
  border-color: rgba(2, 132, 199, 0.4);
  background: rgba(2, 132, 199, 0.06);
  color: #075985;
}
html[data-theme="light"] .license-key:hover { border-color: rgba(2, 132, 199, 0.65); background: rgba(2, 132, 199, 0.11); }
html[data-theme="light"] .license-key.is-copied { border-color: rgba(5, 150, 105, 0.6); color: #065f46; }

html[data-theme="light"] .divider { background: rgba(13, 21, 38, 0.1); }
html[data-theme="light"] .meta-label { color: #6b7789; }
html[data-theme="light"] .meta-value { color: #0d1526; }

/* Tabel spesifikasi dan ringkasan pada halaman produk */
html[data-theme="light"] .glass-card .text-gray-400 { color: #55637a; }
