:root {
  --bg: #050816;
  --bg-soft: #080d1f;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(148, 163, 184, 0.16);
  --border-active: rgba(124, 58, 237, 0.52);
  --white: #f8fafc;
  --text: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --blue: #2f6bff;
  --blue-2: #4a7dff;
  --violet: #7c3aed;
  --violet-2: #a78bfa;
  --cyan: #38bdf8;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 107, 255, 0.22), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(124, 58, 237, 0.18), transparent 30%),
    linear-gradient(180deg, #050816 0%, #070b1a 42%, #050816 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}

.site-glow-a {
  width: 560px;
  height: 560px;
  left: -220px;
  top: 130px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.22), transparent 66%);
}

.site-glow-b {
  width: 620px;
  height: 620px;
  right: -220px;
  top: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.26), transparent 64%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(22px);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  line-height: 1;
}

.logo-max {
  display: inline-block;
  font-size: 1.04em;
  font-weight: 850;
  letter-spacing: -0.035em;
  background: linear-gradient(90deg, #a78bfa, #4a7dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scaleY(1.025);
  transform-origin: center bottom;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 13px 13px 18px 13px;
  background: conic-gradient(from 180deg, #38bdf8, #7c3aed, #2f6bff, #38bdf8);
  position: relative;
  box-shadow: 0 12px 36px rgba(47, 107, 255, 0.36);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 8px 8px 12px 8px;
  background: var(--bg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--white);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 28px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 56px rgba(124, 58, 237, 0.34);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  min-height: 760px;
  padding: 68px 0 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 0;
  width: 450px;
  height: 240px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.34), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(560px, 1.07fr);
  align-items: center;
  gap: 38px;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(124, 58, 237, 0.11);
  color: #ddd6fe;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 650;
}

.hero-kicker {
  margin: 0;
  padding: 9px 16px 9px 10px;
  font-size: 15px;
  letter-spacing: 0;
}

.badge-check {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.34);
}

.badge-dot {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(167, 139, 250, 0.8);
  border-radius: 50%;
}

.hero h1 {
  max-width: 680px;
  margin: 30px 0 20px;
  font-size: clamp(44px, 4.45vw, 72px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero h1 span {
  background: linear-gradient(90deg, #a78bfa, #4a7dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 570px;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.hero-bonus {
  width: fit-content;
  max-width: 100%;
  margin: -6px 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 999px;
  color: #ede9fe;
  background:
    linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(47, 107, 255, 0.16)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 48px rgba(47, 107, 255, 0.18);
  font-size: 14px;
  font-weight: 650;
}

.hero-bonus span {
  padding: 4px 9px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 42px;
}

.hero-actions .btn {
  min-width: 220px;
}

.trust-row {
  width: fit-content;
  max-width: 100%;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trust-pill {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
}

.mini-icon,
.feature-icon,
.case-icon,
.step-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

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

.mini-icon svg,
.feature-icon svg,
.case-icon svg,
.step-icon svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
}

.mini-icon::before,
.feature-icon::before,
.case-icon::before,
.step-icon::before {
  content: none;
}

.icon-shield::before {
  border-radius: 50% 50% 45% 45%;
}

.icon-link::before {
  border-radius: 999px;
  transform: rotate(-25deg);
}

.hero-visual {
  min-height: 650px;
  position: relative;
}

.phone {
  position: absolute;
  left: 14px;
  top: 20px;
  z-index: 3;
  width: 292px;
  height: 620px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 44px;
  background: #070b16;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 5px rgba(255, 255, 255, 0.03);
}

.phone::before {
  content: "";
  position: absolute;
  left: 94px;
  top: 10px;
  width: 104px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #03050d;
}

.phone-top {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--faint);
  font-size: 10px;
}

.phone-icons {
  width: 46px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #94a3b8 18%, transparent 18% 32%, #94a3b8 32% 56%, transparent 56% 70%, #94a3b8 70%);
}

.phone-header {
  height: 54px;
  display: grid;
  grid-template-columns: 22px 32px 1fr 18px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: white;
}

.phone-header small {
  display: block;
  color: var(--faint);
  font-size: 10px;
}

.back {
  font-size: 24px;
  color: white;
}

.phone-menu {
  color: var(--muted);
  text-align: right;
}

.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
}

.chat {
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.bubble {
  max-width: 78%;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.bubble.bot {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 6px;
}

.bubble.user {
  margin-left: auto;
  color: white;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-bottom-right-radius: 6px;
}

.bubble.list {
  max-width: 88%;
}

.phone-input {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--faint);
  font-size: 12px;
}

.phone-input b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  color: white;
}

.admin-preview {
  position: absolute;
  right: 0;
  top: 20px;
  width: 520px;
  min-height: 560px;
  padding: 30px 24px 24px 270px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(11, 16, 36, 0.86);
  box-shadow: 0 40px 120px rgba(47, 107, 255, 0.18);
  backdrop-filter: blur(24px);
}

.admin-preview h3 {
  margin: 0 0 24px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.admin-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  margin-left: -246px;
}

.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.admin-menu span {
  padding: 8px 10px;
  border-radius: 10px;
}

.admin-menu .active {
  color: white;
  background: rgba(47, 107, 255, 0.14);
}

.admin-stats {
  display: grid;
  gap: 14px;
}

.stat-card {
  min-height: 146px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.stat-card small,
.stat-card em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 28px;
}

.stat-card em {
  margin-top: 4px;
  color: #34d399;
}

.stat-card svg {
  width: 100%;
  height: 58px;
  margin-top: 2px;
}

.stat-card polyline {
  fill: none;
  stroke: url("#");
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compact span {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 11px;
}

.compact i {
  display: block;
  width: var(--w);
  height: 4px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.section {
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-tint {
  background: rgba(8, 13, 31, 0.55);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head .badge {
  margin: 0 auto 20px;
  padding: 8px 17px 9px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(99, 102, 241, 0.82));
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.28);
  font-size: 14px;
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--text);
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.4);
  background: var(--card-hover);
}

.feature-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  min-height: 153px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 28px 24px;
}

