/* ==========================================================================
   ANDROZON — Design System
   Premium dark technology aesthetic. No frameworks, no external requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin + cyrillic) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #06080d;
  --bg-elevated: #0a0e16;
  --surface: #0c121d;
  --surface-2: #101828;
  --navy: #0a1322;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2f9;
  --text-soft: #c7d0df;
  --muted: #8d99ad;
  --muted-2: #6f7b8f;
  --blue: #3b7dff;
  --blue-bright: #6ea2ff;
  --cyan: #2ee6c8;
  --grad: linear-gradient(100deg, #7fb0ff 0%, #4f8cff 45%, #2ee6c8 100%);
  --grad-strong: linear-gradient(135deg, #4a8bff 0%, #2c68ff 100%);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 24px 60px -32px rgba(0, 0, 0, 0.9);
  --shadow-blue: 0 14px 40px -14px rgba(56, 116, 255, 0.55);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(52, 104, 255, 0.14), transparent 62%),
    radial-gradient(800px 620px at 92% 22%, rgba(46, 230, 200, 0.07), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(38, 74, 160, 0.12), transparent 65%);
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 650;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
::selection {
  background: rgba(79, 140, 255, 0.35);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container--narrow {
  max-width: 860px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #06080d;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93b4f5;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 58ch;
}
.muted {
  color: var(--muted);
}
.strong {
  color: var(--text);
  font-weight: 600;
}
.placeholder {
  color: #f2c879;
  border-bottom: 1px dashed rgba(242, 200, 121, 0.55);
  padding-bottom: 1px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn svg {
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--grad-strong);
  color: #fff;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 18px 46px -14px rgba(56, 116, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover svg {
  transform: translateX(3px);
}
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.85rem;
  border-radius: 10px;
}
.btn-block {
  width: 100%;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-bright);
}
.btn-link svg {
  transition: transform 0.25s var(--ease);
}
.btn-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 8, 13, 0.9);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  border-radius: 8px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #f4f7fd;
  padding-right: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}
.nav a[aria-current="page"] {
  color: #fff;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.lang-switch a:hover {
  color: #fff;
}
.lang-switch a[aria-current="true"] {
  color: #fff;
  background: rgba(79, 140, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(79, 140, 255, 0.28);
}
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: #e9eef8;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
    top 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) {
  top: 16px;
}
.menu-toggle span:nth-child(2) {
  top: 21.5px;
}
.menu-toggle span:nth-child(3) {
  top: 27px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21.5px;
  transform: rotate(-45deg);
}
.nav-mobile-extra {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 72%);
  opacity: 0.6;
}
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 125, 255, 0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}
.hero-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 230, 200, 0.12);
}
.hero h1 {
  font-size: clamp(2.25rem, 3.7vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 680;
  margin-bottom: 24px;
}
.hero h1 .line {
  display: block;
}
.hero .lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-meta svg {
  color: var(--blue-bright);
  opacity: 0.9;
}

/* Console visual */
.hero-visual {
  position: relative;
}
.console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(19, 30, 49, 0.92), rgba(8, 13, 22, 0.96) 62%);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 220px at 100% 0%, rgba(79, 140, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.console-dots {
  display: inline-flex;
  gap: 6px;
}
.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.console-dots i:first-child {
  background: rgba(255, 104, 104, 0.55);
}
.console-dots i:nth-child(2) {
  background: rgba(242, 200, 121, 0.5);
}
.console-dots i:nth-child(3) {
  background: rgba(46, 230, 200, 0.45);
}
.console-title {
  min-width: 0;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 200, 0.25);
  background: rgba(46, 230, 200, 0.08);
  color: #9df3e5;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.console-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
.console-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.flow-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
}
.flow-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(79, 140, 255, 0.08);
  color: var(--blue-bright);
}
.flow-row:nth-child(2) .flow-icon {
  color: var(--cyan);
  background: rgba(46, 230, 200, 0.07);
}
.flow-row:nth-child(3) .flow-icon {
  color: #cfd9ea;
  background: rgba(255, 255, 255, 0.05);
}
.flow-text {
  min-width: 0;
}
.flow-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #eef3fb;
}
.flow-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}
.flow-state {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
}
.flow-row:nth-child(1) .flow-state {
  color: #9df3e5;
  border-color: rgba(46, 230, 200, 0.22);
}
.console-track {
  position: relative;
  height: 3px;
  margin-top: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.console-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: trackPulse 6s var(--ease) infinite;
}
@keyframes trackPulse {
  0%,
  100% {
    width: 58%;
    opacity: 0.8;
  }
  50% {
    width: 88%;
    opacity: 1;
  }
}
.console-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}
.console-foot span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
}
.float-card {
  position: absolute;
  left: -18px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(13, 19, 31, 0.92);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(46, 230, 200, 0.1);
  color: var(--cyan);
}
.float-card strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
}
.float-card span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-2);
}
.visual-caption {
  margin-top: 34px;
  text-align: right;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(68px, 8.5vw, 124px) 0;
}
.section--tight {
  padding-top: clamp(44px, 5vw, 64px);
}
.section--bordered {
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section-head h2 {
  font-size: clamp(1.95rem, 3.5vw, 2.95rem);
  letter-spacing: -0.03em;
  margin-top: 16px;
  max-width: 18ch;
}
.section-head .lead {
  font-size: 1rem;
  max-width: 46ch;
}
.section-head-side {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-bottom: 4px;
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-head--center h2 {
  max-width: 24ch;
}
.section-head--center .lead {
  margin-inline: auto;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 162, 255, 0.3);
  box-shadow: 0 26px 60px -38px rgba(35, 92, 220, 0.55);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(110, 162, 255, 0.2);
  background: linear-gradient(160deg, rgba(79, 140, 255, 0.15), rgba(79, 140, 255, 0.02));
  color: var(--blue-bright);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
}
.service-card .service-sub {
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticks {
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 25px;
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' stroke='%232ee6c8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.service-card .service-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Scenario */
.scenario {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin-top: 20px;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(79, 140, 255, 0.1), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
}
.scenario h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin: 12px 0 12px;
}
.scenario p {
  font-size: 0.92rem;
  color: var(--muted);
}
.scenario-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--muted-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.scenario-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
.flow-diagram {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.flow-step {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.55);
}
.flow-step .fs-num {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.flow-step strong {
  font-size: 0.86rem;
  font-weight: 600;
}
.flow-step span {
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.45;
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(110, 162, 255, 0.7), transparent);
}
.flow-step:last-child::after {
  display: none;
}
.flow-step svg {
  color: var(--blue-bright);
}
.flow-step:nth-child(2) svg {
  color: var(--cyan);
}

/* ---------- Software panel ---------- */
.panel-navy {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 400px at 12% 0%, rgba(43, 91, 200, 0.16), transparent 62%),
    radial-gradient(700px 400px at 92% 100%, rgba(46, 230, 200, 0.06), transparent 60%),
    linear-gradient(180deg, #0a1220, #080c14);
  overflow: hidden;
}
.panel-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.panel-navy .container {
  position: relative;
}
.software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.software-card {
  position: relative;
  padding: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.software-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 162, 255, 0.26);
  background: rgba(255, 255, 255, 0.035);
}
.software-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.software-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.software-card .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}
.software-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(46, 230, 200, 0.5);
  border-radius: 10px;
  background: rgba(46, 230, 200, 0.035);
  font-size: 0.85rem;
  color: var(--text-soft);
}
.software-note svg {
  flex: 0 0 auto;
  color: var(--cyan);
  margin-top: 2px;
}
.software-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 44px;
}
.software-head h2 {
  font-size: clamp(1.95rem, 3.5vw, 2.95rem);
  margin-top: 16px;
}

