/* ============================================================
   LUOYUN INTELLIGENT - Export Website Design System v2
   "Precision Canvas" - Vercel-inspired black & white precision
   Light precision canvas + ink dark immersion zones
   Brand accent: teal (single accent color)
   ============================================================ */

:root {
  /* Light canvas */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e8eef4;
  /* Ink */
  --ink: #0a0f1a;
  --text: #1a2233;
  --text-2: #3f4a5c;
  --muted: #667085;
  --muted-2: #98a2b3;
  /* Hairs */
  --line: #e5e9ef;
  --line-strong: #cfd6e0;
  /* Brand accent (light-safe teal) */
  --accent: #0f9f8f;
  --accent-strong: #0b7a6e;
  --accent-bright: #2ee6d6;
  --accent-dim: rgba(15, 159, 143, 0.08);
  --accent-line: rgba(15, 159, 143, 0.35);
  --accent-2: #0284c7;
  --blue-dim: rgba(2, 132, 199, 0.07);
  /* Dark immersion zones */
  --dark: #0a0f1a;
  --dark-2: #0e1626;
  --dark-3: #14203a;
  --on-dark-text: #eef2f8;
  --on-dark-muted: #9fb0c5;
  --on-dark-line: rgba(148, 163, 184, 0.18);
  /* Status */
  --warn: #b45309;
  --danger: #dc2626;
  --ok: #16a34a;
  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  /* Depth: hairline + soft elevation, no heavy glow */
  --shadow-1: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.05);
  --shadow-2: 0 2px 4px rgba(16, 24, 40, 0.05), 0 16px 44px rgba(16, 24, 40, 0.10);
  --glow: 0 0 0 1px rgba(15, 159, 143, 0.14);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent-strong); text-decoration: none; transition: color .2s ease; }
a:hover { color: #086a5f; }

::selection { background: rgba(15, 159, 143, 0.22); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Subtle premium scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #c8d0db; border-radius: 8px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #aab4c2; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }

section { position: relative; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-strong);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent-strong); opacity: .55; }

/* Dark-zone eyebrows: bright teal so labels stay readable on ink backgrounds */
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .photo-banner .eyebrow,
.demo-panel .eyebrow, .exit-pop-card .eyebrow {
  color: var(--accent-bright);
  font-size: 12.5px;
  font-weight: 500;
}
.hero .eyebrow::before, .page-hero .eyebrow::before, .cta-band .eyebrow::before,
.photo-banner .eyebrow::before, .demo-panel .eyebrow::before, .exit-pop-card .eyebrow::before {
  background: var(--accent-bright);
  opacity: .7;
}
.center .eyebrow::after, .hero .center .eyebrow::after, .page-hero .center .eyebrow::after,
.cta-band .center .eyebrow::after, .photo-banner .center .eyebrow::after {
  background: var(--accent-bright);
  opacity: .7;
}

