/* ============================================================
   GLOBEX.ID — Tech Cyan Theme
   Design tokens, layout primitives, and section styles.
   ============================================================ */

:root {
  /* Brand palette */
  --c-bg: #0F172A;
  --c-bg-2: #131C33;
  --c-bg-3: #1E293B;
  --c-surface: #FFFFFF;
  --c-surface-soft: #F8FAFC;
  --c-surface-2: #F1F5F9;
  --c-border: rgba(148, 163, 184, 0.18);
  --c-border-strong: rgba(148, 163, 184, 0.32);
  --c-line: #E2E8F0;

  --c-text: #0F172A;
  --c-text-soft: #334155;
  --c-text-muted: #64748B;
  --c-text-on-dark: #F8FAFC;
  --c-text-on-dark-soft: #CBD5E1;
  --c-text-on-dark-muted: #94A3B8;

  --c-cyan: #00C2FF;
  --c-cyan-2: #3DDCFF;
  --c-cyan-deep: #0099CC;
  --c-magenta: #FF3D8B;
  --c-magenta-soft: #FFA3C3;
  --c-success: #10B981;
  --c-warning: #F59E0B;
  --c-danger: #EF4444;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00C2FF 0%, #FF3D8B 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(0,194,255,.18) 0%, rgba(255,61,139,.18) 100%);

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --sh-md: 0 8px 24px rgba(15, 23, 42, .08);
  --sh-lg: 0 18px 48px rgba(15, 23, 42, .14);
  --sh-glow-cyan: 0 8px 28px rgba(0, 194, 255, .35);

  /* Radii */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Type */
  --f-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(.2,.8,.2,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; font-family: var(--f-display); line-height: 1.15; letter-spacing: -0.02em; color: var(--c-text); }
p { margin: 0 0 1rem; color: var(--c-text-soft); }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 600px) { .container { padding: 0 20px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 0;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1;
  cursor: pointer;
  transition: transform .18s var(--ease-out), background .18s var(--ease-out), box-shadow .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--c-cyan);
  color: #00121C;
  box-shadow: var(--sh-glow-cyan);
}
.btn-primary:hover { background: var(--c-cyan-2); box-shadow: 0 10px 32px rgba(0, 194, 255, .45); }
.btn-ghost {
  background: transparent;
  color: var(--c-text-on-dark);
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }
.topbar.is-light .btn-ghost {
  color: var(--c-text);
  border-color: var(--c-line);
}
.topbar.is-light .btn-ghost:hover { background: var(--c-surface-2); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-compact { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; }

/* ===== Eyebrows / section heads ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-cyan-deep);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--c-cyan-2); }
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}
.section-lead {
  font-size: 16px; color: var(--c-text-muted);
}
.section-head-light h2 { color: var(--c-text-on-dark); }
.section-lead-light { color: var(--c-text-on-dark-soft); }

/* Gradient text */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   STICKY NAV
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px 0;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), backdrop-filter .25s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(15, 23, 42, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 19px;
  color: var(--c-text-on-dark);
}
.brand-mark { width: 36px; height: 36px; display: inline-block; }
.brand-logo-img { height: 36px; width: auto; object-fit: contain; }
.brand-tld { color: var(--c-cyan); font-weight: 700; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--c-text-on-dark-soft);
  transition: color .15s;
}
.nav-links a:hover { color: var(--c-text-on-dark); }

.topbar-actions {
  display: flex; align-items: center; gap: 10px;
}

.hamburger {
  display: none;
  background: transparent; border: 0; padding: 6px;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--c-text-on-dark);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .topbar-actions .btn-ghost { display: none; }
}

/* Mobile nav drawer */
.topbar.is-open .nav-links {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(15, 23, 42, .96);
  backdrop-filter: blur(14px);
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: 16px;
  align-items: flex-start;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0F172A 0%, #0B1426 60%, #0F172A 100%);
  color: var(--c-text-on-dark);
  overflow: hidden;
  padding: 140px 0 120px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  pointer-events: none;
}
.hero-glow-1 {
  width: 480px; height: 480px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(0,194,255,.5) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 560px; height: 560px;
  bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(255,61,139,.4) 0%, transparent 70%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(0, 194, 255, .08);
  border: 1px solid rgba(0, 194, 255, .22);
  font-size: 13px; font-weight: 500;
  color: var(--c-cyan-2);
  margin-bottom: 24px;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-cyan);
  box-shadow: 0 0 0 0 rgba(0,194,255,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,194,255,.7); }
  70% { box-shadow: 0 0 0 10px rgba(0,194,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,194,255,0); }
}

