/* Страницы тарифов — спокойная витрина, без «AI-слопа» */
:root {
  --sp-bg: #e8edf4;
  --sp-surface: #f3f6fb;
  --sp-text: #1a2332;
  --sp-muted: #5a6578;
  --sp-border: rgba(36, 48, 72, 0.12);
  --sp-accent: #2f5bff;
  --sp-accent-soft: rgba(47, 91, 255, 0.1);
  --sp-radius: 16px;
  --sp-shell: 760px;
  --sp-font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sp-font);
  color: var(--sp-text);
  background: var(--sp-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.sp-shell {
  width: min(100% - 2rem, var(--sp-shell));
  margin-inline: auto;
}

.sp-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% -10%, rgba(47, 91, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 0%, rgba(16, 185, 129, 0.08), transparent 55%);
}

.sp-header,
main,
.sp-footer { position: relative; z-index: 1; }

.sp-header {
  border-bottom: 1px solid var(--sp-border);
  background: rgba(243, 246, 251, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}

.sp-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.sp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.sp-nav a { text-decoration: none; opacity: 0.85; }
.sp-nav a:hover { opacity: 1; }

.sp-nav__cta {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--sp-accent);
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 600;
}

.sp-hero { padding: 2.5rem 0 1.5rem; }
.sp-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sp-muted);
}

.sp-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sp-lead {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: var(--sp-muted);
  max-width: 38rem;
}

.sp-price {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.sp-price strong { font-size: 1.35rem; }

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.sp-btn--primary {
  background: var(--sp-accent);
  color: #fff;
}

.sp-btn--primary:hover { filter: brightness(1.05); }

.sp-btn--ghost {
  background: transparent;
  border-color: var(--sp-border);
  color: var(--sp-text);
}

.sp-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 1.25rem 1.35rem;
  margin: 1rem 0;
}

.sp-card--muted { background: rgba(255, 255, 255, 0.45); }

.sp-card--soon {
  border-style: dashed;
  color: var(--sp-muted);
}

.sp-card h2,
.sp-shell > h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.sp-shell > h2 { margin-top: 1.75rem; }

.sp-note {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--sp-accent-soft);
  color: var(--sp-text);
  font-size: 0.95rem;
}

.sp-list {
  margin: 0;
  padding-left: 1.15rem;
}

.sp-list li { margin: 0.4rem 0; }

.sp-list--num { list-style: decimal; }

.sp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sp-steps li {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 1rem 1.15rem;
}

.sp-steps p {
  margin: 0.35rem 0 0;
  color: var(--sp-muted);
}

.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 720px) {
  .sp-split { grid-template-columns: 1fr; }
}

.sp-faq-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }

.sp-faq {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.sp-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.sp-faq p {
  margin: 0.55rem 0 0;
  color: var(--sp-muted);
}

.sp-next-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.sp-next {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--sp-border);
  background: var(--sp-surface);
  text-decoration: none;
}

.sp-next span { color: var(--sp-muted); font-size: 0.9rem; }

.sp-cta {
  margin: 2rem 0 3rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  text-align: center;
}

.sp-cta p { color: var(--sp-muted); margin: 0.5rem auto 1.1rem; max-width: 32rem; }

.sp-cta .sp-hero__actions { justify-content: center; }

.sp-footer {
  border-top: 1px solid var(--sp-border);
  padding: 1.25rem 0 2rem;
  font-size: 0.88rem;
  color: var(--sp-muted);
}

.sp-footer a { text-decoration: none; }

.sp-hub-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.sp-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  background: var(--sp-surface);
  text-decoration: none;
}

.sp-hub-card:hover { border-color: rgba(47, 91, 255, 0.35); }

.sp-hub-card__price {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Короткое анимированное объяснение (не mp4) */
.sp-explain { margin: 0.5rem 0 1.25rem; }
.sp-explain__hint {
  margin: -0.35rem 0 0.85rem;
  color: var(--sp-muted);
  font-size: 0.92rem;
}

.sp-reel {
  --n: 4;
  position: relative;
  min-height: 9.5rem;
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  background:
    linear-gradient(135deg, rgba(47, 91, 255, 0.08), transparent 55%),
    var(--sp-surface);
  overflow: hidden;
}

.sp-reel__scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem 1.25rem 4.25rem;
  opacity: 0;
  transform: translateY(8px);
  animation: spReelScene calc(var(--n) * 3.2s) infinite;
  animation-delay: calc(var(--i) * 3.2s);
}

.sp-reel__num {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--sp-accent);
}

.sp-reel__scene strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.sp-reel__scene p {
  margin: 0;
  color: var(--sp-muted);
  max-width: 32rem;
}

@keyframes spReelScene {
  0%, 2% { opacity: 0; transform: translateY(10px); }
  6%, 22% { opacity: 1; transform: translateY(0); }
  26%, 100% { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .sp-reel {
    min-height: 0;
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
  }
  .sp-reel__scene {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    animation: none;
    padding: 0.65rem 0.75rem 0.65rem 3.4rem;
  }
  .sp-reel__num { top: 0.85rem; transform: none; }
}