/* ---------- Projects ---------- */
.projects-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 30px;
  margin-bottom: 30px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
}
.legend-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.legend-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.legend-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.legend-item span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 162, 255, 0.26);
  background: rgba(255, 255, 255, 0.035);
}
.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.project-top .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}
.project-badge {
  padding: 5px 10px;
  border: 1px solid rgba(46, 230, 200, 0.26);
  border-radius: 999px;
  background: rgba(46, 230, 200, 0.06);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}
.project-badge--custom {
  border-color: rgba(110, 162, 255, 0.3);
  background: rgba(79, 140, 255, 0.08);
  color: var(--blue-bright);
}
.project-badge--demo {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}
.project-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.project-card p {
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--muted);
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}
.project-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--muted);
}
.project-card .btn-link {
  margin-top: 18px;
  align-self: flex-start;
}

.pricing-individual-label {
  margin-top: 26px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 26px;
}
.pricing-areas li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* ---------- Product / TV ---------- */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.product-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 14px 0 6px;
  letter-spacing: -0.03em;
}
.product-kicker {
  font-size: 0.95rem;
  color: var(--blue-bright);
  font-weight: 500;
  margin-bottom: 16px;
}
.product-copy .lead {
  font-size: 0.98rem;
  margin-bottom: 24px;
}
.feature-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-bottom: 26px;
}
.feature-two-col .ticks li {
  font-size: 0.84rem;
}
.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-soft);
}
.chip svg {
  color: var(--cyan);
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(242, 200, 121, 0.2);
  border-radius: 12px;
  background: rgba(242, 200, 121, 0.04);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #cfc4a9;
}
.notice svg {
  flex: 0 0 auto;
  color: #e8c07a;
  margin-top: 2px;
}
.notice--info {
  border-color: rgba(110, 162, 255, 0.18);
  background: rgba(79, 140, 255, 0.05);
  color: #b9c7de;
}
.notice--info svg {
  color: var(--blue-bright);
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--muted-2);
}
.product-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8c07a;
}