.h1, .h2, .h3, .h4 {
  font-family: var(--font-display); font-weight: 600;
  line-height: 1.12; letter-spacing: -0.025em; color: var(--ink);
}
.h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.h4 { font-size: 1.1rem; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.mono { font-family: var(--font-mono); }

.grad-text {
  background: linear-gradient(92deg, #0f9f8f 0%, #0284c7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--accent-strong); opacity: .55; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 14px; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-5 { grid-column: span 5; }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .col-span-7, .col-span-5, .col-span-6 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--ink); color: #ffffff; border-color: var(--ink);
}
.btn-primary:hover { background: #1d2737; color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10, 15, 26, 0.18); }

.btn-accent {
  background: var(--accent); color: #ffffff; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-strong); color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 159, 143, 0.22); }

.btn-whatsapp {
  background: #25D366; color: #fff; border-color: #25D366;
}
.btn-whatsapp:hover { background: #1eb75a; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }

.btn-outline-accent { border-color: var(--accent-line); color: var(--accent-strong); background: transparent; }
.btn-outline-accent:hover { background: var(--accent-dim); color: var(--accent-strong); border-color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* Dark-zone button inversions */
.hero .btn-primary, .page-hero .btn-primary, .cta-band .btn-primary,
.demo-panel .btn-primary, .exit-pop-card .btn-primary, .photo-banner .btn-primary {
  background: #ffffff; color: var(--ink); border-color: #ffffff;
}
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .cta-band .btn-primary:hover,
.demo-panel .btn-primary:hover, .exit-pop-card .btn-primary:hover, .photo-banner .btn-primary:hover {
  background: #e6ebf2; color: var(--ink);
}
.hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost,
.demo-panel .btn-ghost, .exit-pop-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28); color: #ffffff; background: rgba(255, 255, 255, 0.04);
}
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta-band .btn-ghost:hover,
.demo-panel .btn-ghost:hover, .exit-pop-card .btn-ghost:hover {
  border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(46, 230, 214, 0.08);
}
.hero .btn-outline-accent, .page-hero .btn-outline-accent, .cta-band .btn-outline-accent {
  border-color: rgba(46, 230, 214, 0.45); color: var(--accent-bright);
}
.hero .btn-outline-accent:hover, .page-hero .btn-outline-accent:hover, .cta-band .btn-outline-accent:hover {
  background: rgba(46, 230, 214, 0.10); color: var(--accent-bright);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(6, 10, 18, 0.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .3s ease, border-color .3s ease;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 34px; gap: 18px; font-size: 12.5px; color: var(--on-dark-muted);
}
.topbar a { color: #d5dde8; font-weight: 500; }
.topbar a:hover { color: var(--accent-bright); }
.topbar-contacts, .topbar-links { display: flex; align-items: center; gap: 12px; }
.topbar-links .tb-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.7); }
.tb-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.22); }
@media (max-width: 720px) {
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
}

/* Scrolled: light glass header */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}
.site-header.scrolled .topbar {
  background: rgba(255, 255, 255, 0.6);
  border-bottom-color: var(--line);
}
.site-header.scrolled .topbar-inner { color: var(--muted); }
.site-header.scrolled .topbar a { color: var(--text-2); }
.site-header.scrolled .topbar a:hover { color: var(--accent-strong); }
.site-header.scrolled .tb-sep { background: var(--line-strong); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #ffffff; }
.brand:hover { color: #ffffff; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .01em; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-bright); }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--accent-strong); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { list-style: none; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 8px; color: #d5dde8;
  font-size: 14.5px; font-weight: 500;
}
.nav-link:hover { color: var(--accent-bright); background: rgba(255, 255, 255, 0.06); }
.site-header.scrolled .nav-link { color: var(--text-2); }
.site-header.scrolled .nav-link:hover { color: var(--accent-strong); background: var(--bg-soft); }
.nav-link .caret { width: 9px; height: 9px; opacity: .6; transition: transform .2s ease; }
.nav-item:hover .caret { transform: rotate(180deg); }
.nav-link.active { color: var(--accent-bright); }
.site-header.scrolled .nav-link.active { color: var(--accent-strong); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 260px; padding: 10px; border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item::before {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-item.open .caret { transform: rotate(180deg); }
.dropdown a {
  display: flex; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--text-2);
  align-items: flex-start;
}
.dropdown a:hover { background: var(--accent-dim); color: var(--ink); }
.dropdown .d-title { font-size: 14px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 1px; }
.dropdown .d-sub { font-size: 12px; color: var(--muted); }
.dropdown .d-icon { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--blue-dim); display: grid; place-items: center; }
.dropdown .d-icon svg { width: 18px; height: 18px; stroke: var(--accent-2); }
.dropdown.cols-2 { min-width: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.dropdown.cols-2 .d-group {
  grid-column: 1 / -1;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-strong); padding: 10px 12px 3px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.dropdown.cols-2 .d-group:first-child { padding-top: 4px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
/* Nav CTA dual mode */
.site-header .nav-cta .btn-primary { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.site-header .nav-cta .btn-primary:hover { background: var(--accent-strong); color: #ffffff; box-shadow: 0 6px 18px rgba(15, 159, 143, 0.30); }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05); color: #e6ecf4; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: border-color .2s ease, color .2s ease;
}
.lang-btn:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.lang-btn svg { width: 15px; height: 15px; stroke: var(--accent-bright); }
.lang-btn .caret { width: 9px; height: 9px; opacity: .65; transition: transform .2s ease; }
.lang-switch:hover .caret { transform: rotate(180deg); }
.site-header.scrolled .lang-btn { border-color: var(--line-strong); background: #ffffff; color: var(--text-2); }
.site-header.scrolled .lang-btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.site-header.scrolled .lang-btn svg { stroke: var(--accent-strong); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 150px;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 6px; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 120;
}
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 9px 12px; border: none; border-radius: 8px; background: transparent; color: var(--text-2);
  font-size: 13.5px; cursor: pointer; font-family: var(--font-body); text-align: left;
}
.lang-menu button:hover { background: var(--accent-dim); color: var(--ink); }
.lang-menu button.active { color: var(--accent-strong); font-weight: 600; }
.lang-menu button .flag { font-size: 15px; line-height: 1; }
.lang-menu button .ok { width: 14px; height: 14px; stroke: var(--accent-strong); }

/* Mobile language row */
.mobile-langs { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.mobile-langs button {
  flex: 1; min-width: 88px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: #ffffff;
  color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--font-body);
}
.mobile-langs button.active { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-dim); }
.mobile-langs button .flag { font-size: 14px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05); cursor: pointer; place-items: center;
}
.site-header.scrolled .nav-toggle { border-color: var(--line); background: #ffffff; }
.nav-toggle svg { width: 20px; height: 20px; stroke: #ffffff; }
.site-header.scrolled .nav-toggle svg { stroke: var(--ink); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-2));
}

/* Floating action buttons */
.fab-stack { position: fixed; right: 22px; bottom: 24px; z-index: 150; display: grid; gap: 12px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.28); position: relative;
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 24px; height: 24px; }
.fab-wa { background: #25D366; color: #fff; }
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: waPulse 2.4s infinite; border: 2px solid rgba(37, 211, 102, 0.7);
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.fab-top { background: rgba(10, 15, 26, 0.9); border: 1px solid var(--on-dark-line); color: var(--accent-bright); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s, transform .2s ease; }
.fab-top.show { visibility: visible; opacity: 1; }
.fab-top svg { width: 20px; height: 20px; }
.fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(4px);
  background: rgba(10, 15, 26, 0.95); border: 1px solid var(--on-dark-line); color: var(--on-dark-text);
  font-size: 12.5px; padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: all .2s ease; pointer-events: none;
}
.fab:hover .fab-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) { .fab-stack { right: 16px; bottom: 18px; } }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 110px 32px 40px;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s;
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a { display: block; padding: 13px 4px; color: var(--ink); font-family: var(--font-display); font-size: 21px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--accent-strong); }
.mobile-nav .m-sub { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 0 18px; }
.mobile-nav .m-sub a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.mobile-nav .m-group {
  display: block; margin: 18px 4px 2px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent-strong);
}
.mobile-nav .m-sub-link { font-size: 16px !important; font-family: var(--font-body) !important; font-weight: 500 !important; padding: 10px 4px !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; }

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 150px 0 90px; position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 78% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(900px 520px at 8% 108%, rgba(46, 230, 214, 0.10), transparent 60%),
    var(--dark);
}
/* Engineering hairline grid overlay */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 25%, transparent 78%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/hero-world-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: .92;
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 40%, #000 28%, transparent 76%);
  mask-image: radial-gradient(ellipse 92% 88% at 50% 40%, #000 28%, transparent 76%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: #d5dde8;
  background: rgba(255, 255, 255, 0.05); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 0 rgba(46, 230, 214, .6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 214, .55); }
  70% { box-shadow: 0 0 0 9px rgba(46, 230, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 214, 0); }
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-proof { display: flex; gap: clamp(22px, 4vw, 48px); flex-wrap: wrap; align-items: center; }
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item b { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; color: #ffffff; }
.proof-item b em { font-style: normal; color: var(--accent-bright); }
.proof-item span { font-size: 12.5px; color: var(--on-dark-muted); letter-spacing: .04em; }
.proof-sep { width: 1px; height: 42px; background: var(--on-dark-line); }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .disc {
  width: min(430px, 88%); animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 80px rgba(46, 230, 214, 0.12));
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(-14px) rotate(1.2deg);} }

