:root {
  --bg-dark: #070b14;
  --bg-panel: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --border-subtle: #334155;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  background: rgba(7, 11, 20, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.brand-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #070b14;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--accent-cyan);
}

.menu-btn {
  display: none;
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Layout Artikel & Sidebar */
.main-wrapper {
  display: grid;
  grid-template-columns: 2.3fr 0.9fr;
  gap: 40px;
  padding: 44px 0 64px;
}

.article-container {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.badge-pill {
  display: inline-block;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 16px;
}

.article-container h1 {
  font-size: 2.15rem;
  line-height: 1.28;
  color: #ffffff;
  margin-bottom: 20px;
}

.article-container h2 {
  font-size: 1.55rem;
  color: #ffffff;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-container h3 {
  font-size: 1.22rem;
  color: var(--accent-cyan);
  margin: 24px 0 10px;
}

.article-container p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.article-container ul, .article-container ol {
  margin: 0 0 22px 24px;
  color: var(--text-secondary);
}

.article-container li {
  margin-bottom: 10px;
}

/* E-E-A-T Author Meta Box */
.eeat-header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 28px;
}

.author-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-item img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.author-item span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.author-item small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Table of Contents */
.toc-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--accent-cyan);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 26px 0;
}

.toc-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.toc-list {
  list-style: none;
  margin: 0 !important;
}

.toc-list li {
  margin-bottom: 8px;
}

/* Data Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.spec-table th, .spec-table td {
  border: 1px solid var(--border-subtle);
  padding: 13px 15px;
  text-align: left;
}

.spec-table th {
  background: var(--bg-card);
  color: var(--accent-cyan);
  font-weight: 700;
}

.callout {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--accent-emerald);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

/* Sidebar */
.sidebar-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 26px;
}

.sidebar-box h3 {
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.related-card {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.related-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.related-card h4 {
  font-size: 0.96rem;
  margin-top: 10px;
  line-height: 1.4;
}

/* Hero Homepage */
.hero-home {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #070b14;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 8px;
  margin-top: 12px;
}

.btn-cta:hover {
  color: #070b14;
  opacity: 0.92;
}

/* Footer */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 54px 0 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .main-wrapper, .hero-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-container {
    padding: 24px 18px;
  }
  .menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.show {
    display: flex;
  }
}