.hero-title {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 700;
  color: var(--c-text-on-dark);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--c-text-on-dark-soft);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Tracker form (search-first) */
.tracker {
  background: rgba(15, 23, 42, .55);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--r-lg);
  padding: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255,255,255,.02);
}
.tracker-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.tracker-field {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; flex-direction: column; justify-content: center;
  transition: border-color .15s, background .15s;
}
.tracker-field:focus-within {
  border-color: var(--c-cyan);
  background: rgba(0,194,255,.06);
}
.field-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--c-text-on-dark-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tracker-field input,
.tracker-field select {
  background: transparent;
  border: 0; outline: none; padding: 0;
  color: var(--c-text-on-dark);
  font: 500 16px/1.4 var(--f-body);
  width: 100%;
}
.tracker-field input::placeholder { color: rgba(203,213,225,.45); }
.tracker-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
}
.tracker-field select option { background: var(--c-bg-2); color: var(--c-text-on-dark); }

.tracker-submit {
  margin: 0;
  height: auto;
}

.tracker-tips {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 14px; padding: 0 4px;
  font-size: 13px; color: var(--c-text-on-dark-muted);
}
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(0,194,255,.08);
  border: 1px solid rgba(0,194,255,.22);
  color: var(--c-cyan-2);
  font: 500 12px var(--f-body);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.chip:hover { background: rgba(0,194,255,.18); }

@media (max-width: 760px) {
  .hero { padding: 120px 0 80px; }
  .tracker-row { grid-template-columns: 1fr; }
}

/* Floating UI cards (decorative) */
.hero-floating {
  position: absolute;
  right: -10px;
  top: 25%;
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
}
.float-card {
  background: rgba(15, 23, 42, .85);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 240px;
  animation: float 6s ease-in-out infinite;
}
.float-card-1 { transform: translateX(-30px); }
.float-card-2 { animation-delay: -3s; transform: translateX(20px); }

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(var(--tx, 0)); }
  50% { transform: translateY(-12px) translateX(var(--tx, 0)); }
}
.float-card-1 { --tx: -30px; }
.float-card-2 { --tx: 20px; }

.float-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.float-card-title { font-size: 12px; font-weight: 600; color: var(--c-text-on-dark-soft); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot-cyan { background: var(--c-cyan); box-shadow: 0 0 12px var(--c-cyan); }
.status-dot-magenta { background: var(--c-magenta); box-shadow: 0 0 12px var(--c-magenta); }
.float-card-line {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--c-text-on-dark);
  margin-bottom: 10px;
}
.float-arrow { color: var(--c-cyan); }
.float-card-bar {
  height: 6px; border-radius: 999px; background: rgba(148,163,184,.18);
  overflow: hidden;
}
.float-card-bar-fill {
  height: 100%; width: 62%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta));
  border-radius: inherit;
}
.float-card-foot { margin-top: 8px; font-size: 11px; color: var(--c-text-on-dark-muted); }
.float-card-mini { font-size: 14px; font-weight: 600; color: var(--c-text-on-dark); }
.float-card-meta { font-size: 11px; color: var(--c-text-on-dark-muted); margin-top: 4px; }

@media (max-width: 1280px) { .hero-floating { display: none; } }

/* ============================================================
   LIVE STATS
   ============================================================ */