.hud-card {
  position: absolute; background: rgba(10, 16, 31, 0.88); border: 1px solid var(--on-dark-line);
  border-radius: 14px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 12px; animation: floaty 6s ease-in-out infinite reverse;
}
.hud-card .hud-label { color: var(--on-dark-muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 5px; }
.hud-card b { color: var(--accent-bright); font-weight: 600; }
.hud-1 { top: 12%; left: 0; }
.hud-2 { bottom: 16%; right: 2%; animation-delay: 1.4s; }
.hud-3 { top: 46%; right: -2%; animation-delay: .7s; }
.hud-live { bottom: -22px; left: 50%; transform: translateX(-50%); animation: none; white-space: nowrap; }
.hero-visual .disc { cursor: grab; touch-action: none; }
.hero-visual .disc:active { cursor: grabbing; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .hud-1 { left: -4px; } .hud-2 { right: 0; } .hud-3 { right: 0; }
}

/* ---------- Page hero (inner, homepage-style) ---------- */
.page-hero {
  display: flex; align-items: center;
  min-height: 74svh;
  padding: 168px 0 88px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 480px at 82% -12%, rgba(56, 189, 248, 0.13), transparent 60%),
    radial-gradient(800px 420px at 4% 118%, rgba(46, 230, 214, 0.10), transparent 60%),
    var(--dark);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 25%, transparent 80%);
}
.page-hero .hero-photo { position: absolute; inset: 0; }
.page-hero .hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .20; filter: saturate(.7) brightness(.82); transform: scale(1.04);
}
.page-hero .hero-grid-bg { background-size: cover; }
.page-hero .container { position: relative; z-index: 1; }
.hero h1, .page-hero h1 { color: #ffffff; text-shadow: 0 2px 22px rgba(5, 8, 15, .9); }
.hero .lead, .page-hero .lead { color: #e2e9f3; text-shadow: 0 1px 16px rgba(5, 8, 15, .95); font-weight: 500; }
.hero .hero-badge, .page-hero .hero-badge { text-shadow: 0 1px 10px rgba(5, 8, 15, .9); }
.hero .chip, .page-hero .chip { box-shadow: 0 0 0 1px rgba(5, 8, 15, .35), 0 2px 12px rgba(5, 8, 15, .45); }
.hero .chip, .page-hero .chip { background: rgba(255, 255, 255, 0.06); color: #d5dde8; border-color: var(--on-dark-line); }
.hero .chip.accent, .page-hero .chip.accent { color: var(--accent-bright); border-color: rgba(46, 230, 214, .4); background: rgba(46, 230, 214, 0.08); }
.hero a, .page-hero a, .cta-band a, .demo-panel a, .exit-pop-card a { color: var(--accent-bright); }
.hero a:hover, .page-hero a:hover, .cta-band a:hover, .demo-panel a:hover, .exit-pop-card a:hover { color: #7ff4e8; }
.page-hero .breadcrumb { margin-bottom: 30px; }
.page-hero .hero-badge { margin-bottom: 24px; }
.page-hero h1 {
  margin: 6px 0 20px;
  max-width: 900px;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.08;
}
.page-hero .lead {
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.72;
}
.page-hero .hero-ctas { margin-bottom: 32px; }
.page-hero .chip-row { margin-top: 2px; }
@media (max-width: 960px) {
  .page-hero { min-height: 0; padding: 152px 0 72px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 140px 0 62px; }
  .page-hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .page-hero .lead { max-width: 100%; }
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 18px; font-family: var(--font-mono); }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb svg { width: 11px; height: 11px; }
.breadcrumb .cur { color: var(--accent-bright); }

/* ---------- Feature cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-1); }
.card .card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-dim); border: 1px solid var(--accent-line); margin-bottom: 18px;
}
.card .card-icon svg { width: 22px; height: 22px; stroke: var(--accent-strong); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-strong); }
.card .card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 48px; }
.stat b { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; display: block; color: var(--ink); }
.stat b em { font-style: normal; color: var(--accent-strong); }
.stat span { color: var(--muted); font-size: 13.5px; display: block; margin-top: 4px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Product showcase ---------- */
.product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.product-tile {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface);
  display: flex; flex-direction: column; position: relative; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.product-tile:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow-2); }
.product-tile .tile-visual {
  padding: 42px 36px 8px; display: grid; place-items: center; min-height: 270px;
  background:
    radial-gradient(480px 260px at 50% 0%, rgba(2, 132, 199, 0.07), transparent 65%),
    linear-gradient(180deg, var(--surface-2), var(--bg-soft));
}
.product-tile .tile-visual svg { width: min(300px, 84%); }
.product-tile .tile-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.product-tile .tile-body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-tile .tile-tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-strong); border: 1px solid var(--accent-line); border-radius: 999px; padding: 4px 12px; background: var(--accent-dim);
}
.product-tile h3 { font-size: 1.55rem; }
.product-tile .tile-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 6px; }
.product-tile .tile-specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; font-size: 13.5px; }
.product-tile .tile-specs dt { color: var(--muted); }
.product-tile .tile-specs dd { color: var(--ink); font-family: var(--font-mono); font-weight: 500; text-align: right; }
.product-tile .tile-actions { margin-top: auto; display: flex; gap: 12px; padding-top: 18px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .product-tile .tile-specs { grid-template-columns: 1fr; }
  .product-tile .tile-specs div { flex-direction: column; gap: 2px; }
  .product-tile .tile-specs dd { text-align: left; }
}
@media (max-width: 900px) { .product-showcase { grid-template-columns: 1fr; } }

