@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ============================================================
   chat.css — OpenTalk random chat
   - Light/dark via CSS vars (theme switch is instant)
   - Top bar carries brand (left) + online count + theme toggle (right)
   - Bottom bar is slim (mode pill) only on the chat page
   - Video tiles have a FIXED aspect ratio + max size — they DO NOT
     stretch to the user's webcam resolution
   - Mobile-first responsive
   ============================================================ */

:root {
  --bg:        #f4f5f8;
  --panel:     #ffffff;
  --panel-2:   #f7f8fb;
  --text:      #0e1116;
  --text-2:    #4b5563;
  --muted:     #6b7280;
  --border:    #e5e7eb;
  --primary:   #228891;
  --primary-2: #006c74;
  --primary-fg:#ffffff;
  --accent:      #ff5470;
  --surface-alt: #e8f5f6;
  --danger:    #c0392b;
  --success:   #4CAF50;
  --tile-bg:   #d9dde3;
  --shadow:    0 6px 22px rgba(15,23,42,.08);
  --radius:    14px;
  --topbar-h:  60px;
}
:root[data-theme="dark"] {
  --bg:        #0e1116;
  --panel:     #161b22;
  --panel-2:   #1d242d;
  --text:      #e6e9ef;
  --text-2:    #c9d1d9;
  --muted:     #8b95a3;
  --border:    #232a33;
  --primary:   #4ab3bd;
  --primary-2: #228891;
  --primary-fg:#0e1116;
  --tile-bg:   #1d242d;
  --surface-alt: #0e2226;
  --shadow:    0 6px 22px rgba(0,0,0,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: "Nunito", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100dvh;
}
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ==================== TOP BAR ==================== */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  padding: 8px 18px; min-height: var(--topbar-h);
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  position: sticky; top: 0; z-index: 50;
}
.topbar-center {
  display: flex; justify-content: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; color: var(--text);
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.topbar-right {
  display: flex; align-items: center; gap: 14px;
  justify-self: end;
}
.online {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--primary);
  font-size: 14px; white-space: nowrap;
}
.online .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(76,175,80,.18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(76,175,80,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(76,175,80,0);   }
  100% { box-shadow: 0 0 0 0   rgba(76,175,80,0);   }
}

/* Theme toggle (circular icon button — sun/moon SVG) */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--panel-2); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle:active { transform: scale(.88); }
.theme-toggle-spinning { transform: rotate(180deg) scale(0.8) !important; }

/* ==================== LANDING (index.html) ==================== */
.hero {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 18px 40px;
  background:
    radial-gradient(ellipse at top, rgba(34,136,145,.18), transparent 60%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); max-width: 800px;
}
.hero h1 .accent { color: var(--primary); }
.hero p.lead {
  font-size: clamp(15px, 2vw, 18px); color: var(--text-2);
  max-width: 620px; margin: 0 auto 26px; line-height: 1.55;
  text-align: center;
}
.hero .cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--primary-fg);
  border: none; cursor: pointer;
  font-size: 18px; font-weight: 800;
  padding: 16px 36px; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(34,136,145,.45);
  transition: transform .1s, box-shadow .15s;
}
.hero .cta:hover { transform: translateY(-2px); text-decoration: none; }
.hero .cta small { font-size: 12px; opacity: .85; font-weight: 600; }
.hero .cta .ico-svg { display: inline-block; vertical-align: middle; }
.hero .cta-alt {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(15,23,42,.10);
}
.hero .cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.hero .age-line {
  margin-top: 18px; color: var(--muted); font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero .age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #c0392b; color: #fff; font-size: 11px; font-weight: 800;
}

.hero-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 720px; width: 100%; margin: 36px auto 0;
}
.hero-grid .card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: left;
  box-shadow: var(--shadow);
}
.hero-grid .card .ico { font-size: 22px; margin-bottom: 6px; }
.hero-grid .card h3 { margin: 0 0 4px; font-size: 14px; color: var(--text); }
.hero-grid .card p  { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.4; }
@media (max-width: 640px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ==================== APP STAGE (random/index.html) ==================== */
/* Two-column stage that occupies the full visible viewport:
   - Big partner video on the LEFT (fills available width + height)
   - Self preview as a small PiP overlay inside the partner tile
   - Chat panel on the RIGHT, fixed width on desktop, full width on mobile.
   Reserved chrome: topbar + modebar (~52px) + app padding/gap (~30px). */
.app {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  max-width: 1480px; width: 100%; margin: 0 auto;
  --stage-h: calc(100dvh - var(--topbar-h) - 30px);
  min-height: var(--stage-h);
}
@media (min-width: 980px) {
  /* umingle-style: narrow video column on the LEFT, wide chat on the RIGHT. */
  .app { grid-template-columns: 320px minmax(0, 1fr); align-items: stretch; }
  /* Text-only page: no video column — center the chat with a comfy max width. */
  body[data-mode="text"] .app,
  .app:has(.video-col[style*="display: none"]) {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
  }
}
@media (min-width: 1280px) {
  .app { grid-template-columns: 360px minmax(0, 1fr); }
  body[data-mode="text"] .app,
  .app:has(.video-col[style*="display: none"]) {
    grid-template-columns: minmax(0, 860px);
  }
}

/* ---- Video column ----
   Default (desktop ≥ 980px): Omegle-style VERTICAL stack — stranger
   on top, you on the bottom — chat column sits to the right.
   This is the layout users know from Omegle / OmeTV / Monkey.
   Optional: data-vlayout="split" → 50/50 side-by-side,
             data-vlayout="pip"   → big stranger + small self overlay.
   Mobile (<980px) always uses PiP overlay. */
.video-col {
  position: relative;
  height: var(--stage-h);
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr;        /* one row by default (PiP fallback) */
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 980px) {
  /* umingle-style: stranger on top, you below — both inside the narrow left column. */
  .video-col:not([data-vlayout="pip"]):not([data-vlayout="split"]) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: auto;
    align-content: start;
    gap: 10px;
  }
  .video-col:not([data-vlayout="pip"]):not([data-vlayout="split"]) .tile {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  /* Equal-visibility side-by-side (good for streamers) */
  .video-col[data-vlayout="split"] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
}
.tile {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--tile-bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  min-height: 0; min-width: 0;
}
/* Mobile (<980px): umingle-style — big partner tile with a small self PiP
   overlay in the TOP-RIGHT corner, then chat below.
   Scoped to body:not(.m-on) so these rules cannot bleed into the mobile
   stage — the mobile UI owns <=979px when body.m-on is set. */
@media (max-width: 979px) {
  body:not(.m-on) .video-col {
    display: block;
    height: auto;
    gap: 0;
  }
  body:not(.m-on) .video-col .tile.partner {
    position: relative;
    aspect-ratio: 4 / 3;
    height: auto;
    width: 100%;
  }
  body:not(.m-on) .video-col .tile.self {
    position: absolute;
    top: 10px; right: 10px;
    left: auto; bottom: auto;
    width: clamp(80px, 22vw, 110px);
    height: auto;
    aspect-ratio: 3 / 4;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.45);
    z-index: 4;
  }
  body:not(.m-on) .video-col .tile.self .tile-tag,
  body:not(.m-on) .video-col .tile.self .tile-status,
  body:not(.m-on) .video-col .tile.self .tile-volume,
  body:not(.m-on) .video-col .tile.self .tile-flag,
  body:not(.m-on) .video-col .tile.self .tile-brand,
  body:not(.m-on) .video-col .tile.self .tile-controls,
  body:not(.m-on) .video-col .tile.self .device-menu { display: none !important; }
}
.video-col[data-vlayout="pip"] { display: block; }
.video-col[data-vlayout="pip"] .tile.self {
  position: absolute;
  right: 14px; bottom: 14px;
  width: clamp(120px, 22%, 220px);
  height: auto;
  aspect-ratio: 4 / 3;
  z-index: 4;
  border: 2px solid var(--panel);
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  border-radius: 12px;
}
.tile video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;            /* cover the fixed box, crop excess */
  background: #000;
}
.tile.self video { transform: scaleX(-1); }
.tile.self.no-mirror video { transform: none; }
/* Stranger video mirrored for natural selfie feel. */
.tile.partner video { transform: scaleX(-1); }
.tile.partner.no-mirror video { transform: none; }
.tile .tile-tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  pointer-events: none; z-index: 2;
}
/* Omegle-style watermark on the partner tile: "OpenTalk" big + ".club" small,
   bottom-left, white text with a black stroke outline (like the screenshot). */
