/* ============================================================
   光停科技 — official site
   Dependency-free, system fonts, responsive, reduced-motion aware
   ============================================================ */

:root {
  --ink: #0b1220;
  --ink-2: #0e1729;
  --ink-3: #121e33;
  --ink-4: #1a2740;
  --paper: #f6f7f9;
  --paper-2: #eef1f5;
  --white: #ffffff;
  --text: #162033;
  --muted: #5b677a;
  --muted-2: #8a94a6;
  --line: rgba(11, 18, 32, 0.1);
  --line-strong: rgba(11, 18, 32, 0.16);
  --line-dark: rgba(255, 255, 255, 0.12);
  --teal: #18c29c;
  --teal-dark: #0ea88a;
  --teal-soft: #e5f9f4;
  --blue: #2f6bff;
  --amber: #f5a524;
  --red: #ef5b5b;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --shadow: 0 24px 70px rgba(11, 18, 32, 0.12);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.38);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--teal); color: #06251f; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--teal);
  color: #06251f;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(24, 194, 156, 0.55);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #04231d;
  background: linear-gradient(135deg, #2ce0b4 0%, #18c29c 55%, #0fb18d 100%);
  box-shadow: 0 10px 30px rgba(24, 194, 156, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #43eac2 0%, #20d2aa 55%, #12bd97 100%);
  box-shadow: 0 14px 36px rgba(24, 194, 156, 0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 650;
  font-size: 14px;
}
.text-link .icon { width: 17px; height: 17px; transition: transform 0.2s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  --header-fg: #fff;
  --header-muted: rgba(255, 255, 255, 0.7);
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  color: var(--header-fg);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  --header-fg: var(--text);
  --header-muted: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 18, 32, 0.06);
  backdrop-filter: blur(18px) saturate(160%);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 6px 16px rgba(24, 194, 156, 0.22)); }
.brand-mark.small { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--header-fg);
  transition: color 0.3s ease;
}
.brand-text small {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--header-muted);
  transition: color 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 550;
  color: var(--header-muted);
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover { color: var(--header-fg); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.login-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--header-muted);
  transition: color 0.2s ease;
}
.login-link:hover { color: var(--header-fg); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--header-fg);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  min-height: 100vh;
  padding: 148px 0 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}
.hero-glow-a {
  width: 620px;
  height: 620px;
  top: -180px;
  right: 6%;
  background: radial-gradient(circle, rgba(24, 194, 156, 0.34), transparent 65%);
}
.hero-glow-b {
  width: 520px;
  height: 520px;
  left: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.3), transparent 65%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow .line { width: 28px; height: 1px; background: currentColor; opacity: 0.65; }