/* ---------- Photo cards & banners ---------- */
.photo-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); display: flex; flex-direction: column;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.photo-card:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--shadow-2); }
.photo-card .pc-media { position: relative; height: 190px; overflow: hidden; }
.photo-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card .pc-media { aspect-ratio: 16 / 10; height: auto; }
.photo-card .pc-media.fit img { object-fit: contain; padding: 10px; }
.photo-card .pc-media.fit { background: #ffffff; }
.photo-card .pc-media.fit img { padding: 18px; }
.photo-card:hover .pc-media img { transform: scale(1.07); }
.photo-card .pc-media.fit:hover img { transform: none; }
.photo-card .pc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 15, 26, 0.42) 100%);
}
.photo-card .pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.photo-card .pc-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-bright); background: rgba(10, 15, 26, 0.72); border: 1px solid rgba(46, 230, 214, 0.4);
  border-radius: 999px; padding: 5px 11px; backdrop-filter: blur(6px);
}
.photo-card h3 { font-size: 1.12rem; }
.photo-card p { color: var(--muted); font-size: 14px; }
.photo-card .card-link { margin-top: auto; }
.photo-card .card-link svg { width: 14px; height: 14px; }

.photo-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; border: 1px solid var(--line);
}
.photo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .45) 0%, rgba(5, 8, 15, .55) 55%, rgba(5, 8, 15, .92) 100%); }
.photo-banner .pb-content { position: relative; z-index: 2; padding: clamp(24px, 4vw, 44px); max-width: 640px; }
.photo-banner .pb-content h2,
.photo-banner .pb-content h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(5, 8, 15, .85);
}
.photo-banner .pb-content p {
  color: #d3dde9;
  text-shadow: 0 1px 12px rgba(5, 8, 15, .9);
  margin-bottom: 18px;
}

