/* ==========================================================================
   Rollnova — design tokens
   Palette drawn from the brand logo: deep navy/teal shell, electric-blue
   "nova" gradient as the primary accent, warm amber as the one CTA color.
   Typography: Inter throughout — a standard, professional, highly-legible
   workhorse typeface (per NB: "font iwe standard").
   ========================================================================== */
:root {
  --navy-deep: #082033;
  --navy-mid: #0e3450;
  --navy-soft: #123a58;
  --blue: #2f8fef;
  --blue-light: #6fb4ff;
  --blue-dark: #1c5fc4;
  --amber: #e0922f;
  --amber-dark: #c96d1f;
  --amber-light: #f0b15c;
  --bg-page: #eef2f6;
  --card-bg: #ffffff;
  --text-dark: #0d2436;
  --text-muted: #5c7386;
  --text-on-dark: #eef4fa;
  --text-on-dark-muted: #9fb6c9;
  --green-online: #2ecc71;
  --grey-offline: #aeb8c1;
  --border: #e2e8ee;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 18px rgba(9, 34, 56, 0.08);
  --shadow-modal: 0 20px 60px rgba(4, 16, 28, 0.35);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  padding-top: 82px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-display);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn:active { transform: scale(0.97); }

.btn-amber {
  background: linear-gradient(135deg, var(--amber-light), var(--amber-dark));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(201, 109, 31, 0.35);
}
.btn-amber:hover { box-shadow: 0 8px 22px rgba(201, 109, 31, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-dark);
}
.btn-outline-dark:hover { background: #f4f7fa; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-top-row { display: contents; }

/* Desktop order: logo (far left) -> live pill (fills middle) -> login (far right) */
.brand { order: 1; }
.live-pill { order: 2; }
.header-login-btn { order: 3; }

.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { height: 22px; width: auto; }

.live-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 10px 8px 16px;
  min-width: 0;
  overflow: hidden;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-online);
  flex-shrink: 0;
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.live-label {
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-track {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
  min-width: 50px;
  height: 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

.marquee-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  object-fit: cover;
  background: var(--navy-soft);
}

.live-count-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.live-count {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-light);
  min-width: 3.6ch;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.live-count-label {
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
}

.header-login-btn { flex-shrink: 0; }

/* ==========================================================================
   PAGES — swapped by the router; each is a genuine full page (no dimmed
   overlay, no popup chrome) rather than a modal.
   ========================================================================== */
.app-page { display: none; }
.app-page.active { display: block; }

#page-home { padding: 32px 0 60px; }

/* ==========================================================================
   DASHBOARD CARDS
   ========================================================================== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 22px 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-dark);
}

.overview-grid {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 28px;
}

.overview-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f6f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.stat-icon {
  font-size: 1.3rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #eaf3fd;
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-label { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.stat-value { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.stat-value-row { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.eye-icon-btn {
  background: none; border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.eye-icon-btn:hover { background: #eaf0f5; color: var(--text-dark); }

.withdraw-btn { width: 100%; padding: 14px; font-size: 1rem; }

.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.guests-card {
  background: linear-gradient(160deg, #ffffff, #f4f9ff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  text-align: left;
}
.guests-title { font-size: 1.4rem; margin-bottom: 6px; }
.guests-sub { margin: 0 0 18px; color: var(--text-muted); font-size: 0.95rem; }

.chat-rate-box {
  position: relative;
  padding-top: 16px;
  text-align: center;
  max-width: 320px;
}
.chat-rate-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--amber-light));
}
.chat-rate-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.chat-rate-value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--amber-dark);
}

.pagination-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
}
.page-numbers { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-btn {
  background: #f4f7fa;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-dark);
  flex-shrink: 0;
}
.page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn:hover:not(.active):not(:disabled) { background: #eaf0f5; }
.page-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.section-heading { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 16px; }

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

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-top { display: flex; gap: 12px; align-items: flex-start; }
.partner-avatar-wrap { position: relative; flex-shrink: 0; }
.partner-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border); object-fit: cover; background: #eaf0f5; }
.status-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--green-online);
}

.partner-info { flex: 1; min-width: 0; }
.partner-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.flag-icon { border-radius: 2px; box-shadow: 0 0 0 1px rgba(9, 34, 56, 0.08); flex-shrink: 0; vertical-align: middle; }
.partner-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0; }
.partner-status-text {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: auto;
  background: #e6f9ee;
  color: #1a9c56;
}
.partner-location, .partner-time {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.location-icon { flex-shrink: 0; color: var(--blue-dark); }

.partner-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.chat-btn {
  background: var(--navy-deep);
  color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.88rem;
  border: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.chat-btn:hover { background: var(--blue-dark); }
.partner-rate { text-align: right; }
.partner-rate .rate-value { font-family: var(--font-display); font-weight: 700; color: var(--amber-dark); font-size: 0.95rem; }

/* ==========================================================================
   FOOTER — static, simplified: logo + quick links, centered
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
  color: var(--text-on-dark);
  padding: 36px 0 90px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo { height: 24px; width: auto; }
.quick-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.quick-links a { color: var(--text-on-dark-muted); font-size: 0.9rem; }
.quick-links a:hover { color: #fff; }
.quick-links .sep { color: rgba(255, 255, 255, 0.25); }

.copyright { text-align: center; margin: 24px 0 0; font-size: 0.75rem; color: var(--text-on-dark-muted); }

/* ==========================================================================
   HANGING / FLOATING BUTTONS — bottom-left Customer Care, bottom-right
   Download App. Hidden automatically while on the chat page (mobile-first:
   most users are on phones, so these never sit over the message input).
   ========================================================================== */
.floating-buttons {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 14px 16px;
  pointer-events: none;
}
.floating-buttons.hidden { display: none; }

.floating-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 8px 22px rgba(4, 16, 28, 0.35);
}
.floating-care:hover, .floating-download:hover { background: var(--blue-dark); }
.floating-care svg { flex-shrink: 0; }

