/* PaneTrans landing page · single-file stylesheet */

:root {
  --teal: #4ECDC4;
  --teal-dark: #44B09E;
  --ink: #1a1a2e;
  --ink-2: #4a4a5e;
  --muted: #7a7a8c;
  --bg: #f8f9fb;
  --card: #ffffff;
  --line: #e0e3e8;
  --accent: linear-gradient(135deg, #4ECDC4, #44B09E);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, system-ui, sans-serif;
  scroll-behavior: smooth;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---- Header ---- */
.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
}
.logo:hover { text-decoration: none; }

.hdr nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.hdr nav a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.hdr nav a[aria-current="page"] {
  color: var(--teal-dark);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(78, 205, 196, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(78, 205, 196, 0.45); }
.btn-ghost {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}
.btn-ghost:hover { background: rgba(78, 205, 196, 0.08); }

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 64px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero .lede {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.hero .lede-small {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-shot img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

/* ---- Features ---- */
.features {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 32px;
}
.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.feat {
  background: var(--bg);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.feat h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.feat p {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 18px;
}
.feat code {
  background: rgba(78, 205, 196, 0.12);
  color: var(--teal-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.feat img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* ---- Trust block ---- */
.trust {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 32px;
}
.trust h2 {
  font-size: 26px;
  margin-bottom: 28px;
  line-height: 1.3;
}
.trust-list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.trust-list li {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.trust-list li strong { color: var(--ink); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--accent);
  text-align: center;
  padding: 64px 32px;
  color: #fff;
}
.cta-band h2 { font-size: 28px; margin-bottom: 12px; }
.cta-band p {
  margin-bottom: 24px;
  font-size: 16px;
  opacity: 0.95;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* ---- Pricing ---- */
.pricing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.pricing h1 {
  text-align: center;
  font-size: 38px;
  margin-bottom: 12px;
}
.pricing .lede {
  text-align: center;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 48px;
}

.price-grid {
  display: grid;
  /* Four tiers (Free / Lifetime / Monthly / Cloud) — auto-fit so they sit in
     one row on wide screens and wrap cleanly on narrower ones, instead of a
     fixed 3-col grid that orphans the 4th card onto its own row. */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}
/* Cloud card accent — match the blue/purple of the in-extension ☁ button. */
.price-card-cloud { border-color: rgba(108, 140, 255, 0.5); }
.badge-cloud { background: linear-gradient(135deg, #6C8CFF, #8A6CFF); }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card-pro {
  border: 2px solid var(--teal);
  box-shadow: 0 12px 32px rgba(78, 205, 196, 0.18);
  position: relative;
}
.price-card .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.price-card h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.price-card .price {
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.price-card .price-suffix {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.price-card .price-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.price-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
}
.price-card li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}
.price-card .price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

.faq-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 24px;
}
.faq {
  max-width: 720px;
  margin: 0 auto 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.faq[open] summary {
  margin-bottom: 12px;
  color: var(--teal-dark);
}
.faq p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

/* ---- Legal pages ---- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.legal h1 {
  font-size: 36px;
  margin-bottom: 8px;
}
.legal .legal-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}
.legal .legal-tldr {
  background: rgba(78, 205, 196, 0.1);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: 15px;
}
.legal h2 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}
.legal p {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 12px;
}
.legal ul, .legal ol {
  color: var(--ink-2);
  font-size: 15px;
  padding-left: 24px;
  margin-bottom: 12px;
}
.legal li {
  margin-bottom: 6px;
}
.legal code {
  background: rgba(78, 205, 196, 0.12);
  color: var(--teal-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ---- Footer ---- */
footer {
  background: #1a1a2e;
  color: #c4c7d0;
  padding: 48px 32px 24px;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 32px;
}
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; }
.foot-grid strong {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.foot-grid a {
  color: #c4c7d0;
  font-size: 13px;
  text-decoration: none;
}
.foot-grid a:hover {
  color: #fff;
  text-decoration: underline;
}
.foot-grid p {
  font-size: 13px;
  color: #8a8d99;
  line-height: 1.5;
}
.foot-fine {
  text-align: center;
  font-size: 12px;
  color: #6a6d79;
  border-top: 1px solid #2a2a3e;
  padding-top: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Live demo (animated showcase of region-translate flow) ---- */
.demo {
  background: linear-gradient(180deg, #f8f9fb 0%, #eef0f4 100%);
  padding: 72px 32px 88px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.demo-intro {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.demo-intro h2 {
  font-size: 30px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.demo-intro p {
  color: var(--ink-2);
  font-size: 16px;
}

.demo-stage {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  /* Below ~720 px the aspect-ratio gets too tall; fall back to a fixed height
     on narrow screens (see mobile rules). */
}

.demo-window {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 22px 56px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  border: 1px solid #d8dbe2;
}
.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #f2f3f6;
  border-bottom: 1px solid var(--line);
}
.demo-dots { display: inline-flex; gap: 6px; }
.demo-dots i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffbd2e;
}
.demo-dots i:nth-child(1) { background: #ff5f56; }
.demo-dots i:nth-child(2) { background: #ffbd2e; }
.demo-dots i:nth-child(3) { background: #27c93f; }
.demo-url {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
}

.demo-content {
  position: absolute;
  inset: 38px 0 0 0;
  padding: 22px 28px;
  overflow: hidden;
}

/* Chat lives in a fixed-width frame on the left so the rectangle has a
   stable target to overlay. The frame has a faint background so it's
   visible even before the rectangle appears — gives the cursor a clear
   thing to "drag" around. */
.demo-chat-frame {
  position: relative;
  width: 52%;
  min-height: 132px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 7px;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity 0.4s ease;
}
.demo-chat-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.demo-chat-line.is-new {
  opacity: 0;
  transform: translateY(8px);
}
.demo-chat-user {
  color: #6a7287;
  font-size: 12px;
  font-weight: 600;
  min-width: 84px;
  letter-spacing: 0.2px;
}
.demo-chat-text {
  color: var(--ink);
  line-height: 1.45;
}

/* Animated cursor — SVG arrow shape rendered via CSS triangles */
.demo-cursor {
  position: absolute;
  top: 60px;
  left: 90%;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, 0) scale(1);
  transition:
    opacity 0.3s ease,
    left 1.1s cubic-bezier(0.4, 0, 0.2, 1),
    top 1.1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.18s ease;
  z-index: 5;
}
.demo-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* arrow body */
    linear-gradient(135deg, #fff 0%, #fff 47%, transparent 47%) no-repeat;
  clip-path: polygon(0 0, 100% 55%, 55% 60%, 78% 100%, 60% 100%, 38% 70%, 0 95%);
  filter:
    drop-shadow(0 0 0 #1a1a2e)
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  background: #fff;
}
/* Black outline ring around the cursor for visibility on white chat bg. */
.demo-cursor::after {
  content: "";
  position: absolute;
  inset: -1px;
  clip-path: polygon(0 0, 100% 55%, 55% 60%, 78% 100%, 60% 100%, 38% 70%, 0 95%);
  background: #1a1a2e;
  z-index: -1;
}
.demo-cursor.is-visible    { opacity: 1; }
/* Coordinates are tuned to land on the actual .demo-chat-frame (which sits
   roughly x: 3-52%, y: 12-39% inside .demo-window after the title bar and
   the demo-content padding). */
.demo-cursor.is-on-target  { left: 4%;  top: 12%; }
.demo-cursor.is-clicking   { left: 4%;  top: 12%; transform: scale(0.82); }
.demo-cursor.is-dragging   { left: 50%; top: 38%; transition-duration: 1s; }
.demo-cursor.is-parked     { left: 50%; top: 38%; }

/* Right-click context menu — pops up just below the cursor's on-target
   position, aligned to the top-left of the chat frame. */
.demo-context {
  position: absolute;
  top: 16%;
  left: 5%;
  background: #fff;
  border: 1px solid #d4d7dd;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  min-width: 180px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(-4px) scale(0.96);
  transform-origin: top left;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  z-index: 6;
}
.demo-context.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.demo-context-item {
  padding: 6px 14px;
  color: var(--ink-2);
}
.demo-context-active {
  background: linear-gradient(90deg, rgba(78, 205, 196, 0.18), rgba(78, 205, 196, 0.05));
  color: var(--ink);
  font-weight: 600;
}

/* Selection rectangle — always full-size overlay of .demo-chat-frame; we
   only animate opacity to reveal it. Tried transform: scale() and clip-path
   reveals earlier, both got stuck in this Chromium build whenever the rect
   class changed twice within ~1s. Plain opacity-only fade is dead reliable.
   The user perceives the rect as "appearing around the chat" which carries
   the same product message without the choreography. */
.demo-rect {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--teal);
  border-radius: 6px;
  background: rgba(78, 205, 196, 0.08);
  opacity: 0;
  transition: opacity 0.35s ease, border-color 0.2s, background-color 0.2s;
  z-index: 3;
  pointer-events: none;
}
.demo-rect.is-growing,
.demo-rect.is-final {
  opacity: 1;
}
.demo-rect.is-final {
  animation: demo-rect-pulse 2.2s ease-in-out infinite;
}
@keyframes demo-rect-pulse {
  0%, 100% { border-color: var(--teal); background-color: rgba(78, 205, 196, 0.1); }
  50%      { border-color: rgba(78, 205, 196, 0.45); background-color: rgba(78, 205, 196, 0.03); }
}
.demo-rect.is-fading {
  opacity: 0;
}

/* Translation popup — fixed on the right side of the demo content area,
   sized to fit two bilingual pairs comfortably. */
.demo-popup {
  position: absolute;
  right: 28px;
  top: 60px;
  width: 38%;
  min-width: 220px;
  background: rgba(22, 24, 32, 0.86);
  color: #f3f5f8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(16px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow: hidden;
  z-index: 7;
  font-size: 12.5px;
  line-height: 1.45;
}
.demo-popup.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.demo-popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-popup-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.demo-popup-dot.is-pulsing { animation: demo-dot-pulse 0.9s ease-out 2; }
@keyframes demo-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.8); }
  70%  { box-shadow: 0 0 0 9px rgba(78, 205, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0); }
}
.demo-popup-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.92);
}
.demo-popup-body {
  padding: 10px 12px 12px;
  max-height: 220px;
  overflow: hidden;
}
.demo-pair {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.demo-pair:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.demo-pair-orig {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  margin-bottom: 2px;
}
.demo-pair-trans {
  color: #f3f5f8;
  font-size: 13px;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .demo-cursor, .demo-rect, .demo-popup {
    transition: none;
    animation: none;
  }
  .demo-rect.is-final { animation: none; }
}

/* ---- Language switcher (compact <select> in header nav) ---- */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}
.lang-switcher::before {
  /* Small globe glyph for visual cue. */
  content: "🌐";
  font-size: 13px;
  margin-right: 6px;
  opacity: 0.7;
}
.lang-switcher::after {
  /* Custom chevron — overlays the select's native arrow on white bg. */
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 28px 5px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: border-color 0.12s, color 0.12s, box-shadow 0.12s;
  /* Native option list looks fine on every OS — no custom dropdown needed. */
}
.lang-switcher select:hover {
  border-color: var(--teal);
  color: var(--ink);
}
.lang-switcher select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.18);
}

/* ---- Refund request CTA (one-click mailto with prefilled body) ---- */
.refund-cta {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.refund-cta .btn { white-space: nowrap; }
.refund-cta-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ---- Support page portal banner (self-serve callout) ---- */
.support-portal-banner {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  background: rgba(78, 205, 196, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
.support-portal-banner a {
  color: var(--teal-dark);
  font-weight: 600;
}

/* ---- Canonical-version banner (legal pages, non-en) ---- */
.canonical-note {
  max-width: 760px;
  margin: 0 auto 0;
  padding: 12px 18px;
  background: #fff8e6;
  border: 1px solid #ffe2a3;
  border-radius: 8px;
  color: #6e4d00;
  font-size: 13px;
  line-height: 1.5;
}
.canonical-note:empty { display: none; }
.canonical-note a {
  color: #6e4d00;
  text-decoration: underline;
  font-weight: 600;
}
/* Legal pages need a touch of top padding when the note is present. */
body:has(.canonical-note:not(:empty)) .legal {
  padding-top: 24px;
}

/* ---- Mobile ---- */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 36px;
  }
  .hero h1 { font-size: 30px; }
  .features, .trust, .pricing { padding-left: 20px; padding-right: 20px; }
  .features { padding-top: 56px; padding-bottom: 56px; }
  .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hdr { padding: 14px 20px; }
  .hdr nav { gap: 14px; }
  .lang-switcher::before { display: none; }
  .lang-switcher select { padding: 4px 22px 4px 10px; font-size: 11px; }
  .demo { padding: 56px 16px 64px; }
  .demo-stage { aspect-ratio: auto; height: 460px; max-width: 100%; }
  .demo-popup { width: 50%; right: 10px; }
  .demo-chat-user { min-width: 60px; font-size: 11px; }
  .demo-chat-text { font-size: 13px; }
}