.stats {
  background: var(--c-bg);
  color: var(--c-text-on-dark);
  padding: 0 0 70px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--r-lg);
  background: rgba(15,23,42,.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(148,163,184,.16);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--c-text-on-dark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px; font-weight: 500;
  color: var(--c-text-on-dark-muted);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid rgba(148,163,184,.12); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(148,163,184,.12); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================
   TRACKING RESULT
   ============================================================ */
.result-section {
  background: var(--c-surface);
  padding: 70px 0 0;
}
.result-section[hidden] { display: none; }
.result-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-md);
}
.result-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 24px; margin-bottom: 24px;
}
.result-route {
  display: grid; grid-template-columns: auto auto auto; gap: 18px; align-items: center;
  margin: 6px 0 10px;
}
.route-node {
  text-align: center;
}
.route-node strong { display: block; font-size: 13px; color: var(--c-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.route-node span { display: block; font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--c-text); margin-top: 4px; }
.route-connector {
  display: flex; align-items: center; gap: 4px;
  color: var(--c-cyan);
}
.route-connector svg { width: 90px; height: 24px; }
.result-eta {
  background: var(--c-surface-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 14px 18px;
  text-align: right;
}
.result-eta strong { font-family: var(--f-display); font-size: 22px; color: var(--c-text); display: block; }
.result-eta span { font-size: 12px; color: var(--c-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  background: #ECFDF5; color: #047857;
  border: 1px solid #A7F3D0;
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.in-transit { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.status-pill.pending { background: #E0E7FF; color: #3730A3; border-color: #C7D2FE; }
.status-pill.notfound { background: #FEE2E2; color: #991B1B; border-color: #FECACA; }

.progress-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  margin: 8px 0 28px; position: relative;
}
.progress-track::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  height: 2px; background: var(--c-line); z-index: 0;
}
.progress-step { position: relative; z-index: 1; text-align: center; }
.progress-step .pdot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-surface); border: 2px solid var(--c-line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--c-text-muted);
}
.progress-step.done .pdot { background: var(--c-cyan); border-color: var(--c-cyan); color: #00121C; }
.progress-step.current .pdot {
  background: var(--c-surface); border-color: var(--c-magenta); color: var(--c-magenta);
  box-shadow: 0 0 0 6px rgba(255, 61, 139, .12);
}
.progress-step .plabel {
  font-size: 12px; color: var(--c-text-muted); font-weight: 500;
  margin-top: 8px;
}
.progress-step.done .plabel,
.progress-step.current .plabel { color: var(--c-text); font-weight: 600; }

.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--c-line);
}
.timeline li {
  position: relative;
  padding: 4px 0 18px 32px;
}
.timeline li::before {
  content: ""; position: absolute;
  left: 4px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-line); border: 3px solid var(--c-surface);
}
.timeline li.done::before { background: var(--c-cyan); }
.timeline li.current::before { background: var(--c-magenta); box-shadow: 0 0 0 5px rgba(255,61,139,.16); }
.timeline-time { font-size: 12px; color: var(--c-text-muted); font-weight: 500; letter-spacing: 0.02em; }
.timeline-title { font-weight: 600; color: var(--c-text); margin: 2px 0 2px; }
.timeline-loc { font-size: 14px; color: var(--c-text-soft); }

.result-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line);
}
.btn-outline {
  background: transparent; color: var(--c-text);
  border: 1px solid var(--c-line);
  padding: 10px 18px; border-radius: 12px;
  font: 600 14px var(--f-body);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, border-color .15s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--c-surface-soft); border-color: var(--c-cyan); }

.notfound-block { display: flex; gap: 14px; align-items: flex-start; }
.notfound-block svg { width: 32px; height: 32px; color: var(--c-danger); flex-shrink: 0; }

.result-suggestions {
  margin-top: 12px;
  background: var(--c-surface-soft);
  border-radius: var(--r);
  padding: 14px 18px;
  border: 1px solid var(--c-line);
}
.result-suggestions p { margin: 0 0 6px; font-size: 14px; color: var(--c-text-soft); }
.result-suggestions code {
  background: rgba(0,194,255,.1);
  color: var(--c-cyan-deep);
  padding: 1px 6px; border-radius: 4px;
  font-size: 13px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  background: var(--c-surface);
  padding: 60px 0 50px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.trust-label {
  text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--c-text-muted);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.trust-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 36px 48px;
  opacity: .72;
}
.trust-logo {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
  transition: color .2s;
}
.trust-logo:hover { color: var(--c-text); }

/* ============================================================
   CARA KERJA
   ============================================================ */
.how {
  padding: 100px 0;
  background: var(--c-surface);
}
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  gap: 24px;
  justify-content: center;
}
.step {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--c-cyan);
}
.step-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-brand-soft);
  color: var(--c-cyan-deep);
  margin-bottom: 18px;
}
.step-icon svg { width: 28px; height: 28px; }
.step-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--f-display); font-weight: 700; font-size: 28px;
  color: var(--c-line);
  letter-spacing: -0.02em;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--c-text-soft); font-size: 15px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   KEUNTUNGAN (dark section)
   ============================================================ */
