/* =========================================================
   AyoubSplit — site
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #070b15;
  --panel: rgba(12, 18, 33, 0.78);
  --panel-strong: rgba(16, 24, 44, 0.92);
  --line: rgba(136, 164, 255, 0.14);
  --line-2: rgba(136, 164, 255, 0.24);
  --text: #eef3ff;
  --muted: #98a6c0;
  --muted-2: #6f7f9e;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #a78bfa;
  --pink: #f472b6;
  --ok: #34d399;
  --amber: #fbbf24;
  --danger: #fb7185;
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  --font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 10% -10%, rgba(34, 211, 238, 0.13), transparent 58%),
    radial-gradient(900px 600px at 96% 4%, rgba(167, 139, 250, 0.14), transparent 56%),
    radial-gradient(800px 800px at 50% 110%, rgba(244, 114, 182, 0.06), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.8);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cyan);
  color: #051019;
  font-size: 12px;
  font-weight: 700;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

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

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- glows ---------- */

.site-glow {
  position: fixed;
  z-index: 0;
  width: 54vw;
  height: 54vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.18;
}

.glow-one {
  top: -22vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.9), transparent 62%);
  animation: float-glow 22s ease-in-out infinite alternate;
}

.glow-two {
  top: 6vw;
  right: -24vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.9), transparent 64%);
  animation: float-glow 27s ease-in-out infinite alternate-reverse;
}

