/* Pahlawan4d reelionclean.com — Varian H + Gradient Mesh (redesign) */

:root {
  --bg: #120408;
  --bg-mid: #1e0810;
  --bg-card: rgba(42, 12, 18, 0.88);
  --red: #c62828;
  --red-soft: #ef5350;
  --gold: #ffc107;
  --gold-light: #ffe082;
  --coral: #ff7043;
  --text: #fff5f2;
  --muted: #d4b8b0;
  --radius: 14px;
  --radius-pill: 999px;
  --container: 980px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 15% 25%, rgba(198, 40, 40, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(255, 193, 7, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 70% 85%, rgba(255, 112, 67, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 40% 35% at 25% 75%, rgba(139, 21, 32, 0.3) 0%, transparent 48%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-mid) 55%, #0d0306 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--gold); }

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

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

.skip-link:focus { left: 0.75rem; top: 0.75rem; }

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

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: currentColor;
}

.ico--sm { width: 1em; height: 1em; }
.ico--btn { width: 0.95em; height: 0.95em; }

/* Mesh card — tanpa clip-path */
.mesh-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 193, 7, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
}

/* Header + floating pill nav — variant H */
.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  padding: 0.65rem 0;
  background: rgba(18, 4, 8, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-mark img {
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.pill-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  background: rgba(30, 8, 12, 0.75);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 193, 7, 0.12);
}

.pill-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.75rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.pill-nav a:hover {
  color: var(--text);
  background: rgba(255, 193, 7, 0.1);
}

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

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(42, 12, 18, 0.9);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 10px;
  color: var(--gold);
  cursor: pointer;
}

.menu-toggle .ico-close { display: none; }
.menu-toggle.is-open .ico-menu { display: none; }
.menu-toggle.is-open .ico-close { display: block; }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 58px 0 auto 0;
  z-index: 350;
  background: rgba(18, 4, 8, 0.97);
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.mobile-drawer.is-open { display: block; }

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  border-radius: 10px;
  background: rgba(42, 12, 18, 0.7);
  border: 1px solid rgba(255, 193, 7, 0.1);
}

@media (min-width: 880px) {
  .pill-nav { display: flex; }
  .menu-toggle,
  .mobile-drawer { display: none !important; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.52rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.12s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn-mesh {
  color: #1a0508;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--coral) 100%);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.25);
}

.btn-mesh:hover { color: #1a0508; }

.btn-ghost {
  color: var(--gold-light);
  background: transparent;
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.btn-ghost:hover { background: rgba(255, 193, 7, 0.08); }

.btn-lg { padding: 0.72rem 1.4rem; font-size: 0.74rem; }

/* Hero — teks kiri, banner kanan */
.offset-hero {
  padding: 2rem 0 2.5rem;
}

.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-text { order: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  background: rgba(198, 40, 40, 0.35);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 193, 7, 0.25);
}

.hero-text h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  line-height: 1.14;
  font-weight: 800;
}

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

.hero-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-visual {
  order: 1;
  justify-self: center;
  width: min(100%, 420px);
  padding: 0.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, rgba(255, 193, 7, 0.25), rgba(198, 40, 40, 0.2));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-visual img {
  border-radius: var(--radius);
}

.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgba(42, 12, 18, 0.75);
  border: 1px solid rgba(255, 193, 7, 0.15);
}

.stat-chip .ico { color: var(--gold); }

@media (min-width: 760px) {
  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-text { order: 1; }
  .hero-visual { order: 2; justify-self: end; }
}

/* Diagonal section — variant H */
.section {
  padding: 2.5rem 0;
}

.section--slant {
  margin-top: -1px;
  padding-top: 3rem;
  padding-bottom: 3rem;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  background: rgba(30, 8, 12, 0.55);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.55rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 800;
}

.prose-panel { padding: 1.4rem 1.35rem; }
.prose-panel p { margin: 0 0 0.85rem; color: var(--muted); }
.prose-panel p:last-child { margin-bottom: 0; }

.article-panel { padding: 1.4rem 1.35rem; }

.article-panel .meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.article-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.15rem 0 0.5rem;
  font-size: 0.96rem;
  color: var(--gold);
}

.article-panel p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.article-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 193, 7, 0.12);
  font-size: 0.9rem;
}

/* Tab benefits — variant H */
.tab-benefits { margin-top: 0.5rem; }

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(42, 12, 18, 0.6);
  border: 1px solid rgba(255, 193, 7, 0.12);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.is-active {
  color: #1a0508;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
}

.tab-panel {
  display: none;
  padding: 1.35rem 1.3rem;
}

.tab-panel.is-active { display: block; }

.tab-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--gold-light);
}

.tab-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* FAQ — grid 2 kolom */
.faq-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

.faq-item { overflow: hidden; }

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

.faq-q-text {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.faq-toggle .ico {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle .ico { transform: rotate(45deg); }

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

.faq-a-inner {
  padding: 0 1.1rem 0.95rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.25rem;
  border-top: 1px solid rgba(255, 193, 7, 0.1);
  background: rgba(18, 4, 8, 0.65);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.footer-brand img {
  height: 28px;
  width: auto;
  max-width: 160px;
  margin-bottom: 0.55rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 24rem;
}

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

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

.footer-nav li { margin-bottom: 0.25rem; }

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-end {
  margin-top: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(198, 40, 40, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
}

@media (min-width: 680px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
