/* ==========================================================================
   CLB AI Ocean Park — Official Editorial & Recruitment Design System
   Font chuẩn Antigravity: Google Sans + Google Sans Code + Tabular-Nums (>= 12px)
   ========================================================================== */

:root {
  --font-sans: 'Google Sans', 'Google Sans Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  --font-mono: 'Google Sans Code', 'Google Sans', ui-monospace, SFMono-Regular, 'Segoe UI', sans-serif;
  --sidebar-w: 296px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  font-size: 16px;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  overflow-x: clip;
}

html[data-font-scale="100"] { font-size: 16px; }
html[data-font-scale="110"] { font-size: 17.6px; }
html[data-font-scale="120"] { font-size: 19.2px; }

/* --- DARK THEME (Mặc định: Midnight Lagoon) --- */
html[data-theme="dark"] {
  --bg: #050b16;
  --bg-elevated: #0a1426;
  --surface: #0e1a30;
  --surface-2: #14233f;
  --surface-hover: #1a2d50;
  --surface-glass: rgba(14, 26, 48, 0.82);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.3);
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0284c7;
  --accent-fg: #031525;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --emerald: #34d399;
  --emerald-soft: rgba(52, 211, 153, 0.14);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.15);
  --rose: #fb7185;
  --rose-soft: rgba(251, 113, 133, 0.14);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.56);
  --hero-gradient: radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.18), transparent 46%),
                   radial-gradient(circle at 88% 14%, rgba(16, 185, 129, 0.16), transparent 44%),
                   radial-gradient(circle at 55% 100%, rgba(245, 158, 11, 0.12), transparent 52%);
}

/* --- LIGHT THEME (Coastal Daylight) --- */
html[data-theme="light"] {
  --bg: #f3f7fc;
  --bg-elevated: #eaf1f9;
  --surface: #ffffff;
  --surface-2: #f1f5fa;
  --surface-hover: #e5edf8;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --border: #d8e2ef;
  --border-strong: #bac9dd;
  --text: #0b1b34;
  --text-secondary: #334155;
  --text-muted: #52627a;
  --accent: #0284c7;
  --accent-strong: #0369a1;
  --accent-fg: #ffffff;
  --accent-soft: rgba(2, 132, 199, 0.1);
  --emerald: #047857;
  --emerald-soft: rgba(4, 120, 87, 0.1);
  --amber: #b45309;
  --amber-soft: rgba(180, 83, 9, 0.11);
  --rose: #be123c;
  --rose-soft: rgba(190, 18, 60, 0.1);
  --shadow-sm: 0 1px 3px rgba(11, 27, 52, 0.05), 0 0 0 1px rgba(11, 27, 52, 0.03);
  --shadow-md: 0 12px 30px rgba(11, 27, 52, 0.07), 0 0 0 1px rgba(11, 27, 52, 0.04);
  --shadow-lg: 0 22px 54px rgba(11, 27, 52, 0.11);
  --hero-gradient: radial-gradient(circle at 18% 0%, rgba(2, 132, 199, 0.11), transparent 46%),
                   radial-gradient(circle at 86% 14%, rgba(5, 150, 105, 0.09), transparent 42%),
                   radial-gradient(circle at 52% 100%, rgba(217, 119, 6, 0.08), transparent 50%);
}

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

body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 220ms ease, color 220ms ease;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: -0.024em;
  line-height: 1.24;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 0.875rem;
}

.tabular-nums {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.code-text {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 14px;
}

/* ==========================================================================
   APP SHELL & FIXED LEFT SIDEBAR (Zero-Scroll Newcomer Navigation)
   ========================================================================== */

.app-shell {
  display: block;
  min-height: 100dvh;
  width: 100%;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100dvh;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 24px rgba(11, 27, 52, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 60;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 220ms ease;
}

html[data-theme="dark"] .sidebar {
  box-shadow: 6px 0 28px rgba(0, 0, 0, 0.35);
}

.app-shell.sidebar-collapsed .sidebar {
  transform: translateX(-100%);
  border-right: none;
  box-shadow: none;
}

.sidebar-top {
  position: relative;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(16, 185, 129, 0.16));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-text {
  min-width: 0;
  flex: 1;
}

.brand-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
  flex-shrink: 0;
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.78; }
}

