:root {
  --bg: #674b24;
  --bg-deep: #020306;
  --surface: #0d0f15;
  --surface-2: #14171f;
  --text: #fdfbf2;
  --muted: #b9b09a;

  --gold: #ff9d00;
  --gold-hot: #ffbb3d;
  --gold-deep: #b8860b;
  --yellow: #ff8000;
  --gold-soft: #f7b748;

  --line: rgba(255, 196, 0, 0.28);
  --glow: 0 0 26px rgba(255, 196, 0, 0.35);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --max: 1180px;

  --rain-speed-near: 0.55s;
  --rain-speed-far: 1.1s;
  --rain-tilt: 14deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 78% -10%, rgba(255, 196, 0, 0.16), transparent 55%),
    radial-gradient(ellipse at 8% 110%, rgba(184, 134, 11, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html::before,
html::after {
  content: "";
  position: fixed;
  inset: -30vh -30vw;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

html::before {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 46px,
    rgba(255, 223, 61, 0.30) 46px 47px,
    transparent 47px 94px
  );
  -webkit-mask-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0 34px,
    rgba(0, 0, 0, 0.85) 74px,
    rgba(0, 0, 0, 0) 96px
  );
  mask-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0 34px,
    rgba(0, 0, 0, 0.85) 74px,
    rgba(0, 0, 0, 0) 96px
  );
  opacity: 0.5;
  animation: rain-fall var(--rain-speed-far) linear infinite;
  --rain-shift: 96px;
}

html::after {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 88px,
    rgba(255, 242, 0, 0.55) 88px 90px,
    transparent 90px 176px
  );
  -webkit-mask-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0 60px,
    rgba(0, 0, 0, 1) 118px,
    rgba(0, 0, 0, 0) 150px
  );
  mask-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0 60px,
    rgba(0, 0, 0, 1) 118px,
    rgba(0, 0, 0, 0) 150px
  );
  opacity: 0.42;
  filter: drop-shadow(0 0 6px rgba(255, 196, 0, 0.55));
  animation: rain-fall var(--rain-speed-near) linear infinite;
  --rain-shift: 150px;
}

@keyframes rain-fall {
  from { transform: rotate(var(--rain-tilt)) translate3d(0, 0, 0); }
  to   { transform: rotate(var(--rain-tilt)) translate3d(0, var(--rain-shift), 0); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-color: rgba(255, 246, 190, 0.10);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 190'%3E%3Cpath d='M74 0 L16 92 L52 92 L34 190 L108 74 L68 74 Z' fill='%23fffbe0'/%3E%3C/svg%3E"),
    radial-gradient(circle at 72% 4%, rgba(255, 250, 214, 0.55), transparent 42%),
    radial-gradient(circle at 20% 0%, rgba(255, 210, 60, 0.28), transparent 48%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 70% -4%, center, center;
  background-size: clamp(90px, 16vw, 190px) auto, auto, auto;
  filter: drop-shadow(0 0 30px rgba(255, 240, 150, 0.85));
  animation: lightning 11s linear infinite;
}

@keyframes lightning {
  0%, 6% { opacity: 0; }
  6.4%   { opacity: 0.85; }
  7.0%   { opacity: 0.08; }
  7.6%   { opacity: 1; }
  8.6%   { opacity: 0; }
  38%    { opacity: 0; }
  38.5%  { opacity: 0.6; }
  39.2%  { opacity: 0.05; }
  39.8%  { opacity: 0.75; }
  41%    { opacity: 0; }
  100%   { opacity: 0; }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 42%, rgba(0, 0, 0, 0.62) 100%);
}

main, section, footer, .noscript-note, .hero, .container { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section-pad { padding: 72px 0; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--yellow);
  color: #100c00;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 196, 0, 0.18);
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 223, 61, 0.08), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand img { width: 118px; filter: drop-shadow(0 0 12px rgba(255, 196, 0, 0.4)); }
.header-actions { display: flex; gap: 8px; }

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.btn-primary {
  color: #140f00;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: 0 0 0 1px rgba(255, 242, 0, 0.5), 0 14px 34px rgba(255, 196, 0, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px var(--yellow), 0 0 34px rgba(255, 223, 61, 0.55), 0 16px 38px rgba(255, 196, 0, 0.32);
}

.btn-secondary {
  color: var(--gold-hot);
  border-color: rgba(255, 196, 0, 0.55);
  background: rgba(255, 196, 0, 0.08);
}
.btn-secondary:hover {
  border-color: var(--yellow);
  background: rgba(255, 196, 0, 0.16);
  box-shadow: var(--glow);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: rgba(255, 223, 61, 0.5); color: var(--gold-hot); }

.btn-sm { min-height: 40px; padding-inline: 14px; font-size: .84rem; }
.btn-block { width: 100%; }

.hero { padding-top: 52px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-hot);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-shadow: 0 0 18px rgba(255, 196, 0, 0.5);
}

