﻿/* ==========================================================================
   Tema terang "Biru Tepercaya" — situs review & panduan APK Android Indonesia
   Font: Plus Jakarta Sans (judul) + Inter (teks), dimuat lewat <link> di HTML
   ========================================================================== */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-digit: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Palet utama */
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-soft: #eff6ff;
  --brand-tint: #dbeafe;
  --brand-line: #bfdbfe;
  --amber: #f59e0b;
  --amber-ink: #b45309;
  --amber-soft: #fffbeb;
  --star: #d97706;
  --star-empty: #7d8ca3;
  --green: #15803d;
  --green-soft: #f0fdf4;
  --green-line: #bbf7d0;
  --red: #b91c1c;
  --red-soft: #fef2f2;
  --red-line: #fecaca;

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #475569;
  --muted-2: #5b6b82;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* Alias variabel lama yang masih dipakai inline di halaman */
  --white: var(--ink);
  --dark-900: var(--ink);
  --dark-800: var(--ink-2);
  --slate-300: var(--ink-2);
  --slate-400: var(--muted-2);
  --slate-500: var(--muted);
  --slate-600: var(--ink-2);
  --primary-600: var(--brand);
  --secondary-600: var(--brand-hover);
  --accent-500: var(--amber);
  --warning-500: var(--amber);
  --success-500: var(--green);
  --danger-500: var(--red);

  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 1px 3px rgba(15, 23, 42, 0.06), 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, table {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a:hover { color: var(--brand-hover); }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.35);
  outline-offset: 2px;
}

::selection {
  background: var(--brand-tint);
  color: var(--ink);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.08em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Progress scroll (disisipkan oleh main.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 400;
  background: var(--brand);
  pointer-events: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08); }
.site-header .container { width: min(100% - 1.5rem, 1380px); }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.brand-logo:hover { color: var(--ink); }
.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.brand-name {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
  margin: 0 0.4rem;
}
@media (min-width: 1200px) {
  .main-nav { display: flex; }
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-link.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  background: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-cta:hover {
  color: #fff;
  background: var(--brand-hover);
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0.65rem 0.6rem;
}
@media (min-width: 1200px) {
  .hamburger-btn { display: none; }
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Drawer mobile */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86%, 330px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.drawer-head span {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}
.drawer-close {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.drawer-links a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--ink-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
}
.drawer-links a:hover,
.drawer-links a.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Pita info berjalan (disisipkan oleh main.js) */
.neon-ticker {
  position: relative;
  overflow: hidden;
  background: var(--brand-soft);
  border-bottom: 1px solid var(--brand-line);
}
.neon-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 60s linear infinite;
}
.neon-ticker:hover .neon-ticker-track { animation-play-state: paused; }
.neon-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.neon-ticker-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--brand-hover);
  padding: 0.45rem 1.1rem;
  white-space: nowrap;
}
.neon-ticker-item::after {
  content: '•';
  margin-left: 2.2rem;
  color: var(--amber);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3rem 0 5.5rem;
  color: var(--ink);
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--brand-line);
  color: var(--brand-hover);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.8rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}
.btn-primary:hover {
  color: #fff;
  background: var(--brand-hover);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.3);
}
.btn-outline {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--brand-line);
}
.btn-outline:hover {
  color: var(--brand-hover);
  background: var(--brand-soft);
  border-color: var(--brand);
}