.tile .tile-brand {
  position: absolute; left: 18px; bottom: 16px;
  color: #fff;
  font-size: 0; /* hide the literal text node, glyphs come via ::before / ::after */
  pointer-events: none; z-index: 2;
  line-height: 1;
}
.tile .tile-brand::before {
  content: "OpenTalk";
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 0 1px rgba(0,0,0,.5);
  font-family: inherit;
}
.tile .tile-brand::after {
  content: ".club";
  font-size: 18px; font-weight: 500;
  margin-left: 1px;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
@media (max-width: 640px) {
  .tile .tile-brand { left: 12px; bottom: 12px; }
  .tile .tile-brand::before,
  .tile .tile-brand::after { font-size: 14px; }
}
/* Report flag: bottom-right, big plain grey flag, no pill background */
.tile .tile-flag {
  position: absolute; right: 14px; bottom: 12px;
  width: 52px; height: 52px;
  background: transparent; border: none; cursor: pointer; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(220,220,220,.85);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.6));
  transition: color .15s, transform .1s;
  padding: 0;
}
.tile .tile-flag:hover { color: #fff; transform: scale(1.08); }
.tile .tile-flag svg { display: block; width: 30px; height: 30px; }
@media (max-width: 640px) {
  .tile .tile-flag { width: 44px; height: 44px; right: 10px; bottom: 10px; }
  .tile .tile-flag svg { width: 26px; height: 26px; }
}
/* Volume slider on the partner tile (top centre, on hover) */
.tile .tile-volume {
  position: absolute; left: 50%; top: 12px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; z-index: 3;
  opacity: 0; transition: opacity .18s;
  pointer-events: none;
}
.tile:hover .tile-volume,
.tile:focus-within .tile-volume,
.tile .tile-volume:hover { opacity: 1; pointer-events: auto; }
@media (hover: none) {
  .tile .tile-volume { opacity: 1; pointer-events: auto; }
}
.tile .tile-volume input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 110px; height: 4px; background: rgba(255,255,255,.35);
  border-radius: 999px; outline: none; cursor: pointer; margin: 0;
}
.tile .tile-volume input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff;
}
.tile .tile-volume input[type=range]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff;
}
.tile.placeholder { color: var(--muted); font-size: 14px; }
/* Brand stays visible on placeholder; only flag + volume slider hide. */
.tile.placeholder .tile-flag,
.tile.placeholder .tile-volume { display: none; }
/* Force [hidden] to win over inline-flex on input-row buttons. */
.input-row [hidden] { display: none !important; }
/* Hide tile-status overlay once a real partner video is attached */
.tile:not(.placeholder) .tile-status { display: none; }
.tile .tile-status {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; pointer-events: none;
  color: var(--muted); font-size: 14px; text-align: center; padding: 12px;
}
.tile-spinner {
  width: 84px; height: 84px; border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: rgba(255,255,255,.85);
  animation: tileSpin 1.1s linear infinite;
}
@keyframes tileSpin { to { transform: rotate(360deg); } }

/* ---- Chat column ---- */
.chat-col {
  display: flex; flex-direction: column;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: var(--stage-h);
  min-height: 0;
}
.chat-msgs {
  flex: 1; overflow-y: auto;
  padding: 18px 18px 8px;
  display: flex; flex-direction: column; gap: 8px;
}
.welcome { padding: 4px 2px 12px; }
.welcome h2 {
  font-size: 22px; margin: 0 0 14px; font-weight: 800; color: var(--text);
  letter-spacing: -0.01em;
}
.welcome .age-line {
  color: var(--primary); font-weight: 800; margin: 6px 0 8px;
  display: flex; align-items: center; gap: 8px; font-size: 16px;
}
.welcome .age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #c0392b; color: #fff; font-size: 11px; font-weight: 800;
}
.welcome ul { margin: 0; padding-left: 0; list-style: none; color: var(--text-2); }
.welcome ul li { padding: 3px 0; font-size: 15px; }

.msg {
  max-width: 78%; padding: 8px 12px; border-radius: 14px;
  font-size: 14px; line-height: 1.4; word-wrap: break-word;
}
.msg.me   { align-self: flex-end;  background: var(--primary); color: var(--primary-fg); border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: var(--panel-2); color: var(--text); border-bottom-left-radius: 4px; }
.msg.sys  { align-self: center; background: transparent; color: var(--muted); font-size: 12px; font-style: italic; }

/* ---- Input row + Start ---- */
.input-row {
  display: flex; gap: 10px; padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}
.start-btn {
  flex: 0 0 auto;
  background: var(--primary); color: var(--primary-fg);
  border: none; border-radius: 14px;
  padding: 14px 26px;
  min-width: 110px;            /* prevent width jump between Skip and Really? */
  font-size: 16px; font-weight: 800;
  cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(34,136,145,.35);
  transition: transform .08s, box-shadow .12s, opacity .12s, background-color .12s;
}
.start-btn small { font-size: 11px; opacity: .8; font-weight: 600; }
.start-btn:hover { transform: translateY(-1px); }
.start-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.start-btn.stop  { background: var(--danger); box-shadow: 0 6px 14px rgba(192,57,43,.35); }
.start-btn.next  { background: var(--success); box-shadow: 0 6px 14px rgba(76,175,80,.35); }

.text-input {
  flex: 1;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px; outline: none;
  min-width: 0;
}
.text-input:focus { border-color: var(--primary); }
.send-btn {
  background: transparent; border: none; cursor: pointer;
  color: var(--muted); padding: 0 6px; font-size: 22px;
}
.send-btn:hover { color: var(--primary); }