.benefits {
  background: var(--c-bg);
  color: var(--c-text-on-dark);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.benefits::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 0%, rgba(0,194,255,.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 90% 100%, rgba(255,61,139,.1) 0%, transparent 60%);
  pointer-events: none;
}
.benefits .container { position: relative; z-index: 1; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform .2s var(--ease-out), background .2s, border-color .2s;
  position: relative;
}
.benefit:hover {
  transform: translateY(-4px);
  background: rgba(0,194,255,.06);
  border-color: rgba(0,194,255,.35);
}
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,194,255,.12);
  color: var(--c-cyan);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit h3 {
  font-size: 17px; color: var(--c-text-on-dark);
  margin-bottom: 8px;
}
.benefit p {
  font-size: 14px; color: var(--c-text-on-dark-soft);
  margin: 0 0 14px;
}
.benefit-stat {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 600;
  color: var(--c-cyan-2);
  padding-top: 14px;
  border-top: 1px solid rgba(148,163,184,.12);
}
@media (max-width: 1024px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LAYANAN
   ============================================================ */
.services {
  padding: 110px 0;
  background: var(--c-surface-soft);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-cyan);
}
.service-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--c-surface-2); color: var(--c-text-muted);
  text-transform: uppercase;
}
.service-badge-cyan { background: rgba(0,194,255,.12); color: var(--c-cyan-deep); }
.service-badge-soft { background: rgba(16, 185, 129, .12); color: #047857; }
.service-badge-magenta { background: rgba(255,61,139,.1); color: #BE185D; }

.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-brand-soft);
  color: var(--c-cyan-deep);
  margin-bottom: 16px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 19px; margin-bottom: 6px; }
.service-card > p { color: var(--c-text-muted); margin: 0 0 16px; font-size: 14px; }
.service-spec {
  list-style: none; padding: 0; margin: 0 0 18px;
  font-size: 13px; color: var(--c-text-soft);
  border-top: 1px solid var(--c-line);
  padding-top: 16px;
}
.service-spec li { margin-bottom: 6px; }
.service-spec strong { color: var(--c-text); font-weight: 600; }
.service-price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 13px; color: var(--c-text-muted);
}
.service-price strong {
  display: block;
  font-family: var(--f-display); font-size: 22px; font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.service-price span { font-size: 12px; }

@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CAKUPAN GLOBAL (dark)
   ============================================================ */
.coverage {
  background: var(--c-bg);
  color: var(--c-text-on-dark);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.coverage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 500px at 70% 50%, rgba(0,194,255,.1) 0%, transparent 60%);
  pointer-events: none;
}
.coverage .container { position: relative; z-index: 1; }
.coverage-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.coverage-copy h2 {
  color: var(--c-text-on-dark);
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 14px;
}
.coverage-stats {
  list-style: none; padding: 0; margin: 28px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.coverage-stats li {
  text-align: left;
}
.coverage-stats strong {
  display: block;
  font-family: var(--f-display); font-size: 30px; font-weight: 700;
  color: var(--c-cyan-2);
  line-height: 1;
}
.coverage-stats span {
  display: block; font-size: 13px; color: var(--c-text-on-dark-muted);
  margin-top: 4px;
}
.coverage-cities {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--c-text-on-dark-muted);
}
.city-chip {
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(148,163,184,.18);
  color: var(--c-text-on-dark);
  font-size: 12px; font-weight: 500;
}
.coverage-map {
  position: relative;
  background: rgba(15,23,42,.4);
  border: 1px solid rgba(148,163,184,.14);
  border-radius: var(--r-lg);
  padding: 20px;
  overflow: hidden;
}
.world-map { width: 100%; height: auto; }
.hub-pulse circle:first-child {
  animation: pulseRing 2.4s infinite;
}
@keyframes pulseRing {
  0% { opacity: 1; transform: scale(0.6); transform-origin: 645px 225px; }
  100% { opacity: 0; transform: scale(1.4); transform-origin: 645px 225px; }
}

