/* ============================================
   Лендинг v3: тёмный первый экран, светлые секции
   ============================================ */

.v3 {
  --v3-night: #05061a;
  --v3-night-2: #0b0d2b;
  --v3-blue: #0000ff;
  --v3-blue-soft: #4d5bff;
  --v3-violet: #8b5cf6;
  --v3-cyan: #22d3ee;
  --v3-ink: #0f1222;
  --v3-muted: #4b5470;
  --v3-faint: #7a819c;
  --v3-line: #e6e9f5;
  --v3-surface: #ffffff;
  --v3-soft: #f5f7ff;
  --v3-on-dark: #e8eaff;
  --v3-on-dark-muted: #aab0d6;
  --v3-r-lg: 22px;
  --v3-r-md: 16px;

  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--v3-night);
  color: var(--v3-on-dark);
  -webkit-font-smoothing: antialiased;
}

/* ===== Шапка ===== */

.v3 .site-nav {
  background: rgba(5, 6, 26, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
}

.v3 .logo-text { color: #ffffff; }

.v3 .nav-links a { color: var(--v3-on-dark-muted); }

.v3 .nav-links a:hover { color: #ffffff; }

.v3 .site-nav .nav-links > a.btn.btn-primary {
  background: linear-gradient(135deg, var(--v3-blue) 0%, var(--v3-violet) 100%);
  box-shadow: 0 8px 24px -8px rgba(77, 91, 255, 0.7);
}

@media (max-width: 760px) {
  .v3 .menu-toggle { border-color: rgba(255, 255, 255, 0.18); }

  .v3 .menu-toggle span,
  .v3 .menu-toggle span::before,
  .v3 .menu-toggle span::after { background: #ffffff; }

  .v3 .menu-toggle.active span { background: transparent; }

  .v3 .nav-links { border-top-color: rgba(255, 255, 255, 0.1); }
}

/* ===== Кнопки ===== */

.v3-btn-large {
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
}

.v3 .v3-hero .btn-primary,
.v3 .v3-cta .btn-primary {
  background: linear-gradient(135deg, var(--v3-blue) 0%, var(--v3-violet) 100%);
  color: #ffffff;
  box-shadow: 0 14px 34px -12px rgba(77, 91, 255, 0.8);
}

.v3 .v3-hero .btn-primary:hover,
.v3 .v3-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(139, 92, 246, 0.85);
}

.v3-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.v3-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ===== Герой ===== */

.v3-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  text-align: center;
  isolation: isolate;
}

.v3-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.v3-grid {
  position: absolute;
  inset: 0;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.v3-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.v3-glow--a {
  width: 620px;
  height: 620px;
  top: -260px;
  left: 50%;
  transform: translateX(-60%);
  background: radial-gradient(circle, var(--v3-blue) 0%, transparent 70%);
  animation: v3-drift 14s ease-in-out infinite alternate;
}

.v3-glow--b {
  width: 520px;
  height: 520px;
  top: 220px;
  right: -160px;
  background: radial-gradient(circle, var(--v3-violet) 0%, transparent 70%);
  opacity: 0.4;
  animation: v3-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes v3-drift {
  from { translate: 0 0; }
  to { translate: 60px 40px; }
}

.v3-hero-inner { position: relative; }

.v3-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 500;
  color: var(--v3-on-dark);
}

.v3-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v3-cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: v3-pulse 2.4s ease-out infinite;
}

@keyframes v3-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}

.v3-hero h1 {
  font-size: clamp(38px, 6.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: #ffffff;
  max-width: 980px;
  margin: 0 auto 26px;
}

.v3-grad {
  background: linear-gradient(100deg, #7c8cff 0%, var(--v3-violet) 45%, var(--v3-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.v3-hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--v3-on-dark-muted);
  max-width: 740px;
  margin: 0 auto 12px;
}

.v3-hero-lead--strong {
  color: #ffffff;
  font-weight: 600;
}

.v3-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 34px 0 16px;
}

.v3-hero-note {
  font-size: 14px;
  color: var(--v3-faint);
  margin: 0;
}

/* ===== Сцена: заметка ↔ чат ===== */

.v3-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  max-width: 1040px;
  margin: 64px auto 0;
  text-align: left;
}

.v3-win {
  border-radius: var(--v3-r-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(23, 26, 66, 0.9) 0%, rgba(12, 14, 40, 0.92) 100%);
  box-shadow:
    0 40px 80px -40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  min-height: 330px;
}

.v3-win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--v3-on-dark-muted);
}

