/* Спринт AI — агрессивный вариант лендинга (Claude Design, variant A).
   Оригинал экспорта: design/variant-a-aggressive.dc.html */

:root {
  color-scheme: dark;
  --bg: #0b0b10;
  --bg-alt: #121420;
  --panel: #171a26;
  --panel-2: #1d2233;
  --text: #f6f4ee;
  --muted: #a3a9b8;
  --muted-2: #6f7482;
  --line: rgba(255, 255, 255, 0.14);
  --yellow: #f7d33c;
  --yellow-bright: #ffde6b;
  --coral: #ff5a3c;
  --electric: #5c8dff;
  --dark: #0b0b10;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes step-in {
  0% { opacity: 0; transform: translateX(14px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 211, 60, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(247, 211, 60, 0); }
}

/* Шапка */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px clamp(16px, 4vw, 32px);
  background: rgba(11, 11, 16, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.brand em {
  color: var(--yellow);
  font-style: normal;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--yellow);
}

.brand-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--dark);
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 3vw, 22px);
  font-size: 13.5px;
  font-weight: 700;
}

.topbar-nav a {
  color: var(--text);
  opacity: 0.82;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.topbar-nav a:hover {
  color: var(--yellow);
  opacity: 1;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 10vw, 92px) clamp(16px, 5vw, 32px) clamp(36px, 7vw, 68px);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 90, 60, 0.22), transparent 52%),
    radial-gradient(circle at 88% 4%, rgba(92, 141, 255, 0.18), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(247, 211, 60, 0.05) 0 1px, transparent 1px 26px);
  pointer-events: none;
  animation: drift 7s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 14px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  animation: fade-up 0.6s ease both, glow 2.6s ease-in-out 0.6s infinite;
}

h1 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 62px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  animation: fade-up 0.6s ease 0.08s both;
}

.hero .lead {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.3vw, 19px);
  animation: fade-up 0.6s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  animation: fade-up 0.6s ease 0.24s both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: var(--yellow);
  color: var(--dark);
}

.button.primary:hover {
  background: var(--yellow-bright);
  box-shadow: 0 10px 24px rgba(247, 211, 60, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--yellow);
  background: rgba(247, 211, 60, 0.08);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.hero .disclaimer {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--muted-2);
  font-size: 13.5px;
  animation: fade-up 0.6s ease 0.3s both;
}

.hero-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  animation: fade-up 0.6s ease 0.38s both;
}

.hero-board div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--panel);
  text-align: left;
}

.hero-board strong {
  font-size: 16px;
}

.hero-board span {
  color: var(--muted);
  font-size: 13.5px;
}

/* Секции */

.section {
  padding: clamp(48px, 8vw, 80px) clamp(16px, 5vw, 32px);
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 28px;
}

.section-heading.narrow {
  max-width: 860px;
}

.section-heading.center {
  text-align: center;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Единая цветовая семантика (фидбэк респондента): жёлтый — ведущий бренд-акцент
   (логотип, CTA, выделение), коралловый — риски/предупреждения, электрик — второстепенная
   информация. Ховеры карточек — только бренд-жёлтый. */
.card.hl-yellow:hover,
.card.hl-coral:hover,
.card.hl-electric:hover { border-color: var(--yellow); }

/* Что ты получишь */

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

.feature-card strong {
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

/* Все точки — бренд-жёлтые: артефакты пакета равнозначны, разноцветность читалась как случайность. */
.dot.yellow,
.dot.coral,
.dot.electric { background: var(--yellow); }
.dot.coral { animation-delay: 0.2s; }
.dot.electric { animation-delay: 0.4s; }

/* Чем мы НЕ являемся */

.contrast {
  background: var(--yellow);
  color: var(--dark);
}

.contrast-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 32px;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}

.contrast h2 {
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
}

.contrast p {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.contrast ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contrast li {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--yellow);
  font-weight: 800;
}

/* Процесс */

.step-card {
  min-height: 200px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--panel-2);
  font-weight: 900;
}

/* Номера шагов равнозначны — единый бренд-жёлтый. */
.step-card .step-num { color: var(--yellow); }

.step-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

/* Пример результата */

.preview-card {
  padding: 24px;
}

/* Ведущая карточка примера — вердикт крупно и ярко (бренд-жёлтый). */
.preview-card.verdict {
  border-color: var(--yellow);
  background: var(--panel-2);
}

.preview-label {
  color: var(--yellow);
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
}

.preview-card h3 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}