@media (max-width: 920px) {
  .coverage-grid { grid-template-columns: 1fr; gap: 28px; }
  .coverage-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TESTIMONI
   ============================================================ */
.testimonials {
  padding: 110px 0;
  background: var(--c-surface);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stars {
  display: inline-flex; gap: 2px; color: #F59E0B;
  margin-bottom: 14px;
}
.stars svg { width: 18px; height: 18px; }
.testimonial blockquote {
  margin: 0 0 22px;
  font-size: 16px; line-height: 1.6;
  color: var(--c-text);
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-surface-2);
}
.testimonial-name { font-weight: 600; color: var(--c-text); font-size: 14px; }
.testimonial-role { font-size: 13px; color: var(--c-text-muted); }

@media (max-width: 980px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--c-surface-soft);
  padding: 110px 0;
}
.faq-tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.faq-tab {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1px solid var(--c-line);
  color: var(--c-text-soft); font: 600 14px var(--f-body);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.faq-tab:hover { color: var(--c-text); }
.faq-tab.is-active {
  background: var(--c-text);
  color: var(--c-text-on-dark);
  border-color: var(--c-text);
}
.faq-panels { max-width: 820px; margin: 0 auto; }
.faq-panel { display: grid; gap: 12px; }
.faq-panel[hidden] { display: none; }
.faq-panel details {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.faq-panel details[open] { box-shadow: var(--sh-sm); border-color: var(--c-cyan); }
.faq-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600; color: var(--c-text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  font-size: 15px;
}
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after {
  content: "+"; font-family: var(--f-display); font-size: 22px;
  color: var(--c-cyan); line-height: 1;
  transition: transform .2s;
}
.faq-panel details[open] summary::after { content: "−"; }
.faq-body { padding: 0 22px 20px; color: var(--c-text-soft); font-size: 15px; }
.faq-body p { margin: 0; }
.faq-body ul { padding-left: 20px; margin: 0; }
.faq-body li { margin-bottom: 6px; }
.faq-body code { background: rgba(0,194,255,.1); color: var(--c-cyan-deep); padding: 1px 6px; border-radius: 4px; font-size: 13px; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0,194,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 80% 50%, rgba(255,61,139,.18) 0%, transparent 60%),
    linear-gradient(180deg, #0B1426 0%, #0F172A 100%);
  color: var(--c-text-on-dark);
  padding: 90px 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-inner h2 {
  color: var(--c-text-on-dark);
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 10px;
}
.cta-inner p { color: var(--c-text-on-dark-soft); margin: 0; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 760px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0A1020;
  color: var(--c-text-on-dark-soft);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-col h4 {
  color: var(--c-text-on-dark);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: var(--c-text-on-dark-soft); transition: color .15s; }
.footer-col a:hover { color: var(--c-cyan); }
.footer-col-brand .brand { color: var(--c-text-on-dark); margin-bottom: 14px; }
.footer-col-brand p {
  color: var(--c-text-on-dark-soft);
  font-size: 14px; max-width: 360px;
}
.footer-socials {
  display: flex; gap: 10px; margin-top: 16px;
}
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--c-text-on-dark-soft);
  transition: background .15s, color .15s, border-color .15s;
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-socials a:hover { background: rgba(0,194,255,.1); color: var(--c-cyan); border-color: rgba(0,194,255,.3); }

.footer-contact li {
  display: flex; align-items: center; gap: 10px;
}
.footer-contact svg { width: 16px; height: 16px; color: var(--c-cyan); flex-shrink: 0; }

.footer-bottom {
  padding: 22px 0;
  font-size: 13px;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-meta a { color: var(--c-text-on-dark-muted); }
.footer-meta a:hover { color: var(--c-cyan); }
.badge-secure {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, .12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
}
.badge-secure svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 70;
  display: inline-flex; align-items: center; gap: 0;
  background: #25D366;
  color: white;
  padding: 0;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
  transition: gap .25s, padding .25s, transform .25s;
  overflow: hidden;
}
.wa-fab svg { width: 56px; height: 56px; padding: 12px; flex-shrink: 0; }
.wa-fab-label {
  font-weight: 600; font-size: 14px;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  transition: max-width .25s, padding .25s;
}
.wa-fab:hover {
  transform: translateY(-2px);
}
.wa-fab:hover .wa-fab-label {
  max-width: 200px;
  padding-right: 18px;
}
@media (max-width: 540px) {
  .wa-fab { bottom: 16px; right: 16px; }
  .wa-fab svg { width: 52px; height: 52px; padding: 11px; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.6); backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  width: 100%; max-width: 440px;
  padding: 36px 32px 28px;
  box-shadow: var(--sh-lg);
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: transparent; border: 0;
  font-size: 28px; color: var(--c-text-muted); cursor: pointer;
  line-height: 1;
}
.modal-panel h3 { font-size: 22px; margin-bottom: 6px; }
.modal-lead { color: var(--c-text-muted); margin-bottom: 22px; font-size: 14px; }
.modal-form label {
  display: block; margin-bottom: 14px;
  font-size: 13px; font-weight: 500; color: var(--c-text-soft);
}
.modal-form label span { display: block; margin-bottom: 6px; }
.modal-form input {
  width: 100%; padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--c-line);
  font: 500 15px var(--f-body); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.modal-form input:focus { border-color: var(--c-cyan); box-shadow: 0 0 0 3px rgba(0,194,255,.16); }
.modal-note {
  font-size: 12px; color: var(--c-text-muted); margin-top: 12px; text-align: center;
}
body.is-modal-open { overflow: hidden; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .dot-live, .hub-pulse circle:first-child, .float-card { animation: none !important; }
}

/* ============================================================
   LOADING SPINNER (public lookup)
   ============================================================ */
.loading-block {
  padding: 40px 0;
  text-align: center;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(0, 194, 255, 0.18);
  border-top-color: var(--c-cyan);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ADMIN — base
   ============================================================ */
.admin-body {
  /* Scoped dark-theme tokens: rebind globals so admin descendants
     resolve them against a dark panel background. Tokens used only
     within /admin are also aliased here (--font-*, --c-slate). */
  --c-slate: #0B1220;
  --c-surface: #131C33;
  --c-surface-soft: #1B2540;
  --c-surface-2: #1E293B;
  --c-text: #F8FAFC;
  --c-text-soft: #CBD5E1;
  --c-text-muted: #94A3B8;
  --c-line: rgba(148, 163, 184, 0.18);
  --font-body: var(--f-body);
  --font-display: var(--f-display);
  /* Brighter cyan for links/inline code on dark bg. */
  --c-cyan-deep: #3DDCFF;

  background: var(--c-slate);
  color: var(--c-text);
  font-family: var(--font-body);
  min-height: 100vh;
}

.admin-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.admin-topbar-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.admin-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--c-text); text-decoration: none;
}
.admin-badge {
  display: inline-flex; align-items: center;
  margin-left: 4px;
  padding: 2px 10px;
  font-size: 11px; font-weight: 600;
  color: var(--c-cyan-deep);
  background: rgba(0, 194, 255, 0.12);
  border: 1px solid rgba(0, 194, 255, 0.28);
  border-radius: 999px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.admin-topbar-right {
  display: flex; align-items: center; gap: 14px;
}
.admin-user-email {
  font-size: 13px; color: var(--c-text-soft);
}

/* Buttons sizes */
.btn-sm {
  font-size: 13px;
  padding: 8px 14px;
}
.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.36);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.22); border-color: rgba(239, 68, 68, 0.5); }
.btn-danger:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   ADMIN — Login screen
   ============================================================ */