/* TV mockup */
.tv-wrap {
  position: relative;
  padding: 10px 6px 40px;
}
.tv {
  position: relative;
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.55));
}
.tv-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 9px;
  border-radius: 16px;
  background: linear-gradient(160deg, #202b3d, #0a0f17 55%, #05080d);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.7), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.tv-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(56, 110, 255, 0.22), transparent 65%),
    radial-gradient(500px 300px at 90% 100%, rgba(46, 230, 200, 0.12), transparent 60%),
    linear-gradient(160deg, #0b1424, #070b12 70%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  font-size: clamp(6px, 0.9vw, 10px);
}
.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 38%);
  pointer-events: none;
}
.tv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.2% 4%;
  font-size: 1.35em;
}
.tv-brand {
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f2f7ff;
}
.tv-brand span {
  color: var(--cyan);
}
.tv-clock {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}
.tv-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 3%;
  padding: 0 4% 4%;
  min-height: 0;
}
.tv-nav {
  display: grid;
  gap: 4%;
  align-content: start;
}
.tv-nav span {
  padding: 5.5% 10%;
  border-radius: 6px;
  font-size: 1.25em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
}
.tv-nav span.is-active {
  color: #fff;
  background: rgba(79, 140, 255, 0.18);
  border-color: rgba(110, 162, 255, 0.35);
}
.tv-list {
  display: grid;
  gap: 4%;
  align-content: start;
  min-height: 0;
}
.tv-item {
  display: flex;
  align-items: center;
  gap: 3%;
  padding: 3.2% 4%;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}
.tv-item.is-playing {
  border-color: rgba(46, 230, 200, 0.3);
  background: linear-gradient(90deg, rgba(46, 230, 200, 0.1), rgba(255, 255, 255, 0.02));
}
.tv-thumb {
  width: 12%;
  aspect-ratio: 1;
  border-radius: 5px;
  background: linear-gradient(140deg, rgba(79, 140, 255, 0.5), rgba(46, 230, 200, 0.25));
  flex: 0 0 auto;
}
.tv-item:nth-child(2) .tv-thumb {
  background: linear-gradient(140deg, rgba(46, 230, 200, 0.45), rgba(79, 140, 255, 0.2));
}
.tv-item:nth-child(3) .tv-thumb {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.25), rgba(79, 140, 255, 0.2));
}
.tv-text {
  min-width: 0;
  flex: 1;
}
.tv-text strong {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: #eaf1fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-text span {
  display: block;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.4);
}
.tv-dur {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.4);
  flex: 0 0 auto;
}
.tv-hint {
  position: absolute;
  right: 4%;
  bottom: 3.5%;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.42);
  padding: 0.5em 0.8em;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}
.tv-stand {
  width: 34%;
  height: 34px;
  margin: 0 auto;
  position: relative;
}
.tv-stand::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 12%;
  height: 18px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #1b2534, #0a0e15);
}
.tv-stand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #222d3e, transparent);
}
.tv-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(11, 17, 27, 0.94);
  box-shadow: var(--shadow-soft);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tv-badge svg {
  color: var(--cyan);
}
.tv-badge--qr {
  top: 8%;
  right: -3%;
}
.tv-badge--trial {
  bottom: 14%;
  left: -4%;
}
.tv-badge--trial svg {
  color: var(--blue-bright);
}