.photo-collage { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.photo-collage .pc-media { height: 100%; min-height: 200px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.photo-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-collage .pc-media:hover img { transform: scale(1.05); }
.photo-collage .pc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 8, 15, .72)); }
.photo-collage .pc-cap { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); }
@media (max-width: 900px) { .photo-collage { grid-template-columns: 1fr; } }

/* Hero photo backdrop */
.hero-photo {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(.75); transform: scale(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 8, 15, .92) 0%, rgba(5, 8, 15, .55) 45%, rgba(5, 8, 15, .28) 75%, rgba(5, 8, 15, .55) 100%),
  radial-gradient(1100px 560px at 78% -10%, rgba(56, 189, 248, .16), transparent 60%),
  radial-gradient(900px 520px at 8% 108%, rgba(46, 230, 214, .10), transparent 60%);
}

/* ---------- Interactive encoder demo (dark immersion) ---------- */
.demo-panel {
  border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--dark-3), var(--dark-2) 40%, var(--dark));
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 400px;
}
.demo-head { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 9px 16px; border: 1px solid var(--on-dark-line); border-radius: 999px; background: rgba(255, 255, 255, 0.04); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); animation: livePulse 1.8s ease-out infinite; flex: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
.demo-stage { position: relative; display: grid; place-items: center; padding: 36px; overflow: hidden; }
.demo-stage::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 230, 214, .10), transparent 65%); }
.demo-disc { position: relative; width: min(300px, 78%); cursor: grab; touch-action: none; user-select: none; }
.demo-disc:active { cursor: grabbing; }
.demo-disc svg { width: 100%; height: auto; }
.demo-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(10, 16, 31, .92); border: 1px solid rgba(46, 230, 214, .35); box-shadow: 0 6px 22px rgba(0, 0, 0, .35); animation: demoPulse 2.6s ease-in-out infinite; }
.demo-hint .cue { display: inline-block; color: var(--accent-bright); animation: cueNudge 1.4s ease-in-out infinite; }
@keyframes demoPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46, 230, 214, .22), 0 6px 22px rgba(0, 0, 0, .35); } 50% { box-shadow: 0 0 0 9px rgba(46, 230, 214, 0), 0 6px 22px rgba(0, 0, 0, .35); } }
@keyframes cueNudge { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
.demo-stage-linear { position: relative; display: grid; place-items: center; padding: 40px 40px 60px; overflow: hidden; cursor: crosshair; touch-action: none; user-select: none; }
.demo-stage-linear::before { content: ""; position: absolute; width: 460px; height: 240px; border-radius: 50%; background: radial-gradient(ellipse, rgba(46, 230, 214, 0.12), transparent 70%); pointer-events: none; }
.lin-scale { position: relative; width: min(680px, 100%); height: 190px; }
.lin-tape { position: absolute; top: 62px; left: 0; right: 0; height: 42px; border-radius: 8px; border: 1px solid var(--on-dark-line); box-shadow: inset 0 1px 8px rgba(0, 0, 0, .45); background: linear-gradient(180deg, rgba(46, 230, 214, .16), rgba(56, 189, 248, .09)), repeating-linear-gradient(90deg, rgba(148, 163, 184, .5) 0 1px, transparent 1px 7px); }
.lin-nums { position: absolute; top: 158px; left: 2px; right: 2px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-muted); }
.lin-nums .lin-unit { color: var(--accent-bright); }
.lin-head { position: absolute; top: 48px; left: 0; width: 104px; height: 64px; border-radius: 14px; background: linear-gradient(180deg, var(--dark-3), var(--dark)); border: 2px solid var(--accent-bright); box-shadow: 0 0 26px rgba(46, 230, 214, .30), inset 0 0 18px rgba(46, 230, 214, .08); display: grid; place-items: center; cursor: grab; z-index: 3; }
.lin-head:active { cursor: grabbing; }
.lin-head:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
.lin-head .lin-tag { font-family: var(--font-display, "Space Grotesk", sans-serif); font-weight: 700; font-size: 17px; letter-spacing: .1em; color: var(--accent-bright); }
.lin-head .lin-sense { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); width: 34px; height: 12px; border-radius: 0 0 10px 10px; background: rgba(46, 230, 214, .9); box-shadow: 0 4px 12px rgba(46, 230, 214, .45); }
.lin-head::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 9px rgba(52, 211, 153, .95); }
.lin-mark { position: absolute; top: 132px; width: 2px; height: 10px; background: var(--accent-bright); box-shadow: 0 0 10px rgba(46, 230, 214, .9); transform: translateX(-50%); z-index: 2; }
.lin-scan { position: absolute; top: 64px; width: 96px; height: 38px; border-radius: 10px; background: rgba(46, 230, 214, .10); border: 1px solid rgba(46, 230, 214, .35); box-shadow: 0 0 26px rgba(46, 230, 214, .16); transform: translateX(-50%); pointer-events: none; z-index: 1; }
.ro-pct { font-size: 13px !important; color: var(--on-dark-muted) !important; }
.demo-readout { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 36px 34px; border-left: 1px solid var(--on-dark-line); background: rgba(5, 8, 15, 0.5); }
.demo-readout .ro-item { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; border-bottom: 1px dashed var(--on-dark-line); padding-bottom: 12px; }
.demo-readout .ro-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.demo-readout .ro-value { font-family: var(--font-mono); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; color: var(--accent-bright); }
.demo-readout .ro-value { text-shadow: 0 0 24px rgba(46, 230, 214, 0.30); }
.demo-readout .ro-value small { font-size: .55em; color: var(--on-dark-muted); font-weight: 500; }
.demo-readout .ro-bar { height: 6px; border-radius: 3px; background: rgba(148, 163, 184, .15); overflow: hidden; }
.demo-readout .ro-bar i { display: block; height: 100%; width: 50%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-bright), var(--accent-2)); transition: width .12s linear; }
@media (max-width: 900px) { .demo-panel { grid-template-columns: 1fr; } .demo-readout { border-left: none; border-top: 1px solid var(--on-dark-line); } }
@media (max-width: 480px) { .demo-readout .ro-value { font-size: 1.12rem; } .demo-readout { padding: 26px 22px; } }

