/* ==================================================
   SkyTechnology — корпоративный лендинг
   Минимализм · единая сетка · строгая типографика
   ================================================== */

:root,
[data-theme="light"] {
  --bg: #fafafa;
  --bg-2: #f3f4f6;
  --bg-3: #e9ecef;
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.72);
  --ink: #0e1014;
  --ink-2: #4b5260;
  --ink-3: #8a93a3;
  --border: #e6e8ed;
  --border-2: rgba(14, 16, 20, 0.06);
  --border-strong: #d3d6dc;
  --shadow-sm: 0 1px 2px rgba(14, 16, 20, 0.04);
  --shadow: 0 4px 14px rgba(14, 16, 20, 0.06);
  --shadow-lg: 0 24px 48px rgba(14, 16, 20, 0.08);
  --nav-bg: rgba(250, 250, 250, 0.78);
  --grid-color: rgba(14, 16, 20, 0.035);

  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-3: #ec4899;
  --accent-soft: rgba(124, 58, 237, 0.08);
}

[data-theme="dark"] {
  --bg: #0a0c10;
  --bg-2: #0e1116;
  --bg-3: #15191f;
  --surface: #15191f;
  --surface-2: rgba(20, 25, 32, 0.72);
  --ink: #e8eaed;
  --ink-2: #a4adba;
  --ink-3: #6b7280;
  --border: #1f242c;
  --border-2: rgba(255, 255, 255, 0.06);
  --border-strong: #2a3038;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.55);
  --nav-bg: rgba(10, 12, 16, 0.78);
  --grid-color: rgba(255, 255, 255, 0.04);

  --accent: #818cf8;
  --accent-2: #a78bfa;
  --accent-3: #f472b6;
  --accent-soft: rgba(167, 139, 250, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.sky-landing {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.15s; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* === Декоративные слои фона === */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: blob-float 24s ease-in-out infinite;
}
[data-theme="dark"] .bg-blob { opacity: 0.45; filter: blur(110px); }
.bg-blob-1 {
  top: -120px;
  left: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
}
.bg-blob-2 {
  top: 30%;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28) 0%, transparent 70%);
  animation-delay: -8s;
}
.bg-blob-3 {
  bottom: -120px;
  left: 35%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
  animation-delay: -15s;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 20px) scale(0.95); }
}
.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] .bg-noise { opacity: 0.04; }

body > *:not(.bg-layer) { position: relative; z-index: 1; }

/* === Кнопки === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-pill { border-radius: 999px; padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
[data-theme="dark"] .btn-primary { background: #fff; color: #0e1014; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 16, 20, 0.2);
}
[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.12);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s, background 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo img { width: 34px; height: 34px; }
[data-theme="dark"] .logo img { filter: invert(1); }

.nav-menu {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-menu a.is-active { color: var(--ink); }
.nav-menu a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--accent-2); border-color: var(--accent-2); transform: rotate(20deg); }
.theme-icon-light { display: inline-flex; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline-flex; }

@media (max-width: 880px) { .nav-menu { display: none; } }

/* === Общие элементы === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 7px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow-light { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.88); }
.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.3); }
}
.gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* === HERO === */
.hero { padding: 88px 0 120px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin-bottom: 28px;
  color: var(--ink);
}
.lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 600px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num, .stat-num-text {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.3;
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num, .stat-num-text { font-size: 1.5rem; }
}

/* === HERO иллюстрация === */
.hero-illustration {
  position: relative;
  height: 520px;
  color: var(--accent-2);
}