.floating-download-wrap {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
}
.floating-download {
  background: linear-gradient(135deg, var(--amber-light), var(--amber-dark));
  border: none;
}
.floating-download:hover { filter: brightness(1.05); }
.floating-dismiss {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(4, 16, 28, 0.25);
}
.floating-dismiss:hover { background: #f1f3f5; }

/* ==========================================================================
   AUTH PAGE (Login) — full page, not a popup
   ========================================================================== */
.auth-page-wrap {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 15% 15%, rgba(47, 143, 239, 0.08), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(224, 146, 47, 0.08), transparent 45%);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}
.auth-logo { height: 22px; margin: 0 auto 22px; }
.auth-title { font-family: var(--font-display); font-size: 1.4rem; text-align: center; margin: 0 0 6px; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin: 0 0 8px; }

.field-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin: 14px 0 6px; }
.field-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.field-input:focus { border-color: var(--blue); }

.password-wrap { position: relative; }
.password-wrap .field-input { padding-right: 42px; }
.eye-toggle {
  position: absolute;
  right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  width: 32px; height: 32px;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.eye-toggle:hover { background: #f1f3f5; color: var(--text-dark); }

.login-submit-btn { width: 100%; margin-top: 20px; padding: 12px; font-size: 1rem; }
.register-hint { text-align: center; margin: 16px 0 0; font-size: 0.88rem; color: var(--text-muted); }
.register-hint a { color: var(--blue-dark); font-weight: 600; }

/* ==========================================================================
   SMALL NOTIFICATION POPUPS (kept short and purposeful — not full pages)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 16, 28, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 28px 26px;
  width: 100%;
  max-width: 400px;
  position: relative;
  animation: modal-pop 0.22s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modal-pop {
  from { transform: scale(0.94) translateY(6px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none;
  font-size: 1rem;
  color: var(--text-muted);
  width: 30px; height: 30px;
  border-radius: 50%;
}
.modal-close:hover { background: #f1f3f5; }
.modal-title { font-family: var(--font-display); font-size: 1.25rem; text-align: center; margin: 0 0 4px; }

.small-modal { max-width: 340px; text-align: center; }
.error-icon { font-size: 2.2rem; margin-bottom: 8px; }
.popup-icon-box {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.popup-icon-warning { background: linear-gradient(135deg, var(--amber-light), var(--amber-dark)); }
.small-modal h3 { font-family: var(--font-display); margin: 0 0 8px; }
.small-modal p { color: var(--text-muted); margin: 0 0 14px; font-size: 0.92rem; line-height: 1.5; }
.small-modal p strong { color: var(--text-dark); }
.popup-subnote { font-size: 0.85rem !important; margin: -4px 0 18px !important; }

.btn-register-cta, .balance-login-btn {
  width: 100%;
  padding: 13px;
  font-size: 0.98rem;
  margin-bottom: 10px;
}
.error-retry-btn { width: 100%; padding: 12px; }

.auth-required-actions { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.auth-required-actions .btn { flex: 1; }

/* Customer care popup */
.care-modal { max-width: 400px; text-align: center; }
.care-icon-box {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--amber-light), var(--amber-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.care-sub { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 18px; }
.care-option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  text-align: left;
}
.care-option:hover { background: #f6f9fb; }
.care-option-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f1f3f5;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.care-option-text { flex: 1; }
.care-option-text strong { display: block; font-size: 0.92rem; }
.care-option-text small { color: var(--text-muted); font-size: 0.8rem; }
.care-arrow { color: var(--text-muted); }
.care-notes { text-align: left; background: #f6f9fb; border-radius: var(--radius-md); padding: 14px 16px; margin: 6px 0 18px; }
.care-notes p { margin: 0 0 8px; font-size: 0.85rem; color: var(--text-dark); }
.care-notes p:last-child { margin-bottom: 0; }
.care-close-btn { width: 100%; padding: 12px; }

/* ==========================================================================
   CHAT PAGE — full page, not a popup
   ========================================================================== */
.chat-page-wrap {
  max-width: 720px;
  margin: 0 auto;
  height: calc(100vh - 82px);
  height: calc(100dvh - 82px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.chat-page-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}
.chat-back {
  background: #f4f7fa; border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #eaf0f5; }
.chat-name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.chat-status { margin: 0; font-size: 0.8rem; color: var(--green-online); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f6f9fb;
}
.msg { max-width: 74%; padding: 11px 15px; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; position: relative; }
.msg.in { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-meta { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 5px; font-size: 0.68rem; opacity: 0.75; }
.msg.in .msg-meta { justify-content: flex-start; }
.msg-tick { color: var(--blue-light); flex-shrink: 0; }

.typing-bubble {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 14px 18px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.92rem;
  outline: none;
}
.chat-input:focus { border-color: var(--blue); }
.chat-send-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy-deep);
  color: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.chat-send-btn:hover { background: var(--blue-dark); }

/* ==========================================================================
   LANDING PAGES — About / Contact
   ========================================================================== */
.landing-page-wrap { max-width: 920px; margin: 0 auto; padding: 56px 24px 70px; }
.landing-hero { text-align: center; margin-bottom: 48px; }
.landing-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--blue-dark);
  margin: 0 0 10px;
}
.landing-title { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin: 0 0 16px; color: var(--text-dark); }
.landing-lead { font-size: 1.05rem; color: var(--text-muted); max-width: 620px; margin: 0 auto; line-height: 1.6; }

.landing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 44px; }
.landing-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.landing-feature-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.landing-feature h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 8px; }
.landing-feature p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

.landing-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 36px 24px;
}
.landing-cta p { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin: 0 0 18px; }

.contact-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 32px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.contact-method:hover { border-color: var(--blue); }
.contact-method-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #eaf3fd;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-method h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 0.98rem; }
.contact-method p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }
.landing-note { text-align: center; color: var(--text-muted); font-size: 0.88rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .overview-grid { flex-direction: column; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-grid, .contact-methods { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-top: 128px; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 14px; }
  .header-top-row { display: flex; justify-content: space-between; align-items: center; }
  .brand-logo { height: 18px; }
  .live-pill { width: 100%; padding: 7px 8px 7px 12px; }
  .live-label { font-size: 0.78rem; }
  .live-count { font-size: 0.95rem; }
  .live-count-label { font-size: 0.65rem; }
  .btn-outline { padding: 7px 16px; font-size: 0.85rem; }
  .partners-grid { grid-template-columns: 1fr; }
  .overview-stats { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .chat-page-wrap { height: calc(100vh - 128px); height: calc(100dvh - 128px); }
  .auth-card { padding: 30px 22px; }
  .landing-title { font-size: 1.5rem; }
}

@media (max-width: 420px) {
  .marquee-track { display: none; }
  .floating-buttons { padding: 10px 12px; }
  .floating-btn { padding: 9px 12px; font-size: 0.72rem; gap: 5px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
  .live-dot { animation: none; }
  .typing-dot { animation: none; }
  html { scroll-behavior: auto; }
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