.feature-icon,
.case-icon,
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: var(--violet-2);
  background: rgba(124, 58, 237, 0.16);
}

.feature-card h3,
.case-card h3,
.step h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.feature-card p,
.case-card p,
.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.video-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-card {
  min-height: 308px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.92) brightness(0.72);
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 20%, rgba(5, 8, 22, 0.88) 100%),
    radial-gradient(circle at 48% 42%, rgba(47, 107, 255, 0.25), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.cover-bot::after,
.cover-panel::after {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 18px;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cover-bot::after {
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(255, 255, 255, 0.12) 40% 43%, transparent 43%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  filter: blur(1px);
}

.cover-panel::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 25%, transparent 25%),
    repeating-linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0 10px, transparent 10px 24px);
}

.play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 45%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  box-shadow: 0 18px 50px rgba(47, 107, 255, 0.45);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fullscreen {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: white;
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: 0.2s ease;
}

.fullscreen:hover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(124, 58, 237, 0.22);
}

.play::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  border-left: 16px solid white;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.video-card.is-playing video {
  opacity: 0.9;
  filter: saturate(1) brightness(0.86);
}

.video-card.is-playing::after {
  opacity: 0;
}

.video-card.is-playing .play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

video:fullscreen,
video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
}

.video-copy {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
}

.video-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.video-copy p {
  margin: 0;
  max-width: 420px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.case-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.case-card h3 {
  margin-top: -54px;
  padding-left: 72px;
}

.case-card > p {
  padding-left: 72px;
  min-height: 42px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 28px;
}

.metrics strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.case-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(99, 102, 241, 0.34);
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.08);
  color: #6ea0ff;
  font-size: 14px;
  font-weight: 650;
  transition: 0.25s ease;
  margin-top: auto;
}

.case-card a:hover {
  color: white;
  border-color: rgba(167, 139, 250, 0.58);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(47, 107, 255, 0.2));
}

.stepper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.stepper::before {
  content: "";
  position: absolute;
  left: calc(10% + 36px);
  right: calc(10% + 36px);
  top: 35px;
  border-top: 1px dashed rgba(167, 139, 250, 0.42);
}

.step {
  position: relative;
  text-align: center;
}

.step-icon {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.75);
  background:
    linear-gradient(180deg, rgba(17, 24, 55, 0.98), rgba(10, 15, 36, 0.98)),
    rgba(124, 58, 237, 0.12);
  box-shadow: 0 0 0 12px rgba(5, 8, 22, 0.92);
}