.admin-login-screen {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.admin-login-card {
  width: 100%; max-width: 420px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.admin-login-card h1 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--c-text);
}
.admin-login-card > p {
  font-size: 14px; color: var(--c-text-muted); margin: 0 0 24px;
}
.admin-hint {
  font-size: 12px; color: var(--c-text-muted); margin-top: 16px; text-align: center;
}
.admin-hint strong { color: var(--c-text-soft); }

/* ============================================================
   ADMIN — Forms
   ============================================================ */
.admin-form {
  display: flex; flex-direction: column; gap: 16px;
}
.admin-field {
  display: flex; flex-direction: column; gap: 6px;
}
.admin-field > span {
  font-size: 12px; font-weight: 600; color: var(--c-text-soft); text-transform: uppercase; letter-spacing: 0.4px;
}
.admin-field input,
.admin-field select,
.admin-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  background: rgba(15, 23, 42, 0.6);
  color: var(--c-text);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: var(--c-cyan);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.16);
}
.admin-field input::placeholder { color: rgba(148, 163, 184, 0.5); }
.admin-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.admin-field-full { grid-column: 1 / -1; }

.admin-divider {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  margin: 8px 0 0;
}

.admin-alert {
  font-size: 13px; padding: 10px 14px; border-radius: 10px; line-height: 1.5;
}
.admin-alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================================
   ADMIN — Dashboard
   ============================================================ */
.admin-dashboard { padding: 40px 0 80px; }
.admin-container {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
}
.admin-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.admin-section-head h1 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0 0 6px;
  color: var(--c-text);
}
.admin-section-lead {
  margin: 0; font-size: 14px; color: var(--c-text-muted);
}

.admin-toolbar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.admin-search {
  flex: 1; min-width: 260px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  color: var(--c-text-soft);
}
.admin-search input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  padding: 13px 0;
  color: var(--c-text);
  font-family: var(--font-body); font-size: 14px;
}
.admin-search input::placeholder { color: rgba(148, 163, 184, 0.5); }

.admin-select {
  font-family: var(--font-body); font-size: 14px;
  padding: 12px 36px 12px 14px;
  background-color: rgba(15, 23, 42, 0.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--c-text);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  appearance: none;
  cursor: pointer;
}

