/* ===== Warna: mode terang ===== */
:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-light: #dbeafe;
  --blue-soft: #eff6ff;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #eff6ff;
  --text: #0f172a;
  --body-text: #334155;
  --muted: #475569;
  --heading: #1e3a8a;
  --link: #1d4ed8;
  --border: #e2e8f0;
  --header-bg: rgba(255,255,255,.95);
  --shadow: 0 10px 30px rgba(29,78,216,.12);
  --footer-bg: #0b1b4d;
  --cta-bg: #1e3a8a;
  --radius: 14px;
  color-scheme: light;
}

/* ===== Warna: mode gelap ===== */
:root[data-theme="dark"] {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #1e3a8a;
  --blue-soft: #172554;
  --bg: #0b1220;
  --surface: #111a2e;
  --surface-alt: #0e1628;
  --text: #e2e8f0;
  --body-text: #cbd5e1;
  --muted: #94a3b8;
  --heading: #93c5fd;
  --link: #60a5fa;
  --border: #1f2a44;
  --header-bg: rgba(11,18,32,.92);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --footer-bg: #070d1a;
  --cta-bg: #172554;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-light: #1e3a8a;
    --blue-soft: #172554;
    --bg: #0b1220;
    --surface: #111a2e;
    --surface-alt: #0e1628;
    --text: #e2e8f0;
    --body-text: #cbd5e1;
    --muted: #94a3b8;
    --heading: #93c5fd;
    --link: #60a5fa;
    --border: #1f2a44;
    --header-bg: rgba(11,18,32,.92);
    --shadow: 0 10px 30px rgba(0,0,0,.45);
    --footer-bg: #070d1a;
    --cta-bg: #172554;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background .25s, color .25s;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--heading); letter-spacing: .5px; }
.logo span { color: var(--blue); }
.logo:hover { text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 24px; list-style: none; order: -1; margin-right: 8px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--link); text-decoration: none; }

.theme-btn {
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  display: grid; place-items: center;
}
.theme-btn:hover { border-color: var(--blue); color: var(--blue); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 16px; }
}

/* ===== Tombol ===== */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer;
  transition: .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #eff6ff; color: #1d4ed8; }
.btn-light:hover { background: #dbeafe; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8 60%, #3b82f6);
  color: #fff; padding: 80px 0 90px;
}
:root[data-theme="dark"] .hero { background: linear-gradient(135deg, #0b1b4d, #1e3a8a 60%, #1d4ed8); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero { background: linear-gradient(135deg, #0b1b4d, #1e3a8a 60%, #1d4ed8); }
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 1.1rem; max-width: 620px; opacity: .92; margin-bottom: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Section ===== */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--heading); }
.section-title p { color: var(--muted); margin-top: 6px; }
.alt { background: var(--surface-alt); }

/* ===== Produk ===== */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; transition: .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-light); margin-bottom: 16px;
}
.badge img { width: 28px; height: 28px; display: block; }
.b-telegram { background: #26a5e4; }
.b-netflix  { background: #e50914; }
.b-spotify  { background: #1db954; }
.b-openai   { background: #10a37f; }
.b-x        { background: #000000; border: 1px solid #2a2a2a; }
.b-viu      { background: #ffbf00; }
.b-viu img  { width: 40px; height: 40px; }
.b-star     { background: linear-gradient(135deg, #f7b500, #ff8a00); }
.b-youtube  { background: #ff0000; }
.b-iqiyi    { background: #00be06; }
.b-canva    { background: linear-gradient(135deg, #00c4cc, #7d2ae8); }
.b-disney   { background: linear-gradient(135deg, #0b1a4a, #1641c7); }
.b-iqiyi img, .b-disney img { width: 44px; height: 44px; }
.card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.card .desc { color: var(--muted); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.price { font-size: .85rem; color: var(--muted); }
.price strong { display: block; font-size: 1.35rem; color: var(--link); }
.card .btn { margin-top: 16px; text-align: center; }

/* ===== Langkah order ===== */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.step .num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ===== Keunggulan ===== */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature h3 { color: var(--heading); font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .92rem; }

/* ===== CTA ===== */
.cta { background: var(--cta-bg); color: #fff; text-align: center; border-radius: var(--radius); padding: 48px 24px; }
.cta h2 { margin-bottom: 10px; }
.cta p { opacity: .9; margin-bottom: 24px; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ===== Halaman isi ===== */
.page-head { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); color: #fff; padding: 48px 0; }
:root[data-theme="dark"] .page-head { background: linear-gradient(135deg, #0b1b4d, #1e3a8a); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-head { background: linear-gradient(135deg, #0b1b4d, #1e3a8a); }
}
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.page-head p { opacity: .9; margin-top: 6px; }
.content { max-width: 800px; }
.content h2 { color: var(--heading); font-size: 1.25rem; margin: 28px 0 10px; }
.content p, .content li { color: var(--body-text); margin-bottom: 10px; }
.content ol, .content ul { padding-left: 22px; margin-bottom: 12px; }
.content .note { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 8px; margin: 18px 0; color: var(--body-text); }

/* ===== Kontak ===== */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { color: var(--heading); margin-bottom: 6px; }
.contact-card p { color: var(--muted); margin-bottom: 14px; word-break: break-word; }

/* ===== Footer ===== */
footer { background: var(--footer-bg); color: #cbd5e1; padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer h4 { color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; word-break: break-word; }
footer a { color: #cbd5e1; }
footer a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; text-align: center; font-size: .85rem; }