.step b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 10px auto 16px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.faq-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.18), transparent 30%),
    radial-gradient(circle at 7% 63%, rgba(124, 58, 237, 0.32), transparent 29%),
    radial-gradient(circle at 90% 78%, rgba(47, 107, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #050816 0%, #070b1b 52%, #050816 100%);
}

.faq-bg {
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.32);
  opacity: 0.74;
  filter: blur(0.2px);
}

.faq-bg-left {
  left: -210px;
  bottom: 140px;
  width: 620px;
  height: 210px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.23), rgba(47, 107, 255, 0.04));
  box-shadow: inset 0 0 80px rgba(124, 58, 237, 0.14);
  transform: rotate(12deg);
}

.faq-bg-right {
  right: -220px;
  bottom: 90px;
  width: 660px;
  height: 230px;
  border-color: rgba(47, 107, 255, 0.28);
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.04), rgba(47, 107, 255, 0.16));
  box-shadow: inset 0 0 90px rgba(47, 107, 255, 0.12);
  transform: rotate(-7deg);
}

.faq-container {
  position: relative;
  max-width: 1080px;
}

.faq-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.faq-badge {
  width: fit-content;
  margin: 0 auto;
  padding: 8px 17px 9px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(99, 102, 241, 0.82));
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.28);
  font-size: 14px;
  font-weight: 700;
}

.faq-head h3 {
  margin: 25px 0 0;
  color: white;
  font-size: clamp(34px, 5.1vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-shadow: 0 12px 48px rgba(255, 255, 255, 0.08);
}

.faq-head p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.faq-card {
  display: grid;
  gap: 8px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.032);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 20px 58px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
  border-color: rgba(124, 58, 237, 0.78);
  background: rgba(255, 255, 255, 0.038);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(124, 58, 237, 0.14), 0 24px 72px rgba(0, 0, 0, 0.24);
}

.faq-question {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  border: 0;
  color: white;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  min-width: 0;
  flex: 1 1 auto;
  color: white;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
}

.faq-question b {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.86);
  color: transparent;
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.18);
  font-size: 0;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-question b::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9f6bff;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.faq-item.is-open .faq-question b {
  border-color: transparent;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.32);
}

.faq-item.is-open .faq-question b::before {
  content: "−";
  color: #17102a;
  font-size: 27px;
  transform: translateY(-2px);
}

.faq-question i {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-right: 3px solid #8b5cf6;
  border-bottom: 3px solid #8b5cf6;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-question i {
  opacity: 0;
  transform: rotate(45deg) translateY(-9px);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 58px 30px 88px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.brief-section {
  padding-top: 72px;
}

.brief-card {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.brief-card label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.brief-card input,
.brief-card select,
.brief-card textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0 16px;
  outline: 0;
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.brief-card select {
  color: white;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)),
    #0b1024;
  color-scheme: dark;
}

.brief-card select option {
  color: white;
  background: #0b1024;
}

.brief-card textarea {
  min-height: 82px;
  padding-top: 15px;
  resize: vertical;
}

.brief-card input::placeholder,
.brief-card textarea::placeholder {
  color: var(--faint);
}

.brief-card input:focus,
.brief-card select:focus,
.brief-card textarea:focus {
  border-color: rgba(47, 107, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.16);
}

.brief-card .wide {
  grid-column: span 2;
}

.brief-card button {
  align-self: end;
  min-height: 82px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.file-field {
  position: relative;
}

.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-field span {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px dashed rgba(167, 139, 250, 0.34);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: 0.2s ease;
}

.file-field:hover span {
  color: white;
  border-color: rgba(167, 139, 250, 0.62);
  background: rgba(124, 58, 237, 0.12);
}

.honeypot {
  display: none;
}

.consent-field,
.form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.brief-card .consent-field {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  grid-template-columns: none;
  justify-self: start;
  text-align: left;
  cursor: pointer;
}

.brief-card .consent-field span {
  display: block;
}

.brief-card .consent-field a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brief-card .consent-field a:hover {
  color: #f8fafc;
}

.brief-card .consent-field input {
  flex: 0 0 18px;
  appearance: none;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.brief-card .consent-field input::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) scale(0);
  transition: 0.15s ease;
}

.brief-card .consent-field input:checked {
  border-color: rgba(99, 102, 241, 0.8);
  background: linear-gradient(135deg, var(--violet), var(--blue));
}

.brief-card .consent-field input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.form-message {
  display: none;
  color: #bfdbfe;
  text-align: center;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  color: #fecaca;
}