/* ============================================================
   ADMIN — Table
   ============================================================ */
.admin-table-wrap {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--c-text-muted);
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.admin-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  vertical-align: middle;
  color: var(--c-text-soft);
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: rgba(15, 23, 42, 0.3); }
.resi-code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
  color: var(--c-cyan-deep);
  background: rgba(0, 194, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}
.route-cell {
  display: flex; align-items: center; gap: 10px;
}
.route-cell strong { color: var(--c-text); font-weight: 600; }
.route-arrow { color: var(--c-cyan); font-weight: 700; }
.eta-cell {
  display: flex; flex-direction: column; gap: 2px;
}
.eta-cell strong { color: var(--c-text); font-size: 14px; }
.eta-cell span { color: var(--c-text-muted); font-size: 12px; }
.actions-cell {
  text-align: right;
}
.actions-cell button + button { margin-left: 8px; }
.admin-empty {
  padding: 60px 18px !important;
  text-align: center;
  color: var(--c-text-muted) !important;
}
.admin-empty strong { color: var(--c-text-soft); }
.admin-empty-error { color: #FCA5A5 !important; }

/* ============================================================
   ADMIN — Modal
   ============================================================ */
.admin-modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.admin-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(6px);
}
.admin-modal-panel {
  position: relative;
  background: var(--c-slate);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  width: 100%; max-width: 760px;
  max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.admin-modal-panel-sm { max-width: 440px; }
.admin-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.admin-modal-head h2 {
  font-family: var(--font-display);
  font-size: 20px; margin: 0; color: var(--c-text);
}
.admin-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  flex: 1;
}
.admin-modal-body h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 8px; color: var(--c-text); }
.admin-modal-body p { margin: 0; color: var(--c-text-soft); font-size: 14px; line-height: 1.55; }
.admin-modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.admin-icon-btn {
  background: transparent; border: 0;
  color: var(--c-text-muted);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.admin-icon-btn:hover { background: rgba(148, 163, 184, 0.1); color: var(--c-text); }

/* ============================================================
   ADMIN — Events editor (inside modal)
   ============================================================ */
.admin-events-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.admin-events-list {
  display: flex; flex-direction: column; gap: 12px;
}
.admin-event-row {
  position: relative;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  padding: 14px 14px 14px 14px;
  padding-right: 52px;
}
.admin-event-row .admin-event-remove {
  position: absolute; top: 10px; right: 10px;
}
.admin-event-row .admin-event-remove:hover { color: #FCA5A5; background: rgba(239, 68, 68, 0.1); }
.admin-event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================================
   ADMIN — Toast
   ============================================================ */
.admin-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 22px;
  background: var(--c-slate);
  color: var(--c-text);
  border: 1px solid rgba(0, 194, 255, 0.32);
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.admin-toast-error { border-color: rgba(239, 68, 68, 0.4); color: #FCA5A5; }

/* ============================================================
   ADMIN — Responsive
   ============================================================ */
@media (max-width: 760px) {
  .admin-grid-2,
  .admin-event-grid { grid-template-columns: 1fr; }
  .admin-section-head { align-items: stretch; }
  .admin-table thead { display: none; }
  .admin-table tbody td { display: block; padding: 8px 14px; border: 0; }
  .admin-table tbody tr {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }
  .admin-table tbody tr:last-child { border-bottom: 0; }
  .actions-cell { text-align: left; padding-top: 12px !important; }
}

/* ============================================================
   ADMIN — Confirm Dialog (refined)
   ============================================================ */
.admin-modal-panel.admin-confirm {
  max-width: 460px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(11, 17, 32, 0.96) 100%);
  border: 1px solid rgba(239, 68, 68, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(239, 68, 68, 0.06),
    0 0 60px rgba(239, 68, 68, 0.08);
  animation: confirmIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes confirmIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-confirm-body {
  padding: 36px 32px 18px;
  text-align: center;
}

.admin-confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(239, 68, 68, 0.22) 0%, rgba(239, 68, 68, 0.08) 70%);
  color: #FCA5A5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 68, 68, 0.32);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.18);
  position: relative;
}
.admin-confirm-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.18);
  animation: confirmPulse 2.2s ease-out infinite;
}
@keyframes confirmPulse {
  0%   { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}
.admin-confirm-icon svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

.admin-confirm-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c-text);
  letter-spacing: -0.2px;
}