.canvas-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.canvas-dash {
  position: absolute;
  top: 30px;
  right: 0;
  width: clamp(320px, 100%, 460px);
  z-index: 2;
  animation: cv-float-y 7s ease-in-out infinite;
}
.canvas-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.canvas-url {
  margin-left: 10px;
  font-size: 0.76rem;
  color: var(--ink-3);
  font-family: ui-monospace, "SF Mono", monospace;
}
.canvas-body { padding: 18px 20px; }
.canvas-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}
.canvas-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.canvas-chip-ok {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
[data-theme="dark"] .canvas-chip-ok { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.4s ease-in-out infinite;
}
.canvas-chart {
  height: 110px;
  margin-bottom: 18px;
  color: var(--accent-2);
}
.canvas-chart svg { width: 100%; height: 100%; }
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 2.5s ease-out 0.5s forwards;
}
.chart-fill {
  opacity: 0;
  animation: fade-in 1.5s ease-out 2s forwards;
}
.chart-dot {
  opacity: 0;
  animation: fade-in 0.4s ease-out 2.6s forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.canvas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.canvas-cell {
  background: var(--bg-2);
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.canvas-cell strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 2px;
}
.canvas-cell span {
  font-size: 0.7rem;
  color: var(--ink-3);
}

.canvas-floating {
  position: absolute;
  background: var(--surface);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.canvas-kyc {
  top: 0;
  left: 0;
  max-width: 280px;
  animation: cv-float-x 6s ease-in-out infinite -2s;
}
.canvas-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.canvas-floating-icon-violet { background: linear-gradient(135deg, #6610f2, #7c3aed); }
.canvas-kyc strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.canvas-kyc span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 2px;
  font-family: ui-monospace, "SF Mono", monospace;
}

.canvas-camera {
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 280px;
  padding: 0;
  z-index: 3;
  animation: cv-float-y 8s ease-in-out infinite -4s;
}
.cam-view {
  background:
    radial-gradient(at 30% 30%, #1e293b 0%, #0f172a 60%),
    #0f172a;
  height: 160px;
  position: relative;
  overflow: hidden;
}
.cam-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px);
}
.cam-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.18), transparent);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: -60px; }
  50%      { top: 100%; }
}
.cam-box {
  position: absolute;
  border: 1.5px solid #22d3ee;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #22d3ee;
  padding: 1px 5px;
  font-family: ui-monospace, monospace;
  background: rgba(34, 211, 238, 0.05);
  animation: cam-flicker 4s ease-in-out infinite;
}
.cam-box-1 { top: 30px; left: 36px; width: 64px; height: 86px; }
.cam-box-2 {
  top: 90px; right: 28px; width: 88px; height: 50px;
  border-color: #f472b6;
  color: #f472b6;
  background: rgba(244, 114, 182, 0.05);
  animation-delay: -2s;
}
@keyframes cam-flicker {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.65; }
}
.cam-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--bg-2);
  font-size: 0.74rem;
  color: var(--ink-3);
  font-family: ui-monospace, monospace;
  border-top: 1px solid var(--border);
}
.cam-label .live-dot { color: #ef4444; }

.canvas-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  color: var(--accent);
  opacity: 0.25;
}
.line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 4 4;
  stroke-dashoffset: 100;
  animation: line-flow 6s linear infinite;
}
.line-2 { animation-delay: -3s; }
@keyframes line-flow {
  to { stroke-dashoffset: 0; }
}

