/* Zephyr website — palet harfiah dari src/styles/theme.css Zephyr */

:root {
  --bg:            #0d1117;
  --surface:       #161b22;
  --surface-2:     #1c2128;
  --surface-3:     #21262d;
  --border:        #30363d;
  --border-strong: #5e6773;
  --text:          #e6edf3;
  --text-secondary:#8b949e;
  --text-muted:    #7b838f;
  --accent:        #3884ff;
  --accent-hover:  #4c93ff;
  --danger:        #f85149;
  --warning:       #d29922;
  --success:       #3fb950;
  --font-ui:  system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: Consolas, "Cascadia Code", "Cascadia Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
}

img { max-width: 100%; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.site-header.is-sticky { border-bottom-color: var(--border-strong); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; color: var(--text); }

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  font-size: 13px;
  color: var(--text-secondary);
}
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  gap: 44px;
}

.hero-logo { flex-shrink: 0; }

.hero-text { min-width: 0; }

.hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
}

.hero h1 .accent { color: var(--accent); }

.lead {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: 15px;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.btn:hover {
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
}

.badge-version {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 4px 9px;
}

.hero-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 11px;
}

/* ── Section umum ───────────────────────────────────────── */
section { padding: 56px 0 8px; }

.sec-title {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ── Fitur ──────────────────────────────────────────────── */
.fitur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fitur-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fitur-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.fitur-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fitur-head svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
  flex-shrink: 0;
}

.fitur-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.fitur-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── Strip angka ────────────────────────────────────────── */
.angka-strip {
  margin-top: 48px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 24px 16px;
  gap: 16px;
}

.angka-blok .angka {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.angka-blok .angka-label {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── Screenshot ─────────────────────────────────────────── */
.screenshot-fig {
  max-width: 900px;
  margin: 36px auto 0;
}

.screenshot-fig img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.screenshot-fig figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.shot-dua {
  margin-top: 20px;
}

/* ── Instal ─────────────────────────────────────────────── */
.instal-intro {
  margin: 0 0 24px;
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: 14px;
}

.step {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.step-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  width: 22px;
  text-align: right;
}

.step-body {
  min-width: 0;
  font-size: 14px;
}

.step-body strong { display: block; margin-bottom: 4px; }

.step-body p { margin: 4px 0 0; color: var(--text-secondary); }

.codeblock {
  margin: 10px 0 4px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  overflow-x: auto;
  white-space: nowrap;
}

.code-inline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text);
  white-space: nowrap;
}

.catatan {
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.catatan h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.catatan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.catatan li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.catatan li svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  margin-bottom: 8px;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.faq-q:hover { color: var(--accent); }

.faq-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  font-size: 12px;
}

.faq-item.open .faq-arrow { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a-inner {
  padding: 0 16px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-a-inner code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-links { display: flex; gap: 16px; }

.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--text); }

.footer-tagline {
  max-width: 1080px;
  margin: 12px auto 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-note {
  max-width: 1080px;
  margin: 4px auto 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Responsif ──────────────────────────────────────────── */
@media (max-width: 800px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-logo { width: 64px; height: 64px; }
  .hero h1 { font-size: 28px; }
  .fitur-grid { grid-template-columns: repeat(2, 1fr); }
  .angka-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .hero-inner { padding: 32px 20px; }
  .hero-logo { width: 48px; height: 48px; }
  .hero h1 { font-size: 24px; }
  .fitur-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0 16px; }
  .site-nav { gap: 14px; }
  .container { padding: 0 16px; }
}