h1, h2, h3 { margin-top: 0; line-height: 1.1; }

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 11vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #fffdf0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 255, 254, 0.35));
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  letter-spacing: -.035em;
  color: #ffffff;
}
h3 { margin-bottom: 10px; font-size: 1.15rem; color: var(--gold-hot); }

.hero-subtitle, .section-heading p, .card p, .footer-brand p, .responsible-note { color: var(--muted); }
.hero-subtitle { max-width: 680px; margin: 0; font-size: 1.03rem; }
.hero-cta { display: grid; gap: 10px; margin-top: 26px; }
.responsible-note { margin: 18px 0 0; font-size: .84rem; }

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, #12141b, #08090d);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 223, 61, 0.08);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(255, 196, 0, 0.16);
}

.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading > p:last-child { margin-bottom: 0; }

.category-grid, .benefit-grid { display: grid; gap: 14px; }

.card, .form-card {
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(13, 15, 21, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.card { padding: 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.card:hover {
  border-color: rgba(255, 223, 61, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), var(--glow);
}
.category-placeholder { border-style: dashed; border-color: rgba(255, 196, 0, 0.35); }

.icon-badge, .feature-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 197, 6, 0.9);
  border-radius: 12px;
  color: #140f00;
  background: #6f591f;
  box-shadow: 0 0 22px rgba(250, 250, 250, 0.3);
  font-weight: 900;
}
.feature-mark { font-size: .76rem; }
.card p { margin: 0; }

.account {
  border-top: 1px solid rgba(255, 196, 0, 0.14);
  background: linear-gradient(180deg, rgba(255, 196, 0, 0.05), transparent 60%);
}
.form-grid { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.form-card { padding: 22px; }
.form-heading { margin-bottom: 20px; }
.form-kicker { color: var(--gold-hot); font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.form-card form { display: grid; gap: 10px; }
.form-card label { margin-top: 5px; color: #f3ecd8; font-weight: 800; font-size: .9rem; }

.form-card input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 12px;
  background: #090b10;
  color: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-card input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 242, 0, 0.18);
}
.form-card input::placeholder { color: #7d7663; }
.form-error { margin: -2px 0 2px; color: #ffb4a2; font-size: .85rem; }

.site-footer {
  border-top: 1px solid rgba(255, 196, 0, 0.16);
  background: rgba(3, 4, 8, 0.88);
  padding: 42px 0 24px;
}
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 126px; margin-bottom: 14px; }
.footer-brand p { max-width: 590px; margin: 0; font-size: .9rem; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #ded6c2; text-decoration: none; transition: color .18s ease; }
.footer-links a:hover { color: var(--gold-hot); text-shadow: 0 0 14px rgba(255, 196, 0, 0.5); }
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8d866f;
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }

.noscript-note {
  padding: 12px 16px;
  background: linear-gradient(90deg, #3a2d00, #241c00);
  border-bottom: 1px solid rgba(255, 196, 0, 0.3);
  color: #ffe98a;
  text-align: center;
  font-size: .9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 620px) {
  .container { width: min(100% - 48px, var(--max)); }
  .brand img { width: 145px; }
  .hero-cta { display: flex; flex-wrap: wrap; }
  .category-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 28px; }
}

@media (min-width: 900px) {
  .section-pad { padding: 96px 0; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 58px; }
  .hero-copy { padding-block: 24px; }
  .benefit-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .benefit-grid .card { padding: 20px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr .6fr; align-items: start; }
}

/* Hujan lebih ringan di layar kecil supaya hemat baterai & tetap terbaca */
@media (max-width: 619px) {
  html::before { opacity: 0.3; }
  html::after { opacity: 0.28; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html::before { opacity: 0.18; }
  html::after { opacity: 0.14; }
  body::before { opacity: 0; }
}