.spark {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 1rem;
  z-index: 4;
}
.spark-1 { top: 5%;   right: -10px; color: var(--accent);   animation: spark-orbit-a 5s ease-in-out infinite; }
.spark-2 { top: 50%;  left:  -16px; color: #ec4899;         animation: spark-orbit-b 6s ease-in-out infinite -1s; }
.spark-3 { bottom: 4%; right: -5%;  color: #0d6efd;          animation: spark-orbit-a 7s ease-in-out infinite -2s; }
.spark-4 { top: 40%;  right: 30%;  color: #f59e0b;          animation: spark-orbit-b 5s ease-in-out infinite -3s; }
@keyframes spark-orbit-a {
  0%,100% { transform: translate(0,0) rotate(0); }
  33%     { transform: translate(-6px,-10px) rotate(-8deg); }
  66%     { transform: translate(8px, 6px) rotate(8deg); }
}
@keyframes spark-orbit-b {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(6px,-8px); }
}
@keyframes cv-float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cv-float-x { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

@media (max-width: 1080px) {
  .hero-illustration { height: 460px; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-illustration { height: 420px; }
  .canvas-kyc { max-width: 240px; }
  .canvas-camera { width: 240px; bottom: -10px; left: auto; right: 0; }
  .spark { width: 30px; height: 30px; font-size: 0.85rem; }
}

/* === Section === */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}
.section-head p {
  font-size: 1.08rem;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
}

/* === Products === */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}
.product::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.product:hover::before { transform: scaleX(1); }
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 1.55rem;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product:hover .product-icon { transform: rotate(-6deg) scale(1.1); }
.product h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--ink);
}
.product-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.product-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* === Expertise === */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.exp {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.exp:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: var(--shadow); }
.exp-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.exp h4 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.exp p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* === Timeline === */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.timeline-track {
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 4px;
  color: var(--border-strong);
  pointer-events: none;
}
.timeline-track svg { width: 100%; height: 100%; display: block; }
.timeline-step {
  position: relative;
  padding-top: 80px;
  text-align: center;
}
.timeline-node {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.timeline-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s, background 0.18s, color 0.18s;
}
.timeline-step:hover .timeline-icon {
  background: var(--accent-2);
  color: #fff;
  transform: scale(1.06);
}
.timeline-num {
  position: absolute;
  top: -10px;
  right: -14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
}
.timeline-step h4 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.timeline-step p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 240px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline-track { display: none; }
  .timeline-step { padding-top: 0; padding-left: 80px; text-align: left; }
  .timeline-node { position: static; transform: none; flex-direction: row; margin-bottom: 12px; }
  .timeline-step h4 { margin-bottom: 6px; }
  .timeline-step p { margin: 0; max-width: none; }
  .timeline-step { position: relative; }
  .timeline-step::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: -32px;
    width: 2px;
    background: var(--border);
  }
  .timeline-step:last-child::before { display: none; }
  .timeline-node { position: absolute; top: 0; left: 0; }
}

