/* HYPED — palet diambil langsung dari logo: lime #ccf60d, blob #1d170d */
:root {
  --lime: #ccf60d;
  --lime-dim: #a3c40a;
  --ink: #0a0a0a;
  --ink-2: #121212;
  --ink-3: #1a1a1a;
  --blob: #1d170d;
  --text: #e8e8e3;
  --muted: #8f8f88;
  --line: #262622;
  --magenta: #ff2fd0;
  --cyan: #29e0ff;
  --bad: #ff5d5d;
  --good: #7dd957;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.mono { font-family: var(--mono); font-size: .92em; }
.dim { color: var(--muted); }
.small { font-size: .85rem; }

/* scanline tipis, jangan sampai mengganggu baca */
.scan {
  position: fixed; inset: 0; z-index: 9; pointer-events: none;
  background: repeating-linear-gradient(
    180deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ───────────────────────── nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); font-weight: 800; letter-spacing: .18em; font-size: .95rem;
}
.brand img { border-radius: 9px; display: block; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: clamp(.7rem, 2vw, 1.6rem); flex-wrap: wrap; }
.nav nav a {
  color: var(--muted); font-size: .88rem; letter-spacing: .04em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.nav nav a:hover { color: var(--lime); border-color: var(--lime); text-decoration: none; }

/* ───────────────────────── hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .5; filter: saturate(1.15);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 8%, rgba(10,10,10,.62) 58%, var(--ink) 100%),
    linear-gradient(180deg, rgba(10,10,10,.35), rgba(10,10,10,.9));
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 940px; margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.2rem, 5vw, 2rem) clamp(3.5rem, 9vh, 6rem);
  text-align: center;
}
.kicker {
  margin: 0 0 1.1rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--lime);
}
.kicker .sep { color: var(--magenta); margin: 0 .35em; }

h1.glitch {
  position: relative;
  margin: 0 0 1.3rem;
  font-size: clamp(2.9rem, 12vw, 7rem);
  font-weight: 900; letter-spacing: -.02em; line-height: .92;
  color: var(--lime);
  text-shadow: 0 0 28px rgba(204,246,13,.4), 0 0 70px rgba(204,246,13,.16);
}
h1.glitch::before, h1.glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  clip-path: inset(0 0 55% 0);
}
h1.glitch::before { color: var(--magenta); animation: gl-a 4.2s steps(1) infinite; }
h1.glitch::after  { color: var(--cyan); clip-path: inset(58% 0 0 0); animation: gl-b 5.6s steps(1) infinite; }
@keyframes gl-a {
  0%,92%,100% { transform: none; opacity: 0; }
  93% { transform: translate(-3px,1px); opacity: .85; }
  96% { transform: translate(2px,-1px); opacity: .6; }
}
@keyframes gl-b {
  0%,89%,100% { transform: none; opacity: 0; }
  90% { transform: translate(3px,-1px); opacity: .8; }
  94% { transform: translate(-2px,1px); opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  h1.glitch::before, h1.glitch::after { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

.lede {
  max-width: 620px; margin: 0 auto 2rem;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: #d6d6cf;
}
.lede strong { color: var(--lime); font-weight: 700; }

.cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .8rem 1.6rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03); color: var(--text);
  font-weight: 650; font-size: .95rem; letter-spacing: .02em;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--lime); text-decoration: none; }
.btn-primary {
  background: var(--lime); color: #10130a; border-color: var(--lime);
  box-shadow: 0 0 34px rgba(204,246,13,.26);
}
.btn-primary:hover { background: #d9ff2a; }
.hero-note { margin: 1.8rem 0 0; font-size: .84rem; color: var(--muted); }

/* ───────────────────────── bands */
.band {
  max-width: 1080px; margin: 0 auto;
  padding: clamp(3.2rem, 9vh, 5.5rem) clamp(1.2rem, 5vw, 2rem);
}
.band.alt {
  max-width: none;
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.band.alt > * { max-width: 1080px; margin-inline: auto; }
.band h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem); font-weight: 850; letter-spacing: -.01em;
}
.band .sub { margin: 0 0 2.4rem; max-width: 660px; color: var(--muted); }

/* ───────────────────────── flow */
.flow {
  list-style: none; margin: 0 0 2.6rem; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  counter-reset: none;
}
.flow li {
  position: relative;
  padding: 1.5rem 1.3rem 1.3rem;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px;
}
.flow li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--lime), transparent);
  border-radius: 14px 0 0 14px;
}
.step {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; margin-bottom: .7rem;
  background: var(--lime); color: #10130a;
  border-radius: 50%; font-weight: 800; font-size: .85rem;
  font-family: var(--mono);
}
.flow h3 { margin: 0 0 .4rem; font-size: 1.06rem; }
.flow p { margin: 0; font-size: .93rem; color: #c6c6bf; }
.flow b { color: var(--lime); }
.flow .mono { color: var(--lime-dim); }

/* ───────────────────────── math strip */
.math {
  padding: 1.6rem clamp(1rem, 3vw, 2rem);
  background: linear-gradient(90deg, rgba(204,246,13,.09), transparent 75%);
  border: 1px solid var(--line); border-left: 3px solid var(--lime);
  border-radius: 12px;
}
.math-row {
  display: flex; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap;
  font-family: var(--mono);
}
.math-row span { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 800; }
.math-row i {
  font-style: normal; font-size: .74rem; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
  margin-left: -.6rem;
}
.math-row .op { color: var(--muted); font-weight: 400; }
.math-row .hl {
  color: var(--lime); text-shadow: 0 0 22px rgba(204,246,13,.45);
}
.math-note { margin: 1rem 0 0; font-size: .87rem; color: var(--muted); }

/* ───────────────────────── cards / grid */
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  padding: 1.3rem;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px;
}
.card h4 {
  margin: 0 0 .6rem;
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); font-weight: 650;
}
.card .big {
  margin: 0 0 .35rem;
  font-family: var(--mono); font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  font-weight: 800; color: var(--lime); line-height: 1.15;
  word-break: break-word;
}
.card .foot { font-size: .78rem; color: var(--muted); }
.warn-card .big { color: var(--text); }
.warn-card h4 {
  color: var(--text); font-size: 1rem; letter-spacing: 0;
  text-transform: none; font-weight: 750;
}
.warn-card p { margin: 0; font-size: .91rem; color: #bdbdb6; }
.warn-card { border-left: 3px solid var(--lime-dim); }

.stamp { margin: 1.4rem 0 0; font-size: .82rem; color: var(--muted); }

.banner-note {
  margin-top: 1.6rem; padding: 1.2rem 1.3rem;
  background: rgba(255,93,93,.07);
  border: 1px solid rgba(255,93,93,.32); border-left: 3px solid var(--bad);
  border-radius: 12px;
}
.banner-note h4 { margin: 0 0 .5rem; font-size: 1rem; color: #ffb3b3; }
.banner-note p { margin: 0; font-size: .9rem; color: #d8c6c6; }

/* ───────────────────────── split section */
.band.split {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: 1.25fr .75fr; align-items: start;
}
.band.split p { color: #c6c6bf; }
.band.split b { color: var(--lime); }
.art img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 16px;
}
.art .cap {
  display: block; margin-top: .7rem;
  font-size: .78rem; color: var(--muted); text-align: center;
}

.tbl {
  width: 100%; margin: 1.2rem 0 1.4rem;
  border-collapse: collapse; font-size: .9rem;
}
.tbl th, .tbl td {
  padding: .6rem .7rem; text-align: left;
  border-bottom: 1px solid var(--line);
}
.tbl th {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 650;
}
.tbl td:last-child { color: var(--muted); font-size: .84rem; }
.bad { color: var(--bad); }
.warn { color: #ffd166; }
.good { color: var(--good); }

/* ───────────────────────── footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 2.8rem clamp(1.2rem, 5vw, 2rem);
  text-align: center;
}
.foot-blob { opacity: .5; margin-bottom: .8rem; }
footer p { margin: 0 auto .8rem; max-width: 640px; font-size: .9rem; }

@media (max-width: 760px) {
  .band.split { grid-template-columns: 1fr; }
  .nav nav a:nth-child(n+4) { display: none; }
  .math-row i { margin-left: 0; }
}