/* ---------- Approach ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.principle {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
}
.principle .num {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.principle h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.principle p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.approach-quote {
  margin-top: 24px;
  padding: 34px clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(700px 200px at 0% 0%, rgba(79, 140, 255, 0.1), transparent 65%),
    rgba(255, 255, 255, 0.015);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}
.approach-quote span {
  color: var(--text);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.pricing-copy h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  margin-top: 16px;
  margin-bottom: 18px;
}
.pricing-copy .lead {
  font-size: 0.98rem;
  margin-bottom: 22px;
}
.pricing-points {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.pricing-points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.pricing-points svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--blue-bright);
}
.price-card {
  position: relative;
  padding: clamp(26px, 3.2vw, 38px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(110, 162, 255, 0.26);
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(79, 140, 255, 0.14), transparent 68%),
    linear-gradient(170deg, #0e1727, #090d16 70%);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(110, 162, 255, 0.45), transparent 35%, transparent 65%, rgba(46, 230, 200, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 18px;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(46, 230, 200, 0.3);
  border-radius: 999px;
  background: rgba(46, 230, 200, 0.08);
  color: #9df3e5;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.price-amount .cur {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
}
.price-amount .value {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount .from {
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.price-list {
  display: grid;
  gap: 9px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.price-list li {
  position: relative;
  padding-left: 23px;
  font-size: 0.83rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' stroke='%232ee6c8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.price-note {
  font-size: 0.75rem;
  color: var(--muted-2);
  line-height: 1.6;
  margin-top: 14px;
  text-align: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  margin-top: 16px;
  margin-bottom: 16px;
}
.contact-copy .lead {
  font-size: 0.98rem;
  margin-bottom: 30px;
}
.contact-facts {
  display: grid;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-fact .cf-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(79, 140, 255, 0.08);
  color: var(--blue-bright);
}
.contact-fact strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-fact span,
.contact-fact a {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.contact-fact a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-fact--wa .cf-icon {
  border-color: rgba(37, 211, 102, 0.32);
  background: rgba(37, 211, 102, 0.08);
  color: #25d366;
}
.form-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.field .req {
  color: var(--blue-bright);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(4, 7, 12, 0.55);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5f6b7f;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(110, 162, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238d99ad' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}
.field select option {
  background: #0d1421;
  color: var(--text);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(255, 110, 110, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.1);
}
.field-error {
  font-size: 0.73rem;
  color: #ff9d9d;
  min-height: 0;
}
.checkbox {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  grid-column: 1 / -1;
}
.checkbox input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.checkbox input::after {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.16s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.checkbox input:checked {
  background: var(--grad-strong);
  border-color: transparent;
}
.checkbox input:checked::after {
  transform: scale(1);
}
.checkbox input:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}
.field-error:empty {
  display: none;
}
.checkbox a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}
.form-submit .btn {
  flex: 1 1 220px;
}
.form-note {
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.55;
  flex: 1 1 200px;
}
.form-status {
  grid-column: 1 / -1;
  display: none;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.55;
}
.form-status.is-visible {
  display: flex;
}
.form-status.is-success {
  border: 1px solid rgba(46, 230, 200, 0.25);
  background: rgba(46, 230, 200, 0.06);
  color: #b9f3ea;
}
.form-status.is-error {
  border: 1px solid rgba(255, 120, 120, 0.25);
  background: rgba(255, 100, 100, 0.06);
  color: #ffc2c2;
}
.form-status svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 70px) clamp(24px, 4vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(46, 230, 200, 0.1), transparent 62%),
    radial-gradient(600px 300px at 10% 100%, rgba(79, 140, 255, 0.16), transparent 65%),
    linear-gradient(160deg, #0c1524, #080c14);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 22ch;
  margin: 0 auto 14px;
}
.cta-band p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 28px;
  font-size: 0.95rem;
}
.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 13, 21, 0.6), #05070b);
  padding-top: clamp(48px, 6vw, 76px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 44px);
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.65;
}
.footer-tagline {
  display: block;
  margin-top: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted-2);
}
.footer-bottom .fb-links {
  display: flex;
  gap: 20px;
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ---------- Legal pages ---------- */
.page-hero {
  position: relative;
  padding: clamp(56px, 7vw, 90px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.page-hero .lead {
  margin-top: 16px;
  font-size: 1rem;
}
.legal {
  padding: clamp(44px, 6vw, 76px) 0 clamp(64px, 8vw, 100px);
}
.legal-inner {
  max-width: 780px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}
.legal h2 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 38px 0 12px;
  padding-top: 8px;
}
.legal h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 22px 0 8px;
}
.legal p,
.legal li {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 20px;
  list-style: disc;
}
.legal ul li::marker {
  color: var(--blue-bright);
}
.legal a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal .notice {
  margin: 22px 0;
}
.legal .meta-line {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-bottom: 30px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--blue-bright);
}