/* ---------- typography / shared ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #a8e9f8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12), 0 0 16px rgba(34, 211, 238, 0.8);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 50%;
  animation: ping 2.4s ease-out infinite;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 9px rgba(52, 211, 153, 0.8);
  animation: soft-pulse 2.2s ease-in-out infinite;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--text);
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.2rem, 7.2vw, 5.5rem);
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  margin: 0;
}

.grad {
  background: linear-gradient(100deg, #67e8f9 0%, #a78bfa 48%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.head-muted {
  color: #7f8daa;
}

.lead {
  max-width: 56ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.lead-small {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section {
  position: relative;
  z-index: 1;
  padding: 108px 0;
}

.section-head {
  max-width: 700px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-head p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-head.center p {
  margin: 0 auto;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease, color 0.18s ease, filter 0.18s ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  color: #051019;
  background: linear-gradient(100deg, var(--cyan) 0%, #7dd3fc 34%, var(--violet) 100%);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 34%;
  height: 340%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0;
  transition: left 0.55s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px rgba(34, 211, 238, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::after {
  left: 110%;
  opacity: 1;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(148, 180, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
}

.btn-lg {
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: padding 0.24s ease, background 0.24s ease, border-color 0.24s ease,
    backdrop-filter 0.24s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(5, 7, 13, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  border-radius: 12px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(34, 211, 238, 0.22);
}

.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-name span {
  background: linear-gradient(100deg, #67e8f9, #a78bfa 70%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.16s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: rgba(10, 16, 31, 0.7);
}

.version-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.version-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.mobile-nav {
  display: none;
  margin-left: auto;
}

.mobile-nav summary {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(10, 16, 31, 0.7);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary .icon {
  width: 20px;
  height: 20px;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 18px;
  width: min(260px, calc(100vw - 36px));
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(8, 13, 25, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.mobile-nav-panel a:not(.btn) {
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.mobile-nav-panel a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.mobile-nav-panel .btn {
  margin-top: 4px;
}

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

.hero {
  position: relative;
  z-index: 1;
  padding: 82px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  padding-bottom: 8px;
}

.hero h1 {
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-left: 15px;
}

.hero-meta li:first-child {
  padding-left: 0;
}

.hero-meta li + li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--muted-2);
}

.hero-meta .icon {
  width: 13px;
  height: 13px;
  color: #9fb2d4;
}

.hero-meta .live-dot {
  width: 5px;
  height: 5px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 11px;
}

.hero-note .icon {
  width: 14px;
  height: 14px;
  color: rgba(52, 211, 153, 0.9);
}

/* ---------- hero visual / mock app ---------- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  perspective: 1400px;
}

.visual-aura {
  position: absolute;
  inset: -14% -12%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, rgba(34, 211, 238, 0.28), transparent 52%),
    radial-gradient(circle at 72% 60%, rgba(167, 139, 250, 0.3), transparent 56%),
    radial-gradient(circle at 50% 80%, rgba(244, 114, 182, 0.14), transparent 60%);
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
}

.mock-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(136, 164, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(15, 23, 43, 0.98), rgba(6, 10, 20, 0.99));
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transform: rotateY(-7deg) rotateX(2.4deg);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-visual:hover .mock-window {
  transform: rotateY(-2.5deg) rotateX(1deg) translateY(-3px);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 10px;
}

.mock-dots {
  display: flex;
  gap: 4px;
}

.mock-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #334155;
}

.mock-dots span:nth-child(1) {
  background: #fb7185;
}
.mock-dots span:nth-child(2) {
  background: #fbbf24;
}
.mock-dots span:nth-child(3) {
  background: #34d399;
}

.mock-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cfd9ef;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mock-title img {
  width: 17px;
  height: 17px;
  border-radius: 5px;
}

.mock-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.07);
  color: #a7f3d0;
  font-size: 8.5px;
  font-weight: 600;
}

.mock-live span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 7px var(--ok);
  animation: soft-pulse 2s ease-in-out infinite;
}

.mock-body {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 8px;
  padding: 11px;
}

.mock-left,
.mock-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mock-card {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(165deg, rgba(15, 23, 43, 0.75), rgba(7, 11, 22, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.mock-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #cfd9ef;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mock-step {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #051019;
  font-size: 8px;
  font-weight: 800;
}

.mock-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(5, 9, 18, 0.9);
  color: #dfe7f8;
  font-size: 9.5px;
  font-weight: 600;
}

.mock-app-dot {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #1a0b02;
  font-size: 8px;
  font-weight: 800;
}

.mock-caret {
  width: 10px;
  height: 10px;
  margin-left: auto;
  color: var(--muted-2);
}

.mock-source-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
}

.mock-source-meta .live-dot {
  width: 4px;
  height: 4px;
}

.mock-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  margin-top: 7px;
  padding: 0 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
}

.mock-wave span {
  width: 2.5px;
  height: var(--h);
  flex: 1;
  max-width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0.85;
  transform-origin: center;
  animation: mock-wave 2.4s ease-in-out infinite alternate;
}

.mock-wave span:nth-child(2n) {
  animation-delay: -0.35s;
}
.mock-wave span:nth-child(3n) {
  animation-delay: -0.7s;
}
.mock-wave span:nth-child(4n) {
  animation-delay: -1.05s;
}

.mock-profiles .mock-card-head {
  margin-bottom: 6px;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mock-chips span {
  padding: 2px 6px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  color: #bdeafb;
  font-size: 7.5px;
  font-weight: 600;
}

.mock-outputs-head {
  flex-wrap: wrap;
}

.mock-test {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  color: #bdeafb;
  font-size: 7px;
  font-weight: 600;
}

.mock-device {
  margin-top: 6px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 9, 18, 0.45);
  opacity: 0.52;
}

.mock-device.on {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(160deg, rgba(18, 34, 58, 0.62), rgba(8, 13, 26, 0.62));
  opacity: 1;
}

.mock-device-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mock-device-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.08);
  color: #67e8f9;
}

.mock-device-icon .icon {
  width: 11px;
  height: 11px;
}

.mock-device-name {
  overflow: hidden;
  color: #dfe7f8;
  font-size: 8.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-badge {
  margin-left: auto;
  padding: 1px 5px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  color: #9ae6ff;
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.mock-meter {
  height: 3px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.mock-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.mock-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 11px 11px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16, 24, 44, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mock-dock-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mock-dock-info .live-dot {
  width: 5px;
  height: 5px;
}

.mock-dock-info strong {
  display: block;
  color: #e6edfb;
  font-size: 8.5px;
  line-height: 1.2;
}

.mock-dock-info small {
  display: block;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.2;
}

.mock-dock-meter {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
}

.mock-dock-meter span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

.mock-dock-btn {
  padding: 4px 7px;
  border-radius: 6px;
  background: linear-gradient(100deg, #f43f5e, #b91c1c);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
}

.mock-toast {
  position: absolute;
  right: 23px;
  bottom: 64px;
  z-index: 3;
  padding: 6px 8px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 8px;
  background: rgba(6, 20, 16, 0.95);
  color: #d1fae5;
  font-size: 7.5px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  animation: toast-float 6s ease-in-out infinite;
}

.float-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(8, 13, 25, 0.86);
  color: #cfe0ff;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: badge-float 7s ease-in-out infinite;
}

.float-badge .icon {
  width: 14px;
  height: 14px;
  color: #67e8f9;
}

.badge-delay {
  top: -20px;
  right: 7%;
}

.badge-sync {
  bottom: -22px;
  left: 6%;
  color: #a7f3d0;
  animation-delay: -2.2s;
}

.badge-sync .live-dot {
  width: 5px;
  height: 5px;
}

/* ---------- apps strip ---------- */