/* Statistik hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.stat-item {
  padding: 0.9rem 0.75rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.stat-item b {
  display: block;
  font-family: var(--font-digit);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--brand);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stat-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted-2);
  line-height: 1.4;
}

/* Kartu visual hero */
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-card {
  width: min(100%, 24rem);
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-card figure.square-figure,
.hero-card figure {
  margin: 0;
  max-width: none;
  width: 100%;
}
.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--surface-2);
}
.hero-card-meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-card-meta strong { color: var(--ink); }
.hero-card-rating {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber-ink);
  white-space: nowrap;
}
.hero-card-rating a { color: var(--ink-2); font-weight: 600; }
.hero-card-rating a:hover { color: var(--brand); }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  position: relative;
  z-index: 5;
  margin-top: -2.8rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 860px) {
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-box:nth-child(2n) { border-right: none; }
.trust-box:nth-last-child(-n+2) { border-bottom: none; }
@media (min-width: 860px) {
  .trust-box { border-bottom: none; }
  .trust-box:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust-box:last-child { border-right: none; }
}
.trust-icon {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border-radius: 10px;
  background: var(--brand-soft);
}
.trust-info { min-width: 0; }
.trust-info b {
  display: block;
  font-family: var(--font-digit);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  word-break: break-word;
}
.trust-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* ==========================================================================
   KONTEN UTAMA
   ========================================================================== */
.main-content {
  position: relative;
  padding: 2.5rem 0 4.5rem;
  counter-reset: stage;
}

/* Breadcrumb */
.breadcrumb-nav { margin: 0 0 1.4rem; font-size: 0.88rem; color: var(--muted-2); }
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb-nav li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line-strong); }
.breadcrumb-nav a { color: var(--brand); }
.breadcrumb-nav [aria-current="page"] { color: var(--ink-2); font-weight: 500; }

/* Kartu penulis */
.author-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  padding: 1.6rem;
  margin-bottom: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.author-card::after {
  content: 'Penulis terverifikasi';
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .author-card {
    flex-direction: row;
    gap: 1.8rem;
    padding: 1.9rem 2rem;
  }
}
.author-avatar {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--brand-line) !important;
}
.author-body h3,
.author-body .author-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.author-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.author-bio {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* Panel section */
.content-block-section,
.faq-group-section {
  position: relative;
  padding: 2.4rem 2.2rem;
  margin-bottom: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.prose .content-block-section { margin-bottom: 2.2rem; }

/* Judul section dengan nomor urut */
.section-intro-bar {
  counter-increment: stage;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.2rem;
  row-gap: 0.3rem;
  align-items: start;
  margin-bottom: 1.8rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.section-intro-bar::before {
  content: counter(stage, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-digit);
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.section-intro-bar > * { grid-column: 2; min-width: 0; }

.section-badge-pill,
.section-tag-badge,
.faq-group-badge {
  justify-self: start;
  display: inline-block;
  width: fit-content;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-ink);
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.faq-group-badge { margin-bottom: 0.6rem; }
.section-main-h2,
.section-intro-bar h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0.3rem 0 0.15rem;
}
.section-subtitle-text,
.section-intro-bar p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   PROSE
   ========================================================================== */
.prose { width: 100%; }
.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 0.8rem;
}
.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.7rem 0 0.6rem;
}
.prose p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.prose .section-intro-bar h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  line-height: 1.25;
  margin: 0.3rem 0 0.15rem;
}
.prose .section-intro-bar p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}
.prose .summary-dark-callout h3,
.prose .summary-dark-callout h4,
.prose .finding-card h3,
.prose .vs-box h3,
.prose .recommend-box h3 { margin-top: 0; }
.prose .faq-group-title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 0 0 0.4rem;
}
.prose .faq-group-desc { font-size: 1rem; color: var(--muted); margin: 0; }
.prose .security-audit-info h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.prose .security-audit-info p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.prose .server-title { margin: 0 0 0.3rem; }
.prose .reviewer-meta h3 { font-size: 1.02rem; margin: 0 0 0.15rem; line-height: 1.3; }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose a.btn { text-decoration: none; }
.prose ul:not([class]),
.prose ol:not([class]) { margin: 0.9rem 0 1.4rem; }
.prose ol:not([class]) { padding-left: 1.5rem; }
.prose ol:not([class]) li::marker { color: var(--brand); font-weight: 700; }
.prose ul:not([class]) { list-style: none; }
.prose ul:not([class]) > li {
  position: relative;
  padding-left: 1.3rem;
}
.prose ul:not([class]) > li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.prose li {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.45rem;
}
.prose strong { color: var(--ink); }

figure.square-figure,
.prose figure {
  margin: 2rem auto;
  text-align: center;
  max-width: 520px;
  width: 100%;
}
figure.square-figure img,
.prose figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
  display: block;
  margin: 0 auto;
}
figure.figure-wide { max-width: 820px; }
figcaption {
  font-size: 0.86rem;
  color: var(--muted-2);
  margin-top: 0.75rem;
  text-align: center;
  line-height: 1.6;
}