.brand-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.5px;
  background: transparent;
  overflow: hidden;
}

.sidebar-progress-fill {
  height: 100%;
  width: 12%;
  background: linear-gradient(90deg, var(--accent), var(--emerald));
  border-radius: 0 999px 999px 0;
  transition: width 120ms linear;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.icon-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-strong);
}

.sidebar-search-wrap {
  position: relative;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 11px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 7px 34px 7px 33px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.search-box input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-kbd {
  position: absolute;
  right: 8px;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
}

.search-box input:focus ~ .search-kbd,
.search-box input:not(:placeholder-shown) ~ .search-kbd {
  opacity: 0;
}

.clear-search-btn {
  position: absolute;
  right: 6px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.clear-search-btn:hover {
  color: var(--text);
  background: var(--surface-2);
}

.search-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  z-index: 80;
  padding: 6px;
}

.search-hit {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.search-hit:hover {
  background: var(--surface-2);
}
.search-hit-title {
  font-size: 0.8125rem;
  font-weight: 600;
}
.search-hit-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  padding: 12px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-nav:hover {
  scrollbar-color: var(--border-strong) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
}
.sidebar-nav:hover::-webkit-scrollbar-thumb {
  background: var(--border-strong);
}

.nav-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0 10px 5px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item,
.nav-link {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px 7px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-item:hover,
.nav-link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-item:hover .nav-label {
  transform: translateX(2px);
}

.nav-item.active {
  background: var(--accent-soft);
  border-color: rgba(2, 132, 199, 0.22);
  color: var(--accent);
  font-weight: 700;
}

html[data-theme="dark"] .nav-item.active {
  border-color: rgba(56, 189, 248, 0.28);
}

.nav-item.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.nav-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  transition: transform var(--transition);
}
.nav-label span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-label svg {
  flex-shrink: 0;
  opacity: 0.82;
}
.nav-item.active .nav-label svg {
  opacity: 1;
}

.nav-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-item.active .nav-badge {
  background: var(--accent);
  color: var(--accent-fg);
}

.nav-badge.emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.nav-badge.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

/* Elevated Newcomer CTA Card inside Fixed Left Sidebar */
.sidebar-cta-wrap {
  padding: 6px 12px 10px;
  flex-shrink: 0;
}

.sidebar-cta-card {
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.08) 0%, rgba(16, 185, 129, 0.09) 100%);
  border: 1px solid rgba(2, 132, 199, 0.22);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

html[data-theme="dark"] .sidebar-cta-card {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.12) 0%, rgba(52, 211, 153, 0.1) 100%);
  border-color: rgba(56, 189, 248, 0.26);
}

.sidebar-cta-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.sidebar-cta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sidebar-cta-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
}

.sidebar-cta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}

.sidebar-cta-login-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
}

.sidebar-cta-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.sidebar-cta-mini-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.sidebar-cta-mini-link:hover {
  color: var(--accent);
}

.sidebar-cta-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sidebar-cta-btn {
  width: 100%;
  margin-top: 2px;
}