.footer {
  padding: 56px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 13, 31, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.15fr 1fr 0.8fr;
  gap: 42px;
}

.footer p,
.footer a,
.footer small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 15px;
}

.footer .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: white;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer .logo-text {
  gap: 0;
}

.footer .logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px 12px 16px 12px;
  box-shadow: 0 11px 32px rgba(47, 107, 255, 0.34);
}

.footer .logo .logo-mark::after {
  inset: 8px;
  border-radius: 7px 7px 11px 7px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  max-width: 360px;
  margin: 0;
}

.footer small {
  margin-top: 0;
  font-size: 12px;
}

.footer a {
  margin-top: 8px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social img {
  width: 15px;
  height: 15px;
  display: block;
}

.social:hover {
  color: white;
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.social-telegram {
  color: #38bdf8;
}

.social-telegram img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(248, 250, 252, 0.32));
}

.social-max {
  width: 34px;
  color: #c4b5fd;
}

.social-max img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.35));
}

.social-max:hover {
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(167, 139, 250, 0.35));
}

@media (max-width: 1180px) {
  .container {
    width: min(960px, calc(100% - 48px));
  }

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

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .feature-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brief-card {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .header,
  .header-inner {
    height: 68px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 20px;
  }

  .phone,
  .admin-preview {
    position: relative;
    inset: auto;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .admin-preview {
    display: none;
  }

  .admin-grid {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .admin-menu {
    display: none;
  }

  .video-grid,
  .feature-grid,
  .case-grid,
  .stepper,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding: 72px 0;
  }

  .faq-card {
    gap: 8px;
  }

  .faq-question {
    min-height: 62px;
    gap: 12px;
    padding: 16px 14px;
  }

  .faq-question span {
    font-size: 14px;
    line-height: 1.4;
  }

  .faq-question b {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  .faq-question b::before {
    font-size: 24px;
  }

  .faq-item.is-open .faq-question b::before {
    font-size: 23px;
  }

  .faq-question i {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    border-width: 2px;
  }

  .faq-answer p {
    padding: 0 14px 18px 58px;
    font-size: 13px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-brand {
    order: 1;
  }

  .footer-nav {
    display: none;
  }

  .footer-docs {
    order: 2;
  }

  .footer-contacts {
    order: 3;
  }

  .footer-social-col {
    order: 4;
  }

  .footer-bottom {
    order: 5;
    display: grid;
    gap: 10px;
    padding-top: 24px;
  }

  .footer-bottom p {
    max-width: none;
  }

  .footer .logo {
    margin-bottom: 0;
  }

  .stepper::before {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
  }

  .step-icon {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    margin: 0;
    align-self: start;
    box-shadow: 0 0 0 7px rgba(5, 8, 22, 0.92);
  }

  .step b {
    display: none;
  }

  .step h3,
  .step p {
    grid-column: 2;
  }

  .step h3 {
    margin: 0;
    align-self: end;
  }

  .step p {
    margin: 4px 0 0;
    align-self: start;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  .logo {
    font-size: 20px;
  }

  .logo-mark {
    width: 31px;
    height: 31px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 56px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 38px;
    letter-spacing: -0.045em;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions,
  .trust-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .trust-row {
    gap: 10px;
  }

  .faq-section {
    padding: 64px 0;
  }

  .faq-head {
    margin-bottom: 30px;
  }

  .faq-head h3 {
    margin-top: 18px;
    font-size: 34px;
    line-height: 1.06;
  }

  .faq-head p {
    font-size: 14px;
  }

  .faq-bg-left {
    left: -250px;
    bottom: 270px;
    width: 500px;
    height: 170px;
  }

  .faq-bg-right {
    right: -280px;
    bottom: 120px;
    width: 520px;
    height: 180px;
  }

  .phone {
    height: 560px;
  }

  .chat {
    height: 380px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card {
    grid-template-columns: 48px 1fr;
    padding: 22px;
  }

  .video-card {
    min-height: 260px;
  }

  .brief-card,
  .brief-card .wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .footer small {
    margin-top: 30px;
  }
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  padding: 56px 0 72px;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.legal-card h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-meta {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.legal-card h2 {
  margin: 26px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.legal-card strong {
  color: var(--white);
}

.legal-back {
  width: fit-content;
  margin: 0 auto 20px;
}