/* ---------- Product page ---------- */
.tv-hero {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.tv-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 110, 255, 0.14), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.tv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.tv-hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  margin: 14px 0 10px;
  letter-spacing: -0.035em;
}
.tv-hero .lead {
  margin-top: 12px;
  font-size: 1rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.022);
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(110, 162, 255, 0.25);
  background: rgba(79, 140, 255, 0.1);
  color: var(--blue-bright);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}
.step p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
}
.feature-item .icon-tile {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 10px;
}
.feature-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details[open] summary {
  color: #fff;
}
.faq .faq-body {
  padding: 0 20px 18px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 68ch;
}
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 7px 13px;
  border: 1px solid rgba(242, 200, 121, 0.22);
  border-radius: 999px;
  background: rgba(242, 200, 121, 0.05);
  font-size: 0.73rem;
  color: #dcc7a1;
}
.status-line i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8c07a;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}
.error-page .code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.error-page h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.error-page p {
  color: var(--muted);
  margin-bottom: 26px;
}

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a {
    padding: 10px 10px;
  }
  .hero-grid {
    gap: 40px;
  }
  .float-card {
    left: -8px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: 99;
    display: grid;
    gap: 4px;
    max-height: calc(100dvh - var(--header-h));
    padding: 18px var(--pad) 30px;
    margin: 0;
    background: rgba(6, 9, 14, 0.98);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav a {
    padding: 14px 4px;
    font-size: 1.02rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a:hover {
    background: none;
  }
  .nav a[aria-current="page"]::after {
    display: none;
  }
  .nav-mobile-extra {
    display: grid;
    gap: 16px;
    margin-top: 22px;
  }
  .nav-mobile-extra .lang-switch {
    justify-self: start;
  }
  .header-actions .lang-switch {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  body.menu-open {
    overflow: hidden;
  }
  .hero-grid,
  .product-grid,
  .pricing-grid,
  .contact-grid,
  .tv-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: 2;
    max-width: 560px;
    margin-top: 12px;
  }
  .visual-caption {
    text-align: left;
    margin-top: 32px;
  }
  .section-head,
  .software-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }
  .section-head h2 {
    max-width: 22ch;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scenario {
    grid-template-columns: minmax(0, 1fr);
  }
  .software-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-grid,
  .projects-legend {
    grid-template-columns: minmax(0, 1fr);
  }
  .principles {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .tv-hero-grid .tv-wrap {
    order: 2;
    max-width: 600px;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 44px;
  }
  .hero h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.6rem);
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-meta {
    gap: 10px 18px;
  }
  .service-grid,
  .steps,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-diagram {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-step::after {
    top: auto;
    bottom: -10px;
    left: 24px;
    right: auto;
    width: 1px;
    height: 10px;
    background: linear-gradient(180deg, rgba(110, 162, 255, 0.7), transparent);
  }
  .feature-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-submit {
    flex-direction: column;
    align-items: stretch;
  }
  .form-submit .btn {
    flex: 1 1 auto;
  }
  .form-note {
    flex: 0 0 auto;
  }
  .product-actions .btn {
    flex: 1 1 100%;
  }
  .tv-badge--qr {
    right: 0;
    top: 2%;
  }
  .tv-badge--trial {
    left: 0;
    bottom: 10%;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .float-card {
    left: 0;
    bottom: -16px;
    padding: 10px 12px;
  }
  .console-body {
    padding: 14px;
  }
  .flow-row {
    padding: 11px 12px;
  }
  .flow-text span {
    font-size: 0.7rem;
  }
  .flow-state {
    display: none;
  }
  .cta-band {
    padding-inline: 20px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
  }
  .float-card {
    display: none;
  }
  .tv-badge {
    font-size: 0.68rem;
    padding: 8px 10px;
  }
  .hero-badge {
    font-size: 0.7rem;
  }
  .console-title {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
}

/* ---------- Print ---------- */
@media print {
  body {
    background: #fff;
    color: #111;
  }
  .site-header,
  .site-footer,
  .hero-visual,
  .form-card,
  .cta-band {
    display: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
