/**
 * GO TRAVELIST ASIA (GTA) — DESIGN SYSTEM & BASE CSS TOKENS
 * Tema: Dark Luxury (Elevasi 4-Layer, Palet Neon, Tipografi Presisi)
 */

/* Impor Font Plus Jakarta Sans & JetBrains Mono */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ----------------------------------------------------
   * 1. HIERARKI VISUAL ELEVASI 4-LAYER (DARK LUXURY)
   * ---------------------------------------------------- */
  --bg-canvas: #070D1E;         /* Layer 0: Latar belakang kanvas layar pekat */
  --bg-card: #0F172A;           /* Layer 1: Kontainer kartu produk & modul */
  --bg-panel: #151E36;          /* Layer 2: Form input, dropdown & isi modal */
  --border-subtle: #334155;     /* Layer 3: Garis batas luar presisi 1px */
  --border-divider: #1E293B;    /* Garis pemisah internal */

  /* ----------------------------------------------------
   * 2. PALET WARNA TIPOGRAFI
   * ---------------------------------------------------- */
  --text-primary: #FFFFFF;      /* Teks judul, label penting, bobot tebal */
  --text-reading: #E2E8F0;      /* Teks narasi panjang artikel & hukum */
  --text-secondary: #94A3B8;    /* Subteks, kota, lokasi, stempel tanggal */
  --text-dim: #64748B;          /* Placeholder isian formulir */
  --text-muted: #475569;        /* Teks micro-footer & copyright */

  /* ----------------------------------------------------
   * 3. WARNA AKSEN KARAKTERISTIK SISTEM
   * ---------------------------------------------------- */
  --accent-cyan: #00E5FF;       /* Aksen primer, tombol CTA utama, vendor */
  --accent-purple: #8B5CF6;     /* Aksen Travel Creator Hub, badge kreator */
  --accent-emerald: #10B981;    /* Nominal harga bersih, status lunas/aktif */
  --accent-gold: #FFD700;       /* Bintang ulasan penilaian, kupon promo */
  --accent-coral: #FF5722;      /* Status sengketa, tombol logout, error form */
  --accent-danger: #EF4444;     /* Garis batas gagal validasi */
  --accent-blue: #0284C7;       /* Aksen pilar transportasi & transfer */

  /* ----------------------------------------------------
   * 4. GEOMETRI, TIPOGRAFI & DIMENSI
   * ---------------------------------------------------- */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-card: 24px;
  --radius-panel: 16px;
  --radius-btn: 12px;
  --radius-sm: 8px;

  --top-header-height-mobile: 54px;
  --top-header-height-desktop: 64px;
  --bottom-bar-height: 68px;
  --bottom-buffer-mobile: 115px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Proteksi Penguncian Layar Belakang saat Modal Terbuka */
body.overflow-hidden {
  overflow: hidden !important;
  touch-action: none;
}

/* Pengaturan Tautan Dasar */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Utilitas Monospace Finansial */
.font-mono {
  font-family: var(--font-mono) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Class Penyembunyi Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Utility Helper */
.hidden {
  display: none !important;
}