/* ==================== BOTTOM MODE PILL (chat page) ==================== */
.modebar {
  display: flex; justify-content: center;
  padding: 8px 12px;
  background: transparent;
}
.mode-pill {
  display: inline-flex; background: var(--panel);
  border-radius: 999px; padding: 4px; gap: 2px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mode-pill button {
  border: none; background: transparent; color: var(--muted);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.mode-pill button.active { background: var(--primary); color: var(--primary-fg); }

/* ==================== INTEREST INPUT ==================== */
.interest-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.interest-bar .label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.interest-bar input {
  flex: 1; min-width: 120px; background: transparent; border: none;
  color: var(--text); padding: 4px 6px; font-size: 13px; outline: none;
}
.chip {
  background: var(--primary); color: var(--primary-fg);
  font-size: 12px; padding: 3px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.chip button { background: none; border: none; color: var(--primary-fg); cursor: pointer; padding: 0; font-size: 14px; line-height: 1; }

/* ==================== 18+ inline gate ==================== */
.gate-inline {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px; margin-top: 12px;
}
.gate-inline h3 { margin: 0 0 8px; color: var(--text); font-size: 16px; }
.gate-inline p { margin: 0 0 12px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.gate-inline .row { display: flex; gap: 8px; flex-wrap: wrap; }
.gate-inline button {
  border: none; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; cursor: pointer; font-size: 14px;
}
.gate-inline .agree { background: var(--primary); color: var(--primary-fg); }
.gate-inline .leave { background: var(--panel); color: var(--muted); border: 1px solid var(--border); }

/* ==================== REPORT MODAL ==================== */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none;
  align-items: center; justify-content: center; z-index: 900; padding: 20px;
}
.modal.active { display: flex; }
.modal-card {
  background: var(--panel); color: var(--text);
  border-radius: 14px; padding: 22px; max-width: 400px; width: 100%;
  box-shadow: var(--shadow);
}
.modal-card h3 { margin: 0 0 14px; }
.modal-card label { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--text-2); font-size: 14px; }
.modal-card .actions { margin-top: 16px; display: flex; gap: 8px; justify-content: flex-end; }
.modal-card .actions button {
  border: none; padding: 10px 16px; border-radius: 10px; font-weight: 700; cursor: pointer;
}
.modal-card .send { background: var(--danger); color: #fff; }
.modal-card .cancel { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }

/* ==================== TOAST ==================== */
.toast {
  position: fixed; bottom: 86px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 10px;
  font-size: 14px; z-index: 1100; display: none;
  box-shadow: var(--shadow);
}
.toast.active { display: block; }

/* ==================== SEO SECTIONS ==================== */
.seo {
  background: var(--panel-2);
  padding: 40px 18px;
  border-top: 1px solid var(--border);
}
.seo .wrap { max-width: 980px; margin: 0 auto; }
.seo h2 { font-size: clamp(22px, 3.5vw, 28px); color: var(--text); margin: 0 0 16px; text-align: center; }
.seo p, .seo li { color: var(--text-2); line-height: 1.55; font-size: 15px; }
.seo strong { color: var(--text); }
.seo aside, .seo [style*="surface-alt"] { color: var(--text); }
.seo-intro { padding-top: 16px; padding-bottom: 16px; }
.seo-intro .wrap { max-width: 720px; text-align: center; }
.seo-intro p { font-size: 16px; }
.faq details { background: var(--panel); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq p { margin: 8px 0 0; }
.compare-tbl { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 12px; overflow: hidden; font-size: 14px; }
.compare-tbl th, .compare-tbl td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-tbl th { background: var(--panel-2); color: var(--text); }
.compare-tbl td.yes { color: var(--success); font-weight: 700; }
.compare-tbl td.no  { color: var(--danger);  font-weight: 700; }

/* ==================== SITE FOOTER ==================== */
footer.site-foot {
  text-align: center; padding: 22px 16px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--border); background: var(--panel);
}
footer.site-foot .links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px; margin-bottom: 10px;
}
footer.site-foot .links a { color: var(--muted); }

/* ==================== MOBILE TWEAKS ==================== */
@media (max-width: 640px) {
  .topbar { padding: 8px 12px; min-height: 52px; }
  :root { --topbar-h: 52px; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .topbar-right { gap: 10px; }
  .online { font-size: 13px; }

  .hero { padding: 36px 16px 28px; }
  .hero .cta { padding: 14px 28px; font-size: 16px; }

  .app {
    padding: 8px; gap: 8px;
    /* On mobile we let the page scroll naturally so the chat input is
       always reachable above the on-screen keyboard. */
    --stage-h: auto;
    min-height: 0;
  }
  .video-col {
    height: auto;
    grid-template-rows: auto;
    display: block;
    position: relative;
  }
  .tile { height: auto; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; }
  .tile.self {
    position: absolute; right: 8px; bottom: 8px;
    width: 38%; max-width: 160px; height: auto;
    z-index: 3; border: 2px solid var(--panel);
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
  }
  .chat-col { height: auto; min-height: 320px; max-height: none; }
  .chat-msgs { padding: 14px; }
  .welcome h2 { font-size: 18px; }
  .input-row { padding: 10px; gap: 8px; }
  .start-btn { padding: 12px 18px; font-size: 15px; }
  .text-input { padding: 11px 12px; font-size: 14px; }
}

/* ============================================================
   Additions: typing indicator, hover tile controls, device menu,
   theme-toggle sun/moon icons
   ============================================================ */

/* Typing indicator (bouncing dots in a "them" bubble) */
.msg.typing {
  display: inline-flex; gap: 4px;
  padding: 10px 12px; align-items: center;
}
.msg.typing .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.msg.typing .dot:nth-child(2) { animation-delay: .15s; }
.msg.typing .dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0);   opacity: .4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* Hover controls on the self tile (camera/mic selectors) */
.tile-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 6px; justify-content: center;
  padding: 6px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  opacity: 0; transition: opacity .18s;
  pointer-events: none;
  z-index: 5;
}
.tile.self:hover .tile-controls,
.tile.self:focus-within .tile-controls,
.tile-controls:hover { opacity: 1; pointer-events: auto; }
/* Always show on touch devices (no hover). */
@media (hover: none) {
  .tile-controls { opacity: 1; pointer-events: auto; background: rgba(0,0,0,.4); }
}
.tile-ctrl {
  width: 28px; height: 28px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,.95); color: #111;
  font-size: 13px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: transform .1s;
}
.tile-ctrl:hover { transform: scale(1.08); }