.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 194, 156, 0.14);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(24, 194, 156, 0.5);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.grad-text {
  background: linear-gradient(100deg, #64f2cf 0%, #18c29c 45%, #7ea6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.66);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-metric strong {
  display: block;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-metric strong em {
  margin-left: 3px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
}
.hero-metric span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}
.hero-note .icon { width: 15px; height: 15px; color: var(--teal); }

/* ---------- hero dashboard ---------- */

.hero-visual {
  position: relative;
  perspective: 1400px;
}
.dashboard-shell {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #0d1728;
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(24, 194, 156, 0.06) inset;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-visual:hover .dashboard-shell { transform: rotateY(0) rotateX(0); }
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.dash-chrome span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.dash-chrome span:nth-child(1) { background: #ff6b6b; }
.dash-chrome span:nth-child(2) { background: #f5c451; }
.dash-chrome span:nth-child(3) { background: #35d07f; }
.dash-chrome em {
  margin-left: auto;
  font-size: 9px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

.dash-body { display: grid; grid-template-columns: 82px 1fr; min-height: 430px; }
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
}
.dash-side-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 5px 16px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
}
.mini-logo {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}
.dash-side-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 6px;
  border-radius: 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.36);
}
.dash-side-item .icon { width: 12px; height: 12px; }
.dash-side-item.active { color: var(--teal); background: rgba(24, 194, 156, 0.1); }
.dash-side-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 7px 5px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
}
.avatar {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(24, 194, 156, 0.18);
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
}

.dash-main { padding: 18px 18px 16px; min-width: 0; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dash-head small { display: block; font-size: 8px; color: rgba(255, 255, 255, 0.35); }
.dash-head strong { display: block; margin-top: 3px; font-size: 15px; letter-spacing: -0.02em; }
.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(24, 194, 156, 0.22);
  border-radius: 20px;
  font-size: 8px;
  color: var(--teal);
  background: rgba(24, 194, 156, 0.06);
}
.dash-live .live-dot { width: 5px; height: 5px; }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 15px;
}
.dash-kpi {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.dash-kpi span { display: block; font-size: 7px; color: rgba(255, 255, 255, 0.34); }
.dash-kpi strong { display: block; margin-top: 2px; font-size: 15px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-kpi small { display: block; margin-top: 1px; font-size: 7px; color: rgba(255, 255, 255, 0.3); }
.dash-kpi small.up { color: var(--teal); }

.dash-chart {
  margin-top: 12px;
  padding: 10px 11px 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}
.dash-chart-head { display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: rgba(255, 255, 255, 0.4); }
.dash-chart-head em { font-style: normal; color: rgba(255, 255, 255, 0.24); }
.dash-chart svg { width: 100%; height: 92px; margin-top: 4px; overflow: visible; }
.chart-grid { stroke: rgba(255, 255, 255, 0.055); stroke-width: 1; }
.chart-area { fill: url(#chart-fill); }
.chart-line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.chart-dot { fill: var(--teal); stroke: #0d1728; stroke-width: 2; }
.dash-chart-labels { display: flex; justify-content: space-between; font-size: 6px; color: rgba(255, 255, 255, 0.22); }

.dash-lower { display: grid; grid-template-columns: 1fr 132px; gap: 8px; margin-top: 10px; }
.gate-panel {
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}
.panel-title { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 8px; color: rgba(255, 255, 255, 0.4); }
.panel-title em { font-style: normal; color: rgba(255, 255, 255, 0.24); }
.gate-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: 7.5px; color: rgba(255, 255, 255, 0.55); }
.gate-row em { margin-left: auto; font-style: normal; color: rgba(255, 255, 255, 0.3); }
.gate-dot { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.gate-dot.ok { background: var(--teal); box-shadow: 0 0 0 3px rgba(24, 194, 156, 0.12); }
.gate-dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.12); }

.occupancy-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}
.occupancy-ring {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) calc(var(--value) * 1%), rgba(255, 255, 255, 0.08) 0);
}
.occupancy-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #0d1728;
}
.occupancy-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.occupancy-ring strong { font-size: 15px; letter-spacing: -0.04em; }
.occupancy-ring small { display: block; font-size: 6px; color: rgba(255, 255, 255, 0.35); }
.occupancy-legend { display: flex; flex-direction: column; gap: 3px; font-size: 6.5px; color: rgba(255, 255, 255, 0.38); }
.occupancy-legend span { display: flex; align-items: center; gap: 4px; }
.occupancy-legend i { width: 5px; height: 5px; border-radius: 2px; }
.legend-a { background: var(--teal); }
.legend-b { background: rgba(255, 255, 255, 0.14); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(15, 26, 45, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: 7px; color: rgba(255, 255, 255, 0.42); }
.float-card strong { display: block; margin-top: 1px; font-size: 10px; color: #fff; }
.float-card em { display: block; margin-top: 1px; font-size: 7px; color: rgba(255, 255, 255, 0.36); }
.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
}
.float-icon .icon { width: 15px; height: 15px; }
.float-icon.ok { color: var(--teal); background: rgba(24, 194, 156, 0.12); }
.float-icon.warn { color: var(--amber); background: rgba(245, 165, 36, 0.12); }
.float-gate { right: -18px; bottom: 44px; }
.float-alert { right: -26px; top: -26px; animation-delay: -2.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 38px;
  margin-top: 76px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.42); }
.trust-item .icon { width: 16px; height: 16px; color: rgba(24, 194, 156, 0.8); }

/* ---------- section basics ---------- */

.section { position: relative; padding: 108px 0; }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.section-head p {
  margin-top: 18px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255, 255, 255, 0.52); }