/* ---------- Spec tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--accent-dim);
}
.spec-table tbody tr:nth-child(even) { background: #fafbfc; }
.spec-table tbody tr:hover { background: var(--accent-dim); }
.spec-table td:first-child { color: var(--muted); width: 38%; font-weight: 500; }
.spec-table td:last-child { color: var(--ink); font-family: var(--font-mono); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (max-width: 640px) {
  .table-wrap {
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    position: relative;
  }
  .table-wrap::after {
    content: "Scroll →";
    position: sticky; right: 10px; bottom: 8px; float: right;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
    color: var(--accent-strong); background: rgba(255, 255, 255, .9); border: 1px solid var(--accent-line);
    border-radius: 999px; padding: 4px 10px; pointer-events: none; margin: 8px 10px 0 0;
  }
}

/* comparison table */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.cmp-table thead th:first-child { color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; }
.cmp-table .rm-col { background: var(--accent-dim); }
.cmp-table tbody td.rm-col::before { content: "✓"; color: var(--accent-strong); font-weight: 800; margin-right: 7px; }
.cmp-table .rm-col th, .cmp-table .rm-col td { color: var(--accent-strong); font-weight: 600; }
.cmp-table tbody td:first-child { color: var(--muted); font-weight: 500; white-space: nowrap; }
.cmp-table tbody tr:hover td { background: var(--bg-soft); }
.cmp-table .bar { display: inline-block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); vertical-align: middle; margin-right: 8px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); transition: all .2s ease;
}
.tab-btn:hover { color: var(--accent-strong); border-color: var(--accent); }
.tab-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent-strong); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; background: transparent; border: none; cursor: pointer;
  color: var(--ink); font-family: var(--font-display); font-size: 16px; font-weight: 600; text-align: left;
}
.acc-head .acc-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .25s ease, border-color .25s ease; }
.acc-head .acc-icon svg { width: 13px; height: 13px; stroke: var(--accent-strong); }
.acc-item.open .acc-icon { transform: rotate(45deg); border-color: var(--accent); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 0 26px 26px; color: var(--muted); font-size: 14.5px; }
.acc-body-inner p + p { margin-top: 10px; }