.sidebar-footer {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.control-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  gap: 2px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.seg-btn:hover {
  color: var(--text);
}
.seg-btn.active {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ==========================================================================
   MAIN CONTENT & TOPBAR
   ========================================================================== */

.main-content {
  min-width: 0;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  display: flex;
  flex-direction: column;
  transition: margin-left 220ms cubic-bezier(0.2, 0.8, 0.2, 1), width 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-shell.sidebar-collapsed .main-content {
  margin-left: 0;
  width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.pill-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0ea5e9 55%, #10b981 120%);
  color: #031525;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}
html[data-theme="light"] .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #059669 125%);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.34);
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* ==========================================================================
   PAGE SECTIONS & HERO
   ========================================================================== */

.page-wrap {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-block {
  scroll-margin-top: 76px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-eyebrow.emerald { color: var(--emerald); }
.section-eyebrow.amber { color: var(--amber); }

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-desc {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 720px;
}

/* HERO SECTION */
.hero-surface {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  background-image: var(--hero-gradient);
  padding: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.48;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
}

.tag-pill.accent {
  background: var(--accent-soft);
  border-color: rgba(56, 189, 248, 0.34);
  color: var(--accent);
}

.tag-pill.emerald {
  background: var(--emerald-soft);
  border-color: rgba(52, 211, 153, 0.34);
  color: var(--emerald);
}

.tag-pill.amber {
  background: var(--amber-soft);
  border-color: rgba(251, 191, 36, 0.34);
  color: var(--amber);
}

.hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-title-accent {
  background: linear-gradient(120deg, var(--accent) 0%, #34d399 52%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .hero-title-accent {
  background: linear-gradient(120deg, #0284c7 0%, #059669 60%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-sublink {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 4px;
}
.hero-sublink:hover {
  text-decoration: underline;
}

.live-telemetry-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  font-size: 0.75rem;
}

.live-telemetry-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.live-telemetry-meta {
  font-weight: 600;
  color: var(--text-muted);
}

.kpi-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.kpi-card {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition);
}
.kpi-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.kpi-card.kpi-pulse {
  animation: kpiHighlight 1.1s ease;
}

@keyframes kpiHighlight {
  0% { border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
  100% { border-color: var(--border); box-shadow: none; }
}

.kpi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.kpi-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  white-space: nowrap;
}
.kpi-tag.live {
  background: var(--emerald-soft);
  color: var(--emerald);
}
.kpi-tag.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.kpi-tag.sky {
  background: var(--accent-soft);
  color: var(--accent);
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.kpi-value.sky { color: var(--accent); }
.kpi-value.emerald { color: var(--emerald); }
.kpi-value.amber { color: var(--amber); }
.kpi-value.cyan { color: var(--accent); }
.kpi-value.violet { color: #7c3aed; }
html[data-theme="dark"] .kpi-value.violet { color: #a78bfa; }

.kpi-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.kpi-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

/* HERO VISUAL FRAME */
.hero-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 10.5;
  box-shadow: var(--shadow-md);
  background: #081222;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease, opacity 220ms ease;
}

.hero-photo-frame:hover img {
  transform: scale(1.02);
}

.hero-photo-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-photo-badge,
.media-photo-badge,
.zone-photo-badge,
.ocp-gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5, 11, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-photo-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.88);
  border: 1px solid rgba(186, 230, 253, 0.45);
  color: #031525;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.hero-photo-gallery-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 22, 0.16) 0%, rgba(5, 11, 22, 0.08) 42%, rgba(5, 11, 22, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #f8fafc;
  pointer-events: none;
}

.hero-landmark-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.hero-landmark-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-landmark-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
}
.hero-landmark-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.hero-photo-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fde68a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-photo-caption {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-live-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.hero-live-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-live-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.hero-live-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MANIFESTO ("3 KHÔNG · 3 CÓ")
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.manifesto-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.manifesto-card-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.manifesto-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manifesto-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.manifesto-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.manifesto-icon.no {
  background: var(--rose-soft);
  color: var(--rose);
}
.manifesto-icon.yes {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.manifesto-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.manifesto-item-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CAFE AI S2.03 SECTION
   ========================================================================== */

.cafe-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.media-showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.media-showcase-img {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--bg-elevated);
}

.media-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.media-showcase-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.venue-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.venue-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.venue-box-k {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.venue-box-v {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.agenda-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-step {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agenda-step:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.agenda-step.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.agenda-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.agenda-slot {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.agenda-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.agenda-detail {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   4 TRACKS, AI SANDBOX & SHOWCASE CARDS
   ========================================================================== */

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.track-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.track-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.track-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.track-title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.track-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.track-outcome {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Sandbox */
.sandbox-shell {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.sandbox-visual {
  position: relative;
  min-height: 280px;
  background: #07111f;
}

.sandbox-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sandbox-visual-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 18px 18px;
  background: linear-gradient(180deg, rgba(5, 11, 22, 0) 0%, rgba(5, 11, 22, 0.78) 38%, rgba(5, 11, 22, 0.96) 100%);
  color: #f8fafc;
}
.sandbox-visual-caption .tag-pill {
  background: rgba(5, 11, 22, 0.88);
  border-color: rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.sandbox-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.pill-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.pill-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
  font-weight: 700;
}

.sandbox-quote {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border-left: 3px solid var(--amber);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.sandbox-steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.sandbox-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.sandbox-metric-box {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--emerald-soft);
  border: 1px solid rgba(52, 211, 153, 0.28);
}
.sandbox-metric-k {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.sandbox-metric-v {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--emerald);
}

/* Showcase Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}
.showcase-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.showcase-title {
  font-size: 1rem;
  font-weight: 700;
}

.showcase-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.showcase-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.showcase-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   OCEAN PARK ZONE EXPLORER
   ========================================================================== */

.zone-explorer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.zone-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
}

.zone-summary-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zone-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9.2;
  background: #081222;
}

.zone-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zone-photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.zone-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, rgba(5, 11, 22, 0) 0%, rgba(5, 11, 22, 0.86) 100%);
  color: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Real Ocean Park 1 Gallery & Lightbox */
.ocp-spaces-block {
  margin-top: 26px;
  scroll-margin-top: 76px;
}

.ocp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ocp-gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.ocp-gallery-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ocp-gallery-media {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #081222;
}

.ocp-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}

.ocp-gallery-card:hover .ocp-gallery-media img {
  transform: scale(1.04);
}

.ocp-gallery-tag {
  position: absolute;
  top: 10px;
  left: 10px;
}

.ocp-gallery-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ocp-gallery-zone {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.ocp-gallery-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.32;
}

.ocp-gallery-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 11, 22, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-dialog {
  width: min(960px, 100%);
  max-height: 92dvh;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lightbox-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.lightbox-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.lightbox-stage {
  position: relative;
  background: #050b16;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 66dvh;
  overflow: hidden;
}

.lightbox-stage img {
  width: 100%;
  max-height: 66dvh;
  object-fit: contain;
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 11, 22, 0.72);
  color: #f8fafc;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover {
  background: rgba(14, 165, 233, 0.88);
  color: #031525;
}
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

.lightbox-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lightbox-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.zone-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.zone-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.archetype-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archetype-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.archetype-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

.mix-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 6px;
}

.mix-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.mix-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.mix-track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
}
.mix-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--emerald));
}

/* ==========================================================================
   15-SECOND FIT CHECK & APPLICATION FORM + QR
   ========================================================================== */

.fit-shell {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.fit-col {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fit-q-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}

.fit-opt-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fit-opt-btn {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.fit-opt-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.fit-opt-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.fit-result-bar {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--emerald-soft);
  border: 1px solid rgba(52, 211, 153, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.fit-result-bar.is-caution {
  background: var(--amber-soft);
  border-color: rgba(251, 191, 36, 0.35);
}

/* Recruitment & QR Grid */
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.label-row label {
  margin-bottom: 0;
}

.detect-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
}
.detect-badge.is-zalo {
  background: var(--emerald-soft);
  color: var(--emerald);
}
.detect-badge.is-fb {
  background: var(--accent-soft);
  color: var(--accent);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.textarea {
  min-height: 76px;
  resize: vertical;
}

.interest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.interest-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.interest-chip.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.field-hint {
  font-size: 0.75rem;
  line-height: 1.48;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-alert {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-alert.ok {
  background: var(--emerald-soft);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: var(--text);
}
.form-alert.info {
  background: var(--amber-soft);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: var(--text);
}
.form-alert.err {
  background: var(--rose-soft);
  border: 1px solid rgba(251, 113, 133, 0.36);
  color: var(--rose);
}

.intro-preview-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
}

/* QR & Direct Connect Card */
.qr-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.qr-frame {
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  width: 214px;
  height: 214px;
  display: grid;
  place-items: center;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.host-card {
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ==========================================================================
   1-PAGE ONBOARDING MATRIX, 3-STEP FUNNEL & STARTER PUBLIC HUB
   ========================================================================== */

.entry-funnel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.entry-step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.entry-step-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.entry-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.entry-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.entry-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.entry-step-foot {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.matrix-shell {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-shell-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.matrix-head-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 2px 4px;
  border-bottom: 1px solid var(--border);
}

.matrix-col-head {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.matrix-col-step {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.matrix-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.matrix-row:hover {
  border-color: var(--border-strong);
}

.matrix-persona-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 6px;
}

.matrix-persona-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.matrix-persona-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.matrix-persona-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
}

.matrix-stage-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matrix-stage-label {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.matrix-stage-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Starter Public Hub & Cafe S2.03 Teaser */
.teaser-shell {
  background: var(--surface);
  background-image: var(--hero-gradient);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.teaser-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teaser-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.teaser-meta-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.teaser-reassure-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.teaser-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.teaser-tables-panel {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teaser-table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.teaser-table-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.teaser-table-focus {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.starter-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.starter-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.guide-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.guide-summary {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.guide-steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.guide-prompt-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-prompt-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
}

.guide-prompt-text {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
  word-break: break-word;
}

.guide-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   FAQ ACCORDION & FOOTER
   ========================================================================== */

.faq-toolbar {
  margin-bottom: 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open {
  border-color: var(--accent);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-q-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.faq-q-prefix {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-q-text {
  line-height: 1.4;
}

.faq-q-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: none;
  flex-direction: column;
  gap: 10px;
}
.faq-item.open .faq-answer {
  display: flex;
}

.faq-takeaway {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--emerald-soft);
  border-left: 3px solid var(--emerald);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--accent);
}

/* Mobile Backdrop & Responsive */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 22, 0.62);
  backdrop-filter: blur(4px);
  z-index: 55;
}

.mobile-only { display: none; }
.desktop-only { display: inline-flex; }

.mobile-brand-pill {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .hero-grid,
  .cafe-split,
  .sandbox-shell,
  .zone-panel,
  .apply-grid,
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .ocp-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sandbox-visual {
    aspect-ratio: 16 / 9;
    min-height: 220px;
  }
  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .mobile-only { display: inline-flex; }
  .desktop-only { display: none; }
  .matrix-head-row {
    display: none;
  }
  .matrix-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .matrix-persona-cell {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
  }
  .matrix-stage-label {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .entry-funnel-grid,
  .starter-guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 10px 14px;
  }
  .topbar-status {
    display: none;
  }
  .mobile-brand-pill {
    display: inline-flex;
  }
  .pill-metric {
    display: none;
  }
  .page-wrap {
    padding: 16px 14px 56px;
    gap: 34px;
  }
  .hero-surface,
  .matrix-shell,
  .teaser-shell {
    padding: 18px 14px;
  }
  .grid-2,
  .tracks-grid,
  .showcase-grid,
  .fit-grid,
  .mix-bars,
  .form-grid-2,
  .venue-meta-grid,
  .sandbox-metrics,
  .ocp-gallery-grid,
  .matrix-row,
  .teaser-meta-strip {
    grid-template-columns: 1fr;
  }
  .hero-landmark-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }
  .faq-q-meta .tag-pill {
    display: none;
  }
}

@media (max-width: 440px) {
  .kpi-strip {
    grid-template-columns: 1fr;
  }
}