.preview-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.preview-card .metric {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.preview-card .metric b {
  color: var(--yellow);
}

.preview-card ol {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

/* Кому подходит */

.audience-card {
  min-height: 120px;
  font-size: 17px;
  font-weight: 700;
}

/* Тарифы */

.price-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.price-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.price-card.selected {
  border-color: var(--yellow);
}

.price-card.featured {
  background: var(--panel-2);
}

.price-card strong {
  font-family: var(--font-display);
  font-size: 19px;
}

.price-card .price {
  color: var(--yellow);
  font-size: 24px;
  font-weight: 900;
}

.price-card small {
  color: var(--muted);
}

.price-card .price-sub {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
}

/* «Всё из младшего тарифа, плюс:» — показывает лестницу ценности. */
.price-card .inherits {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
}

.price-features {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

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

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 900;
}

.price-card .cta {
  margin-top: 8px;
  color: var(--yellow);
  font-weight: 800;
}

.guided-bar {
  display: grid;
  gap: 12px;
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 22px 24px;
  border: 1px dashed var(--electric);
  border-radius: 14px;
  background: var(--panel);
}

.guided-bar .guided-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.guided-bar strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.guided-bar .guided-price {
  color: var(--electric);
  font-weight: 900;
}

.guided-bar p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 14.5px;
}

.guided-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--electric);
  border-radius: 8px;
  background: transparent;
  color: var(--electric);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.guided-toggle:hover {
  background: rgba(92, 141, 255, 0.14);
}

.guided-toggle.on {
  background: var(--electric);
  color: var(--dark);
}

/* Анкета */

.progress-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 8px;
}

.progress-bar .step-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.progress-track {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-2);
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--yellow);
  transition: width 0.25s ease;
}

.panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  animation: step-in 0.35s ease both;
}

fieldset[hidden] {
  display: none;
}

legend {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: var(--coral);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(247, 211, 60, 0.5);
  outline-offset: 2px;
}

.field-group {
  display: grid;
  gap: 7px;
  margin-bottom: 6px;
  font-weight: 700;
}

.field-group .plan-name {
  color: var(--yellow);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.segmented label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-alt);
  font-weight: 600;
}

.segmented input,
.checkbox input,
.plan-options input {
  width: auto;
  min-height: auto;
  flex: none;
}

.plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.plan-option {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--bg-alt);
  cursor: pointer;
}

.plan-option.selected {
  border-color: var(--yellow);
}

.plan-option .plan-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.plan-option input {
  width: 18px;
  height: 18px;
}

.plan-option small {
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 14px 0 0;
  font-weight: 600;
}

.checkbox input {
  width: 20px;
  height: 20px;
}

.checkbox a {
  color: var(--electric);
}

.form-nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.form-nav .back {
  flex: 1;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.form-nav .back:hover {
  border-color: var(--yellow);
}

.form-nav .next {
  flex: 2;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--dark);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.form-nav .next:hover {
  background: var(--yellow-bright);
  transform: translateY(-2px);
}

.form-nav .submit {
  flex: 2;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.form-nav .submit:hover:not(:disabled) {
  transform: translateY(-2px);
}

.step1-next {
  width: 100%;
  margin-top: 16px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--dark);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.step1-next:hover {
  background: var(--yellow-bright);
  transform: translateY(-2px);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 13.5px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  overflow: hidden;
  font-weight: 800;
}

.form-status.ok { color: var(--yellow); }
.form-status.error { color: var(--coral); }

.success-box {
  padding: 18px 4px 4px;
  text-align: center;
  animation: pop-in 0.4s ease both;
}

.success-box[hidden] {
  display: none;
}

.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 26px;
  font-weight: 900;
}

.success-box h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
}

.success-box p {
  margin: 0;
  color: var(--muted);
}

/* Сертификат первой волны на экране успеха (TASK-20260703-050) */
.success-cert {
  margin-top: 18px;
  padding: 16px 14px;
  border: 1px dashed rgba(247, 211, 60, 0.55);
  border-radius: 12px;
}

.success-cert[hidden] {
  display: none;
}

/* Селекторы с .success-box — чтобы перебить цвет/отступы правила .success-box p без !important. */
.success-box .cert-lead {
  margin: 0 0 8px;
  font-weight: 600;
}

.success-box .cert-code {
  margin: 0 0 10px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.cert-link {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

.cert-link:hover {
  text-decoration: underline;
}

/* Скрытое поле-приманка для примитивных ботов */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ */

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq h2 {
  margin-bottom: 20px;
}

.faq details {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

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

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Футер */

footer {
  padding: clamp(32px, 6vw, 48px) clamp(16px, 5vw, 32px);
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.footer-inner .promise {
  margin: 0;
  color: var(--yellow);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-links a {
  color: var(--muted);
}

.age-badge {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.footer-inner .copyright {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

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