/* === Big stats === */
.section-stats { padding: 80px 0; }
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.big-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}
.big-stat:last-child { border-right: 0; padding-right: 0; }
.big-num {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.big-lbl {
  font-size: 0.88rem;
  color: var(--ink-2);
}
@media (max-width: 880px) {
  .big-stats { grid-template-columns: repeat(2, 1fr); padding: 32px; }
  .big-stat { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .big-stat:nth-child(3), .big-stat:nth-child(4) { border-bottom: 0; padding-bottom: 0; }
}

/* === CTA + Форма === */
.section-cta { padding: 80px 0 120px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, #0e1014 0%, #1a1d24 100%);
  background-image:
    radial-gradient(80% 60% at 0% 0%, rgba(124, 58, 237, 0.5) 0%, transparent 50%),
    radial-gradient(60% 80% at 100% 100%, rgba(236, 72, 153, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #0e1014 0%, #1a1d24 100%);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.cta-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-info, .cta-form { padding: 60px 50px; position: relative; }
.cta-info { display: flex; flex-direction: column; justify-content: center; }
.cta-info h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-info > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.cta-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-direct-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.cta-direct-item:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); color: #fff; }
.cta-direct-item i {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  flex-shrink: 0;
}
.cta-direct-item div { display: flex; flex-direction: column; }
.cta-direct-item strong { font-size: 0.88rem; font-weight: 700; }
.cta-direct-item span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

.cta-form {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}
.cta-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.form-hint {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.form-opt {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.cta-form input, .cta-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 0.96rem;
  transition: border-color 0.15s, background 0.15s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.cta-form input:focus, .cta-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.10);
}
.cta-form textarea { resize: vertical; min-height: 100px; }
.cta-form .btn-primary {
  background: #fff;
  color: #0e1014;
  margin-top: 4px;
}
.cta-form .btn-primary:hover {
  background: #f3f4f6;
  box-shadow: 0 14px 30px rgba(255,255,255,0.18);
}
.cta-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  line-height: 1.45;
}
@media (max-width: 880px) {
  .cta-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .cta-info, .cta-form { padding: 44px 28px; }
}

/* === Form toast === */
.form-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.form-toast.is-shown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.form-toast.is-error {
  background: #dc2626;
  color: #fff;
}
.form-toast.is-success {
  background: #16a34a;
  color: #fff;
}
[data-theme="dark"] .form-toast { background: #fff; color: #0e1014; }

/* === Footer === */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer a {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color 0.15s, transform 0.12s;
}
.footer a:hover { color: var(--ink); transform: translateX(2px); }
.footer .logo { display: inline-flex; margin-bottom: 14px; }
.footer-tag {
  font-size: 0.92rem;
  color: var(--ink-3);
  max-width: 280px;
  margin-bottom: 12px;
}
.footer-loc {
  font-size: 0.85rem;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.footer-meta strong { color: var(--ink-2); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* === Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-grid-overlay, .canvas-dash, .canvas-kyc, .canvas-camera, .spark,
  .chart-line, .chart-dot, .chart-fill, .dot-pulse, .live-dot,
  .cam-scan-line, .cam-box, .line {
    animation: none !important;
  }
}

/* === Success state формы === */
.form-success {
  text-align: center;
  padding: 24px 0;
  color: #fff;
}
.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
  animation: pop-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.form-success p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 320px;
  margin: 0 auto;
}

/* === Captcha === */
.captcha-row {
  display: grid;
  grid-template-columns: 200px 38px 1fr;
  gap: 10px;
  align-items: center;
}
.captcha-img {
  width: 200px;
  height: 64px;
  background: #15191f;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.captcha-img:hover { border-color: rgba(255,255,255,0.25); }
.captcha-img svg { display: block; width: 100%; height: 100%; }
.captcha-img.is-loading svg { opacity: 0.4; }
.captcha-loading {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.captcha-refresh {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s, border-color 0.15s;
}
.captcha-refresh:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: rotate(120deg);
  border-color: rgba(255,255,255,0.3);
}
.captcha-input {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: ui-monospace, "SF Mono", monospace !important;
  font-weight: 700 !important;
}
@media (max-width: 480px) {
  .captcha-row {
    grid-template-columns: 1fr 38px;
    grid-template-rows: auto auto;
  }
  .captcha-img { grid-column: 1 / 2; grid-row: 1; width: 100%; }
  .captcha-refresh { grid-column: 2 / 3; grid-row: 1; }
  .captcha-input { grid-column: 1 / -1; grid-row: 2; }
}

/* === Адаптивность: точечные правки === */
@media (max-width: 1240px) {
  .container { padding: 0 28px; }
}
@media (max-width: 1024px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { gap: 56px; }
  .hero-illustration { max-width: 520px; margin: 0 auto; }
  .section { padding: 96px 0; }
  .timeline-track { left: 8%; right: 8%; }
}
@media (max-width: 880px) {
  .nav .container { height: 64px; gap: 12px; }
  .logo span { display: none; }
  .logo img { width: 30px; height: 30px; }
  .hero-text h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .lede { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-actions .btn { padding: 12px 18px; font-size: 0.92rem; }
  .hero-stats { gap: 16px; padding-top: 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 64px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1; min-width: 0; justify-content: center; padding: 12px 14px; }
  .eyebrow { font-size: 0.72rem; padding: 6px 12px; }
  .product, .exp { padding: 24px 22px; border-radius: 16px; }
  .big-stats { padding: 28px 20px; gap: 20px; }
  .big-num { font-size: 1.9rem; }
  .big-lbl { font-size: 0.82rem; }
  .section-head h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-stats { padding: 56px 0; }
  .footer { padding: 48px 0 24px; }
}
@media (max-width: 480px) {
  .nav-actions { gap: 6px; }
  .theme-toggle { width: 36px; height: 36px; }
  .btn-pill { padding: 9px 14px; font-size: 0.84rem; }
  .canvas-bar { padding: 9px 12px; }
  .canvas-url { font-size: 0.7rem; }
  .canvas-body { padding: 14px 16px; }
  .canvas-grid { gap: 6px; }
  .canvas-cell { padding: 8px; }
  .canvas-cell strong { font-size: 0.92rem; }
  .canvas-cell span { font-size: 0.64rem; }
  .canvas-kyc { max-width: 220px; padding: 11px 14px; }
  .canvas-kyc strong { font-size: 0.84rem; }
  .canvas-camera { width: 220px; }
  .cam-view { height: 130px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num, .stat-num-text { font-size: 1.4rem; }
  .stat-lbl { font-size: 0.72rem; }
  .cta-info, .cta-form { padding: 36px 22px; }
  .cta-direct-item { padding: 12px 14px; gap: 12px; }
  .cta-direct-item i { width: 36px; height: 36px; font-size: 1.2rem; }
}
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero-text h1 { font-size: 1.85rem; }
  .lede { font-size: 0.96rem; }
  .canvas-dash { right: -10px; }
  .canvas-kyc { left: -6px; max-width: 200px; }
  .canvas-camera { width: 200px; }
}

/* iPad-портрет — особый случай (1024×768) */
@media (min-width: 768px) and (max-width: 1080px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 36px; }
  .timeline-track { display: none; }
}

/* === В ФОКУСЕ: Sky Track === */
.section-focus {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, color-mix(in srgb, #22d3ee 16%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, color-mix(in srgb, #4f46e5 14%, transparent) 0%, transparent 60%),
    var(--bg);
}
[data-theme="dark"] .section-focus {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, color-mix(in srgb, #22d3ee 22%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, color-mix(in srgb, #818cf8 18%, transparent) 0%, transparent 60%),
    var(--bg-2);
}
.focus-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: stretch;
}
.focus-main, .focus-detect {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-sm);
}
.focus-customer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: color-mix(in srgb, #22d3ee 8%, transparent);
  border: 1px solid color-mix(in srgb, #22d3ee 35%, transparent);
  border-radius: 14px;
}
.focus-customer-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 4px color-mix(in srgb, #22d3ee 25%, transparent);
  flex-shrink: 0;
  animation: live-pulse 1.8s ease-in-out infinite;
}
.focus-customer strong { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.focus-customer span { font-size: 0.85rem; color: var(--ink-2); }
.focus-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.focus-stack-title,
.focus-detect-title,
.focus-transport-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.focus-stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.focus-stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.18s, transform 0.18s;
}
.focus-stack-item:hover {
  border-color: #22d3ee;
  transform: translateY(-2px);
}
.focus-stack-item i {
  font-size: 1.15rem;
  color: #22d3ee;
}
.focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.focus-detect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.focus-detect-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.focus-detect-card:hover {
  border-color: var(--c);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.focus-detect-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.focus-detect-card strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.focus-detect-desc {
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.focus-transport-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.focus-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.18s, color 0.18s;
}
.focus-chip:hover { border-color: #22d3ee; color: var(--ink); }
.focus-chip i { font-size: 0.95rem; color: #22d3ee; }

@media (max-width: 980px) {
  .focus-grid { grid-template-columns: 1fr; gap: 22px; }
  .focus-main, .focus-detect { padding: 26px; }
}
@media (max-width: 560px) {
  .focus-detect-grid { grid-template-columns: 1fr; }
  .focus-stack-grid { grid-template-columns: 1fr; }
  .focus-main, .focus-detect { padding: 22px; gap: 18px; }
  .focus-actions { flex-direction: column; }
  .focus-actions .btn { width: 100%; justify-content: center; }
}
