/* ============ ПЕРЕМЕННЫЕ ============ */
:root {
  --bg: #06070d;
  --bg-2: #0a0c15;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #e9ecf5;
  --muted: #8b93ab;
  --acc: #5b8cff;
  --acc-2: #46e3b5;
  --warn: #ffb547;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1220px;
  --ease: cubic-bezier(.22, .68, .3, 1);
}

/* ============ БАЗА ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 40px, 860px); }

.grad {
  background: linear-gradient(100deg, var(--acc) 10%, var(--acc-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ ФОН ============ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(600px 400px at 12% -5%, rgba(91, 140, 255, .22), transparent 70%),
    radial-gradient(700px 500px at 92% 8%, rgba(70, 227, 181, .12), transparent 70%),
    radial-gradient(900px 600px at 50% 100%, rgba(91, 140, 255, .08), transparent 70%);
}

/* ============ ШАПКА ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  padding: 10px 0;
  background: rgba(6, 7, 13, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; }
.logo__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  display: grid;
  align-content: center;
  gap: 3.5px;
  padding: 7px;
}
.logo__mark span { display: block; height: 2.5px; border-radius: 2px; background: #06070d; }
.logo__mark span:nth-child(2) { width: 62%; }
.logo__mark span:nth-child(3) { width: 82%; }
.logo__text { font-size: 17px; }
.logo__text i { font-style: normal; font-weight: 500; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__link { font-size: 14.5px; color: var(--muted); transition: color .2s; position: relative; }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
}
.nav__cta { margin-left: 4px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 11px; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--acc), #7aa2ff 55%, var(--acc-2));
  color: #05060c;
  box-shadow: 0 8px 28px -10px rgba(91, 140, 255, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(91, 140, 255, .95); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--acc); transform: translateY(-2px); }
.btn--sm { padding: 9px 17px; font-size: 14px; border-radius: 10px; }
.btn--xs { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--full { width: 100%; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============ СЕКЦИИ ============ */
.section { padding: 110px 0; position: relative; }
.hero { padding-top: 160px; }

.section__head { max-width: 720px; margin-bottom: 56px; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
}
.section__sub { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* ============ ГЕРОЙ ============ */
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 26px;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc-2);
  box-shadow: 0 0 0 0 rgba(70, 227, 181, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(70, 227, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 227, 181, 0); }
}