/* Popup menu listing devices */
.device-menu {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 4px; min-width: 180px; max-width: 240px;
  z-index: 10;
}
.device-menu .menu-item {
  display: block; width: 100%; text-align: left;
  border: none; background: transparent; color: var(--text);
  padding: 8px 10px; font-size: 13px; border-radius: 6px;
  cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device-menu .menu-item:hover { background: var(--panel-2); }
.device-menu .menu-item.active { background: var(--primary); color: var(--primary-fg); }
.device-menu .menu-empty { padding: 8px 10px; font-size: 13px; color: var(--muted); }

/* Theme toggle: sun/moon glyphs, knob slides between */
/* Landing brand sizing — bigger and bolder, shrinks on scroll */
.brand.brand-lg { font-size: 38px; font-weight: 900; gap: 16px; transition: font-size .28s, gap .28s; }
.brand.brand-lg img { width: 60px; height: 60px; border-radius: 14px; transition: width .28s, height .28s, border-radius .28s; }
.brand .brand-text { letter-spacing: -0.025em; }

/* Landing topbar: panel bg always, border/shadow revealed on scroll */
.topbar-landing {
  border-bottom-color: transparent;
  box-shadow: none;
  transition: border-color .28s, box-shadow .28s;
}
.topbar-landing.topbar-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.topbar-landing.topbar-scrolled .brand.brand-lg { font-size: 22px; gap: 10px; }
.topbar-landing.topbar-scrolled .brand.brand-lg img { width: 36px; height: 36px; border-radius: 10px; }
.topbar-landing .online { font-size: 16px; font-weight: 800; }
.topbar-landing .online .dot { width: 11px; height: 11px; }
@media (max-width: 640px) {
  .brand.brand-lg { font-size: 28px; gap: 12px; }
  .brand.brand-lg img { width: 46px; height: 46px; }
  .topbar-landing .online { font-size: 14px; }
}

/* ==================== LANGUAGE PICKER ==================== */
.lang-picker { position: relative; }

.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 11px; border-radius: 10px;
  border: 1.5px solid var(--border);
  background: transparent; cursor: pointer;
  color: var(--text); font-size: 13px; font-weight: 700;
  font-family: inherit; white-space: nowrap; line-height: 1;
  transition: background .15s, border-color .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.lang-btn:hover,
.lang-btn:focus-visible {
  background: var(--panel-2); border-color: var(--primary);
  color: var(--primary); outline: none;
}
.lang-btn[aria-expanded="true"] {
  background: var(--panel-2); border-color: var(--primary); color: var(--primary);
}
.lgi { opacity: .75; flex-shrink: 0; }
.lgc { opacity: .6; flex-shrink: 0; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lgc { transform: rotate(180deg); }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 178px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.16);
  list-style: none; margin: 0; padding: 5px;
  z-index: 300; display: none;
  transform-origin: top right;
}
.lang-menu.open {
  display: block;
  animation: lgIn .16s cubic-bezier(.16,1,.3,1) both;
}
@keyframes lgIn {
  from { opacity: 0; transform: scale(.95) translateY(-6px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.lang-menu li { margin: 0; padding: 0; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px;
  color: var(--text); font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .1s, color .1s;
}
.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: var(--panel-2); color: var(--primary);
  outline: none; text-decoration: none;
}
.lang-menu a.active { color: var(--primary); background: var(--panel-2); }
.lang-menu a.active::after { content: "✓"; margin-left: auto; font-weight: 900; font-size: 13px; }
.lf { font-size: 18px; line-height: 1.1; flex-shrink: 0; }

/* RTL: open to left side */
[dir="rtl"] .lang-menu { right: auto; left: 0; transform-origin: top left; }

@media (max-width: 500px) {
  .lang-btn { padding: 6px 8px; gap: 4px; }
  #langCode, .lgc { display: none; }
}

/* Welcome screen: small lead line under the greeting */
.welcome .welcome-lead {
  margin: 6px 0 14px; font-size: 15px; color: var(--text-2);
}
.welcome h2 { font-size: 24px; margin: 0 0 6px; }

/* Modern SVG icons inside hero CTAs */
.hero .cta { gap: 10px; }
.hero .cta .ico-svg { width: 22px; height: 22px; }
.hero-grid .card .ico svg { display: block; color: var(--primary); }

/* ============ "Less is more" landing tweaks ============ */
/* Tighter hero copy */
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 8px; }
.hero p.lead { font-size: 15px; margin-bottom: 22px; max-width: 480px; text-align: center; margin-left: auto; margin-right: auto; }

/* Minimal feature cards: icon top-centre, single title, no subtitle */
.hero-grid.hero-grid-min .card {
  text-align: center;
  padding: 18px 14px;
}
.hero-grid.hero-grid-min .card .ico {
  display: flex; justify-content: center;
  margin: 0 0 8px;
}
.hero-grid.hero-grid-min .card .ico svg {
  color: var(--primary);
}
.hero-grid.hero-grid-min .card h3 {
  margin: 0; font-size: 15px; font-weight: 700;
}
.hero-grid.hero-grid-min .card p { display: none; }

/* Tighter SEO + FAQ blocks */
.seo { padding: 28px 18px; }
.seo h2 { font-size: clamp(20px, 3vw, 24px); margin-bottom: 12px; }
.faq details { padding: 10px 14px; }
.faq summary { font-size: 14px; }
.faq p { font-size: 14px; }
.compare-tbl { font-size: 13px; }
.compare-tbl th, .compare-tbl td { padding: 8px 10px; }

/* ============ Landing umingle-style card ============ */
.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15,23,42,.08);
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 36px 36px;
  text-align: center;
}
.hero-card h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-card .accent { color: var(--primary); }
.hero-card .lead {
  font-size: 15px; color: var(--text-2);
  max-width: 520px; margin: 0 auto 28px;
  line-height: 1.55; text-align: center;
}
.start-block { margin-top: 8px; }
.start-block .start-label {
  font-weight: 800; color: var(--text); margin-bottom: 14px; font-size: 18px;
}
.cta-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.cta.cta-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--primary-fg);
  border: none; cursor: pointer;
  font-size: 22px; font-weight: 800;
  padding: 16px 48px; border-radius: 14px;
  text-decoration: none; min-width: 150px;
  box-shadow: 0 10px 24px rgba(34,136,145,.30);
  transition: transform .12s, box-shadow .15s;
}
.cta.cta-pill:hover { transform: translateY(-2px); text-decoration: none; }
.cta-or {
  font-size: 14px; color: var(--text-2); font-weight: 600;
}
.interest-block { margin-top: 32px; }
.interest-block .interest-label {
  display: block; font-weight: 700; color: var(--text);
  margin-bottom: 10px; font-size: 15px;
}
.interest-block .interest-input {
  width: 100%; max-width: 440px;
  padding: 14px 18px; font-size: 15px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg); color: var(--text);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.interest-block .interest-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,136,145,.18);
}
.mod-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 10px 18px;
  background: rgba(34,136,145,.10);
  color: var(--primary); border-radius: 999px;
  font-weight: 700; font-size: 14px;
}
.mod-pill svg { color: var(--primary); }

@media (max-width: 640px) {
  .hero-card { padding: 32px 20px 28px; border-radius: 18px; }
  .cta.cta-pill { font-size: 18px; padding: 14px 32px; min-width: 110px; }
}

/* Stop button: white card style, sits next to Skip */
.start-btn.stop-btn {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800;
}
.start-btn.stop-btn .sb-ico {
  display: inline-flex; width: 14px; height: 14px;
  background: var(--text);
  border-radius: 2px;
}
.start-btn.stop-btn:hover { background: var(--panel-2); }