.apps-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.apps-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.apps-inner > p {
  flex: none;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apps-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: #8594b0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apps-list span {
  white-space: nowrap;
}

.apps-list .apps-more {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 400;
}

/* ---------- features / bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.feature {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(34, 211, 238, 0.055), transparent 55%),
    linear-gradient(160deg, rgba(15, 23, 43, 0.72), rgba(8, 12, 24, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.feature::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -35%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08), transparent 65%);
  pointer-events: none;
}

.feature:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 17px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.07);
  color: #67e8f9;
}

.feature-icon .icon {
  width: 19px;
  height: 19px;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.62;
}

.feature-routing {
  grid-column: span 7;
}

.feature-nodriver {
  grid-column: span 5;
}

.feature-control {
  grid-column: span 4;
}

.feature-delay {
  grid-column: span 4;
}

.feature-sync {
  grid-column: span 4;
}

.feature-reconnect {
  grid-column: span 5;
}

.feature-profiles {
  grid-column: span 7;
}

.feature-update {
  grid-column: span 12;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
}

.feature-update .feature-icon {
  margin-bottom: 0;
}

.feature-update h3 {
  margin: 0 0 4px;
}

.feature-update p {
  max-width: 62ch;
  font-size: 12px;
}

.feature-update-copy {
  min-width: 0;
  flex: 1;
}

/* feature visuals */

.mini-routing {
  position: relative;
  height: 132px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(3, 7, 15, 0.55);
}

.mini-routing svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(56, 189, 248, 0.32);
  stroke-width: 1.4;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.route-source {
  position: absolute;
  top: 50%;
  left: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #1a0b02;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 5px rgba(251, 146, 60, 0.08), 0 10px 26px rgba(249, 115, 22, 0.25);
  transform: translateY(-50%);
}

.route-out {
  position: absolute;
  right: 5%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 9px;
  background: rgba(9, 15, 29, 0.95);
  color: #67e8f9;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.04);
}

.route-out .icon {
  width: 14px;
  height: 14px;
}

.out-1 {
  top: 16%;
}
.out-2 {
  top: 50%;
  transform: translateY(-50%);
}
.out-3 {
  top: 84%;
  transform: translateY(-50%);
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.28);
}

.driver-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}

.driver-list span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}

.driver-list span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.driver-off {
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.015);
}

.driver-off i {
  background: rgba(251, 113, 133, 0.6);
}

.driver-off {
  text-decoration: line-through;
  text-decoration-color: rgba(251, 113, 133, 0.4);
}

.driver-on {
  border-color: rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.05);
  color: #a7f3d0;
}

.driver-on i {
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.zero-driver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.06);
  color: #a7f3d0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.zero-driver::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.mini-sliders {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 19px;
}

.mini-sliders span {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
}

.mini-sliders i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.mini-delay {
  position: relative;
  height: 42px;
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 7, 15, 0.55);
}

.delay-ghost {
  position: absolute;
  top: 50%;
  left: 17%;
  width: 2px;
  height: 18px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.delay-pulse {
  position: absolute;
  top: 50%;
  left: 68%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12), 0 0 16px rgba(34, 211, 238, 0.6);
  transform: translate(-50%, -50%);
}