/* Alert */
.alert-box {
  display: block;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  border-left-width: 4px;
  color: var(--ink-2);
  background: var(--surface-2);
}
.alert-box:has(> div:first-child + div) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.alert-box h4,
.alert-box .alert-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.alert-box p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}
.alert-info { background: var(--brand-soft); border-color: var(--brand-line); border-left-color: var(--brand); }
.alert-info h4, .alert-info .alert-title { color: var(--brand-hover); }
.alert-success { background: var(--green-soft); border-color: var(--green-line); border-left-color: var(--green); }
.alert-success h4, .alert-success .alert-title { color: var(--green); }
.alert-warning { background: var(--amber-soft); border-color: #fde68a; border-left-color: var(--amber); }
.alert-warning h4, .alert-warning .alert-title { color: var(--amber-ink); }
.alert-danger { background: var(--red-soft); border-color: var(--red-line); border-left-color: var(--red); }
.alert-danger h4, .alert-danger .alert-title { color: var(--red); }

/* Kotak kode / hash */
.code-box {
  position: relative;
  margin: 1.4rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  word-break: break-all;
}
.code-box-title,
.code-title,
.code-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.45rem;
}
.code-box-hash,
.code-text {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
}

.hash-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hash-copy-btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.hash-copy-btn.is-copied { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }

