/* ==========================================================================
   Mudah4d — Gaya utama (conventions: WordPress theme class names)
   Palet: merah #C8102E · emas #F5B301 · hijau #0E7C42 · biru #0B4FA8
          hitam #0E0F13 · putih #FFFFFF
   ========================================================================== */

:root {
  --merah: #C8102E;
  --merah-tua: #8E0E1F;
  --emas: #F5B301;
  --emas-muda: #FFD766;
  --emas-lembut: #FFF4D6;
  --hijau: #0E7C42;
  --hijau-lembut: #E8F5EE;
  --biru: #0B4FA8;
  --biru-lembut: #EAF1FB;
  --hitam: #0E0F13;
  --arang: #17181F;
  --abu: #5A5F6B;
  --abu-muda: #9AA0AC;
  --putih: #FFFFFF;
  --kertas: #FAFBFF;
  --garis: #E6E8EF;
  --radius: 14px;
  --radius-sm: 10px;
  --bayangan: 0 10px 30px rgba(14, 15, 19, 0.10);
  --bayangan-kuat: 0 16px 44px rgba(14, 15, 19, 0.22);
  --font: "Plus Jakarta Sans", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ----- Reset & dasar ----- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--hitam);
  background: var(--putih);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 1rem + 1.8vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1rem + 0.7vw, 1.35rem); }

p { margin: 0 0 1.1em; overflow-wrap: break-word; }

a { color: var(--biru); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--merah); }

ul, ol { padding-left: 1.35em; margin: 0 0 1.1em; }
li { margin-bottom: 0.45em; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}
.wrap.narrow { max-width: 860px; }