.admin-confirm-body p {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

.admin-confirm-foot {
  display: flex;
  gap: 12px;
  padding: 22px 32px 28px;
  border-top: 0;
}

.admin-confirm-foot .btn-outline,
.admin-confirm-foot .btn-danger {
  flex: 1;
  justify-content: center;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
}

.admin-confirm-foot .btn-danger {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.32) 0%, rgba(220, 38, 38, 0.32) 100%);
  color: #FECACA;
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow:
    0 6px 16px rgba(239, 68, 68, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.admin-confirm-foot .btn-danger:hover {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.46) 0%, rgba(220, 38, 38, 0.46) 100%);
  border-color: rgba(239, 68, 68, 0.7);
  color: #FFF;
  box-shadow:
    0 10px 24px rgba(239, 68, 68, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.admin-confirm-foot .btn-danger:active {
  transform: translateY(1px);
}
.admin-confirm-foot .btn-danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.admin-confirm-foot .btn-outline {
  background: rgba(148, 163, 184, 0.04);
}
.admin-confirm-foot .btn-outline:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.36);
}

@media (max-width: 460px) {
  .admin-confirm-body { padding: 30px 22px 14px; }
  .admin-confirm-foot {
    flex-direction: column-reverse;
    padding: 18px 22px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-modal-panel.admin-confirm { animation: none; }
  .admin-confirm-icon::after { animation: none; }
}

/* ============================================================
   ADMIN — Section head actions + realtime indicator
   ============================================================ */
.admin-section-head-actions {
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}

.admin-realtime-dot {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase;
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
}
.admin-realtime-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: adminLivePulse 1.6s ease-out infinite;
}
@keyframes adminLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================================
   ADMIN — Modal notes & helper
   ============================================================ */
.admin-modal-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--c-text-soft);
  line-height: 1.6;
}
.admin-modal-note code {
  background: rgba(0, 194, 255, 0.1);
  color: var(--c-cyan-deep);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.admin-modal-note a {
  color: var(--c-cyan-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-modal-note a:hover { color: #00C2FF; }

/* ============================================================
   ADMIN — CSV import (drop zone + preview)
   ============================================================ */
.admin-csv-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 36px 20px;
  background: rgba(15, 23, 42, 0.5);
  border: 2px dashed rgba(0, 194, 255, 0.28);
  border-radius: 14px;
  color: var(--c-text-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.admin-csv-drop:hover,
.admin-csv-drop.is-drag {
  border-color: rgba(0, 194, 255, 0.6);
  background: rgba(0, 194, 255, 0.04);
  color: var(--c-text);
}
.admin-csv-drop svg { color: var(--c-cyan-deep); }
.admin-csv-drop p { margin: 0; font-size: 14px; color: var(--c-text); }
.admin-csv-drop p strong { color: var(--c-cyan-deep); }
.admin-csv-drop span { font-size: 12px; color: var(--c-text-muted); }
.admin-csv-drop code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(0, 194, 255, 0.1);
  color: var(--c-cyan-deep);
  padding: 1px 5px; border-radius: 4px;
}

.admin-csv-preview {
  display: flex; flex-direction: column; gap: 12px;
}
.admin-csv-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-text-soft);
}
.admin-csv-summary strong { color: var(--c-text); font-weight: 600; }
.admin-csv-table-wrap {
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
}
.admin-csv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-csv-table thead th {
  position: sticky; top: 0;
  background: rgba(15, 23, 42, 0.96);
  text-align: left;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--c-text-soft);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  z-index: 1;
}
.admin-csv-table tbody td {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--c-text);
  white-space: nowrap;
}
.admin-csv-table tbody tr:last-child td { border-bottom: 0; }

.admin-csv-issues {
  padding: 12px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 10px;
  font-size: 13px;
  color: #FCD34D;
}
.admin-csv-issues strong { color: #FBBF24; }
.admin-csv-issues ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.55; }
.admin-csv-issues p { margin: 8px 0 0; color: #FCD34D; opacity: 0.85; font-size: 12px; }

/* ============================================================
   PUBLIC TRACKING — Live update indicator on result card
   ============================================================ */
.result-live-row {
  display: flex; justify-content: flex-end;
  margin-bottom: 8px;
}
.result-live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase;
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
}
.result-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: adminLivePulse 1.6s ease-out infinite;
}

.result-card.is-updated {
  animation: resultUpdated 1.2s ease-out;
}
@keyframes resultUpdated {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
  20%  { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .admin-realtime-pulse,
  .result-live-dot { animation: none; }
  .result-card.is-updated { animation: none; }
}

}
}
}