.section-head.light .eyebrow { color: #5ee7c8; }

/* ---------- solutions ---------- */

.solutions { background: var(--paper); }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.solution-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 194, 156, 0.35);
  box-shadow: 0 22px 50px rgba(11, 18, 32, 0.09);
}
.card-index {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 58px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(11, 18, 32, 0.045);
  transition: color 0.28s ease;
}
.solution-card:hover .card-index { color: rgba(24, 194, 156, 0.12); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.card-icon .icon { width: 23px; height: 23px; }
.solution-card h3 { margin-top: 20px; font-size: 20px; letter-spacing: -0.02em; }
.solution-card p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-row span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(246, 247, 249, 0.8);
}

/* ---------- capabilities ---------- */

.capabilities { background: var(--ink); color: #fff; overflow: hidden; }
.capabilities-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(24, 194, 156, 0.13), transparent 65%),
    radial-gradient(ellipse 45% 45% at 90% 80%, rgba(47, 107, 255, 0.12), transparent 65%);
  pointer-events: none;
}
.capabilities .container { position: relative; z-index: 1; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.cap-card {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.cap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 194, 156, 0.35);
  background: linear-gradient(160deg, rgba(24, 194, 156, 0.09), rgba(255, 255, 255, 0.025));
}
.cap-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 194, 156, 0.2);
  border-radius: 12px;
  color: var(--teal);
  background: rgba(24, 194, 156, 0.08);
}
.cap-icon .icon { width: 21px; height: 21px; }
.cap-card h3 { margin-top: 18px; font-size: 17px; letter-spacing: -0.01em; }
.cap-card p { margin-top: 9px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.5); }
.cap-card .tag-row { margin-top: 16px; }
.cap-card .tag-row span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.46);
}
.capability-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}
.capability-foot span { display: flex; align-items: center; gap: 8px; }
.capability-foot .icon { width: 15px; height: 15px; color: var(--teal); }
.capability-foot a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.capability-foot a .icon { width: 15px; height: 15px; transition: transform 0.2s ease; }
.capability-foot a:hover .icon { transform: translateX(3px); }

/* ---------- console ---------- */

.console { background: var(--paper); }
.console-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: center;
}
.console-copy h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}
.console-copy > p { margin-top: 18px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.check-list { display: grid; gap: 11px; margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #344054; }
.check-list .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--teal-dark); }
.console-copy .text-link { margin-top: 26px; }