.section { padding-block: clamp(48px, 7vw, 84px); }
.section-white { background: var(--putih); }
.section-tint { background: var(--kertas); }
.section-dark { background: linear-gradient(160deg, var(--hitam) 0%, #1A1016 55%, #240D14 100%); color: #F2F3F7; }
.section-dark h2, .section-dark h3 { color: var(--putih); }
.section-blue-soft { background: linear-gradient(180deg, var(--biru-lembut), var(--putih) 85%); }
.section-green-soft { background: linear-gradient(180deg, var(--hijau-lembut), var(--putih) 88%); }

/* ----- Aksesibilitas ----- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -60px; left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--emas); color: var(--hitam);
  font-weight: 700; border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ----- Kicker / label seksi ----- */
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--merah);
  background: var(--emas-lembut);
  border: 1px solid #F0DFAE;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.kicker-gold { color: var(--hitam); background: var(--emas); border-color: var(--emas-muda); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--abu); font-size: 1.02rem; }
.section-head-dark p { color: #C7CBD6; }

/* ----- Tombol ----- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-daftar {
  background: linear-gradient(180deg, var(--merah) 0%, var(--merah-tua) 100%);
  color: var(--putih);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.35);
}
.btn-daftar:hover { color: var(--emas-muda); box-shadow: 0 8px 24px rgba(200, 16, 46, 0.45); transform: translateY(-1px); }

.btn-masuk {
  background: transparent;
  color: var(--emas);
  border-color: var(--emas);
}
.btn-masuk:hover { background: var(--emas); color: var(--hitam); }

.btn-ghost-light { background: transparent; color: var(--putih); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-light:hover { border-color: var(--putih); color: var(--emas); background: rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(14, 15, 19, 0.985), rgba(20, 12, 16, 0.96));
  border-bottom: 1px solid rgba(245, 179, 1, 0.28);
  box-shadow: 0 6px 24px rgba(14, 15, 19, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: 74px;
}

.site-branding { display: flex; flex-direction: column; gap: 2px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--putih);
  letter-spacing: -0.02em;
}
.logo-text em { font-style: normal; color: var(--emas); }
.tagline {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--abu-muda);
}

.main-navigation { margin-left: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: block;
  padding: 9px 13px;
  color: #D9DCE4;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--emas-muda); background: rgba(245, 179, 1, 0.10); }
.current-menu-item a { color: var(--emas); background: rgba(245, 179, 1, 0.12); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(245, 179, 1, 0.5);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 100%; height: 2.5px;
  background: var(--emas);
  border-radius: 2px;
}
.menu-toggle-label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  color: var(--emas);
  background: transparent;
  border: 1px solid rgba(245, 179, 1, 0.5);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.search-toggle:hover { background: rgba(245, 179, 1, 0.12); }
.header-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  background: var(--kertas);
  border-bottom: 1px solid var(--garis);
  font-size: 0.85rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.breadcrumb li { margin: 0; color: var(--abu); }
.breadcrumb a { color: var(--abu); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--merah); }
.breadcrumb .sep { margin-left: 6px; color: var(--abu-muda); }
.breadcrumb li[aria-current="page"] { color: var(--hitam); font-weight: 700; }

/* ==========================================================================
   Hero beranda
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(245, 179, 1, 0.16), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(200, 16, 46, 0.28), transparent 60%),
    linear-gradient(165deg, var(--hitam) 0%, #17141C 45%, #250E16 100%);
  color: var(--putih);
  padding-block: clamp(56px, 8vw, 100px) clamp(52px, 7vw, 88px);
  overflow: clip;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}
.hero h1 { color: var(--putih); margin-bottom: 18px; }
.hero-lead { color: #C9CDD8; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.13rem); max-width: 56ch; }
.hero-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--emas-muda);
  font-size: 0.85rem;
  font-weight: 700;
}
.pill-18 {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--merah);
  color: var(--putih);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 22px;
}
.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #B9BECB;
  font-size: 0.92rem;
}
.hero-points li { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.hero-points li::before {
  content: "\2713";
  flex: none;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(14, 124, 66, 0.35);
  color: #7EE2A8;
  font-size: 0.72rem;
  font-weight: 800;
}
.hero-media { margin: 0; }
.hero-media img {
  border-radius: var(--radius);
  border: 1px solid rgba(245, 179, 1, 0.35);
  box-shadow: var(--bayangan-kuat);
}
.hero-media figcaption {
  margin-top: 10px;
  color: #9AA0AC;
  font-size: 0.8rem;
  text-align: center;
}

/* ==========================================================================
   Kartu & grid umum
   ========================================================================== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 22px;
}
.card {
  background: var(--putih);
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--bayangan);
}
.card h3 { margin-top: 4px; }
.card p { color: var(--abu); font-size: 0.95rem; margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  border-radius: 13px;
  margin-bottom: 14px;
}
.ikon-merah { background: #FBE3E7; }
.ikon-emas { background: var(--emas-lembut); }
.ikon-biru { background: var(--biru-lembut); }
.ikon-hijau { background: var(--hijau-lembut); }

/* ----- Langkah 4 ----- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 22px;
  list-style: none;
  counter-reset: langkah;
  margin: 0;
  padding: 0;
}
.step-card {
  position: relative;
  background: var(--putih);
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  box-shadow: var(--bayangan);
}
.step-num {
  position: absolute;
  top: -16px; left: 20px;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--emas), #E09E00);
  color: var(--hitam);
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(245, 179, 1, 0.4);
}
.step-card p { color: var(--abu); font-size: 0.93rem; }

/* ----- Daftar centang ----- */
.check-list { list-style: none; padding: 0; margin-bottom: 1.2em; display: grid; gap: 12px; }
.check-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  align-items: start;
}
.check-list li::before {
  content: "\2713";
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hijau);
  color: var(--putih);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 4px;
}