.hero__title {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero__text { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats__num { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.stats__label { font-size: 13.5px; color: var(--muted); }

/* Панель */
.hero__visual { position: relative; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.panel--float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  50% { transform: translateY(-12px); }
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.panel__title {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.panel__body { padding: 22px; }

.mini-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.mini-label { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.mini-name { font-weight: 700; font-size: 16px; margin-top: 3px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 12px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.chip--live { color: var(--acc-2); border-color: rgba(70, 227, 181, .35); background: rgba(70, 227, 181, .07); }
.chip--live i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc-2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.mini-progress__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.mini-progress__top b { color: var(--text); }

.bar { height: 7px; border-radius: 100px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar--lg { height: 10px; margin-bottom: 18px; }
.bar__fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 100px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
  transition: width .8s var(--ease);
}

.mini-list { margin-top: 22px; display: grid; gap: 2px; }
.mini-list__row {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}
.mini-list__row em { margin-left: auto; font-style: normal; font-size: 12px; opacity: .8; }
.mini-list__row.is-done { color: var(--text); }
.mini-list__row.is-active { background: rgba(91, 140, 255, .1); color: var(--text); border: 1px solid rgba(91, 140, 255, .25); }
.tick {
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 10px;
}
.is-done .tick { background: rgba(70, 227, 181, .15); border-color: rgba(70, 227, 181, .5); color: var(--acc-2); }
.tick--live { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(91, 140, 255, .15); animation: blink 1.8s infinite; }

.mini-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  font-size: 12px; color: var(--acc-2);
}

.float-card {
  position: absolute;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(12, 14, 24, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
  font-size: 13.5px;
  max-width: 230px;
}
.float-card span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.float-card--1 { top: -48px; right: -26px; animation: floaty 8s ease-in-out infinite .6s; }
.float-card--2 { bottom: -68px; left: -38px; animation: floaty 9s ease-in-out infinite 1.4s; }

/* Бегущая строка */
.marquee {
  margin-top: 90px;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i { color: var(--acc); font-style: normal; font-size: 9px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============ КАРТОЧКИ УСЛУГ ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) 0%, rgba(91, 140, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__num { font-size: 12px; color: var(--acc); letter-spacing: .1em; }
.card__title { font-size: 20px; margin: 12px 0 10px; letter-spacing: -.015em; }
.card__text { color: var(--muted); font-size: 15px; }
.card__list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.card__list li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
}

/* ============ ПУЛЬС ============ */
.section--pulse { position: relative; }
.section--pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px 600px at 50% 40%, rgba(91, 140, 255, .09), transparent 70%);
  pointer-events: none;
}

.pulse__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.pulse__side { display: grid; gap: 14px; }

.feat {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.feat:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(4px); }
.feat__ico {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(91, 140, 255, .14);
  color: var(--acc);
  font-size: 15px;
  margin-bottom: 13px;
}
.feat h3 { font-size: 17px; margin-bottom: 7px; letter-spacing: -.01em; }
.feat p { font-size: 14.5px; color: var(--muted); }
.feat--accent {
  border-color: rgba(70, 227, 181, .3);
  background: linear-gradient(140deg, rgba(70, 227, 181, .09), rgba(91, 140, 255, .05));
}
.feat--accent .feat__ico { background: rgba(70, 227, 181, .16); color: var(--acc-2); }

/* Демо-кабинет */
.demo__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.demo__total { text-align: right; }
.demo__total b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.demo__hint { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; letter-spacing: .03em; }

.steps { display: grid; gap: 8px; }
.step {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .2s var(--ease);
}
.step:hover { border-color: var(--acc); background: rgba(91, 140, 255, .07); transform: translateX(3px); }
.step.is-selected { border-color: var(--acc-2); background: rgba(70, 227, 181, .09); box-shadow: 0 0 0 1px rgba(70, 227, 181, .25); }
.step__idx {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.step.done .step__idx { background: rgba(70, 227, 181, .14); border-color: rgba(70, 227, 181, .45); color: var(--acc-2); }
.step.active .step__idx { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 0 3px rgba(91, 140, 255, .13); }
.step__body { display: block; min-width: 0; }
.step__name { display: block; font-size: 15px; font-weight: 600; }
.step__meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.step__right { display: grid; gap: 5px; justify-items: end; text-align: right; }
.step__price { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.step__status { font-size: 11px; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.step.done .step__status { color: var(--acc-2); border-color: rgba(70, 227, 181, .35); }
.step.active .step__status { color: var(--acc); border-color: rgba(91, 140, 255, .4); }

.checkout {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(70, 227, 181, .3);
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, rgba(70, 227, 181, .08), rgba(91, 140, 255, .05));
  animation: fadeUp .4s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
}
.checkout__head { margin-bottom: 16px; }
.checkout__head h4 { font-size: 18px; letter-spacing: -.01em; margin-top: 2px; }
.checkout__cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.checkout__list { display: grid; gap: 7px; margin-top: 10px; }
.checkout__list li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; }
.checkout__list li::before { content: '↓'; position: absolute; left: 0; color: var(--acc-2); font-size: 12px; }
.checkout__sum b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.checkout__note { font-size: 11.5px; color: var(--muted); margin-bottom: 14px; }

.demo__disclaimer { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ============ ПРОЦЕСС ============ */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  top: 15px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
.timeline__item { padding-top: 44px; position: relative; }
.timeline__num {
  position: absolute;
  top: 0; left: 0;
  width: 31px; height: 31px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--acc);
  transition: border-color .3s, box-shadow .3s;
}
.timeline__item:hover .timeline__num { border-color: var(--acc); box-shadow: 0 0 0 5px rgba(91, 140, 255, .12); }
.timeline__item h3 { font-size: 17px; margin-bottom: 8px; }
.timeline__item p { font-size: 14.5px; color: var(--muted); }
.timeline__meta { display: block; margin-top: 12px; font-size: 11.5px; color: var(--acc); opacity: .85; }

/* ============ РАБОТЫ ============ */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .3s;
}
.work:hover { transform: translateY(-6px); border-color: var(--line-2); }
.work__thumb {
  height: 210px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.work__thumb span {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  z-index: 1;
}
.work__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  transition: transform .7s var(--ease);
}
.work:hover .work__thumb::after { transform: scale(1.12) rotate(1.5deg); }
.work__thumb--1 { background: linear-gradient(135deg, #1b3a6b, #0d1830); }
.work__thumb--2 { background: linear-gradient(135deg, #14493c, #0b1a20); }
.work__thumb--3 { background: linear-gradient(135deg, #3a2a6b, #14102b); }
.work__thumb--4 { background: linear-gradient(135deg, #5c3b1e, #221408); }
.work__body { padding: 24px 26px 28px; }
.work__title { font-size: 19px; letter-spacing: -.015em; }
.work__text { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.work__res { margin-top: 14px; font-size: 12.5px; color: var(--acc-2); }

/* ============ ТАРИФЫ ============ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .3s, transform .3s var(--ease);
}
.plan:hover { border-color: var(--line-2); transform: translateY(-4px); }
.plan--hl {
  border-color: rgba(91, 140, 255, .45);
  background: linear-gradient(170deg, rgba(91, 140, 255, .11), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 60px -35px rgba(91, 140, 255, .8);
}
.plan__tag {
  position: absolute;
  top: -11px; left: 28px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  background: linear-gradient(120deg, var(--acc), var(--acc-2));
  color: #05060c;
}
.plan__name { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.plan__price { font-size: 30px; font-weight: 800; letter-spacing: -.025em; }
.plan__term { font-size: 12.5px; color: var(--acc); }
.plan__list { display: grid; gap: 10px; margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__list li { font-size: 14.5px; color: var(--muted); padding-left: 24px; position: relative; }
.plan__list li::before { content: '✓'; position: absolute; left: 0; color: var(--acc-2); font-size: 13px; }
.plan .btn { margin-top: auto; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 10px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .3s, background .3s;
}
.faq__item[open] { border-color: rgba(91, 140, 255, .4); background: rgba(91, 140, 255, .05); }
.faq__item summary {
  cursor: pointer;
  padding: 19px 54px 19px 22px;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--acc);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ============ КОНТАКТЫ ============ */
.section--contact { padding-bottom: 120px; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(91, 140, 255, .1), rgba(255, 255, 255, .02) 45%);
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 227, 181, .16), transparent 65%);
  pointer-events: none;
}
.contact__list { margin-top: 34px; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: baseline; font-size: 15.5px; }
.contact__list span.mono { font-size: 11.5px; color: var(--muted); min-width: 74px; letter-spacing: .06em; }
.contact__list a { border-bottom: 1px solid var(--line-2); transition: border-color .25s, color .25s; }
.contact__list a:hover { color: var(--acc-2); border-color: var(--acc-2); }

.form { display: grid; gap: 16px; position: relative; z-index: 1; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(6, 7, 13, .55);
  font-size: 15px;
  transition: border-color .25s, box-shadow .25s, background .25s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5b6377; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, .16);
  background: rgba(6, 7, 13, .85);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: #0a0c15; }
.field.has-error input, .field.has-error textarea { border-color: #ff6b6b; }
.field__err { font-size: 12px; color: #ff8b8b; min-height: 0; }

.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--acc); cursor: pointer; }

.form__ok {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(70, 227, 181, .4);
  background: rgba(70, 227, 181, .1);
  color: var(--acc-2);
  font-size: 14px;
}

/* ============ ПОДВАЛ ============ */
.footer { border-top: 1px solid var(--line); padding: 46px 0 40px; background: rgba(255, 255, 255, .012); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 40px; align-items: start; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 340px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; }
.footer__nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { grid-column: 1 / -1; font-size: 12px; color: var(--muted); padding-top: 26px; border-top: 1px solid var(--line); }

/* ============ КНОПКА НАВЕРХ ============ */
.totop {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(12, 14, 24, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), border-color .3s;
  z-index: 90;
}
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { border-color: var(--acc); }

/* ============ АНИМАЦИЯ ПОЯВЛЕНИЯ ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ АДАПТИВ ============ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__text { max-width: none; }
  .pulse__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .timeline::before { display: none; }
  .float-card--1 { right: 0; }
  .float-card--2 { left: 0; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 130px; }

  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    padding: 96px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(6, 7, 13, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform .38s var(--ease);
    z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { margin-top: 18px; padding: 14px; font-size: 15px; }

  .plans, .works, .cards { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 34px 24px; gap: 34px; }
  .checkout__cols { grid-template-columns: 1fr; gap: 18px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
  .stats { gap: 26px; }
  .stats__num { font-size: 26px; }
  .marquee { margin-top: 64px; }
}

@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .panel__body { padding: 16px; }
  .step { grid-template-columns: 26px 1fr; gap: 10px; }
  .step__right { grid-column: 2; grid-auto-flow: column; justify-content: start; justify-items: start; text-align: left; gap: 10px; }
  .float-card { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .demo__head { flex-direction: column; }
  .demo__total { text-align: left; }
}

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