/* Hero138 Masuk — Varian B + Dark Futuristic | palet banner (gold + merah) */

:root {
  --bg: #0a0506;
  --bg-panel: #12080a;
  --bg-line: #1a0e10;
  --gold: #ffd700;
  --gold-dim: #c9a800;
  --gold-line: rgba(255, 215, 0, 0.35);
  --red: #dc2626;
  --red-deep: #7f1d1d;
  --orange: #ff6b35;
  --text: #faf5f0;
  --muted: #c4a08a;
  --font: "Segoe UI", system-ui, sans-serif;
  --container: 1040px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(90deg, var(--gold-line) 1px, transparent 1px),
    linear-gradient(var(--gold-line) 1px, transparent 1px);
  background-size: 56px 56px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--orange); text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 0.5rem 1rem; background: var(--gold); color: #000; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* Header — menu kiri/kanan (varian B) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(10, 5, 6, 0.94);
  border-bottom: 1px solid var(--gold-line);
  backdrop-filter: blur(8px);
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.35rem 0;
}

.menu-left, .menu-right {
  display: flex;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-left { justify-content: flex-start; }
.menu-right { justify-content: flex-end; }

.menu-left a, .menu-right a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.menu-left a:hover, .menu-right a:hover,
.menu-left a.is-active, .menu-right a.is-active {
  color: var(--gold);
  border-color: var(--gold-line);
}

.brand-logo img {
  height: 34px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.35));
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.header-cta { display: flex; gap: 0.35rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--gold-line);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-fill {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: #000;
  border-color: var(--gold);
}
.btn-fill:hover { filter: brightness(1.08); color: #000; }

.btn-line {
  background: transparent;
  color: var(--gold);
}
.btn-line:hover { background: rgba(255, 215, 0, 0.08); color: var(--gold); }

.menu-toggle {
  display: none;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 1.15rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--gold-line);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 0.6rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-drawer .drawer-cta { display: flex; gap: 0.45rem; margin-top: 0.45rem; }
.nav-drawer .drawer-cta .btn { flex: 1; }

/* Hero banner-first */
.hero {
  padding: 2rem 0 2.5rem;
}

.hero-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-banner {
  border: 1px solid var(--gold-line);
  background: var(--bg-panel);
  overflow: hidden;
  position: relative;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 215, 0, 0.15);
  margin: 6px;
  pointer-events: none;
  z-index: 1;
}

.hero-banner img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-body .hero-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--bg-panel);
}

.hero-body h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-body h1 a { color: var(--gold); }

.hero-lead { margin: 0 0 1.1rem; color: var(--muted); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1rem; }

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-pill {
  padding: 0.35rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--gold-line);
  background: var(--bg-line);
}

/* Sections */
.section { padding: 2.5rem 0; }

.section-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.45rem;
  display: block;
}

.section h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.prose p { margin: 0 0 0.9rem; color: var(--muted); max-width: 40rem; }

.article-grid { max-width: 42rem; }

.article-content {
  border: 1px solid var(--gold-line);
  padding: 1.4rem;
  background: var(--bg-panel);
}

.article-content h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.article-content p { margin: 0 0 0.8rem; font-size: 0.9rem; color: var(--muted); }
.meta { font-size: 0.76rem; color: var(--muted); margin-bottom: 0.75rem; }

/* 4-col benefit strip (varian B) */
.benefit-strip {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--gold-line);
}

.benefit-card {
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--gold-line);
  background: var(--bg-panel);
  position: relative;
}

.benefit-card:last-child { border-bottom: none; }

.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--red));
}

.benefit-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
}

.benefit-card p { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 36rem; }

.faq-item {
  margin-bottom: 0.4rem;
  border: 1px solid var(--gold-line);
  background: var(--bg-panel);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q span { color: var(--gold); font-size: 1.05rem; }
.faq-item.open .faq-q span { transform: rotate(45deg); display: inline-block; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 1rem 0.85rem; font-size: 0.84rem; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--gold-line);
  background: var(--bg-panel);
  padding: 2rem 0 1.2rem;
}

.footer-cols {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
}

.footer-brand img { height: 100px; margin-bottom: 0.5rem; }
.footer-brand p { margin: 0; font-size: 0.82rem; color: var(--muted); max-width: 18rem; }

.footer-nav h4 {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: 0.82rem; color: var(--muted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-line);
  font-size: 0.76rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero-layout { grid-template-columns: 1fr 1fr; }
  .benefit-strip { grid-template-columns: repeat(4, 1fr); }
  .benefit-card { border-bottom: none; border-right: 1px solid var(--gold-line); }
  .benefit-card:last-child { border-right: none; }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .header-bar {
    grid-template-columns: 1fr auto;
  }
  .menu-left, .menu-right, .header-cta { display: none; }
  .header-right { justify-content: flex-end; }
  .menu-toggle { display: block; }
  .brand-logo { grid-column: 1; }
}