/* ---------- Application cards ---------- */
.app-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; position: relative; overflow: hidden;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(2, 132, 199, .4); box-shadow: var(--shadow-1); }
.app-card .app-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .2em; }
.app-card .app-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-dim); border: 1px solid rgba(2, 132, 199, .22); display: grid; place-items: center; margin: 14px 0 16px; }
.app-card .app-icon svg { width: 21px; height: 21px; stroke: var(--accent-2); }
.app-card h3 { margin-bottom: 8px; }
.app-card p { color: var(--muted); font-size: 14px; }
.app-card .app-tag { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--accent-strong); background: var(--accent-dim); border-radius: 999px; padding: 4px 11px; }

/* ---------- Process / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 38px; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 58px; bottom: 4px; width: 1px; background: linear-gradient(var(--line-strong), transparent); }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--accent-strong);
  border: 1px solid var(--accent-line); background: var(--accent-dim);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; max-width: 620px; }

/* ---------- CTA band (dark immersion) ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 230, 214, 0.22);
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(46, 230, 214, 0.12), transparent 60%),
    linear-gradient(180deg, var(--dark-3), var(--dark));
  padding: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.cta-band h2 { max-width: 640px; margin-bottom: 10px; color: #ffffff; }
.cta-band p { color: var(--on-dark-muted); max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer (light) ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: clamp(60px, 8vw, 110px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 60px 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 16px 0 20px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--accent-strong); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 14px; }
.footer-contact li { align-items: center; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--accent-strong); flex: none; margin-top: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-strong); }
.cert-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cert-chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--text-2); border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; background: var(--surface); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px);
  background: var(--surface);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: span 2; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--ink); padding: 12px 14px; font-family: var(--font-body); font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 159, 143, 0.12); }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .field.full { grid-column: span 1; } }

/* ---------- Contact info cards ---------- */
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.info-card .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-dim); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 16px; }
.info-card .ic svg { width: 21px; height: 21px; stroke: var(--accent-strong); }
.info-card h3 { font-size: 15px; margin-bottom: 6px; }
.info-card p, .info-card a { color: var(--muted); font-size: 14px; word-break: break-word; }
.info-card a:hover { color: var(--accent-strong); }

/* ---------- Blog ---------- */
.blog-grid { gap: clamp(20px, 2.6vw, 30px); }
.blog-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--surface);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-2);
}
.blog-card .blog-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(320px 160px at 50% 0%, rgba(2, 132, 199, 0.12), transparent 70%), var(--surface-2);
}
.blog-card .blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-card .blog-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 15, .12) 0%, transparent 34%, rgba(5, 8, 15, .55) 80%, rgba(5, 8, 15, .84) 100%);
}
.blog-card .blog-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-bright); background: rgba(10, 15, 26, 0.72); border: 1px solid rgba(46, 230, 214, 0.38);
  border-radius: 999px; padding: 5px 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.blog-card .blog-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.blog-card .blog-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); display: flex; gap: 10px; align-items: center;
}
.blog-card .blog-meta::before { content: ""; width: 16px; height: 1px; background: var(--accent-strong); opacity: .55; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.34; letter-spacing: -.01em; }
.blog-card p { color: var(--text-2); font-size: 14px; line-height: 1.72; }
.blog-card .card-link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 13.5px; color: var(--accent-strong);
  padding-top: 13px; border-top: 1px solid var(--line); width: 100%;
  transition: gap .2s ease, color .2s ease;
}
.blog-card .card-link svg { width: 15px; height: 15px; }
.blog-card:hover .card-link { gap: 11px; color: #086a5f; }

.article { max-width: 780px; margin-inline: auto; }
.article .h1 { margin-bottom: 14px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article h2 { font-family: var(--font-display); font-size: 1.55rem; margin: 40px 0 16px; color: var(--ink); }
.article h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 30px 0 12px; color: var(--ink); }
.article p { color: var(--text-2); margin-bottom: 18px; }
.article ul, .article ol { color: var(--text-2); margin: 0 0 20px 22px; }
.article li { margin-bottom: 8px; }
.article blockquote { border-left: 3px solid var(--accent); padding: 14px 22px; margin: 26px 0; background: var(--accent-dim); border-radius: 0 10px 10px 0; color: var(--text-2); }
.article .callout { border: 1px solid rgba(2, 132, 199, 0.3); background: var(--blue-dim); border-radius: 12px; padding: 18px 22px; margin: 26px 0; font-size: 14.5px; color: var(--text-2); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article table th, .article table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article table th { background: var(--surface-2); font-family: var(--font-display); color: var(--ink); }

/* ---------- Logos / trust ---------- */
.trust-strip { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust-chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; color: var(--muted); font-size: 13.5px; font-weight: 600; background: var(--surface); }
.trust-chip svg { width: 16px; height: 16px; stroke: var(--accent-strong); }

/* ---------- Spec highlight tiles ---------- */
.spec-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--surface); }
.spec-tile .st-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); display: block; margin-bottom: 8px; }
.spec-tile .st-value { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--ink); }
.spec-tile .st-value em { font-style: normal; color: var(--accent-strong); }
.spec-tile .st-note { font-size: 12.5px; color: var(--muted); margin-top: 5px; display: block; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 1; transform: none; }
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .js-anim .reveal { opacity: 1; transform: none; }
}