/* ----- Tata letak terpisah (split) ----- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
.split-media {
  margin: 0;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--bayangan-kuat);
}
.split-media figcaption { margin-top: 10px; color: var(--abu); font-size: 0.82rem; }

/* ----- Tabel ----- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--putih);
  font-size: 0.92rem;
  min-width: 560px;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--garis);
  vertical-align: top;
}
thead th {
  background: var(--hitam);
  color: var(--emas-muda);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tbody tr:nth-child(even) { background: var(--kertas); }
.section-dark table { background: #1D1E26; color: #E7E9F0; }
.section-dark thead th { background: #101116; }
.section-dark tbody tr:nth-child(even) { background: #23242E; }
.section-dark td { border-bottom-color: #32333E; }

/* ----- Testimoni ----- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 22px;
}
.testi-card {
  margin: 0;
  background: linear-gradient(170deg, #1E1F28, #191A21);
  border: 1px solid #2E2F3A;
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-card blockquote {
  margin: 0;
  color: #DDDFE8;
  font-size: 0.97rem;
  line-height: 1.7;
}
.testi-card blockquote::before { content: "\201C"; color: var(--emas); font-size: 1.6rem; font-weight: 800; }
.testi-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: #A9AEBB;
  font-size: 0.84rem;
  line-height: 1.45;
}
.testi-card figcaption strong { color: var(--emas-muda); }
.avatar {
  flex: none;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--putih);
}
.av-1 { background: var(--merah); }
.av-2 { background: var(--biru); }
.av-3 { background: var(--hijau); }
.av-4 { background: #7A3E9D; }
.av-5 { background: #B45309; }
.av-6 { background: #0E7490; }

/* ----- Ruang demo (mesin simulasi) ----- */
.demo-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--kertas);
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 44px);
}
.demo-machine {
  background: linear-gradient(170deg, var(--hitam), #191017);
  border: 2px solid var(--emas);
  border-radius: 18px;
  padding: 22px 20px 24px;
  box-shadow: var(--bayangan-kuat);
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
}
.demo-window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #0A0B0E;
  border: 1px solid #3A2E12;
  border-radius: 12px;
  padding: 14px 10px;
}
.demo-reel {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #20222B, #14151B);
  border-radius: 10px;
  font-size: clamp(2rem, 8vw, 2.6rem);
  overflow: hidden;
}
.demo-reel.putar { animation: goyang-reel 0.28s linear infinite; }
@keyframes goyang-reel {
  0% { transform: translateY(-8%); }
  50% { transform: translateY(8%); }
  100% { transform: translateY(-8%); }
}
.demo-panel { text-align: center; margin-top: 16px; }
.demo-balance { color: var(--emas-muda); font-size: 0.95rem; margin-bottom: 12px; }
.btn-demo {
  background: linear-gradient(180deg, var(--emas), #DB9C00);
  color: var(--hitam);
  padding: 13px 34px;
}
.btn-demo:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(245, 179, 1, 0.45); }
.demo-note { color: #9AA0AC; font-size: 0.78rem; margin: 12px 0 0; }

/* ----- FAQ ----- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--putih);
  border: 1px solid var(--garis);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(14, 15, 19, 0.05);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emas-lembut);
  color: var(--merah-tua);
  font-weight: 800;
  border-radius: 50%;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--merah); }
.faq-answer { padding: 0 20px 18px; color: var(--abu); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-cta {
  margin-top: 44px;
  text-align: center;
  background: linear-gradient(160deg, var(--hitam), #1D1118);
  color: var(--putih);
  border-radius: var(--radius);
  padding: 36px 26px;
}
.faq-cta h3 { color: var(--emas-muda); }
.faq-cta p { color: #C7CBD6; max-width: 52ch; margin-inline: auto; }
.faq-cta .hero-actions { justify-content: center; }

/* ----- Info box ----- */
.info-box {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--garis);
  background: var(--kertas);
  margin: 30px 0;
}
.info-box h3 { margin-top: 0; }
.info-box p:last-child, .info-box ul:last-child { margin-bottom: 0; }
.box-netral { border-left: 5px solid var(--biru); }
.box-emas { border-left: 5px solid var(--emas); background: var(--emas-lembut); }
.box-biru { border-left: 5px solid var(--biru); background: var(--biru-lembut); }
.box-merah { border-left: 5px solid var(--merah); background: #FBE9EC; }
.box-hijau { border-left: 5px solid var(--hijau); background: var(--hijau-lembut); }

.artikel-meta {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px dashed var(--garis);
  color: var(--abu-muda);
  font-size: 0.82rem;
}
.artikel-meta .dot { margin: 0 4px; }

/* ==========================================================================
   Halaman dalam (kategori / promosi / legal)
   ========================================================================== */
.page-hero {
  color: var(--putih);
  padding-block: clamp(46px, 6vw, 72px) clamp(40px, 5vw, 64px);
  position: relative;
  overflow: clip;
}
.ph-merah { background: radial-gradient(760px 320px at 90% -20%, rgba(245, 179, 1, 0.22), transparent 60%), linear-gradient(160deg, #4A0A15, var(--merah-tua) 55%, #2A0710); }
.ph-hijau { background: radial-gradient(760px 320px at 90% -20%, rgba(245, 179, 1, 0.2), transparent 60%), linear-gradient(160deg, #05391F, var(--hijau) 60%, #032615); }
.ph-biru { background: radial-gradient(760px 320px at 90% -20%, rgba(245, 179, 1, 0.18), transparent 60%), linear-gradient(160deg, #052A55, var(--biru) 60%, #031D3A); }
.ph-emas { background: radial-gradient(760px 320px at 90% -20%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(160deg, #7A5600, var(--emas) 55%, #4A3300); color: var(--hitam); }
.ph-emas h1 { color: var(--hitam); }
.ph-emas .kicker { background: var(--hitam); color: var(--emas); border-color: var(--hitam); }
.page-hero h1 { color: var(--putih); margin-bottom: 14px; }
.page-hero-lead { max-width: 68ch; margin-bottom: 0; color: rgba(255, 255, 255, 0.88); font-size: 1.04rem; }
.ph-emas .page-hero-lead { color: rgba(14, 15, 19, 0.82); }
.page-hero-media { margin: 30px 0 0; max-width: 880px; }
.page-hero-media img { border-radius: var(--radius); box-shadow: var(--bayangan-kuat); border: 1px solid rgba(255, 255, 255, 0.14); }

.promo-hero {
  color: var(--putih);
  padding-block: clamp(46px, 6vw, 72px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(800px 360px at 12% -10%, rgba(200, 16, 46, 0.4), transparent 60%),
    radial-gradient(700px 320px at 95% 10%, rgba(245, 179, 1, 0.24), transparent 60%),
    linear-gradient(165deg, var(--hitam), #1D1118);
  overflow: clip;
}
.promo-hero h1 { color: var(--putih); }
.promo-hero .page-hero-lead { color: #CDD0DA; }
.promo-hero .page-hero-media { margin-top: 28px; }
.promo-hero .page-hero-media img { border: 1px solid rgba(245, 179, 1, 0.4); }

/* ----- Grid kartu promosi ----- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 22px;
  margin: 10px 0 26px;
}
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--putih);
  border: 1px solid var(--garis);
  border-top: 4px solid var(--emas);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  color: var(--hitam);
  box-shadow: var(--bayangan);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--bayangan-kuat); border-top-color: var(--merah); color: var(--hitam); }
.promo-card h3 { margin: 0; font-size: 1.14rem; }
.promo-card p { margin: 0; color: var(--abu); font-size: 0.92rem; flex: 1; }
.promo-tag {
  align-self: flex-start;
  background: var(--emas-lembut);
  border: 1px solid #F0DFAE;
  color: var(--merah-tua);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.promo-link { color: var(--merah); font-weight: 700; font-size: 0.9rem; }

/* ----- Kartu syarat ----- */
.syarat-box {
  background: var(--kertas);
  border: 1px solid var(--garis);
  border-left: 5px solid var(--emas);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin: 26px 0 34px;
}
.syarat-box h3 { margin-top: 0; }
.syarat-note { margin: 14px 0 0; color: var(--abu); font-size: 0.85rem; }
.promo-cta-inline { margin-top: 30px; }

/* ----- Formulir auth ----- */
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}
.auth-card {
  background: var(--putih);
  border: 1px solid var(--garis);
  border-radius: var(--radius);
  box-shadow: var(--bayangan-kuat);
  padding: clamp(22px, 4vw, 38px);
}
.auth-card form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  color: var(--hitam);
  background: var(--kertas);
  border: 1.5px solid var(--garis);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--emas);
  background: var(--putih);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.22);
}
.field-hint { margin: 0; color: var(--abu-muda); font-size: 0.78rem; }
.field-check { display: flex; align-items: flex-start; gap: 10px; }
.field-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--merah); }
.field-check label { font-weight: 500; font-size: 0.88rem; color: var(--abu); }
.form-msg {
  margin: 0;
  padding: 12px 16px;
  background: #FBE9EC;
  border: 1px solid #F1C1CA;
  color: var(--merah-tua);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}
.auth-alt { margin: 4px 0 0; text-align: center; color: var(--abu); font-size: 0.92rem; }
.auth-noscript { text-align: center; color: var(--abu); font-size: 0.85rem; }
.auth-side { display: grid; gap: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--hitam), #101015);
  color: #C3C7D1;
  padding-top: clamp(44px, 6vw, 68px);
  padding-bottom: 76px; /* ruang normal footer; tombol melayang menumpang tanpa spasi ekstra */
  border-top: 3px solid var(--emas);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 44px);
  padding-bottom: 36px;
  border-bottom: 1px solid #26272F;
}
.widget-title {
  color: var(--emas);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.widget p { font-size: 0.9rem; color: #A9AEBB; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.widget ul a { color: #C3C7D1; text-decoration: none; font-size: 0.92rem; }
.widget ul a:hover { color: var(--emas-muda); }
.badge-18 {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--merah);
  color: #FF8DA0;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 8px;
  letter-spacing: 0.06em;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-link {
  display: inline-block;
  padding: 6px 13px;
  background: #1D1E26;
  border: 1px solid #30323D;
  color: #C9CCD6;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.tag-cloud-link:hover { background: var(--emas); color: var(--hitam); border-color: var(--emas); }
.footer-legal { padding-top: 26px; font-size: 0.8rem; color: #8A8F9C; }
.footer-legal p { margin-bottom: 10px; }

/* ==========================================================================
   Tombol melayang gaya mesin slot (tanpa tombol tutup)
   ========================================================================== */
.float-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.float-cta-inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  max-width: min(560px, calc(100% - 16px));
  padding: 10px clamp(12px, 2.5vw, 20px);
  background: linear-gradient(180deg, #1C1D25, #121318);
  border: 1.5px solid var(--emas);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 34px rgba(14, 15, 19, 0.55);
  overflow: hidden;
}
.float-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 60px at 15% 0%, rgba(245, 179, 1, 0.22), transparent 70%),
    radial-gradient(220px 60px at 85% 0%, rgba(200, 16, 46, 0.28), transparent 70%);
  pointer-events: none;
}
.float-reels {
  display: flex;
  gap: 5px;
  padding: 5px;
  background: #0A0B0E;
  border: 1px solid #3A2E12;
  border-radius: 10px;
}
.reel {
  width: 26px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #23242E, #14151B);
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 1;
}
.btn-float {
  position: relative;
  z-index: 2;
  padding: 12px clamp(18px, 4vw, 34px);
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  animation: denyut-cta 2.4s ease-in-out infinite;
}
@keyframes denyut-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(245, 179, 1, 0); }
}
.btn-float-daftar {
  background: linear-gradient(180deg, var(--emas), #DB9C00);
  color: var(--hitam);
}
.btn-float-daftar:hover { color: var(--hitam); transform: translateY(-1px); }
.btn-float-masuk {
  background: linear-gradient(180deg, var(--merah), var(--merah-tua));
  color: var(--putih);
  animation-name: denyut-cta-merah;
}
@keyframes denyut-cta-merah {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(200, 16, 46, 0); }
}
.btn-float-masuk:hover { color: var(--emas-muda); transform: translateY(-1px); }

/* koin emas jatuh */
.coin {
  position: absolute;
  top: -14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FFE9A8, var(--emas) 55%, #B57E00);
  box-shadow: 0 0 8px rgba(245, 179, 1, 0.8);
  opacity: 0;
  pointer-events: none;
  animation: koin-jatuh 3.2s linear infinite;
}
.coin-1 { left: 12%; animation-delay: 0s; }
.coin-2 { left: 50%; animation-delay: 1.1s; animation-duration: 2.7s; }
.coin-3 { left: 84%; animation-delay: 2s; animation-duration: 3.6s; }
@keyframes koin-jatuh {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  12% { opacity: 0.95; }
  80% { opacity: 0.8; }
  100% { transform: translateY(52px) scale(1); opacity: 0; }
}

/* ==========================================================================
   Overlay pencarian
   ========================================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
}
.search-overlay[hidden] { display: none; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 19, 0.72);
  backdrop-filter: blur(3px);
}
.search-panel {
  position: relative;
  max-width: 640px;
  margin: clamp(60px, 12vh, 130px) auto 0;
  background: var(--putih);
  border-radius: var(--radius);
  border-top: 4px solid var(--emas);
  box-shadow: var(--bayangan-kuat);
  margin-inline: auto;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--garis);
  color: var(--abu);
}
.search-field:focus-within { border-bottom-color: var(--emas); }
#search-input {
  flex: 1;
  min-width: 0;
  border: none;
  font: inherit;
  font-size: 1.05rem;
  color: var(--hitam);
  background: transparent;
}
#search-input:focus { outline: none; }
.search-close {
  border: none;
  background: var(--kertas);
  color: var(--abu);
  width: 36px; height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}
.search-close:hover { background: var(--merah); color: var(--putih); }
.search-results { padding: 10px 14px; }
.search-result {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--hitam);
}
.search-result:hover { background: var(--kertas); }
.search-result strong { display: block; font-size: 0.98rem; }
.search-result span { display: block; color: var(--abu); font-size: 0.84rem; margin-top: 2px; }
.search-empty { padding: 18px 16px; color: var(--abu); }
.search-hot { padding: 14px 20px 20px; border-top: 1px solid var(--garis); }
.search-hot-title { margin: 0 0 10px; font-weight: 700; font-size: 0.85rem; color: var(--abu); }
.search-hot .tag-cloud-link { background: var(--kertas); border-color: var(--garis); color: var(--hitam); }
.search-hot .tag-cloud-link:hover { background: var(--emas); color: var(--hitam); border-color: var(--emas); }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-menu a { padding: 9px 9px; font-size: 0.88rem; }
  .tagline { display: none; }
}

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-navigation { margin-left: auto; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #14151B;
    border-bottom: 1px solid rgba(245, 179, 1, 0.3);
    padding: 10px 18px 16px;
    box-shadow: 0 18px 30px rgba(14, 15, 19, 0.5);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 10px; font-size: 1rem; border-radius: 8px; }
  .hero-grid, .split, .demo-box, .auth-grid { grid-template-columns: minmax(0, 1fr); }
  .split-mobile .split-media { order: 2; }
  .split-security .split-media { order: 2; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
}

@media (max-width: 640px) {
  .header-actions .btn { padding: 9px 13px; font-size: 0.8rem; }
  .header-actions .btn-masuk { display: none; } /* tetap tersedia di hero, menu, CTA melayang, footer */
  .header-actions { gap: 7px; }
  .search-toggle { width: 38px; height: 38px; }
  .logo-text { font-size: 1.18rem; }
  .header-inner { gap: 10px; min-height: 64px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .float-cta-inner { gap: 8px; padding: 9px 10px; }
  .float-reels .reel-mid { display: none; }
  .reel { width: 22px; height: 28px; font-size: 0.9rem; }
  .btn-float { padding: 11px 14px; font-size: 0.88rem; }
  .coin { display: none; }
  .demo-reel { font-size: 1.9rem; }
  .search-panel { margin-top: 48px; }
  .faq-cta { padding: 28px 18px; }
  table { min-width: 480px; }
}

/* ----- Gerakan minimal ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .btn-float, .btn-float-masuk { animation: none; }
  .coin { display: none; }
}
