/* Imazo — website styles (Dark Cyberpunk-Anime brand)
   Warna brand: merah #CE1126 · warm white #F4F1EA · near-black #0A0A0A */
:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1E1E1E;
  --border: #2A2A2A;
  --border-red: rgba(206, 17, 38, 0.28);
  --text: #F4F1EA;
  --text-dim: #8A8A8A;
  --red: #CE1126;
  --red-glow: rgba(206, 17, 38, 0.35);
  --max: 1080px;
  --radius: 10px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: 0 0 18px var(--red-glow);
  flex-shrink: 0;
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: 0.3px; color: var(--text); }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(206, 17, 38, 0.14), transparent 70%);
  pointer-events: none;
}
.hero .kanji-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: clamp(220px, 42vw, 460px); font-weight: 800;
  color: rgba(244, 241, 234, 0.03); line-height: 1; z-index: 0;
  user-select: none; pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
  border: 1px solid var(--border-red); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 82px); font-weight: 800; line-height: 1.02;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--red); }
.hero .lead {
  font-size: clamp(16px, 2.4vw, 20px); color: var(--text-dim);
  max-width: 640px; margin: 0 auto 36px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius); font-weight: 700; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 0 26px var(--red-glow); }
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-dim); text-decoration: none; }
.hint { margin-top: 16px; font-size: 13px; color: var(--text-dim); }

/* ── Features ───────────────────────────────────────── */
.section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.6px; }
.section-sub { text-align: center; color: var(--text-dim); max-width: 560px; margin: 0 auto 48px; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--border-red); transform: translateY(-3px); }
.card .ico { font-size: 30px; margin-bottom: 14px; display: block; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* ── Levels strip ───────────────────────────────────── */
.levels { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.lv {
  font-family: "JetBrains Mono", ui-monospace, "Roboto Mono", monospace; font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 6px; border: 1px solid var(--border); color: var(--text);
}
.lv[data-lv="N1"] { border-color: var(--border-red); color: var(--red); }

/* ── CTA band ───────────────────────────────────────── */
.band {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 64px 0;
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer { padding: 44px 0; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); }
.foot-links a:hover { color: var(--text); text-decoration: none; }

/* ── Legal / document pages ─────────────────────────── */
.doc { padding: 56px 0 84px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 8px; }
.doc .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.doc h2 {
  font-size: 21px; font-weight: 700; margin: 40px 0 12px;
  padding-left: 13px; border-left: 3px solid var(--red);
}
.doc h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 8px; }
.doc p, .doc li { color: #cdc9c0; font-size: 15.5px; margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 16px; }
.doc li { margin-bottom: 7px; }
.doc strong { color: var(--text); }
.doc .box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin: 22px 0;
}
.doc a { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 28px; color: var(--text-dim); font-size: 14px; }
.back:hover { color: var(--text); text-decoration: none; }

@media (max-width: 560px) {
  .site-nav { gap: 16px; }
  .hero { padding: 66px 0 58px; }
  .section { padding: 56px 0; }
}
