/* ==========================================================================
   alomotion Official Portal — alomotion.my.id
   Refined Dark Editorial System · Bulletproof Mobile + Desktop Layout
   Every grid uses minmax(0, 1fr); zero horizontal blowout at 320px–1920px.
   ========================================================================== */

:root {
  --bg: #090a0c;
  --surface-1: #101216;
  --surface-2: #15181e;
  --surface-3: #1c2028;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-hover: rgba(255, 255, 255, 0.24);

  --ink-1: #f5f7fa;
  --ink-2: #9ba3b0;
  --ink-3: #646c7a;

  --accent: #2e8bff;
  --accent-hover: #1b79f0;
  --accent-ink: #6db0ff;
  --accent-soft: rgba(46, 139, 255, 0.11);

  --emerald: #22c58b;
  --emerald-soft: rgba(34, 197, 139, 0.12);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1120px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

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

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: #9ecaff; }

img, svg, canvas {
  max-width: 100%;
  display: block;
}

/* Prevent long inline code/URLs from EVER blowing out mobile containers */
p code, li code, td code, .inline-code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: #cfe3ff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* Scrollbar refinement */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

/* ==========================================================================
   HEADER & MOBILE NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink-1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink-1); background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--ink-1); background: var(--surface-2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  color: var(--ink-1);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface-1);
  padding: 12px 16px 18px;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.mobile-drawer a.active,
.mobile-drawer a:hover {
  background: var(--surface-2);
  color: var(--ink-1);
}
.mobile-drawer-cta {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

@media (max-width: 860px) {
  .nav-links, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ==========================================================================
   BUTTONS, PILLS, FORM CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink-1);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--surface-3); border-color: var(--line-hover); color: var(--ink-1); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: #090a0c;
  font-weight: 600;
}
.btn-primary:hover { background: #dce2ec; border-color: #dce2ec; color: #090a0c; }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.btn-emerald {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #041d14;
  font-weight: 700;
}
.btn-emerald:hover { background: #1cb17b; border-color: #1cb17b; color: #041d14; }

.btn-danger {
  background: var(--danger-soft);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.25); color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line); color: var(--ink-1); }

.btn-sm { height: 30px; padding: 0 11px; font-size: 12px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  color: var(--ink-2);
  max-width: 100%;
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}
.pill-accent {
  background: var(--accent-soft);
  border-color: rgba(46, 139, 255, 0.32);
  color: var(--accent-ink);
}
.pill-emerald {
  background: var(--emerald-soft);
  border-color: rgba(34, 197, 139, 0.32);
  color: #4ee0ab;
}

.input, .select, .textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink-1);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); }
.textarea { min-height: 92px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }

/* ==========================================================================
   BULLETPROOF GRID SYSTEMS (ALL minmax(0, 1fr))
   ========================================================================== */
.grid-2, .grid-3, .grid-4, .bento-grid, .split-2, .docs-layout {
  display: grid;
  min-width: 0;
  max-width: 100%;
}
.grid-2 > *, .grid-3 > *, .grid-4 > *, .bento-grid > *, .split-2 > *, .docs-layout > * {
  min-width: 0;
  max-width: 100%;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.split-2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 24px; align-items: center; }

@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Bento Grid (Asymmetric Pro Feature Grid) */
.bento-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.bento-span-4 { grid-column: span 4; }
.bento-span-3 { grid-column: span 3; }
.bento-span-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-span-4, .bento-span-3, .bento-span-2 { grid-column: span 1; }
  .bento-span-4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: minmax(0, 1fr); }
  .bento-span-4, .bento-span-3, .bento-span-2 { grid-column: span 1; }
}

/* ==========================================================================
   HERO & STUDIO PREVIEW SHOWCASE (Home)
   ========================================================================== */
.hero {
  position: relative;
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 320px at 50% -20px, rgba(46, 139, 255, 0.13), transparent 72%);
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
}

.hero-top {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-top: 20px;
  color: var(--ink-1);
}
.hero h1 .muted { color: var(--ink-2); }

.hero-sub {
  margin-top: 18px;
  max-width: 610px;
  font-size: clamp(14.5px, 1.9vw, 17px);
  color: var(--ink-2);
  line-height: 1.65;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1 1 100%; }
}

.terminal-bar {
  margin-top: 20px;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 6px 6px 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.terminal-bar-scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  scrollbar-width: none;
}
.terminal-bar-scroll::-webkit-scrollbar { display: none; }
.terminal-bar code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d6e4f7;
  white-space: nowrap;
}
.terminal-bar .prompt-sym { color: var(--accent-ink); margin-right: 6px; user-select: none; }