.v3-dots { display: inline-flex; gap: 6px; }

.v3-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.v3-note-body,
.v3-chat-body {
  padding: 18px 20px 22px;
  font-size: 14px;
  line-height: 1.55;
}

.v3-note-body h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa5ff;
}

.v3-note-body p {
  margin: 0 0 14px;
  color: var(--v3-on-dark);
}

.v3-ctx-src {
  border-radius: 8px;
  margin-left: -6px !important;
  padding: 2px 6px;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.v3-note-added {
  border-left: 2px solid var(--v3-cyan);
  padding-left: 12px;
  margin-left: -14px;
  transition: opacity 0.6s ease, transform 0.6s ease, max-height 0.6s ease;
  max-height: 200px;
  overflow: hidden;
}

.v3-note-added h4 { color: var(--v3-cyan); }

.v3-note-added ul {
  margin: 0;
  padding-left: 18px;
  color: var(--v3-on-dark);
}

.v3-note-added li { margin-bottom: 4px; }

.v3-link {
  position: relative;
  height: 100%;
  min-height: 120px;
}

.v3-link-line {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 140, 255, 0.2), rgba(124, 140, 255, 0.7), rgba(34, 211, 238, 0.2));
  border-radius: 2px;
}

.v3-link-chip {
  position: absolute;
  left: 50%;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: #ffffff;
  transform: translateX(-50%);
  transition: opacity 0.4s ease;
}

.v3-link-chip--out {
  top: calc(50% - 34px);
  background: rgba(77, 91, 255, 0.85);
}

.v3-link-chip--in {
  top: calc(50% + 12px);
  background: rgba(34, 211, 238, 0.85);
  color: #04202a;
}

.v3-ctx-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.v3-ctx-label {
  font-size: 12px;
  color: var(--v3-faint);
  margin-right: 2px;
}

.v3-ctx-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(77, 91, 255, 0.18);
  border: 1px solid rgba(124, 140, 255, 0.4);
  color: #c9cfff;
}

.v3-msg {
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.v3-msg--user {
  margin-left: auto;
  width: fit-content;
  background: linear-gradient(135deg, var(--v3-blue), var(--v3-blue-soft));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.v3-msg--ai {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--v3-on-dark);
  border-bottom-left-radius: 4px;
}

.v3-typing {
  display: none;
  gap: 4px;
  padding: 4px 0;
}

.v3-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v3-on-dark-muted);
  animation: v3-blink 1.2s infinite ease-in-out;
}

.v3-typing i:nth-child(2) { animation-delay: 0.15s; }
.v3-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes v3-blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.v3-card {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s ease;
}

.v3-card-head {
  font-weight: 650;
  color: #ffffff;
  margin-bottom: 2px;
}

.v3-card-sub {
  font-size: 12px;
  color: var(--v3-on-dark-muted);
  margin-bottom: 12px;
}

.v3-card-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--v3-cyan);
  color: #04202a;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Анимация: JS снимает is-static и накапливает шаги s1…s7. */

.v3-stage:not(.is-static) .v3-link-chip,
.v3-stage:not(.is-static) .v3-ctx-row,
.v3-stage:not(.is-static) .v3-msg,
.v3-stage:not(.is-static) .v3-card {
  opacity: 0;
}

.v3-stage:not(.is-static) .v3-msg,
.v3-stage:not(.is-static) .v3-card,
.v3-stage:not(.is-static) .v3-ctx-row { transform: translateY(8px); }

.v3-stage:not(.is-static) .v3-note-added {
  opacity: 0;
  max-height: 0;
  transform: translateY(-6px);
}

.v3-stage.s1 .v3-ctx-src {
  background-color: rgba(77, 91, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(124, 140, 255, 0.45);
}

.v3-stage.s1 .v3-link-chip--out {
  opacity: 1;
  animation: v3-flow-right 1.4s ease-in-out both;
}

.v3-stage.s2 .v3-ctx-row { opacity: 1; transform: none; }

.v3-stage.s3 .v3-msg--user { opacity: 1; transform: none; }

.v3-stage.s4 .v3-msg--ai { opacity: 1; transform: none; }

.v3-stage.s4:not(.s5) .v3-typing { display: inline-flex; }

.v3-stage.s4:not(.s5) .v3-msg-text { display: none; }

.v3-stage.s6 .v3-card { opacity: 1; transform: none; }

.v3-stage.s7 .v3-card-btn {
  transform: scale(0.94);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.22);
}