/* Tabel */
.table-card {
  margin: 1.5rem 0;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.modern-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.modern-table thead { background: var(--surface-2); }
.modern-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.modern-table td {
  padding: 0.85rem 1rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.modern-table td strong { color: var(--ink); }
.modern-table tbody tr:last-child td { border-bottom: none; }
.modern-table tbody tr:nth-child(even) { background: #fbfcfe; }
.modern-table tbody tr:hover { background: var(--brand-soft); }

.tag-good { color: var(--green); font-weight: 700; }
.tag-bad { color: var(--red); font-weight: 700; }
.tag-warn { color: var(--amber-ink); font-weight: 700; }

/* ==========================================================================
   KARTU TEMUAN (3 kolom)
   ========================================================================== */
.findings-grid-3 {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
@media (min-width: 860px) {
  .findings-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.finding-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.finding-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.finding-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--brand-soft);
}
.finding-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.finding-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.9rem;
  flex: 1;
}
.finding-card p strong { color: var(--ink); }

/* ==========================================================================
   STATISTIK
   ========================================================================== */
.stats-4grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0 1.8rem;
}
@media (min-width: 800px) {
  .stats-4grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat-pill-box,
.stat-card {
  padding: 1.3rem 1rem 1.1rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stat-big-val,
.stat-value {
  display: block;
  font-family: var(--font-digit);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  color: var(--brand);
  margin-bottom: 0.4rem;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}
.stat-main-lbl,
.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.stat-sub-lbl {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* ==========================================================================
   LANGKAH
   ========================================================================== */
.steps-container {
  position: relative;
  display: grid;
  gap: 1.1rem;
  margin: 1.8rem 0;
}
.steps-container::before {
  content: '';
  position: absolute;
  left: 41px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--brand-tint);
}
.step-card {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem 1.4rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}
.step-num {
  flex: 0 0 48px;
  min-width: 48px;
  min-height: 48px;
  align-self: flex-start;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-digit);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 4px var(--surface);
  z-index: 1;
}
.step-content,
.step-body {
  flex: 1;
  min-width: 0;
}
.step-content h3,
.step-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.35;
}
.step-content p,
.step-text {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}
.step-content strong,
.step-text strong { color: var(--ink); }
.prose .step-card h3,
.prose .step-title {
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.prose .step-card h4 {
  font-family: var(--font-heading);
  color: var(--brand-hover) !important;
}
.prose .step-card .step-text,
.prose .step-card .step-content p { margin-bottom: 0.7rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list,
.faq-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-list { margin-top: 1.4rem; }

.faq-card,
.faq-item-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  scroll-margin-top: 96px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-card:hover,
.faq-item-card:hover { border-color: var(--line-strong); }
.faq-card.is-open,
.faq-item-card.is-open {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}

.faq-question,
.faq-item-btn {
  width: 100%;
  padding: 1.1rem 1.3rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq-question:hover,
.faq-item-btn:hover { color: var(--brand); }
.faq-arrow,
.faq-item-icon {
  box-sizing: content-box;
  width: 18px;
  height: 18px;
  padding: 6px;
  flex-shrink: 0;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.faq-card.is-open .faq-arrow,
.faq-item-card.is-open .faq-item-icon { transform: rotate(180deg); }
.faq-answer,
.faq-item-answer {
  display: none;
  margin: 0 1.3rem;
  padding: 1rem 0 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.8;
}
.faq-card.is-open .faq-answer,
.faq-item-card.is-open .faq-item-answer { display: block; }
.faq-answer p,
.faq-item-answer p { margin-bottom: 0.8rem; }
.faq-answer strong,
.faq-item-answer strong { color: var(--ink); }
.faq-answer ul, .faq-answer ol,
.faq-item-answer ul, .faq-item-answer ol { margin: 0.7rem 0 1rem 1.3rem; }
.faq-answer li,
.faq-item-answer li { margin-bottom: 0.4rem; }
.faq-answer li::marker,
.faq-item-answer li::marker { color: var(--brand); }
.faq-answer a,
.faq-item-answer a { text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.faq-direct-answer {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 10px 10px 0;
  color: var(--ink-2);
}

.faq-search-card {
  padding: 1.6rem 1.8rem;
  margin-bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.faq-search-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.banner_selected_13d7 {
  width: 100%;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.banner_selected_13d7::placeholder { color: var(--muted-2); }
.banner_selected_13d7:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.faq-filter-tabs,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.faq-tab-btn,
.filter-tab-btn,
.info_b719 {
  padding: 0.5rem 1.05rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq-tab-btn:hover,
.filter-tab-btn:hover,
.info_b719:hover {
  color: var(--brand);
  border-color: var(--brand-line);
  background: var(--brand-soft);
}
.faq-tab-btn.is-active,
.faq-tab-btn.fn-active-126f,
.filter-tab-btn.is-active,
.info_b719.fn-active-126f {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.faq-no-result { margin-top: 1rem; }
.faq-no-result[hidden] { display: none !important; }

.faq-group-header {
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.faq-group-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.faq-group-desc { font-size: 1rem; color: var(--muted); }

/* ==========================================================================
   RATING / REKOMENDASI / RINGKASAN
   ========================================================================== */
.rating-score-highlight {
  text-align: center;
  padding: 2.2rem 1.5rem;
  margin: 1.4rem 0 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, var(--amber-soft), var(--surface));
}
.rating-big-num {
  font-family: var(--font-digit);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rating-chips-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.rating-chip-item {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.rating-chip-item strong { color: var(--ink); }

.recommend-columns {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
@media (min-width: 768px) {
  .recommend-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.recommend-box {
  padding: 1.5rem 1.5rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top-width: 4px;
}
.recommend-box.is-yes { border-top-color: var(--green); background: linear-gradient(180deg, var(--green-soft), var(--surface) 60%); }
.recommend-box.is-caution { border-top-color: var(--amber); background: linear-gradient(180deg, var(--amber-soft), var(--surface) 60%); }
.recommend-box h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.recommend-box.is-yes h3 { color: var(--green); }
.recommend-box.is-caution h3 { color: var(--amber-ink); }
.recommend-list { list-style: none; display: grid; gap: 0.55rem; }
.recommend-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.recommend-list li::before { position: absolute; left: 0; font-weight: 800; }
.recommend-box.is-yes .recommend-list li::before { content: '✓'; color: var(--green); }
.recommend-box.is-caution .recommend-list li::before { content: '!'; color: var(--amber-ink); left: 0.3rem; }

/* Kotak ringkasan / CTA (nama kelas lama dipertahankan) */
.summary-dark-callout {
  margin-top: 2rem;
  padding: 1.9rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--brand-line);
  background: linear-gradient(135deg, var(--brand-soft), #f5f9ff);
}
.summary-dark-callout h3,
.summary-dark-callout h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.summary-dark-callout p {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}
.summary-dark-callout p strong { color: var(--ink); }
.btn-outline[style*="--white"] {
  color: var(--brand) !important;
  border-color: var(--brand-line) !important;
}
.summary-dark-callout div[style*="border-top"] { border-top-color: var(--brand-line) !important; }

/* ==========================================================================
   SPESIFIKASI, VS, SERVER, KEAMANAN, FITUR, SCREENSHOT, ULASAN
   ========================================================================== */
.spec-grid-card {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0;
  padding: 1.3rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
  .spec-grid-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; }
}
.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.spec-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.spec-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.vs-comparison-grid {
  display: grid;
  gap: 1.2rem;
  margin: 1.6rem 0;
}
@media (min-width: 768px) {
  .vs-comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.vs-box {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
}
.vs-box.is-apk { border-top-color: var(--brand); }
.vs-box.is-store { border-top-color: var(--muted-2); }
.vs-box.vs-pros { border-top-color: var(--green); }
.vs-box.vs-cons { border-top-color: var(--red); }
.vs-box h3 { font-family: var(--font-heading); color: var(--ink); }
.vs-divider-text {
  margin: 1rem 0 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.vs-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.vs-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}
.vs-list li::before { position: absolute; left: 0; font-weight: 800; }
.vs-list.pro li::before { content: '✓'; color: var(--green); }
.vs-list.con li::before { content: '✕'; color: var(--red); }
.vs-list li strong { color: var(--ink); }

/* Server unduhan */
.download-servers-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.6rem 0;
}
.download-server-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 768px) {
  .download-server-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.download-server-card:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}
.download-server-card.is-primary {
  border: 2px solid var(--brand);
  background: linear-gradient(135deg, var(--brand-soft), var(--surface) 70%);
}
.download-server-card.is-primary::before {
  content: 'Rekomendasi';
  position: absolute;
  top: -12px;
  left: 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
}
.server-badge-icon {
  width: 3.3rem;
  height: 3.3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.download-server-card.is-primary .server-badge-icon { background: var(--surface); border: 1px solid var(--brand-line); }
.server-badge-icon[style] { background: var(--surface-2) !important; border: 1px solid var(--line); }
.server-details { flex: 1; min-width: 0; }
.server-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.server-desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.server-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.server-meta-tag,
.server-meta-tags > span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}
.server-action-wrap { flex-shrink: 0; }
.pressed-d6d9 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  color: #fff !important;
  background: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pressed-d6d9:hover { background: var(--brand-hover); border-color: var(--brand-hover); transform: translateY(-1px); }
.download-server-card:not(.is-primary) .pressed-d6d9 {
  color: var(--brand) !important;
  background: var(--surface);
  border-color: var(--brand-line);
  box-shadow: none;
}
.download-server-card:not(.is-primary) .pressed-d6d9:hover { background: var(--brand-soft); border-color: var(--brand); }

/* Jaminan keamanan */
.security-audit-grid {
  display: grid;
  gap: 1.1rem;
  margin: 1.6rem 0;
}
@media (min-width: 768px) {
  .security-audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.security-audit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.3rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.security-audit-icon {
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
}
.security-audit-info h4,
.security-audit-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.security-audit-info p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Checklist persyaratan */
.req-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.4rem 0;
}
.req-check-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  font-size: 0.96rem;
  color: var(--ink-2);
}
.req-check-item strong { color: var(--ink); }
.req-check-badge {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-digit);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 999px;
}

/* Fitur aplikasi */
.features-grid-8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 1.6rem 0;
}
@media (min-width: 640px) { .features-grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features-grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-card-item {
  padding: 1.4rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card-item:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}
.feature-card-icon {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--brand-soft);
}
.feature-card-item h3 {
  font-family: var(--font-heading);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.feature-card-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Screenshot */
.screenshots-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}
@media (min-width: 860px) { .screenshots-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.screenshot-card {
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.screenshot-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--surface-2);
}
.screenshot-caption {
  padding: 0.65rem 0.25rem 0.15rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Ulasan */
.reviews-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
@media (min-width: 768px) { .reviews-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review-card-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.reviewer-profile { display: flex; align-items: center; gap: 0.8rem; }
.reviewer-avatar {
  width: 2.9rem;
  height: 2.9rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-hover);
  border-radius: 50%;
  background: var(--brand-tint);
}
.reviewer-avatar[style] { color: #fff; text-shadow: 0 1px 2px rgba(15, 23, 42, 0.45); }
.reviewer-avatar:empty::before { content: '👤'; font-size: 1.2rem; }
.reviewer-meta h4,
.reviewer-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.reviewer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted-2);
}
.reviewer-stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}
.reviewer-stars span[style] { color: var(--star-empty) !important; }
.review-card-body {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.75;
}
.review-card-body strong { color: var(--ink); }
.review-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted-2);
}
.review-reply {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.review-reply strong { color: var(--brand-hover); }

.rating-distribution-card {
  margin: 2rem 0 0;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.rating-bars-list { display: grid; gap: 0.75rem; max-width: 640px; margin: 0 auto; }
.rating-bar-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.rating-bar-row span:last-child { text-align: right; color: var(--muted); }
.rating-bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--amber);
}

/* ==========================================================================
   DAFTAR ISI
   ========================================================================== */
.toc-box {
  margin: 1.7rem 0 0.4rem;
  padding: 1.3rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.toc-title {
  font-family: var(--font-heading);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem !important;
}
.toc-list {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.4rem 1.5rem;
}
@media (min-width: 768px) {
  .toc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.toc-list li {
  counter-increment: toc;
  display: flex;
  gap: 0.55rem;
  margin: 0 !important;
  font-size: 0.96rem;
}
.toc-list li::before {
  content: counter(toc) '.';
  flex-shrink: 0;
  min-width: 1.4rem;
  font-family: var(--font-digit);
  font-weight: 700;
  color: var(--brand);
}
.toc-list a,
.prose .toc-list a { text-decoration: none; color: var(--ink-2); }
.toc-list a:hover,
.prose .toc-list a:hover { color: var(--brand); text-decoration: underline; }

/* ==========================================================================
   CTA MENGAMBANG
   ========================================================================== */
.floating-cta {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 150;
}
.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.floating-cta-btn:hover {
  color: #fff;
  background: var(--brand-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 3.5rem 0 1.8rem;
  color: var(--muted-2);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.2rem;
  margin-bottom: 2.6rem;
}
.footer-col h4,
.footer-col .footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  color: var(--muted);
  font-size: 0.93rem;
}
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--muted-2);
}

/* ==========================================================================
   NAVIGASI BAGIAN (disisipkan oleh main.js)
   ========================================================================== */
.stage-rail {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  transform: translateY(-50%);
}
@media (min-width: 1440px) {
  .stage-rail { display: flex; }
}
.stage-rail a {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.stage-rail a::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease;
}
.stage-rail a:hover::after { opacity: 1; }
.stage-rail a:hover { background: var(--brand-line); }
.stage-rail a.is-current {
  background: var(--brand);
  transform: scale(1.3);
}

/* Animasi muncul saat scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   RESPONSIF
   ========================================================================== */
@media (max-width: 860px) {
  .hero-section { padding: 2.2rem 0 4.8rem; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .site-header .container { width: calc(100% - 1rem); }
  .brand-name { max-width: 7.5rem; font-size: 1.05rem; }
  .brand-logo img { width: 36px; height: 36px; }
  .header-cta { padding: 0.5rem 0.9rem; font-size: 0.84rem; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats-row { gap: 0.5rem; }
  .stat-item { padding: 0.75rem 0.4rem; }

  .content-block-section,
  .faq-group-section { padding: 1.7rem 1.1rem; border-radius: var(--radius-lg); }
  .section-intro-bar { grid-template-columns: minmax(0, 1fr); }
  .section-intro-bar::before { grid-column: 1; grid-row: auto; width: 2.5rem; height: 2.5rem; font-size: 0.95rem; margin-bottom: 0.4rem; }
  .section-intro-bar > * { grid-column: 1; }

  .steps-container::before { display: none; }
  .step-card { flex-direction: column; padding: 1.15rem 1.05rem; gap: 0.75rem; }
  .step-num { flex: 0 0 auto; width: 42px; min-width: 42px; min-height: 42px; font-size: 0.95rem; }

  .faq-search-card { padding: 1.25rem 1.05rem; }
  .faq-question, .faq-item-btn { padding: 1rem 1.05rem; font-size: 1rem; }
  .faq-answer, .faq-item-answer { margin: 0 1.05rem; }

  .author-card { padding-top: 2.6rem; }
  .author-card::after { top: 0.8rem; right: auto; left: 1.2rem; }
  .floating-cta { right: 0.9rem; bottom: 0.9rem; }
  .floating-cta-btn { padding: 0.75rem 1.2rem; font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
