/* Gaya situs Xilva. Satu berkas, tanpa kerangka kerja, tanpa font dari luar
   — kebijakan privasi berjanji tidak ada permintaan ke pihak ketiga. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-elev: #ffffff;
  --border: #e2e6ee;
  --text: #0f172a;
  --text-muted: #56617a;
  --accent: #1f5fd0;
  --accent-ink: #ffffff;
  --accent-soft: #e8effc;
  --navy-1: #0b1f4b;
  --navy-2: #163a8f;
  --ok: #178a5b;
  --width: 64rem;
  --narrow: 46rem;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --bg-soft: #161a20;
    --bg-elev: #1b2027;
    --border: #2a313b;
    --text: #e8ecf1;
    --text-muted: #9aa5b5;
    --accent: #7fa9f5;
    --accent-ink: #0b1f4b;
    --accent-soft: #1b2a4a;
    --navy-1: #0a162f;
    --navy-2: #123070;
    --ok: #4cc48f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container { max-width: var(--width); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--narrow); }

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

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--bg); border: 2px solid var(--accent);
  border-radius: var(--radius-sm); padding: .5rem .75rem;
}

/* ---------- Kepala halaman ---------- */

.site-header {
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-top: .8rem; padding-bottom: .8rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--text); text-decoration: none;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .95rem; }
.nav a {
  color: var(--text-muted); text-decoration: none;
  padding: .35rem .7rem; border-radius: 999px;
}
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

/* ---------- Isi ---------- */

main { padding: 0 0 4rem; }

h1 { font-size: 2.4rem; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .9rem; }
h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; margin: 3rem 0 1rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
p { margin: 0 0 1rem; }

.lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 40rem; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.breadcrumb { font-size: .875rem; color: var(--text-muted); margin: 1.5rem 0 1rem; }

ul { padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

.section { padding-top: 1rem; }
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3rem 0; margin: 3rem 0;
}
.section-soft h2 { margin-top: 0; }

/* ---------- Tombol ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.15rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: .98rem;
  border: 1px solid transparent; transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-ghost { color: var(--text); border-color: var(--border); background: var(--bg-elev); }
.btn-light { background: #fff; color: var(--navy-1); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 70%, #1f5fd0 100%);
  color: #fff; padding: 4rem 0 3.5rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.82); }
.hero .eyebrow { color: #bcd0ff; }
.hero-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-compact { padding: 3rem 0 2.75rem; }
.hero-compact .hero-inner { grid-template-columns: 1fr auto; }
.hero-mark { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }

/* ---------- Kartu ---------- */

.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem 1.45rem; margin: 1.5rem 0; background: var(--bg-elev);
}
.card h2, .card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-soft { background: var(--bg-soft); }

.grid { display: grid; gap: 1.1rem; margin: 1.5rem 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid .card { margin: 0; }

.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: .9rem;
}
.icon svg { width: 22px; height: 22px; }

.product-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  text-decoration: none; color: inherit; box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card img { width: 64px; height: 64px; border-radius: 16px; }
.product-name { font-size: 1.25rem; font-weight: 700; margin-bottom: .3rem; }
.card-link { color: var(--accent); font-weight: 600; font-size: .95rem; margin-top: .75rem; }
.badge {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .6rem;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-left: .5rem;
  vertical-align: middle;
}

.disclaimer {
  border-left: 3px solid var(--accent); background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1.1rem; margin: 2rem 0; color: var(--text-muted); font-size: .93rem;
}

/* ---------- Perbandingan sebelum/sesudah ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.5rem 0; }
.compare .card { margin: 0; }
.compare .label {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .5rem;
}
.compare .after { border-color: var(--accent); background: var(--accent-soft); }
.compare .after .label { color: var(--accent); }
.big { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: .2rem 0 .5rem; }

/* ---------- Daftar kemampuan ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin: 1.25rem 0; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .95rem 1.05rem; background: var(--bg-elev);
}
.feature .icon { width: 36px; height: 36px; border-radius: 10px; margin: 0; }
.feature .icon svg { width: 18px; height: 18px; }
.feature b { display: block; font-weight: 600; margin-bottom: .15rem; }
.feature span { color: var(--text-muted); font-size: .92rem; }

/* ---------- Langkah ---------- */

.steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.steps li { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: var(--bg-elev); }
.steps .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .9rem; margin-bottom: .7rem;
}
.steps b { display: block; margin-bottom: .25rem; }
.steps span { color: var(--text-muted); font-size: .93rem; }

/* ---------- Kontak ---------- */

.contact-card { text-align: left; }
.contact-card .email { font-size: 1.15rem; font-weight: 700; word-break: break-all; }

/* ---------- Kaki halaman ---------- */

.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  padding: 2.5rem 0 2.5rem; font-size: .92rem; color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.site-footer p { margin: 0 0 .6rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0; }
.footer-nav a { color: var(--text-muted); }
.footer-bottom { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .85rem; }

/* ---------- Layar kecil ---------- */

@media (max-width: 52rem) {
  .hero-inner, .hero-compact .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 26rem; margin: 0 auto; }
  .grid-3, .grid-2, .feature-grid, .steps, .compare, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 30rem) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  .hero { padding: 2.75rem 0 2.5rem; }
  .product-card { grid-template-columns: 1fr; }
}