/* Bold "you're now connected" banner above chat messages */
.chat-connected-bar {
  padding: 10px 14px; margin: 0;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.chat-connected-bar strong { color: var(--primary); font-weight: 800; }

/* Skip-confirm state on the primary button */
.start-btn.confirm,
.start-btn.next.confirm,
.start-btn.stop.confirm {
  background: #c0392b !important;
  color: #fff !important;
  border-color: #c0392b !important;
  box-shadow: 0 6px 14px rgba(192,57,43,.35) !important;
}
.start-btn.confirm small { color: rgba(255,255,255,.85); }

/* Mobile-specific UI tweaks (umingle-style polish) */
@media (max-width: 979px) {
  /* Hide mode pill in topbar — page is already /video/ */
  .topbar-center { display: none; }
  .topbar { grid-template-columns: 1fr auto; padding: 6px 12px; }
  /* Tighter app padding on mobile */
  .app { padding: 8px; gap: 8px; --stage-h: auto; min-height: 0; }
  .chat-col { height: auto; min-height: 180px; }
  .chat-msgs { padding: 14px 14px 6px; }
  /* Hide overlay controls on mobile (volume, self-tile tag) */
  .tile .tile-volume { display: none !important; }
  .video-col .tile.self .tile-tag { display: none; }
  /* Compact Stop button → small square next to Skip, icon only */
  .input-row { padding: 10px; gap: 8px; }
  .start-btn { min-width: 88px; padding: 12px 18px; font-size: 15px; }
  .start-btn small { display: none; }
  .start-btn.stop-btn {
    min-width: 0; width: 48px; padding: 0;
    aspect-ratio: 1 / 1;
    justify-content: center;
    font-size: 0;          /* hide the "Stop" text node */
  }
  .start-btn.stop-btn .sb-ico { width: 12px; height: 12px; font-size: 0; }
  .text-input { padding: 10px 12px; font-size: 16px; border-radius: 10px; }
}

/* ============================================================
   APP DOWNLOAD UI — Smart App Banner + Play Store badge
   Used across all SEO landing pages and blog posts to drive
   Play Store installs (boosts both web ranking and ASO).
   ============================================================ */

/* Smart app banner — sticky thin bar, mobile-only */
.smart-app-banner {
  display: none;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  position: relative;
  z-index: 60;
}
.smart-app-banner img {
  width: 36px; height: 36px; border-radius: 8px; flex: 0 0 auto;
}
.smart-app-banner .sab-text { flex: 1; line-height: 1.2; }
.smart-app-banner .sab-text strong { display: block; font-weight: 800; }
.smart-app-banner .sab-text span { color: var(--muted); font-size: 11px; }
.smart-app-banner .sab-cta {
  background: var(--primary); color: var(--primary-fg);
  padding: 6px 12px; border-radius: 999px;
  font-weight: 700; font-size: 12px;
  text-decoration: none;
}
.smart-app-banner .sab-close {
  background: transparent; border: 0; color: var(--muted);
  font-size: 18px; line-height: 1; cursor: pointer; padding: 4px;
}
@media (max-width: 720px) {
  .smart-app-banner { display: flex; }
  .smart-app-banner.is-hidden { display: none; }
}

/* Play Store badge (inline, used in heroes, blog footers, etc.) */
.play-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 12px;
  text-decoration: none; font-weight: 700;
  transition: transform .12s, box-shadow .12s;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.play-badge:hover {
  transform: translateY(-2px); text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.play-badge svg { flex: 0 0 auto; }
.play-badge .pb-text { display: flex; flex-direction: column; line-height: 1.05; }
.play-badge .pb-small { font-size: 10px; opacity: .8; font-weight: 600; }
.play-badge .pb-big { font-size: 15px; font-weight: 800; letter-spacing: .01em; }

/* App callout — bigger banner block for blog post bodies */
.app-callout {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-fg);
  border-radius: 14px; padding: 18px 22px; margin: 28px 0;
}
.app-callout .ac-icon {
  width: 56px; height: 56px; border-radius: 14px; flex: 0 0 auto;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
}
.app-callout .ac-icon img { width: 40px; height: 40px; border-radius: 10px; }
.app-callout .ac-body { flex: 1 1 240px; }
.app-callout .ac-body strong { display: block; font-size: 17px; margin-bottom: 4px; }
.app-callout .ac-body p { margin: 0; opacity: .92; font-size: 14px; line-height: 1.4; }
.app-callout .play-badge { background: #fff; color: #111; }

/* AI-friendly TL;DR answer block (top of long-form posts) */
.tldr {
  background: var(--panel-2);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 18px 0 24px;
  font-size: 15px; line-height: 1.55; color: var(--text);
}
.tldr strong { color: var(--primary); display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ==========================================================================
   v2 — May 2026 — Full hero overhaul: animation, live count, CTA hierarchy,
   trust bar, FAQ chevrons, footer grid, comparison table enhancements.
   ========================================================================== */

/* ── Custom property additions ── */
:root        { --warn: #d97706; }
:root[data-theme="dark"] { --warn: #fbbf24; }

/* ── 1. Hero connection animation ── */
/* ═══════════════════════════════════════════
   Logo spinner — replaces two-person anim
   Outer rings spin at different speeds with
   a comet-tail gradient effect. Core pulses.
   ═══════════════════════════════════════════ */
.logo-spinner {
  position: relative;
  width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
}
.logo-spinner::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 24px;
  border: 1.5px solid rgba(34,136,145,.22);
  background: rgba(34,136,145,.05);
  pointer-events: none;
  z-index: 0;
}
:root[data-theme="dark"] .logo-spinner::before {
  border-color: rgba(74,179,189,.2);
  background: rgba(74,179,189,.04);
}
/* Three concentric spinning rings */
.ls-ring {
  position: absolute; border-radius: 50%;
  border: 3px solid transparent;
}
.ls-ring-a {
  inset: 0;
  border-top-color: var(--primary);
  border-right-color: rgba(34,136,145,.35);
  animation: lsSpin 2.6s linear infinite;
  filter: drop-shadow(0 0 5px rgba(34,136,145,.55));
}
.ls-ring-b {
  inset: 9px;
  border-bottom-color: rgba(34,136,145,.28);
  border-left-color: rgba(74,179,189,.18);
  animation: lsSpin 3.8s linear infinite reverse;
}
.ls-ring-c {
  inset: 18px;
  border-top-color: rgba(34,136,145,.15);
  border-right-color: rgba(34,136,145,.08);
  animation: lsSpin 6s linear infinite;
}
/* Inner teal core — pulsing glow */
.ls-core {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  animation: lsGlow 2.1s ease-in-out infinite;
}
.ls-text {
  font-family: "Nunito", sans-serif;
  font-size: 16px; font-weight: 900;
  color: #fff; letter-spacing: -.03em; line-height: 1;
  user-select: none;
}
@keyframes lsSpin {
  to { transform: rotate(360deg); }
}
@keyframes lsGlow {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(34,136,145,.55), 0 4px 18px rgba(34,136,145,.28);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(34,136,145,0), 0 8px 30px rgba(34,136,145,.52);
    transform: scale(1.07);
  }
}

/* ── 2. Hero live count ── */
.hero-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,136,145,.08); border: 1px solid rgba(34,136,145,.2);
  border-radius: 999px; padding: 6px 16px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  margin-bottom: 16px; cursor: default; user-select: none;
}
:root[data-theme="dark"] .hero-live {
  background: rgba(74,179,189,.1); border-color: rgba(74,179,189,.25);
}
.hero-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: heroDotPulse 2s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.65); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0);   }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);   }
}

/* ── 3. Hierarchical CTAs ── */
.cta-stack {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%; max-width: 340px; margin: 0 auto;
}
.cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: var(--primary-fg);
  border: 2.5px solid var(--primary);
  padding: 17px 0; border-radius: 14px;
  font-size: 19px; font-weight: 900; font-family: inherit; letter-spacing: -.01em;
  cursor: pointer; text-decoration: none; width: 100%;
  box-shadow: 0 10px 30px rgba(34,136,145,.28);
  transition: transform .12s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.cta-primary:hover {
  transform: translateY(-2px); box-shadow: 0 16px 40px rgba(34,136,145,.42);
  text-decoration: none; color: var(--primary-fg);
}
.cta-primary:active { transform: translateY(0); }
.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text-2);
  border: 2px solid var(--border);
  padding: 11px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.cta-secondary:hover {
  border-color: var(--primary); color: var(--primary);
  background: rgba(34,136,145,.06); text-decoration: none;
}
.btn-lbl { pointer-events: none; }

/* ── 4. Inline trust bar ── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 4px 10px;
  font-size: 12px; font-weight: 700; color: var(--text-2);
  opacity: .8; margin-top: 14px;
}
.trust-bar span:not(.tb-sep) { white-space: nowrap; }
.tb-sep { opacity: .3; }

/* ── 5. Play wrap ── */
.play-wrap { margin-top: 20px; display: flex; justify-content: center; }