.mini-delay em {
  position: absolute;
  top: 50%;
  right: 11px;
  color: #bdeafb;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 700;
  transform: translateY(-50%);
}

.mini-sync {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  margin-top: 19px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 7, 15, 0.55);
}

.mini-sync span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.mini-sync i {
  position: absolute;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(34, 211, 238, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.05);
}

.mini-sync i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.06);
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 600;
}

.status-row .live-dot {
  width: 5px;
  height: 5px;
}

.key-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 19px;
}

.key {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #dfe7f8;
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.key-row em {
  margin-left: 6px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: normal;
}

.profile-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.profile-chip.active {
  border-color: rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  color: #bdeafb;
}

.profile-chip .live-dot {
  width: 4px;
  height: 4px;
}

.version-track {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding-left: 24px;
  flex: none;
}

.version-track span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}

.version-track span.version-next {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.06);
  color: #a7f3d0;
}

.version-track i {
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  position: relative;
}

.version-track i::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -1px;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--violet);
  border-right: 1px solid var(--violet);
  transform: rotate(45deg);
}

/* ---------- sync section ---------- */

.section-sync {
  padding-top: 92px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 78% 20%, rgba(167, 139, 250, 0.07), transparent 60%),
    rgba(255, 255, 255, 0.008);
}

.sync-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
}

.sync-copy h2 {
  margin-bottom: 20px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #cfd9ef;
  font-size: 13px;
  font-weight: 500;
}

.check-list .icon {
  width: 15px;
  height: 15px;
  color: var(--ok);
}

.sync-note {
  margin-top: 25px;
  padding-left: 13px;
  border-left: 2px solid rgba(34, 211, 238, 0.28);
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
}

.sync-demo {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(136, 164, 255, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(520px 240px at 90% 0%, rgba(167, 139, 250, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(15, 23, 43, 0.9), rgba(7, 11, 22, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sync-demo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
  opacity: 0.6;
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-title {
  color: #dfe7f8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.demo-status {
  padding: 4px 9px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.07);
  color: #fde68a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.sync-demo.is-synced .demo-status {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
}

.sync-timeline {
  position: relative;
  margin: 24px 0 20px;
  padding-left: 86px;
}

.timeline-scale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 8.5px;
  font-variant-numeric: tabular-nums;
}

.sync-lane {
  position: relative;
  height: 34px;
  margin-top: 8px;
}

.lane-label {
  position: absolute;
  top: 50%;
  left: -86px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 78px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  transform: translateY(-50%);
}

.lane-label .icon {
  width: 12px;
  height: 12px;
  color: #9fb2d4;
}

.lane-track {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 4px;
  overflow: visible;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(167, 139, 250, 0.16));
  transform: translateY(-50%);
}

.lane-target {
  position: absolute;
  top: -9px;
  left: 70%;
  width: 1px;
  height: 22px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.22) 0,
    rgba(255, 255, 255, 0.22) 3px,
    transparent 3px,
    transparent 7px
  );
}

.sync-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1), 0 0 16px rgba(34, 211, 238, 0.65);
  transform: translate(-50%, -50%);
  transition: left 0.08s linear, background 0.2s ease, box-shadow 0.2s ease;
}

.pulse-left {
  left: 70%;
  background: #fcd34d;
  box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.1), 0 0 16px rgba(252, 211, 77, 0.5);
}

.pulse-right {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1), 0 0 16px rgba(167, 139, 250, 0.6);
}

.sync-demo.is-synced .sync-pulse {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12), 0 0 20px rgba(52, 211, 153, 0.8);
}

.sync-pulse.is-pinging {
  animation: sync-ping 0.45s ease-out;
}

.demo-controls {
  margin-top: 17px;
}

.demo-controls label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.demo-controls strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.demo-controls input[type="range"] {
  width: 100%;
  height: 4px;
  appearance: none;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.55), rgba(167, 139, 250, 0.55));
  cursor: pointer;
}

.demo-controls input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  appearance: none;
  border: 2px solid #07101d;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), 0 0 12px rgba(34, 211, 238, 0.45);
  cursor: pointer;
}

.demo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
}

.demo-actions .btn {
  padding: 9px 14px;
  font-size: 11.5px;
  border-radius: 10px;
}

