:root {
  --bg: #0a0d12;
  --surface: #10141b;
  --surface-2: #151b24;
  --border: #1e2633;
  --border-hi: #2e3b4e;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #38bdf8;
  --accent-bg: rgba(56, 189, 248, 0.12);
  --green: #34d399;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ico { width: 15px; height: 15px; flex-shrink: 0; display: inline-block; }
.flag-svg { border-radius: 2px; flex-shrink: 0; display: block; }
[hidden] { display: none !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0b0f15;
  border-bottom: 1px solid var(--border);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 58px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand img { width: 26px; height: 26px; border-radius: 6px; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 80ms ease;
}
.nav-links a:hover { color: var(--text); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 80ms ease, border-color 80ms ease, color 80ms ease;
}
.btn:hover { background: #1c2430; border-color: var(--border-hi); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 7px; }
.btn-primary {
  background: #e2e8f0;
  color: #090d12;
  border-color: #e2e8f0;
}
.btn-primary:hover { background: #ffffff; border-color: #ffffff; }
.btn-accent {
  background: var(--accent);
  color: #06131c;
  border-color: var(--accent);
}
.btn-accent:hover { background: #7dd3fc; border-color: #7dd3fc; }

/* Lang switcher */
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 80ms ease, background-color 80ms ease;
}
.lang-btn:hover { border-color: var(--border-hi); background: var(--surface-2); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 156px;
  padding: 5px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.lang-wrap.open .lang-menu { display: flex; }
.lang-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  transition: background-color 80ms ease, color 80ms ease;
}
.lang-item:hover { background: var(--surface-2); color: var(--text); }
.lang-item.active { background: var(--accent-bg); color: var(--accent); font-weight: 600; }

/* Hero */
.hero { padding: 40px 0 28px; border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
}
.meta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1 {
  margin: 14px 0 12px;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.hero-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.58;
  max-width: 52ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.dl-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--dim);
}
.sha-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color 80ms ease, color 80ms ease;
}
.sha-btn:hover { border-color: var(--border-hi); color: var(--text); }

/* Interactive Showcase (Video + 4 Live UI Screens) */
.showcase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 80ms ease, color 80ms ease, border-color 80ms ease;
}
.tab-btn:hover { color: var(--text); background: var(--surface-2); }
.tab-btn.active {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-hi);
}
.tab-btn[data-kind="video"].active { color: var(--accent); border-color: rgba(56, 189, 248, 0.35); }
.stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #07090d;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.stage-video, .stage-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #07090d;
}
.stage-img { cursor: zoom-in; }
.stage-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}
.media-controls { display: flex; align-items: center; gap: 6px; }
.stage-note { font-size: 12px; color: var(--dim); }

/* Specs bar */
.specs-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}
.spec-cell {
  background: var(--surface);
  padding: 13px 15px;
}
.spec-k { font-size: 11.5px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.spec-v { margin-top: 4px; font-size: 13.5px; color: var(--text); font-weight: 500; }

/* Sections */
.section { padding: 46px 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: 0; }
.sec-title { margin: 0 0 22px; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 18px;
  contain: layout style;
}
.feat-card h3 { margin: 0 0 7px; font-size: 15px; font-weight: 600; color: var(--text); }
.feat-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 18px;
}
.step-num {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.step-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.step-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* FAQ */
.faq-list { display: grid; gap: 8px; max-width: 860px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 14.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-family: ui-monospace, monospace; font-size: 16px; }
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.58; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 34px;
  color: var(--dim);
  font-size: 12.5px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.footer-langs { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-langs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.footer-langs a:hover { color: var(--text); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 8px;
  border: 1px solid var(--border-hi);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .specs-grid, .feat-grid, .steps-grid { grid-template-columns: 1fr; }
  .hdr-actions .btn-hide-sm { display: none; }
}