/* ── 6. Mod pill at bottom of hero card ── */
.hero-card .mod-pill { margin-top: 16px; }

/* ── 7. FAQ — animated chevron + open state highlight ── */
.faq details {
  background: var(--panel); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 8px;
  border: 1px solid var(--border); transition: border-color .18s, background .18s;
}
.faq details[open] { border-color: var(--primary); background: var(--panel-2); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--text);
  font-size: 15px; line-height: 1.4;
  padding-right: 28px; position: relative;
  list-style: none; user-select: none; transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0; top: 50%;
  width: 8px; height: 8px;
  border-right: 2.5px solid var(--text-2); border-bottom: 2.5px solid var(--text-2);
  transform: translateY(-72%) rotate(45deg);
  transition: transform .22s, border-color .15s; border-radius: 1px;
}
.faq details[open] summary { color: var(--primary); }
.faq details[open] summary::after {
  transform: translateY(-22%) rotate(-135deg); border-color: var(--primary);
}
.faq p { margin: 10px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ── 8. Comparison table partial/warn class ── */
.compare-tbl td.partial { color: var(--warn); font-weight: 700; }
.compare-tbl tr:last-child td { border-bottom: none; }
.compare-note {
  font-size: 13px; color: var(--text-2);
  margin-top: 10px; text-align: center;
}
.compare-note a { color: var(--primary); font-weight: 700; }

/* ── 9. Footer grid ── */
footer.site-foot {
  background: var(--panel-2); border-top: 1px solid var(--border);
  padding: 52px 24px 32px; margin-top: 64px; text-align: center;
}
.foot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px 36px; max-width: 920px;
  margin: 0 auto 40px; text-align: left;
}
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-head {
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); margin: 0 0 5px;
}
.foot-col a {
  font-size: 13px; color: var(--text-2); text-decoration: none;
  transition: color .12s; line-height: 1.35;
}
.foot-col a:hover { color: var(--primary); text-decoration: none; }
.foot-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  font-size: 13px; color: var(--text-2);
}
.foot-bottom p { margin: 0 0 8px; font-weight: 700; color: var(--text); }
.foot-bottom small { font-size: 11px; color: var(--muted); line-height: 1.55; display: block; }

@media (max-width: 700px) {
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  footer.site-foot { padding: 36px 16px 28px; margin-top: 48px; }
}

/* ── 10. Hero card mobile: tighter so primary CTA is above fold ── */
@media (max-width: 640px) {
  .hero-card { padding: 22px 16px 20px; }
  .hero-anim { margin-bottom: 14px; }
  .ha-face { width: 44px; height: 44px; }
  .ha-line { padding: 0 10px; gap: 5px; }
  .ha-dot { width: 7px; height: 7px; }
  .cta-primary { font-size: 17px; padding: 15px 0; }
  .cta-secondary { font-size: 14px; padding: 10px 20px; }
  .hero-live { font-size: 12px; padding: 5px 12px; margin-bottom: 12px; }
  .trust-bar { font-size: 11px; }
  .play-wrap { margin-top: 16px; }
}

/* ── 11. Mode selector: segmented control + gradient Start CTA ── */

@keyframes mode-activate {
  from { transform: scale(0.88); opacity: 0.5; }
  to   { transform: scale(1);    opacity: 1;   }
}

/* ── Segmented control: full-width to match CTA button ── */
.mode-select {
  display: flex; align-items: center; gap: 4px;
  background: var(--panel-2); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin: 0 auto 14px;
  width: 100%; max-width: 340px;
}

/* ── Each button: flex-1 so all fill equal space, taller to match CTA ── */
.mode-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 8px; border-radius: 10px;
  border: none; background: transparent;
  color: var(--muted); font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer; line-height: 1;
  transition: background .2s cubic-bezier(.4,0,.2,1), color .18s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.mode-btn svg { flex-shrink: 0; transition: stroke .18s; }