/* Live Interactive Studio Showcase */
.showcase-wrap {
  margin-top: 44px;
  width: 100%;
  min-width: 0;
}
.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.device-switch {
  display: inline-flex;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 3px;
  gap: 3px;
}
.device-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.15s;
}
.device-btn:hover { color: var(--ink-1); }
.device-btn.active { background: var(--surface-3); color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line-strong); }

.showcase-stage {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

/* Desktop Studio Window */
.nle-desktop {
  width: 100%;
  max-width: 980px;
  min-width: 0;
  background: #111317;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.7);
}
.nle-desktop.hidden { display: none; }

.nle-top {
  height: 38px;
  background: #171a20;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
}
.nle-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.win-dots { display: flex; gap: 6px; flex-shrink: 0; }
.win-dots span { width: 9px; height: 9px; border-radius: 50%; background: #313641; }
.nle-nav-mini {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}
.nle-nav-mini .on { color: var(--ink-1); font-weight: 600; }
@media (max-width: 600px) {
  .nle-nav-mini { display: none; }
}

.nle-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
@media (max-width: 800px) {
  .nle-workspace { grid-template-columns: minmax(0, 1fr); }
}

.nle-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line);
}
@media (max-width: 800px) {
  .nle-left { border-right: 0; border-bottom: 1px solid var(--line); }
}

.nle-monitor {
  background: #090a0d;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nle-canvas {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: #0c0e13;
}

.nle-timeline {
  border-top: 1px solid var(--line);
  background: #13161b;
  padding: 10px 12px 12px;
}
.nle-tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  margin-bottom: 8px;
}
.nle-tc { color: var(--accent-ink); font-weight: 700; font-size: 12.5px; }
.nle-tracks {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 3px 0;
}
.nle-track-v, .nle-track-a {
  height: 22px;
  border-radius: 4px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nle-track-v {
  background: rgba(46, 139, 255, 0.16);
  border: 1px solid rgba(46, 139, 255, 0.38);
  color: #cfe4ff;
}
.nle-track-a {
  background: rgba(34, 197, 139, 0.14);
  border: 1px solid rgba(34, 197, 139, 0.34);
  color: #7fe5bf;
}
.nle-playhead {
  position: absolute;
  top: 0; bottom: 0; left: 10%;
  width: 2px;
  background: #ef4444;
  pointer-events: none;
}

.nle-right {
  background: #0d0f13;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nle-tabs {
  height: 32px;
  background: #15181e;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 11px;
  font-weight: 600;
}
.nle-tabs span {
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.nle-tabs span.on {
  color: var(--ink-1);
  background: #0d0f13;
  box-shadow: inset 0 2px 0 var(--accent);
}
.nle-code-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
}
.nle-code-scroll pre {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: #d6dde8;
  text-align: left;
}

/* Mobile Studio Mockup */
.nle-mobile {
  display: none;
  width: 100%;
  max-width: 310px;
  background: #111317;
  border: 4px solid #262b35;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
}
.nle-mobile.active { display: block; }
.mob-bar {
  height: 20px;
  background: #0b0d10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mob-bar span { width: 58px; height: 4px; border-radius: 99px; background: #292f3a; }
.mob-canvas-wrap {
  padding: 14px;
  background: #090a0d;
  display: flex;
  justify-content: center;
}
.mob-canvas {
  width: 162px;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #0c0e13;
}
.mob-meta {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #14171d;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
}
.mob-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #181b22;
  padding: 9px 4px;
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: center;
}
.mob-dock span.on { color: var(--accent-ink); font-weight: 600; }

/* ==========================================================================
   SECTIONS, CARDS, WORKFLOW STRIP, VPS SPOTLIGHT
   ========================================================================== */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
}

.section-head {
  max-width: 650px;
  margin-bottom: 34px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-top: 8px;
}
.section-head p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.card {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.15s ease;
}
a.card { color: inherit; }
a.card:hover { border-color: var(--line-hover); color: inherit; }
.card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.card-ico {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* 3-Step Workflow Strip */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
  overflow: hidden;
}
.step-cell {
  padding: 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.step-cell:last-child { border-right: 0; }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  margin-bottom: 8px;
}
.step-cell h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.step-cell p { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .steps-strip { grid-template-columns: minmax(0, 1fr); }
  .step-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .step-cell:last-child { border-bottom: 0; }
}