.v3-stage.s7 .v3-link-chip--in {
  opacity: 1;
  animation: v3-flow-left 1.2s ease-in-out both;
}

.v3-stage.s7 .v3-note-added {
  opacity: 1;
  max-height: 200px;
  transform: none;
  transition-delay: 0.6s;
}

@keyframes v3-flow-right {
  from { transform: translateX(-110%); }
  to { transform: translateX(10%); }
}

@keyframes v3-flow-left {
  from { transform: translateX(10%); }
  to { transform: translateX(-110%); }
}

/* ===== Секции ===== */

.v3-section {
  padding: 104px 0;
  position: relative;
}

.v3-section--light {
  background: var(--v3-surface);
  color: var(--v3-ink);
}

.v3-section--soft {
  background: var(--v3-soft);
  color: var(--v3-ink);
}

.v3-section--dark {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(77, 91, 255, 0.18), transparent 70%),
    var(--v3-night-2);
  color: var(--v3-on-dark);
}

.v3-eyebrow {
  margin: 0 0 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v3-blue);
}

.v3-section--dark .v3-eyebrow { color: #9aa5ff; }

.v3-title {
  margin: 0 auto 18px;
  max-width: 860px;
  text-align: center;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.v3-section--dark .v3-title { color: #ffffff; }

.v3-lead {
  margin: 0 auto 56px;
  max-width: 680px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--v3-muted);
}

.v3-section--dark .v3-lead { color: var(--v3-on-dark-muted); }

.v3-title + .v3-grid3,
.v3-title + .v3-grid4,
.v3-title + .v3-timeline,
.v3-title + .v3-compare,
.v3-title + .v3-faq,
.v3-title + .landing-tariffs-grid { margin-top: 56px; }

.v3-footnote {
  margin: 32px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-faint);
}

.v3-section--dark .v3-footnote { color: var(--v3-on-dark-muted); }

.v3-section a:not(.btn) {
  color: var(--v3-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v3-section--dark a:not(.btn) { color: #9aa5ff; }

/* ===== Две стороны ===== */

.v3-sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: center;
}

.v3-side {
  height: 100%;
  padding: 36px 32px;
  border-radius: var(--v3-r-lg);
  border: 1px solid var(--v3-line);
  background: var(--v3-surface);
  box-shadow: 0 30px 60px -44px rgba(15, 18, 34, 0.35);
}

.v3-side--accent {
  border-color: rgba(0, 0, 255, 0.22);
  background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
}

.v3-side-tag {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: rgba(0, 0, 255, 0.07);
  color: var(--v3-blue);
}

.v3-side h3 {
  margin: 0 0 20px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.v3-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.v3-checks li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--v3-muted);
}

.v3-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 255, 0.08);
}

.v3-checks li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--v3-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.v3-sides-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.v3-sides-hub::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 255, 0.05), rgba(0, 0, 255, 0.4), rgba(0, 0, 255, 0.05));
}

.v3-hub-ring {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 0, 255, 0.35);
  animation: v3-spin 18s linear infinite;
}

@keyframes v3-spin { to { transform: rotate(360deg); } }

.v3-hub-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--v3-blue), var(--v3-violet));
  box-shadow: 0 14px 30px -10px rgba(77, 91, 255, 0.7);
}

/* ===== Карточки опыта ===== */

.v3-usp {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.v3-usp-card {
  padding: 28px 24px;
  border-radius: var(--v3-r-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.v3-usp-card:hover {
  border-color: rgba(124, 140, 255, 0.5);
  background: rgba(124, 140, 255, 0.06);
  transform: translateY(-3px);
}

.v3-usp-num {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #7c8cff, var(--v3-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.v3-usp-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.v3-usp-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-on-dark-muted);
}

/* ===== Неделя ===== */

.v3-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.v3-timeline::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-blue), var(--v3-violet), var(--v3-cyan));
  opacity: 0.35;
}

.v3-tl-item {
  position: relative;
  padding-top: 40px;
}

.v3-tl-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--v3-blue);
  box-sizing: border-box;
}

.v3-tl-item:last-child::before { border-color: var(--v3-violet); }

.v3-tl-day {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v3-blue);
}

.v3-tl-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.v3-tl-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-muted);
}

/* ===== Сетки карточек ===== */