.console-stage {
  position: relative;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(150deg, #14233a, #0b1220 70%);
  box-shadow: 0 30px 70px rgba(11, 18, 32, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.console-glow {
  position: absolute;
  inset: 20% 10% -10%;
  border-radius: 30px;
  background: radial-gradient(ellipse, rgba(24, 194, 156, 0.18), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.console-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}
.console-tab {
  flex: 1;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.console-tab:hover { color: rgba(255, 255, 255, 0.8); }
.console-tab.active { color: #06251f; background: var(--teal); }
.console-panels { margin-top: 12px; }
.console-panel {
  min-height: 356px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  animation: panel-in 0.35s ease both;
}
.console-panel[hidden] { display: none; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mini-dash-head,
.mini-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mini-dash-head small,
.mini-form-head small { display: block; font-size: 9px; color: rgba(255, 255, 255, 0.38); }
.mini-dash-head strong,
.mini-form-head strong { display: block; margin-top: 3px; font-size: 16px; letter-spacing: -0.02em; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}
.status-pill.green { color: var(--teal); border-color: rgba(24, 194, 156, 0.22); background: rgba(24, 194, 156, 0.07); }
.status-pill .live-dot { width: 5px; height: 5px; }

.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.mini-kpis div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}
.mini-kpis span { display: block; font-size: 9px; color: rgba(255, 255, 255, 0.36); }
.mini-kpis strong { display: inline-block; margin-top: 3px; font-size: 23px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mini-kpis em { margin-left: 3px; font-size: 9px; color: rgba(255, 255, 255, 0.3); }

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 116px;
  margin-top: 18px;
  padding: 0 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mini-bars span {
  flex: 1;
  height: var(--h);
  min-height: 8px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(24, 194, 156, 0.9), rgba(24, 194, 156, 0.18));
  transition: height 0.5s ease;
}
.mini-bars span:nth-child(3n) { background: linear-gradient(180deg, rgba(47, 107, 255, 0.9), rgba(47, 107, 255, 0.16)); }
.mini-list { display: grid; gap: 6px; margin-top: 14px; }
.mini-list div { display: flex; align-items: center; gap: 7px; font-size: 10px; color: rgba(255, 255, 255, 0.48); }
.mini-list em { margin-left: auto; font-style: normal; color: rgba(255, 255, 255, 0.3); }

.mini-form { display: grid; gap: 13px; }
.form-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.form-row label { font-size: 10px; color: rgba(255, 255, 255, 0.38); }
.fake-input {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.78);
}
.fake-toggle { width: 34px; height: 18px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.fake-toggle i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.fake-toggle.on { background: var(--teal); }
.fake-toggle.on i { transform: translateX(16px); }
.timeline { display: flex; gap: 3px; height: 54px; margin: 4px 0; }
.tl-seg {
  display: flex;
  align-items: flex-end;
  width: var(--w);
  padding: 7px;
  border-radius: 6px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
}
.tl-seg.off { background: rgba(255, 255, 255, 0.055); }
.tl-seg.peak { background: rgba(24, 194, 156, 0.18); color: var(--teal); }
.form-row.caps { gap: 6px; }
.mini-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid rgba(24, 194, 156, 0.14);
  border-radius: 8px;
  background: rgba(24, 194, 156, 0.05);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.48);
}
.mini-note .icon { width: 13px; height: 13px; color: var(--teal); }

.merchant-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}
.merchant-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(47, 107, 255, 0.16);
  color: #8aa8ff;
  font-size: 12px;
  font-weight: 700;
}
.merchant-row strong { display: block; font-size: 11px; }
.merchant-row small { display: block; margin-top: 1px; font-size: 8px; color: rgba(255, 255, 255, 0.34); }
.merchant-amount { margin-left: auto; font-size: 9px; color: var(--teal); }
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rule-grid div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.rule-grid small { display: block; font-size: 8px; color: rgba(255, 255, 255, 0.34); }
.rule-grid strong { display: block; margin-top: 2px; font-size: 12px; }

.report-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  margin-top: 20px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.report-bars span {
  position: relative;
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(24, 194, 156, 0.9), rgba(24, 194, 156, 0.15));
}
.report-bars span:nth-child(6) { background: linear-gradient(180deg, #7ea6ff, rgba(47, 107, 255, 0.16)); }
.report-bars i {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.35);
}
.report-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.report-foot small { display: block; font-size: 8px; color: rgba(255, 255, 255, 0.34); }
.report-foot strong { display: block; margin-top: 2px; font-size: 14px; }

/* ---------- devices ---------- */

.devices { background: var(--white); }
.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 44px;
}
.device-card {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.device-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 194, 156, 0.4);
  box-shadow: 0 16px 36px rgba(11, 18, 32, 0.07);
}
.device-card.adapted { border-color: rgba(24, 194, 156, 0.32); background: linear-gradient(160deg, #f4fdfa, #f7f9fc); }
.device-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--teal-dark);
}
.device-icon .icon { width: 20px; height: 20px; }
.device-card strong { display: block; margin-top: 15px; font-size: 14px; }
.device-card span { display: block; margin-top: 4px; font-size: 11px; color: var(--muted-2); }
.device-card em {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
}
.device-card.adapted em { color: var(--teal-dark); border-color: rgba(24, 194, 156, 0.22); background: var(--teal-soft); }

.device-note {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.device-note > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.device-note .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--teal-dark); flex: none; }
.device-note strong { display: block; font-size: 13px; }
.device-note span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.7; color: var(--muted); }

/* ---------- flow ---------- */

.flow { background: var(--paper); }
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 48px;
}
.flow-step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.flow-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
}
.flow-step h3 { margin-top: 14px; font-size: 18px; }
.flow-step p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.flow-tags { display: flex; gap: 6px; margin-top: 16px; }
.flow-tags span { padding: 3px 8px; border-radius: 999px; font-size: 10px; color: var(--muted); background: var(--paper); }
.flow-line {
  height: 1px;
  margin-top: 56px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
}

/* ---------- pricing ---------- */

.pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
  align-items: stretch;
}
.pricing-grid.pricing-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-3px); border-color: rgba(24, 194, 156, 0.3); box-shadow: 0 20px 46px rgba(11, 18, 32, 0.07); }
.price-card.featured {
  position: relative;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(155deg, #13233c, #0b1220 70%);
  box-shadow: 0 26px 60px rgba(11, 18, 32, 0.22);
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(24, 194, 156, 0.65), rgba(47, 107, 255, 0.15), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--teal);
  color: #06251f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.price-head span { display: block; font-size: 18px; font-weight: 750; }
.price-head strong { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.featured .price-head strong { color: rgba(255, 255, 255, 0.46); }
.price-value { margin-top: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.featured .price-value { border-bottom-color: rgba(255, 255, 255, 0.1); }
.price-value span { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.featured .price-value span { color: rgba(255, 255, 255, 0.36); }
.price-list { display: grid; gap: 11px; margin: 22px 0 28px; }
.price-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); }
.featured .price-list li { color: rgba(255, 255, 255, 0.6); }
.price-list .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--teal-dark); flex: none; }
.featured .price-list .icon { color: var(--teal); }
.price-card .btn { margin-top: auto; }
.featured .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.featured .btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- FAQ ---------- */

.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}
.faq-copy h2 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -0.04em; }
.faq-copy p { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.faq-copy .text-link { margin-top: 22px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: rgba(24, 194, 156, 0.35); box-shadow: 0 10px 28px rgba(11, 18, 32, 0.05); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 17px; height: 17px; color: var(--muted-2); transition: transform 0.25s ease; flex: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--teal-dark); }
.faq-item p { padding: 0 20px 19px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- contact ---------- */

.contact {
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 12% 25%, rgba(24, 194, 156, 0.17), transparent 65%),
    radial-gradient(ellipse 45% 50% at 88% 80%, rgba(47, 107, 255, 0.14), transparent 65%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.contact-copy .eyebrow { color: #5ee7c8; }
.contact-copy h2 { margin-top: 18px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.18; letter-spacing: -0.04em; }
.contact-copy > p { margin-top: 18px; max-width: 480px; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, 0.52); }
.contact-points { display: grid; gap: 15px; margin-top: 30px; }
.contact-points > div { display: flex; align-items: flex-start; gap: 11px; }
.contact-points .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal); flex: none; }
.contact-points small { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.35); }
.contact-points strong { display: block; margin-top: 1px; font-size: 13px; color: rgba(255, 255, 255, 0.82); font-weight: 550; }
.contact-note { display: flex; align-items: center; gap: 7px; margin-top: 28px; font-size: 11px; color: rgba(255, 255, 255, 0.32); }
.contact-note .icon { width: 14px; height: 14px; }

