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

/* Icons (inline SVG, replaces emoji) */
.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 32px; height: 32px; }

body.dark {
  background: #0b0d14;
  color: #e6e6ef;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar { position: sticky; top: 0; background: rgba(11,13,20,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid #1e2233; z-index: 50; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: #cfd2e0; text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.btn-outline { border: 1px solid #333955; color: #e6e6ef; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Hero */
.hero { padding: 100px 0 70px; text-align: center; background: radial-gradient(ellipse at top, rgba(108,92,231,0.15), transparent 60%); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #333955; border-radius: 999px; font-size: 12px; color: #a9adc4; margin-bottom: 20px; }
.hero h1 { font-size: 52px; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.hero-sub { font-size: 20px; color: #cfd2e0; margin-bottom: 12px; }
.hero-desc { max-width: 620px; margin: 0 auto 30px; color: #9a9db3; font-size: 15px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero stats strip */
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; text-align: center; max-width: 180px; }
.hero-stat strong { font-size: 20px; color: var(--primary); }
.hero-stat span { font-size: 13px; color: #9a9db3; }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: #10131e; }
.section-title { text-align: center; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-title-left { text-align: left; margin-bottom: 20px; }
.section-sub { text-align: center; color: #9a9db3; font-size: 15px; margin-bottom: 40px; }

/* Layanan / tentang singkat */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-copy p { color: #b3b6c8; font-size: 15px; margin-bottom: 16px; }
.about-points { display: flex; flex-direction: column; gap: 18px; }
.about-point { display: flex; align-items: flex-start; gap: 12px; background: #12151f; border: 1px solid #1e2233; border-radius: 12px; padding: 16px 18px; }
.about-point .icon { color: var(--secondary); margin-top: 2px; }
.about-point span { font-size: 14px; color: #cfd2e0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #12151f; border: 1px solid #1e2233; border-radius: 16px; padding: 28px; text-align: center; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(0,206,201,0.15)); color: var(--primary); margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { color: #9a9db3; font-size: 14px; }

.step { text-align: center; }
.step span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); font-weight: 800; margin-bottom: 12px; }
.step p { color: #cfd2e0; font-size: 14px; }

/* Kepercayaan / keamanan */
.trust-item { text-align: center; padding: 8px; }
.trust-item .icon-lg { color: var(--primary); margin-bottom: 14px; }
.trust-item h3 { font-size: 16px; margin-bottom: 8px; }
.trust-item p { color: #9a9db3; font-size: 13px; }

.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 12px; font-size: 28px; }
.cta-sub { color: #9a9db3; font-size: 15px; margin-bottom: 24px; }

.footer { border-top: 1px solid #1e2233; padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #7d80a0; }

/* Footer lengkap (Part 10) */
.footer-full { padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: #7d80a0; margin-bottom: 4px; }
.footer-col a { color: #b3b6c8; text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-brand-col p { color: #7d80a0; font-size: 13px; margin-top: 6px; max-width: 260px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #7d80a0; padding-top: 20px; border-top: 1px solid #1e2233; }

/* Maintenance */
.maintenance-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.maintenance-box { text-align: center; max-width: 480px; }
.maintenance-box .icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(108,92,231,0.15); color: var(--primary); margin-top: 16px; }
.maintenance-box h1 { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; font-size: 28px; }
.maintenance-box p { color: #9a9db3; }

/* ---- Dokumentasi API (/docs) - Part 4 ---- */
.docs-wrap { min-height: 100vh; }
.docs-header { padding: 60px 0 30px; border-bottom: 1px solid #1e2233; }
.docs-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.docs-header p { color: #9a9db3; font-size: 15px; }
.docs-body { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 40px 0 80px; align-items: start; }
.docs-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 4px; }
.docs-nav a { color: #9a9db3; text-decoration: none; font-size: 13px; padding: 8px 12px; border-radius: 8px; }
.docs-nav a:hover { color: #fff; background: #12151f; }
.docs-endpoint { background: #12151f; border: 1px solid #1e2233; border-radius: 14px; padding: 24px; margin-bottom: 24px; }
.docs-endpoint h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 6px; flex-wrap: wrap; }
.docs-endpoint p.desc { color: #9a9db3; font-size: 14px; margin-bottom: 14px; }
.method-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.method-post { background: rgba(0,206,201,0.15); color: #00cec9; }
.method-get { background: rgba(108,92,231,0.18); color: #a29bfe; }
.method-put { background: rgba(253,203,110,0.18); color: #fdcb6e; }
.docs-path { font-family: "Courier New", monospace; font-size: 14px; color: #e6e6ef; }
.docs-code { background: #0b0d14; border: 1px solid #1e2233; border-radius: 10px; padding: 16px; overflow-x: auto; font-family: "Courier New", monospace; font-size: 13px; color: #cfd2e0; white-space: pre; margin-bottom: 10px; }
.docs-code .label { display: block; color: #6c5ce7; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 14px 0 6px; font-family: inherit; }
.docs-endpoint table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.docs-endpoint th, .docs-endpoint td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #1e2233; color: #cfd2e0; }
.docs-endpoint th { color: #7d80a0; font-weight: 600; }
@media (max-width: 860px) {
  .docs-body { grid-template-columns: 1fr; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
  .hero { padding: 70px 0 50px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 28px; margin-top: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
}