/* NAT VPS Spotlight Banner */
.vps-spotlight {
  background: linear-gradient(135deg, #101723 0%, #101216 55%, #0e1714 100%);
  border: 1px solid rgba(46, 139, 255, 0.25);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.vps-spotlight > * { min-width: 0; max-width: 100%; }
@media (max-width: 840px) {
  .vps-spotlight {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 18px;
    gap: 20px;
  }
}

.vps-price-card {
  background: rgba(9, 10, 12, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  min-width: 0;
}
.vps-price-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.vps-price-amount {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--emerald);
  line-height: 1.05;
  margin: 6px 0 4px;
}
.vps-price-note { font-size: 12px; color: var(--ink-2); margin-bottom: 16px; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  min-width: 0;
}
.check-list li svg {
  width: 15px;
  height: 15px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 3px;
}
.check-list li span { min-width: 0; overflow-wrap: anywhere; }

/* ==========================================================================
   PAGE SUB-HERO, TABS, CODE BLOCKS, TABLES
   ========================================================================== */
.page-hero {
  padding: 52px 0 38px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(600px 260px at 15% 0%, rgba(46, 139, 255, 0.1), transparent 70%);
}
@media (max-width: 640px) {
  .page-hero { padding: 34px 0 28px; }
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-top: 14px;
}
.page-hero p {
  margin-top: 12px;
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--ink-2);
  max-width: 690px;
}
.page-hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 480px) {
  .page-hero-actions .btn { flex: 1 1 100%; }
}

/* Code Block — 100% Isolated Horizontal Scroll (NEVER blows out card/grid!) */
.code-block {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #0c0e12;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
}
.code-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.code-head-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.code-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.code-scroll pre {
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #dce4f0;
  white-space: pre;
  tab-size: 2;
}

/* Syntax Token Colors */
.tok-kw { color: #6db0ff; }
.tok-str { color: #f6b25b; }
.tok-cm { color: #636c7e; font-style: italic; }
.tok-num { color: #5eead4; }
.tok-fn { color: #86efac; }
.tok-tag { color: #6db0ff; }

/* Tabbed Switchers (Setup & Docs) */
.tab-bar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 6px;
  padding-bottom: 4px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: 0.15s;
}
.tab-btn:hover { color: var(--ink-1); border-color: var(--line-hover); }
.tab-btn.active {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: #090a0c;
}
.tab-pane { display: none; min-width: 0; max-width: 100%; }
.tab-pane.active { display: block; }

/* Responsive Tables */
.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table-wide { min-width: 620px; }
th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   DOCS LAYOUT (/animation) — Sticky TOC Sidebar on Desktop, Scroll Pills on Mobile
   ========================================================================== */
.docs-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.docs-sidebar-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 8px;
  padding-left: 10px;
}
.docs-sidebar a {
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.docs-sidebar a:hover { background: var(--surface-2); color: var(--ink-1); }

.docs-mobile-toc {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 6px;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.docs-mobile-toc::-webkit-scrollbar { display: none; }
.docs-mobile-toc a {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: var(--surface-1);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}

.docs-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-width: 0;
  max-width: 100%;
}
.doc-section {
  scroll-margin-top: 82px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}
.doc-section h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.doc-section p { color: var(--ink-2); font-size: 14.5px; }

@media (max-width: 920px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .docs-sidebar { display: none; }
  .docs-mobile-toc { display: flex; }
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-size: 17px;
  flex-shrink: 0;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }

/* ==========================================================================
   PRIVATE ADMIN BAR & DROPZONE
   ========================================================================== */
.admin-bar {
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.admin-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-tabs a {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid transparent;
}
.admin-tabs a.active {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--ink-1);
}
.upload-drop {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.upload-drop:hover { border-color: var(--accent); background: rgba(46, 139, 255, 0.04); }

/* ==========================================================================
   CLEAN PROFESSIONAL FOOTER (ZERO SECRET/ADMIN LINKS)
   ========================================================================== */
.site-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 840px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a { font-size: 13.5px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink-1); }

.sosmed-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.sosmed-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink-2);
}
.sosmed-chip:hover { border-color: var(--line-hover); color: var(--ink-1); }

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--ink-1); }

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: calc(100vw - 32px);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  color: var(--ink-1);
  padding: 10px 15px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  z-index: 90;
  display: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
}
.toast.err { border-left-color: var(--danger); }
@media (max-width: 640px) {
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
}