.js-anim .hero-visual::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: min(430px, 88%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 214, .12), rgba(56, 189, 248, .05) 45%, transparent 68%);
  filter: blur(4px); pointer-events: none;
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; margin: clamp(48px, 6vw, 80px) 0; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12.5px; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px; background: var(--surface); }
.chip.accent { color: var(--accent-strong); border-color: var(--accent-line); background: var(--accent-dim); }
.quote {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; color: var(--text-2); font-size: 17px; font-style: italic;
}
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 14.5px; }
.check-list svg { width: 18px; height: 18px; stroke: var(--accent-strong); flex: none; margin-top: 3px; }

/* page transitions */
.page-wrap { animation: pageIn .45s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #111; }
}

/* ============================================================
   v2.2 UX polish (carried over from v2.1, adapted to light)
   ============================================================ */

/* Hero lead readability */
.hero .lead { max-width: 62ch; line-height: 1.75; }
.hero-proof { flex-wrap: wrap; }
.proof-item { min-width: 120px; }

/* Product-card image treatments */
.photo-card .pc-media.cover img { object-fit: cover; }
.photo-card .pc-media.fit.hu img { object-fit: cover; object-position: left center; }
.photo-card .pc-media.fit.hu { background: radial-gradient(circle at 32% 46%, #f4f7fa, #e9eef4 62%, #e2e8f0 100%); }

/* About page stats strip */
.about-stats .spec-tile { padding: 16px 18px; }
.about-stats .st-note { font-size: 11.5px; }
@media (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

/* Download cards: fill accent on hover for stronger CTA */
.card .tile-actions .btn-outline-accent { transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.card .tile-actions .btn-outline-accent:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); box-shadow: 0 6px 22px rgba(15, 159, 143, 0.24); transform: translateY(-2px); }

/* ---------- Exit-intent / quote popup (dark, high contrast) ---------- */
.exit-pop {
  position: fixed; inset: 0; z-index: 1200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 6, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.exit-pop.show { display: flex; animation: popFade .28s ease; }
.exit-pop-card {
  position: relative; width: min(560px, 100%); border-radius: 22px; overflow: hidden;
  background: linear-gradient(165deg, var(--dark-3), var(--dark-2) 55%, var(--dark));
  border: 1px solid rgba(46, 230, 214, 0.22); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(46, 230, 214, 0.06);
  animation: popUp .34s cubic-bezier(.2,.9,.3,1.2);
}
.exit-pop-card .ep-glow {
  position: absolute; top: -120px; left: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 214, .18), transparent 65%); pointer-events: none;
}
.exit-pop-card .ep-body { position: relative; padding: clamp(26px, 4vw, 40px); }
.exit-pop-card .ep-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted); cursor: pointer; font-size: 16px; z-index: 3; transition: background .18s ease, color .18s ease;
}
.exit-pop-card .ep-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.exit-pop-card .eyebrow { margin-bottom: 10px; color: var(--accent-bright); }
.exit-pop-card .eyebrow::before { background: var(--accent-bright); }
.exit-pop-card h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 10px; color: #ffffff; }
.exit-pop-card p { color: var(--on-dark-muted); font-size: 14.5px; margin-bottom: 22px; }
.ep-actions { display: grid; gap: 12px; }
.ep-actions .btn { width: 100%; }
.ep-note { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--on-dark-muted); }
@keyframes popFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popUp { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* Form success/error states */
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form-status { margin-top: 12px; font-size: 14px; display: none; }