.demo-hint {
  min-height: 16px;
  margin-top: 11px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
}

/* ---------- steps ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 60px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.22), rgba(167, 139, 250, 0.22), transparent);
  pointer-events: none;
}

.steps li {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(15, 23, 43, 0.72), rgba(8, 12, 24, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  margin-bottom: 18px;
  padding: 0 8px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.055);
  color: #8eeaf8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.steps p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.62;
}

.step-visual {
  display: flex;
  align-items: center;
  min-height: 66px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(3, 7, 15, 0.5);
}

.step-source {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 11, 22, 0.85);
  color: #dfe7f8;
  font-size: 10px;
  font-weight: 600;
}

.source-pill b {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #1a0b02;
  font-size: 7px;
  font-weight: 800;
}

.source-pill .live-dot {
  width: 4px;
  height: 4px;
}

.source-caption {
  color: var(--muted-2);
  font-size: 8.5px;
}

.step-outputs {
  flex-wrap: wrap;
  gap: 6px;
}

.step-outputs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 11, 22, 0.75);
  color: #b9c7e2;
  font-size: 8.5px;
  font-weight: 600;
}

.step-outputs span:last-child {
  opacity: 0.5;
}

.step-outputs .icon {
  width: 10px;
  height: 10px;
  color: #67e8f9;
}

.step-outputs i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

.step-run {
  gap: 9px;
}

.run-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: soft-pulse 2s ease-in-out infinite;
}

.run-meter {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
}

.run-meter i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
}

.run-label {
  color: #a7f3d0;
  font-size: 8.5px;
  font-weight: 600;
}

/* ---------- specs ---------- */

.section-specs {
  padding-top: 0;
}

.spec-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 44px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(700px 340px at 0% 0%, rgba(34, 211, 238, 0.06), transparent 60%),
    linear-gradient(150deg, rgba(15, 23, 43, 0.7), rgba(7, 11, 22, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.spec-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}

.spec-copy p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-grid li {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 9, 18, 0.42);
}

.spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: #67e8f9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-grid strong {
  display: block;
  overflow: hidden;
  color: #dfe7f8;
  font-size: 11.5px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.spec-grid small {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.4;
}

/* ---------- download ---------- */

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 44px;
  overflow: hidden;
  padding: 46px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(800px 420px at 82% 0%, rgba(34, 211, 238, 0.13), transparent 58%),
    linear-gradient(140deg, rgba(18, 28, 52, 0.92), rgba(8, 13, 26, 0.96));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.download-glow {
  position: absolute;
  top: -40%;
  right: -12%;
  width: 55%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.download-copy > p:not(.download-note) {
  max-width: 54ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.download-btn {
  margin-top: 24px;
}

.download-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 10.5px;
}

.download-meta li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 13px;
}

.download-meta li:first-child {
  padding-left: 0;
}

.download-meta li + li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--muted-2);
}

.download-meta .icon {
  width: 12px;
  height: 12px;
}

.download-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 60ch;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

.download-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: #fcd34d;
}

.download-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 22px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(4, 8, 17, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.download-panel img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(34, 211, 238, 0.2);
}

.download-panel-name {
  margin-top: 4px;
  color: #f2f6ff;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.download-panel-version {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}

.download-panel-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  margin: 6px 0;
}

.download-panel-bars span {
  width: 3px;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0.8;
  transform-origin: center;
  animation: mock-wave 2.4s ease-in-out infinite alternate;
}

.download-panel-bars span:nth-child(2n) {
  animation-delay: -0.4s;
}
.download-panel-bars span:nth-child(3n) {
  animation-delay: -0.8s;
}

.download-panel-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.download-panel-row .icon {
  width: 12px;
  height: 12px;
  color: #9fb2d4;
}

.download-panel-row .live-dot {
  width: 5px;
  height: 5px;
}