.mode-btn:hover:not(.active) {
  background: rgba(34,136,145,.09); color: var(--primary);
}
.mode-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 3px 10px rgba(34,136,145,.32);
  animation: mode-activate .22s cubic-bezier(.34,1.56,.64,1) both;
}
.mode-btn.active svg { stroke: #fff; }

/* ── Big gradient Start Chatting button ── */
.cta-start {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 340px; margin: 0 auto;
  padding: 15px 28px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 18px; font-weight: 900;
  font-family: inherit; letter-spacing: -.02em; text-decoration: none;
  box-shadow: 0 8px 28px rgba(34,136,145,.38);
  transition: opacity .15s, transform .12s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.cta-start:hover {
  opacity: .93; transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(34,136,145,.5);
  text-decoration: none; color: #fff;
}
.cta-start:active { transform: translateY(0); }

@media (max-width: 640px) {
  .mode-select { max-width: 100%; }
  .mode-btn { padding: 13px 6px; font-size: 12px; gap: 4px; }
  .mode-btn svg { width: 14px; height: 14px; }
  .cta-start { font-size: 16px; padding: 14px 0; max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   12. Hero product preview — two phone frames in the card
   ══════════════════════════════════════════════════════════ */
.hero-preview {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: 22px auto 0; width: 100%; max-width: 320px;
}
.hp-frame {
  position: relative; width: 110px;
  background: var(--panel); border: 1.5px solid var(--border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  flex-shrink: 0;
}
.hp-frame-b { transform: translateX(-8px); z-index: 0; opacity: .82; }
.hp-frame-a { z-index: 1; }
.hp-status-bar {
  display: flex; gap: 4px; padding: 8px 10px 4px;
  justify-content: flex-end;
}
.hp-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--border);
}
.hp-video {
  height: 120px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hp-video-a {
  background: linear-gradient(135deg, #1a6b74 0%, #228891 50%, #2ab0bd 100%);
}
.hp-video-b {
  background: linear-gradient(135deg, #1a3a74 0%, #22558c 50%, #4285f4 100%);
}
.hp-avatar-ring {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
}
.hp-label {
  text-align: center; font-size: 11px; font-weight: 700;
  color: var(--text-2); padding: 5px 0 8px;
}
/* pulsing connection dots between frames */
.hp-connect-pulse {
  display: flex; flex-direction: column; gap: 4px; z-index: 2;
  margin: 0 -4px;
}
.hp-connect-pulse span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  animation: hpPulse 1.4s ease-in-out infinite;
}
.hp-connect-pulse span:nth-child(2) { animation-delay: .2s; }
.hp-connect-pulse span:nth-child(3) { animation-delay: .4s; }
@keyframes hpPulse {
  0%, 100% { opacity: .3; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1); }
}

/* ══════════════════════════════════════════════════════════
   13. App promo section — English story + Google Play
   ══════════════════════════════════════════════════════════ */
.app-promo {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 72px 24px;
}
.ap-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}
.ap-text { flex: 1; min-width: 0; }
.ap-stat {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px;
}
.ap-num {
  font-size: 52px; font-weight: 900; line-height: 1;
  color: var(--primary);
}
.ap-label {
  font-size: 18px; font-weight: 700; color: var(--text-2);
}
.ap-heading {
  font-size: 28px; font-weight: 900; line-height: 1.25;
  color: var(--text); margin: 0 0 14px;
}
.ap-body {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  margin: 0 0 28px; max-width: 440px;
}
.ap-play-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  border-radius: 12px; padding: 12px 22px;
  text-decoration: none; font-family: inherit;
  transition: opacity .15s, transform .12s;
}
.ap-play-btn:hover { opacity: .85; transform: translateY(-1px); text-decoration: none; }
.ap-play-btn .pb-text { display: flex; flex-direction: column; line-height: 1.15; }
.ap-play-btn .pb-small { font-size: 10px; font-weight: 600; opacity: .75; letter-spacing: .05em; }
.ap-play-btn .pb-big { font-size: 16px; font-weight: 900; }

/* ── Two overlapping phone mockups ── */
.ap-phones {
  flex-shrink: 0; position: relative; width: 220px; height: 340px;
}
.ap-phone {
  position: absolute; bottom: 0;
  width: 155px; border-radius: 26px; overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  background: var(--panel-2);
}
.ap-phone-back {
  right: 0; top: 40px; transform: rotate(4deg);
  z-index: 0; opacity: .78;
}
.ap-phone-front {
  left: 0; bottom: 0; z-index: 1;
}
.ap-ph-notch {
  width: 60px; height: 10px; background: var(--border);
  border-radius: 0 0 8px 8px; margin: 0 auto;
}
.ap-ph-screen { padding: 8px 10px 12px; }
/* front phone: video frame */
.ap-ph-video-frame {
  height: 160px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #1a6b74 0%, #228891 50%, #2ab0bd 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; position: relative;
}
.ap-ph-av {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
}
.ap-ph-self-cam {
  width: 44px; height: 56px; border-radius: 10px;
  background: linear-gradient(135deg, #1a3a74, #4285f4);
  position: absolute; bottom: 8px; right: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
}
.ap-ph-controls {
  display: flex; gap: 8px; justify-content: center; padding-top: 4px;
}
.ap-ph-ctrl {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.ap-ph-red { background: #ff4757; color: #fff; }
.ap-ph-teal { background: var(--primary); color: #fff; }
/* back phone: chat bubbles */
.ap-ph-chat {
  display: flex; flex-direction: column; gap: 8px; padding: 10px 0;
}
.ap-ph-bubble {
  max-width: 85%; font-size: 11px; font-weight: 600;
  padding: 7px 10px; border-radius: 12px; line-height: 1.4;
}
.ap-ph-r {
  background: var(--primary); color: #fff;
  border-bottom-right-radius: 3px; align-self: flex-end;
}
.ap-ph-l {
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px; align-self: flex-start;
}

@media (max-width: 860px) {
  .ap-inner { gap: 32px; }
  .ap-num { font-size: 42px; }
  .ap-heading { font-size: 22px; }
}
@media (max-width: 640px) {
  .app-promo { padding: 48px 20px; }
  .ap-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  /* On mobile: side-by-side phones in a fixed-size container */
  .ap-phones {
    width: 260px; height: 310px; margin: 0 auto;
  }
  .ap-phone { width: 140px; }
  .ap-phone-back { top: 30px; right: 0; }
  .ap-phone-front { left: 0; bottom: 0; }
  .ap-speak-screen { padding: 6px 8px 10px; gap: 0; }
  .ap-speak-icon-wrap { width: 46px; height: 46px; margin-bottom: 7px; }
  .ap-speak-title { font-size: 13px; }
  .ap-speak-sub { font-size: 8.5px; margin-bottom: 8px; }
  .ap-gf-pill { font-size: 8.5px; padding: 5px 2px; }
  .ap-start-call-ui { font-size: 10px; padding: 8px 6px; }
  .ap-num { font-size: 40px; }
  .ap-heading { font-size: 20px; }
  /* hero preview: smaller on mobile */
  .hero-preview { max-width: 240px; }
  .hp-frame { width: 86px; }
  .hp-video { height: 90px; }
}


/* ══════════════════════════════════════════════════════════
   14. Video page splash preview (vc-splash)
   ══════════════════════════════════════════════════════════ */
.vc-splash {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  background: var(--bg);
  transition: opacity .35s ease, transform .35s ease;
}
.vc-splash.vc-splash-out {
  opacity: 0; transform: scale(.97); pointer-events: none;
}
.vc-splash-frames {
  display: flex; gap: 12px; align-items: flex-end;
}
.vc-sf {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  flex-shrink: 0;
}
.vc-sf-a { width: 220px; height: 165px; }
.vc-sf-b { width: 160px; height: 120px; transform: translateY(10px); }
.vc-sf-blur {
  position: absolute; inset: 0;
  filter: blur(28px) brightness(.6);
  transform: scale(1.15);
}
.vc-sf-a .vc-sf-blur {
  background: linear-gradient(135deg, #1a6b74 0%, #228891 55%, #2ab0bd 100%);
}
.vc-sf-b .vc-sf-blur {
  background: linear-gradient(135deg, #1a3a74 0%, #22558c 55%, #4285f4 100%);
}
.vc-sf-av {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
}
.vc-sf-av svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.vc-sf-tag {
  position: absolute; bottom: 8px; left: 10px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.35); border-radius: 6px; padding: 2px 7px;
}
.vc-splash-cta {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.vc-splash-hint {
  font-size: 13px; color: var(--muted); margin: 0;
}
.vc-splash-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 17px; font-weight: 900;
  font-family: inherit; letter-spacing: -.01em;
  box-shadow: 0 8px 28px rgba(34,136,145,.42);
  transition: opacity .15s, transform .12s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.vc-splash-btn:hover {
  opacity: .91; transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(34,136,145,.55);
}
.vc-splash-btn:active { transform: translateY(0); }
/* The splash must be inside a positioned parent */
.app { position: relative; }

/* ══════════════════════════════════════════════════════════
   15. Accurate "Speak Freely" phone mockups (ap-phones)
   ══════════════════════════════════════════════════════════ */
.ap-ph-light {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.10) !important;
}
.ap-ph-dark {
  background: #152227 !important;
  border-color: #253840 !important;
  box-shadow: 0 20px 56px rgba(0,0,0,.40) !important;
}
.ap-ph-notch {
  width: 54px; height: 10px; border-radius: 0 0 8px 8px;
  margin: 0 auto;
}
.ap-ph-notch-light { background: #e5e7eb; }
.ap-ph-notch-dark  { background: #253840; }

.ap-speak-screen {
  padding: 8px 10px 12px;
  display: flex; flex-direction: column; align-items: center;
  gap: 0; height: calc(100% - 20px);
}
.ap-online-badge {
  align-self: flex-end;
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; margin-bottom: 10px;
}
.ap-online-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4CAF50; flex-shrink: 0;
}
.ap-online-light { color: #228891; }
.ap-online-teal  { color: #4ab3bd; }

.ap-speak-icon-wrap {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.ap-icon-light { background: rgba(34,136,145,.10); }
.ap-icon-dark  { background: rgba(74,179,189,.12); }

.ap-speak-title {
  font-size: 15px; font-weight: 900; margin: 0 0 5px; text-align: center;
}
.ap-speak-dark-text  { color: #0e1116; }
.ap-speak-light-text { color: #e6e9ef; }

.ap-speak-sub {
  font-size: 9.5px; text-align: center; line-height: 1.5;
  margin: 0 0 12px;
}
.ap-sub-dark  { color: rgba(0,0,0,.5); }
.ap-sub-light { color: rgba(255,255,255,.55); }

.ap-connect-label {
  font-size: 10px; font-weight: 700; align-self: flex-start;
  margin-bottom: 6px;
}
.ap-cl-dark  { color: rgba(0,0,0,.45); }
.ap-cl-light { color: rgba(255,255,255,.45); }

.ap-gender-row {
  display: flex; gap: 5px; width: 100%; margin-bottom: 10px;
}
.ap-gf-pill {
  flex: 1; text-align: center; font-size: 9.5px; font-weight: 800;
  padding: 7px 4px; border-radius: 9px; cursor: default;
}
.ap-gf-active { background: #228891; color: #fff; }
.ap-gf-light  { border: 1.5px solid rgba(0,0,0,.15); color: rgba(0,0,0,.6); }
.ap-gf-dark   { border: 1.5px solid rgba(255,255,255,.18); color: rgba(255,255,255,.65); }

.ap-start-call-ui {
  width: 100%; padding: 10px 8px; border-radius: 13px;
  background: #228891; color: #fff;
  font-size: 11.5px; font-weight: 900;
  text-align: center; letter-spacing: .01em;
  margin-top: auto;
}

/* ══════════════════════════════════════════════════════════
   16. Speak Freely story section
   ══════════════════════════════════════════════════════════ */
.speak-story {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 24px;
}
.ss-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 60px;
}
.ss-text { flex: 1; min-width: 0; }
.ss-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,136,145,.1); color: var(--primary);
  border: 1px solid rgba(34,136,145,.25);
  border-radius: 999px; padding: 5px 14px;
  font-size: 12px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.ss-heading {
  font-size: 28px; font-weight: 900; line-height: 1.25;
  color: var(--text); margin: 0 0 14px;
}
.ss-body {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  margin: 0 0 20px; max-width: 440px;
}
.ss-features {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ss-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text-2); font-weight: 600;
}
.ss-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(34,136,145,.15); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; flex-shrink: 0;
}
.ss-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 15px; font-weight: 800;
  font-family: inherit; text-decoration: none;
  box-shadow: 0 6px 20px rgba(34,136,145,.32);
  transition: opacity .15s, transform .12s;
}
.ss-cta:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; color: #fff; }
/* 4-stat grid */
.ss-visual {
  flex-shrink: 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; width: 280px;
}
.ss-stat-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  text-align: center;
}
.ss-sc-num {
  font-size: 30px; font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 5px;
}
.ss-sc-label {
  font-size: 11px; font-weight: 700; color: var(--text-2);
  line-height: 1.4;
}
@media (max-width: 860px) {
  .ss-inner { gap: 32px; }
  .ss-heading { font-size: 22px; }
  .ss-visual { width: 220px; gap: 10px; }
  .ss-sc-num { font-size: 24px; }
}
@media (max-width: 640px) {
  .speak-story { padding: 48px 20px; }
  .ss-inner { flex-direction: column; }
  .ss-visual { width: 100%; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ss-stat-card { padding: 14px 10px; }
  .ss-sc-num { font-size: 20px; }
  .ss-sc-label { font-size: 9px; }
  .ss-heading { font-size: 20px; }
}

/* ══════════════════════════════════════════════════════════
   VIDEO CHAT STORY — image left, text right
   ══════════════════════════════════════════════════════════ */
.vidchat-story {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 24px;
}
.vcs-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}

/* ── Left: browser mockup ── */
.vcs-preview-wrap {
  flex-shrink: 0; width: 400px;
}
.vcs-browser {
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  background: var(--panel);
}
.vcs-chrome {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-2); padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.vcs-dots { display: flex; gap: 5px; flex-shrink: 0; }
.vcs-dots span { width: 11px; height: 11px; border-radius: 50%; }
.vcs-dots span:nth-child(1) { background: #ff5f57; }
.vcs-dots span:nth-child(2) { background: #ffbd2e; }
.vcs-dots span:nth-child(3) { background: #28ca41; }
.vcs-url {
  flex: 1; text-align: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px;
  font-size: 11px; font-weight: 600; color: var(--text-2);
}
.vcs-screen {
  background: #0e1116;
  padding: 18px 16px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
}
.vcs-topbar {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.vcs-tb-logo {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 800; color: #fff;
}
.vcs-tb-orb {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #228891, #006c74);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 900; color: #fff; letter-spacing: -.03em;
}
.vcs-tb-mode {
  display: flex; gap: 2px;
  background: rgba(255,255,255,.07);
  border-radius: 999px; padding: 3px;
  font-size: 11px; font-weight: 700;
}
.vcs-tb-mode span { padding: 4px 12px; border-radius: 999px; color: rgba(255,255,255,.45); }
.vcs-tp-active { background: #228891; color: #fff !important; }

/* The two overlapping video frames */
.vcs-frames {
  display: flex; align-items: flex-end; gap: 10px;
  width: 100%; justify-content: center;
}
.vcs-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  flex-shrink: 0;
}
.vcs-fa { width: 50%; padding-top: 37%; }
.vcs-fb { width: 36%; padding-top: 27%; transform: translateY(10px); }
.vcs-blur {
  position: absolute; inset: -10%; border-radius: 14px;
  filter: blur(20px);
}
.vcs-blur-a {
  background: linear-gradient(135deg, #1a6b74 0%, #228891 50%, #2ab0bd 100%);
}
.vcs-blur-b {
  background: linear-gradient(135deg, #1a2e74 0%, #22558c 50%, #4285f4 100%);
}
.vcs-av {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.vcs-tag {
  position: absolute; bottom: 7px; left: 9px;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.36); border-radius: 5px; padding: 2px 7px;
}
.vcs-hint {
  font-size: 11.5px; color: rgba(255,255,255,.42); text-align: center;
}
.vcs-start-mock {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #228891, #006c74);
  color: #fff; font-size: 13px; font-weight: 800;
  padding: 11px 28px; border-radius: 10px;
  box-shadow: 0 6px 22px rgba(34,136,145,.45);
  letter-spacing: -.01em;
}

/* ── Right: story text ── */
.vcs-text { flex: 1; min-width: 0; }
.vcs-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,136,145,.1); color: var(--primary);
  border: 1px solid rgba(34,136,145,.22);
  border-radius: 999px; padding: 5px 14px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 14px;
}
.vcs-heading {
  font-size: 28px; font-weight: 900; line-height: 1.25;
  color: var(--text); margin: 0 0 14px;
}
.vcs-body {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  margin: 0 0 22px;
}
.vcs-features {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.vcs-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-2); font-weight: 600;
}
.vcs-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(34,136,145,.12); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; margin-top: 1px;
}
.vcs-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 16px; font-weight: 800;
  font-family: inherit; text-decoration: none;
  box-shadow: 0 6px 22px rgba(34,136,145,.32);
  transition: opacity .15s, transform .12s;
}
.vcs-cta:hover {
  opacity: .9; transform: translateY(-2px);
  text-decoration: none; color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .vcs-inner { gap: 36px; }
  .vcs-preview-wrap { width: 310px; }
  .vcs-heading { font-size: 23px; }
}
@media (max-width: 640px) {
  .vidchat-story { padding: 48px 20px; }
  .vcs-inner { flex-direction: column; }
  .vcs-preview-wrap { width: 100%; }
  .vcs-heading { font-size: 20px; }
  .vcs-body { font-size: 15px; }
  .vcs-cta { width: 100%; justify-content: center; }
}

/* ── Logo spinner mobile ── */
@media (max-width: 640px) {
  .logo-spinner { width: 76px; height: 76px; }
  .ls-core { width: 44px; height: 44px; }
  .ls-text { font-size: 14px; }
}