.v3-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v3-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v3-grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.v3-feat {
  padding: 28px 26px;
  border-radius: var(--v3-r-lg);
  border: 1px solid var(--v3-line);
  background: var(--v3-surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.v3-section--soft .v3-feat { background: #ffffff; }

.v3-feat:hover {
  border-color: rgba(0, 0, 255, 0.25);
  box-shadow: 0 24px 48px -36px rgba(0, 0, 255, 0.45);
  transform: translateY(-3px);
}

.v3-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 0, 255, 0.1), rgba(139, 92, 246, 0.12));
}

.v3-feat-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--v3-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v3-feat h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.v3-feat p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-muted);
}

.v3-spec {
  margin: 18px 0 0;
}

.v3-spec dt {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-faint);
}

.v3-spec dd {
  margin: 4px 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--v3-ink);
}

.v3-spec dd:last-child { margin-bottom: 0; }

.v3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.v3-chips span {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  background: var(--v3-soft);
  border: 1px solid var(--v3-line);
  color: var(--v3-ink);
}

/* ===== Площадки ===== */

.v3-place {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--v3-r-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.v3-place h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.v3-place p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-on-dark-muted);
}

.v3-section .v3-place-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(124, 140, 255, 0.18);
  border: 1px solid rgba(124, 140, 255, 0.4);
  transition: background-color 0.2s ease;
}

.v3-section .v3-place-link:hover { background: rgba(124, 140, 255, 0.3); }

.v3-section .v3-place-sub {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--v3-on-dark-muted);
}

/* ===== Сравнение ===== */

.v3-compare {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.v3-cmp {
  padding: 26px 22px;
  border-radius: var(--v3-r-lg);
  border: 1px solid var(--v3-line);
  background: #ffffff;
}

.v3-cmp-name {
  display: block;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 750;
}

.v3-cmp dl { margin: 0; }

.v3-cmp dt {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-faint);
}

.v3-cmp dd {
  margin: 4px 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--v3-muted);
}

.v3-cmp dd:last-child { margin-bottom: 0; }

.v3-cmp--us {
  position: relative;
  border: none;
  color: #ffffff;
  background: linear-gradient(160deg, #0a0c35 0%, #1a1580 60%, #3b2a9e 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 255, 0.6);
  transform: translateY(-8px);
}

.v3-cmp--us dt { color: #9aa5ff; }

.v3-cmp--us dd { color: #ffffff; }

/* ===== Надёжность ===== */

.v3-trust {
  padding: 26px 24px;
  border-radius: var(--v3-r-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.v3-trust h3 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 28px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.v3-trust h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--v3-blue-soft), var(--v3-cyan));
}

.v3-trust p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-on-dark-muted);
}

/* ===== Кому подойдёт ===== */

.v3-uses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.v3-section .v3-uses a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--v3-soft);
  border: 1px solid var(--v3-line);
  color: var(--v3-ink);
}

.v3-section .v3-uses a:hover { border-color: rgba(0, 0, 255, 0.3); color: var(--v3-blue); }

/* ===== Тарифы ===== */

.landing-tariffs-grid {
  display: grid;
  gap: 40px;
}

.landing-tariffs-placeholder {
  padding: 48px 0;
  text-align: center;
  color: var(--v3-faint);
}

.landing-tariff-group-heading {
  text-align: center;
  margin-bottom: 24px;
}

.landing-tariff-group-heading h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--v3-ink);
  margin: 0 0 8px;
}

.landing-tariff-group-heading p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-muted);
  margin: 0 auto;
  max-width: 60ch;
}

.landing-tariff-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.landing-tariff-group-grid--with-free {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Пакетов токенов два: без ограничения ширины они перевесили бы сетку тарифов. */
.landing-tariff-group--credits .landing-tariff-group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin: 0 auto;
}

.landing-tariff-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--v3-r-lg);
  border: 1px solid var(--v3-line);
  background: #ffffff;
  padding: 28px 22px;
}

.landing-tariff-card--free {
  background: transparent;
  border-style: dashed;
  border-color: #cdd3ea;
}

.landing-tariff-card--popular {
  border: 1.5px solid var(--v3-blue);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 255, 0.55);
}

.landing-tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--v3-blue), var(--v3-violet));
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.landing-tariff-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--v3-ink);
  margin: 0 0 10px;
}

.landing-tariff-card--popular .landing-tariff-name { color: var(--v3-blue); }

.landing-tariff-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--v3-ink);
  margin-bottom: 16px;
}

.landing-tariff-price small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--v3-faint);
  letter-spacing: 0;
  margin-top: 2px;
}

.landing-tariff-delta {
  font-size: 13px;
  color: var(--v3-faint);
  margin: 0 0 10px;
}

.landing-tariff-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.landing-tariff-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--v3-muted);
}