/* ---------- faq ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 58px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 16, 31, 0.6);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(12, 19, 36, 0.72);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  color: #dfe8f8;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq-icon .icon {
  width: 12px;
  height: 12px;
}

.faq-item[open] .faq-icon {
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--cyan-soft);
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 17px 15px;
}

.faq-body p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.faq-item[open] .faq-body {
  animation: faq-in 0.22s ease-out;
}

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

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 52px 0 22px;
  border-top: 1px solid var(--line);
  background: rgba(3, 6, 13, 0.55);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
}

.footer-brand {
  max-width: 270px;
}

.footer-brand .brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.footer-brand .brand-name {
  font-size: 16px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.footer-cols h4 {
  margin: 0 0 12px;
  color: #cfd9ef;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-cols > div > a,
.footer-cols > div > span {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.footer-cols .version-label {
  display: inline-flex;
}

.footer-cols a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.16s;
}

.footer-bottom a:hover {
  color: var(--text);
}

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

.reveal-pending {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-pending.is-visible {
  opacity: 1;
  translate: 0 0;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes float-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, 3vw, 0) scale(1.12);
  }
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes toast-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes mock-wave {
  from {
    transform: scaleY(0.72);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes sync-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55), 0 0 0 0 rgba(34, 211, 238, 0.3);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(34, 211, 238, 0), 0 0 0 18px rgba(34, 211, 238, 0);
  }
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 18px;
    margin-left: 4px;
  }

  .hero-grid {
    gap: 36px;
  }

  .badge-delay {
    right: -1%;
  }

  .badge-sync {
    left: -1%;
  }

  .sync-grid {
    gap: 40px;
  }

  .feature-update {
    align-items: flex-start;
  }

  .version-track {
    padding-left: 10px;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 560px;
  }

  .float-badge {
    display: none;
  }

  .mock-window {
    transform: none;
  }

  .apps-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature-routing,
  .feature-nodriver,
  .feature-profiles,
  .feature-update {
    grid-column: span 6;
  }

  .feature-control,
  .feature-delay,
  .feature-sync,
  .feature-reconnect {
    grid-column: span 3;
  }

  .feature-update {
    flex-wrap: wrap;
  }

  .version-track {
    margin-left: 58px;
    padding-left: 0;
  }

  .sync-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sync-copy {
    max-width: 660px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .spec-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spec-copy {
    max-width: 620px;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px;
  }

  .download-panel {
    max-width: 320px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .lead {
    margin-top: 19px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 0;
    font-size: 10.5px;
  }

  .hero-meta li {
    padding-left: 11px;
  }

  .hero-meta li + li::before {
    left: 2px;
  }

  .mock-body {
    grid-template-columns: 1fr 1.3fr;
  }

  .mock-profiles {
    display: none;
  }

  .mock-right .mock-device:last-of-type {
    display: none;
  }

  .mock-toast {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
  }

  .feature-routing,
  .feature-nodriver,
  .feature-control,
  .feature-delay,
  .feature-sync,
  .feature-reconnect,
  .feature-profiles,
  .feature-update {
    grid-column: span 1;
  }

  .feature {
    padding: 21px;
  }

  .feature-update {
    display: block;
  }

  .feature-update .feature-icon {
    margin-bottom: 16px;
  }

  .version-track {
    margin: 18px 0 0;
  }

  .mini-routing {
    height: 118px;
  }

  .route-source {
    left: 16px;
  }

  .route-out {
    right: 16px;
  }

  .section-sync {
    padding: 74px 0;
  }

  .sync-demo {
    padding: 18px;
  }

  .sync-timeline {
    padding-left: 0;
  }

  .lane-label {
    position: static;
    width: auto;
    margin-bottom: 6px;
    transform: none;
  }

  .sync-lane {
    height: 40px;
    margin-top: 10px;
    padding-top: 16px;
  }

  .timeline-scale {
    margin-bottom: 6px;
  }

  .steps {
    margin-top: 32px;
  }

  .spec-card {
    padding: 26px 21px;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-card {
    padding: 28px 21px;
    border-radius: 22px;
  }

  .download-copy h2 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .download-btn {
    width: 100%;
  }

  .download-panel {
    max-width: none;
  }

  .faq-item summary {
    padding: 14px;
    font-size: 12px;
  }

  .faq-body {
    padding: 0 14px 14px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-left {
    display: none;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .reveal-pending {
    opacity: 1;
    translate: 0 0;
  }
}