.lead-form {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.form-head strong { font-size: 18px; letter-spacing: -0.02em; }
.form-head span { font-size: 10px; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 13px; }
.field > span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; color: #344054; }
.field > span em { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dfe3e9;
  border-radius: 9px;
  background: #f8f9fb;
  color: var(--text);
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder,
.field textarea::placeholder { color: #a5adba; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 194, 156, 0.13);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 91, 91, 0.1); }
.lead-form .btn { margin-top: 4px; }
.form-hint { margin-top: 10px; text-align: center; font-size: 10px; line-height: 1.6; color: var(--muted-2); }
.form-error { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #fef1f1; color: #b42318; font-size: 11px; }
.form-error[hidden] { display: none; }
.lead-form.is-submitting .btn { opacity: 0.7; pointer-events: none; }

/* ---------- footer ---------- */

.site-footer { background: #070d17; color: rgba(255, 255, 255, 0.55); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand p { margin-top: 15px; font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, 0.35); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { margin-bottom: 3px; font-size: 11px; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.04em; }
.footer-links a { font-size: 11px; color: rgba(255, 255, 255, 0.38); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 10px; color: rgba(255, 255, 255, 0.28); }

/* ---------- toast / back-top ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 18px;
  border: 1px solid rgba(24, 194, 156, 0.25);
  border-radius: 11px;
  background: rgba(10, 24, 22, 0.94);
  color: #d9fff5;
  font-size: 13px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(12px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
.js [data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; }
  .dashboard-shell { transform: none; }
  .float-gate { right: 8px; }
  .float-alert { left: auto; right: 8px; top: 8px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .console-grid { gap: 40px; }
  .faq-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .login-link { display: none; }
  .header-actions { gap: 10px; }
  .site-header { height: 68px; }
  .hero { padding-top: 124px; }
  .hero-bottom { margin-top: 56px; gap: 18px 28px; }
  .section { padding: 84px 0; }
  .solution-grid { grid-template-columns: 1fr; }
  .console-grid { grid-template-columns: 1fr; }
  .console-copy { max-width: 640px; }
  .console-stage { max-width: 720px; width: 100%; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .pricing-grid.pricing-grid-2 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: 620px; }
  .lead-form { max-width: 620px; }
  .flow-grid { grid-template-columns: 1fr; gap: 12px; }
  .flow-line { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero-lead { font-size: 14px; }
  .hero-metrics { gap: 10px; }
  .hero-metric strong { font-size: 22px; }
  .hero-metric strong em { display: block; margin: 2px 0 0; }
  .hero-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
  .trust-item { font-size: 11px; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: clamp(28px, 8vw, 38px); }
  .section-head p { font-size: 14px; }
  .solution-card { padding: 26px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .console-panel { padding: 16px; min-height: 330px; }
  .console-tabs { flex-wrap: wrap; }
  .console-tab { flex: 1 1 44%; }
  .dash-body { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-lower { grid-template-columns: 1fr; }
  .occupancy-panel { flex-direction: row; justify-content: flex-start; gap: 14px; }
  .float-card { display: none; }
  .device-grid { grid-template-columns: 1fr 1fr; }
  .device-note { grid-template-columns: 1fr; }
  .flow-step { padding: 22px; }
  .price-card { padding: 24px; }
  .lead-form { padding: 22px; }
  .form-head { flex-direction: column; gap: 4px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .back-top { right: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 7px; }
  .header-actions .btn { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-metric:last-child { grid-column: 1 / -1; }
  .hero-bottom { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .mini-kpis strong { font-size: 19px; }
  .form-row { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- interaction states / footer brand ---------- */

.nav a.active { color: var(--header-fg); }
.nav a.active::after { transform: scaleX(1); }

.site-header.scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--paper);
  color: var(--text);
}

.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgba(255, 255, 255, 0.38); }

.desktop-only { display: inline; }

@media (max-width: 960px) {
  .nav.open {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 24px 24px;
    background: rgba(10, 18, 32, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    animation: nav-in 0.22s ease both;
  }
  .nav.open a {
    padding: 12px 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav.open a:last-child { border-bottom: 0; }
  .nav.open a::after { display: none; }
  .nav.open a.active { color: var(--teal); }
  @keyframes nav-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 760px) {
  .desktop-only { display: none; }
}

/* ---------- 404 ---------- */

.notfound-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(24, 194, 156, 0.16), transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 90%, rgba(47, 107, 255, 0.14), transparent 65%),
    var(--ink);
  color: #fff;
}
.notfound { max-width: 560px; text-align: center; }
.notfound .brand { justify-content: center; }
.notfound .brand-text strong { color: #fff; }
.notfound .brand-text small { color: rgba(255, 255, 255, 0.4); }
.notfound .notfound-code {
  margin-top: 48px;
  font-size: clamp(86px, 18vw, 160px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: transparent;
  background: linear-gradient(120deg, #64f2cf, #18c29c 45%, #7ea6ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.notfound h1 { margin-top: 18px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.04em; }
.notfound p { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.48); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.notfound .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.notfound .btn-outline:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- lead form consent / honeypot ---------- */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 14px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--teal-dark);
}
.consent a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.consent.invalid { color: #b42318; }
.consent.invalid input { outline: 2px solid rgba(239, 91, 91, 0.35); outline-offset: 2px; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- legal pages ---------- */

.legal-page {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-page .legal-footer { margin-top: auto; }
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.legal-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.legal-nav .brand-text strong { color: var(--text); }
.legal-nav .brand-text small { color: var(--muted-2); }
.legal-nav-actions { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.legal-nav-actions a:hover { color: var(--teal-dark); }

.legal-wrap { width: min(calc(100% - 48px), 860px); margin: 0 auto; padding: 74px 0 90px; }
.legal-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--teal-dark); }
.legal-wrap h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.045em; line-height: 1.1; }
.legal-meta { margin-top: 14px; font-size: 12px; color: var(--muted-2); }
.legal-callout {
  margin-top: 28px;
  padding: 15px 18px;
  border: 1px solid rgba(245, 165, 36, 0.3);
  border-radius: 12px;
  background: #fffbeb;
  font-size: 12px;
  line-height: 1.75;
  color: #7a4a05;
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.legal-toc a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
}
.legal-toc a:hover { color: var(--teal-dark); border-color: rgba(24, 194, 156, 0.35); }
.legal-wrap section { padding-top: 34px; }
.legal-wrap h2 { font-size: 19px; letter-spacing: -0.01em; }
.legal-wrap p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: #3d4a5c; }
.legal-wrap ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.legal-wrap li { margin-top: 6px; font-size: 14px; line-height: 1.85; color: #3d4a5c; }
.legal-wrap a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-wrap strong { color: var(--text); }
.legal-footer { border-top: 1px solid var(--line); background: #fff; }
.legal-footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 11px; color: var(--muted-2); }
.legal-footer-inner > span:last-child { display: flex; gap: 16px; }
.legal-footer-inner a:hover { color: var(--teal-dark); }

@media (max-width: 640px) {
  .legal-nav-inner { min-height: 64px; }
  .legal-nav-actions a:first-child { display: none; }
  .legal-wrap { width: min(calc(100% - 32px), 860px); padding: 48px 0 64px; }
  .legal-footer-inner { flex-direction: column; gap: 8px; }
  .legal-footer-inner > span:last-child { flex-wrap: wrap; }
}

/* ---------- console login ---------- */

.auth-page {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-page .auth-wrap { margin-top: auto; margin-bottom: auto; }
.auth-page .legal-footer { margin-top: 0; }
.auth-wrap {
  width: min(calc(100% - 48px), 1040px);
  margin: 48px auto 72px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(11, 18, 32, 0.14);
}
.auth-aside {
  position: relative;
  padding: 52px 44px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(24, 194, 156, 0.2), transparent 65%),
    radial-gradient(ellipse 50% 50% at 90% 90%, rgba(47, 107, 255, 0.18), transparent 65%),
    var(--ink);
  overflow: hidden;
}
.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--teal); }
.auth-kicker.dark { color: var(--teal-dark); }
.auth-aside h1 { margin-top: 18px; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.16; letter-spacing: -0.04em; }
.auth-lead { margin-top: 18px; max-width: 360px; font-size: 13px; line-height: 1.85; color: rgba(255, 255, 255, 0.5); }
.auth-features { display: grid; gap: 16px; margin-top: 34px; }
.auth-features li { display: flex; align-items: flex-start; gap: 11px; }
.auth-features .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal); flex: none; }
.auth-features strong { display: block; font-size: 12px; font-weight: 600; }
.auth-features small { display: block; margin-top: 2px; font-size: 10px; color: rgba(255, 255, 255, 0.36); }
.auth-quote { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.auth-quote p { font-size: 12px; color: rgba(255, 255, 255, 0.56); }
.auth-quote span { display: block; margin-top: 4px; font-size: 10px; color: rgba(255, 255, 255, 0.3); }

.auth-card { padding: 52px 46px 40px; }
.auth-card-head h2 { margin-top: 12px; font-size: 30px; letter-spacing: -0.035em; }
.auth-card-head > p:last-child { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.auth-form { margin-top: 28px; }
.auth-form .field { margin-bottom: 15px; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; font-size: 11px; color: var(--muted); }
.auth-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.auth-check input { width: 14px; height: 14px; accent-color: var(--teal-dark); }
.auth-options a { color: var(--teal-dark); }
.auth-error { margin-bottom: 12px; padding: 9px 11px; border-radius: 8px; background: #fef1f1; color: #b42318; font-size: 11px; line-height: 1.6; }
.auth-error[hidden] { display: none; }
.auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 11px; color: var(--muted); }
.auth-foot a { color: var(--teal-dark); font-weight: 600; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 10px; color: var(--muted-2); }
.auth-security .icon { width: 13px; height: 13px; }

@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; max-width: 560px; }
  .auth-aside { padding: 34px 28px; }
  .auth-aside h1 { font-size: 30px; }
  .auth-features, .auth-quote { display: none; }
  .auth-card { padding: 34px 28px 30px; }
}
@media (max-width: 480px) {
  .auth-wrap { width: calc(100% - 28px); margin: 24px auto 40px; border-radius: 18px; }
  .auth-card { padding: 28px 20px 24px; }
  .auth-card-head h2 { font-size: 25px; }
}