.landing-tariff-features li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--v3-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.landing-tariff-minutes {
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--v3-blue);
  margin-bottom: 8px;
}

.landing-tariff-minutes small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-faint);
  letter-spacing: 0;
}

.landing-tariff-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--v3-muted);
  margin: 0 0 20px;
}

.landing-tariff-buy {
  margin-top: auto;
  width: 100%;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 15px;
}

.v3-section a.landing-tariff-buy { text-decoration: none; }

.landing-tariff-buy--ghost {
  background: #ffffff;
  color: var(--v3-blue);
  border: 1.5px solid rgba(0, 0, 255, 0.3);
}

.v3-section a.landing-tariff-buy--ghost { color: var(--v3-blue); }

.landing-tariff-buy--ghost:hover {
  background: #f2f4ff;
  transform: translateY(-1px);
}

.landing-tariffs-note {
  margin: 32px auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--v3-faint);
}

/* ===== FAQ ===== */

.v3-faq {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 12px;
}

.v3-faq details {
  border-radius: var(--v3-r-md);
  border: 1px solid var(--v3-line);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.v3-faq details[open] {
  border-color: rgba(0, 0, 255, 0.25);
  box-shadow: 0 20px 40px -32px rgba(0, 0, 255, 0.4);
}

.v3-faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 650;
  color: var(--v3-ink);
}

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

.v3-faq summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid var(--v3-blue);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.v3-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.v3-faq details p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--v3-muted);
}

/* ===== Финальный призыв ===== */

.v3-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0;
  text-align: center;
}

.v3-cta .v3-glow--a {
  top: auto;
  bottom: -320px;
}

.v3-cta-inner h2 {
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
}

.v3-cta-inner p {
  margin: 0 auto 34px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--v3-on-dark-muted);
}

/* ===== Футер ===== */

.v3 .site-footer {
  margin-top: 0;
  color: var(--v3-ink);
}

/* ===== Адаптив ===== */

@media (max-width: 1080px) {
  .v3-usp,
  .v3-grid4,
  .v3-compare,
  .landing-tariff-group-grid--with-free { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .v3-cmp--us { transform: none; }
}

@media (max-width: 900px) {
  .v3-stage {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    gap: 0;
  }

  .v3-win { min-height: 0; }

  .v3-link { min-height: 72px; }

  .v3-link-line {
    top: 8px;
    bottom: 8px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(124, 140, 255, 0.2), rgba(124, 140, 255, 0.7), rgba(34, 211, 238, 0.2));
  }

  .v3-link-chip--out { top: 22px; left: calc(50% - 50px); }

  .v3-link-chip--in { top: 22px; left: calc(50% + 50px); }

  @keyframes v3-flow-right {
    from { transform: translate(-50%, -16px); }
    to { transform: translate(-50%, 16px); }
  }

  @keyframes v3-flow-left {
    from { transform: translate(-50%, 16px); }
    to { transform: translate(-50%, -16px); }
  }

  .v3-sides { grid-template-columns: minmax(0, 1fr); }

  .v3-sides-hub { height: 110px; }

  .v3-sides-hub::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(0, 0, 255, 0.05), rgba(0, 0, 255, 0.4), rgba(0, 0, 255, 0.05));
  }

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

  .v3-timeline::before { display: none; }
}

@media (max-width: 640px) {
  .v3-hero { padding: 56px 0 64px; }

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

  .v3-cta { padding: 88px 0; }

  .v3-lead { margin-bottom: 40px; font-size: 16px; }

  .v3-title + .v3-grid3,
  .v3-title + .v3-grid4,
  .v3-title + .v3-timeline,
  .v3-title + .v3-compare,
  .v3-title + .v3-faq,
  .v3-title + .landing-tariffs-grid { margin-top: 40px; }

  .v3-hero-buttons .btn { width: 100%; }

  .v3-usp,
  .v3-grid2,
  .v3-grid3,
  .v3-grid4,
  .v3-compare,
  .v3-timeline,
  .landing-tariff-group-grid--with-free,
  .landing-tariff-group--credits .landing-tariff-group-grid { grid-template-columns: minmax(0, 1fr); }

  .v3-side { padding: 28px 22px; }

  .v3-faq summary { font-size: 16px; padding: 18px 48px 18px 18px; }

  .v3-faq summary::after { right: 18px; }

  .v3-faq details p { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .v3 *,
  .v3 *::before,
  .v3 *::after {
    animation: none !important;
    transition: none !important;
  }
}
