/* ============================================================
   OSNOVATOR LANDING — Design System
   Графитовый dark + фиолетовый неон + янтарные акценты
   ============================================================ */

:root {
  /* Поверхности */
  --bg-base: #09090B;
  --bg-elevated: #0D0D11;
  --bg-card: rgba(20, 20, 22, 0.55);
  --bg-card-solid: #141416;
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-input-focus: rgba(255, 255, 255, 0.07);

  /* Рамки */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(255, 255, 255, 0.14);

  /* Текст */
  --text-primary: #F8FAFC;
  --text-secondary: #E5E7EB;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Акценты */
  --accent: #8B5CF6;
  --accent-hover: #A855F7;
  --accent-deep: #7C3AED;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-glow: rgba(139, 92, 246, 0.35);

  /* Тёплый glow */
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.10);

  /* Семантика */
  --success: #10B981;
  --danger: #EF4444;

  /* Типографика */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Радиусы */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Тени */
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.25);
  --shadow-glow-soft: 0 0 30px rgba(139, 92, 246, 0.14);
  --shadow-amber: 0 0 40px rgba(245, 158, 11, 0.18);

  /* Анимации */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms var(--ease-out);
  --t-base: 250ms var(--ease-out);
  --t-slow: 400ms var(--ease-out);
  --t-xslow: 600ms var(--ease-out);

  /* Сетка */
  --max-width: 1240px;
  --section-pad: 120px;
  --side-pad: 32px;
}

/* ============================================================
   Базовый сброс
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Двойной радиальный glow на фоне + медленный дрейф (animated mesh) */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, var(--accent-soft) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 90% 100%, var(--amber-soft) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(124, 58, 237, 0.10) 0%, transparent 55%);
  animation: mesh-drift 24s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(139, 92, 246, 0.04) 0%, transparent 25%),
    radial-gradient(circle at 75% 70%, rgba(245, 158, 11, 0.03) 0%, transparent 25%);
  background-size: 1200px 1200px;
  background-position: 0 0, 600px 600px;
  opacity: 0.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul {
  list-style: none;
}

/* ============================================================
   Типографика
   ============================================================ */
h1, h2, h3, h4, h5 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, #A855F7 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   Контейнер
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  min-height: 48px;
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  box-shadow: 0 0 30px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.20);
}

.btn-success {
  background: var(--success);
  color: white;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.4);
}

.btn-amber {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  color: #1A1A1F;
  box-shadow: 0 0 30px var(--amber-soft);
}

.btn-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.4);
}

.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
  transition: transform var(--t-fast);
}

.btn:focus-visible {
  outline: 2px solid rgba(232, 222, 255, 0.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.28);
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* ============================================================
   Glass-карточка
   ============================================================ */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--t-base);
  position: relative;
}

.glass:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

.glass-glow {
  position: relative;
}

.glass-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--amber) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.header-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotate(-8deg);
  transition: transform 0.3s var(--ease-out);
}

.header-logo:hover .header-logo__mark {
  transform: rotate(0deg) scale(1.05);
}

.header-logo__mark svg {
  width: 20px;
  height: 20px;
}

.header-logo__text {
  font-family: var(--font-sans);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-fast);
  min-height: 40px;
  letter-spacing: 0.05em;
}

.lang-switch:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
}

.lang-switch svg {
  width: 14px;
  height: 14px;
}

.header-btn-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.header-btn-login:hover {
  color: var(--text-primary);
}

.header-btn-register {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
  transition: all var(--t-fast);
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 100%);
}

.header-btn-register:hover {
  background: var(--accent);
  box-shadow: 0 0 30px var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 80px;
  padding-bottom: var(--section-pad);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #C4B5FD;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hero-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A855F7;
}

.hero-feature-icon svg {
  width: 16px;
  height: 16px;
}

.hero-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.hero-feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Hero form card */
.hero-form-card {
  padding: 28px;
  position: relative;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.hero-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-form-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse-dot 2s var(--ease-out) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-form-header span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.brief-textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  background: var(--bg-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  transition: all var(--t-fast);
}

.brief-textarea:focus {
  outline: none;
  background: var(--bg-input-focus);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.brief-textarea::placeholder {
  color: var(--text-dim);
}

.hero-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-form-actions .btn {
  flex-shrink: 0;
}

.manual-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.manual-link:hover {
  color: var(--text-primary);
}

.hero-form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-muted);
}

.hero-form-note svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================================
   EXAMPLES — слайдер
   ============================================================ */
.examples-section {
  position: relative;
}

.slider-wrap {
  position: relative;
  margin-top: 48px;
}

.slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 8px 32px;
  margin: 0 -8px;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 auto;
  width: 480px;
  max-width: 80vw;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all var(--t-base);
}

.slide:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-soft);
}

.slide-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.slide-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: 12px;
}

.slide-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 8px 0 0 rgba(255, 255, 255, 0.4), 16px 0 0 rgba(255, 255, 255, 0.4);
  z-index: 3;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
  animation: slide-scroll 8s linear infinite;
  animation-play-state: paused;
}

.slide:hover .slide-image {
  animation-play-state: running;
}

@keyframes slide-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.slide-info {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.slide-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.slide-badge {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(139, 92, 246, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--t-fast);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-soft);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-btn:disabled:hover {
  background: var(--bg-card);
  border-color: var(--glass-border);
  box-shadow: none;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all var(--t-fast);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  position: relative;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--amber-soft) 100%);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.brief-magic-demo {
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}

.brief-magic-demo .hero-demo-screen {
  display: block;
  min-height: 0;
  padding: 30px;
  background:
    radial-gradient(circle at 18% 10%, rgba(168, 85, 247, 0.08), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.055), transparent 30%),
    rgba(0, 0, 0, 0.12);
}

.brief-magic-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: stretch;
  gap: 22px;
  min-width: 0;
}

.brief-magic-top::before {
  content: "";
  position: absolute;
  inset: 8px 18% auto;
  height: 150px;
  background: radial-gradient(circle at 48% 46%, rgba(168, 85, 247, 0.16), rgba(34, 211, 238, 0.06) 44%, transparent 72%);
  filter: blur(34px);
  pointer-events: none;
}

.brief-magic-form,
.brief-magic-outcome {
  position: relative;
  align-self: stretch;
  z-index: 1;
}

.brief-magic-form-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(7, 9, 16, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 70px rgba(0, 0, 0, 0.24);
}

.brief-magic-form-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brief-magic-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(148, 163, 184, 0.95);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brief-magic-form-eyebrow::before {
  content: "✦";
  color: rgba(168, 85, 247, 0.95);
  font-size: 11px;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}

.brief-magic-form-hint {
  color: rgba(203, 213, 225, 0.65);
  font-size: 12.5px;
  line-height: 1.5;
}

.brief-magic-form-card .brief-magic-form.cta-prompt {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.brief-magic-form-card .brief-magic-form.cta-prompt::before {
  content: none;
}

.brief-magic-form-card .brief-magic-form.cta-prompt::after {
  content: none;
}

.brief-magic-form-card .brief-magic-form-input.cta-prompt-input {
  display: block;
  width: 100%;
  min-height: 240px;
  padding: 28px 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(6, 8, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.22);
  resize: vertical;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  vertical-align: top;
  text-align: left;
  will-change: auto;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.brief-magic-form-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 240px;
  padding: 28px 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(6, 8, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.22);
  resize: vertical;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  vertical-align: top;
  text-align: left;
  will-change: auto;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.brief-magic-form-input::placeholder {
  color: rgba(203, 213, 225, 0.5);
}

.brief-magic-form-input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 10, 19, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.brief-magic-submit {
  display: inline-flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.005em;
  box-shadow: 0 22px 60px rgba(139, 92, 246, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.05) inset, inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}

.brief-magic-submit::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
  color: #ffffff;
  transition: transform var(--t-base);
}

.brief-magic-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 28px 78px rgba(168, 85, 247, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07) inset, inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brief-magic-submit:hover::after {
  transform: translateX(3px);
}

.brief-magic-submit:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.brief-magic-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brief-magic-chips-label {
  color: rgba(148, 163, 184, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brief-magic-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.brief-magic-chip {
  white-space: nowrap;
  max-width: 100%;
}

.brief-magic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.brief-magic-chip::before {
  content: "✦";
  color: rgba(168, 85, 247, 0.95);
  font-size: 10px;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}

.brief-magic-chip:hover {
  color: var(--text-primary);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.1);
  transform: translateY(-1px);
}

.brief-magic-outcome::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.12));
  opacity: 0.42;
  pointer-events: none;
  z-index: -1;
}

.brief-magic-outcome {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(139, 92, 246, 0.08)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.brief-magic-outcome-kicker,
.brief-magic-outcome-label,
.brief-magic-outcome-hint {
  display: block;
}

.brief-magic-outcome-kicker {
  color: rgba(52, 211, 153, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brief-magic-outcome-label {
  color: var(--text-primary);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 800;
  line-height: 1.28;
  max-width: 440px;
}

.brief-magic-outcome-hint {
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.94rem;
  line-height: 1.55;
}

.brief-magic-outcome-detect {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brief-magic-outcome-detect-eyebrow {
  color: rgba(148, 163, 184, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brief-magic-outcome-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-magic-outcome-list span {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.22);
  color: rgba(232, 222, 255, 0.92);
  font-size: 12px;
  font-weight: 650;
}

.brief-magic-outcome-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brief-magic-outcome-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.brief-magic-outcome-stat-value {
  color: var(--text-primary);
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brief-magic-outcome-stat-label {
  color: rgba(203, 213, 225, 0.65);
  font-size: 11.5px;
  line-height: 1.35;
}


.mockup-photo,
.mockup-kicker,
.mockup-title,
.mockup-copy,
.mockup-button,
.mockup-card {
  position: relative;
  display: block;
  border-radius: 999px;
  z-index: 1;
}

.mockup-photo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34%;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.74), rgba(236, 72, 153, 0.62));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.mockup-kicker {
  width: 54px;
  height: 7px;
  margin-top: 8px;
  background: rgba(245, 158, 11, 0.66);
}

.mockup-title {
  width: 46%;
  height: 14px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.mockup-title::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 68%;
  height: 14px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.52);
}

.mockup-copy {
  width: 42%;
  height: 5px;
  margin-top: 46px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 11px 0 rgba(255, 255, 255, 0.17),
    0 22px 0 rgba(255, 255, 255, 0.11);
}

.mockup-button {
  width: 68px;
  height: 20px;
  margin-top: 32px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.24);
}

.mockup-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 32%;
  height: 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   TARIFFS
   ============================================================ */
.tariffs-section {
  position: relative;
}

.tariffs-step {
  margin-bottom: 80px;
  position: relative;
}

.tariffs-step:nth-child(3) {
  margin-left: 5%;
}

.tariff-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.tariff-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #A855F7;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tariff-step-meta h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.tariff-step-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tariff-step-grid {
  display: grid;
  gap: 24px;
}

.tariff-step-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.tariff-step-grid.cols-1 {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Big featured tariff (step 1) */
.tariff-featured {
  padding: 48px;
  position: relative;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10) 0%, rgba(245, 158, 11, 0.06) 100%), var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.tariff-featured::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 20% 30%, var(--accent-soft) 0%, transparent 60%);
  z-index: -1;
  filter: blur(50px);
}

.tariff-featured-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.tariff-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  color: #1A1A1F;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tariff-featured h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tariff-featured p.tariff-desc {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.tariff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.tariff-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.tariff-list-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A855F7;
  margin-top: 1px;
}

.tariff-list-icon svg {
  width: 12px;
  height: 12px;
}

.tariff-price-block {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.tariff-price-old {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.tariff-price {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #A855F7 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tariff-price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.tariff-price-note {
  max-width: 260px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Regular tariff cards (launch options / services) */
.tariff-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.tariff-card-recommended {
  border-color: rgba(139, 92, 246, 0.68);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.06)),
    var(--bg-card);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.22),
    0 24px 70px rgba(139, 92, 246, 0.24);
}

.tariff-card-recommended .tariff-recommend-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  color: white;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35);
}

.tariff-card-recommended .btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.34);
}

.tariff-card-secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.tariff-card-secondary .btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-secondary);
}

.tariff-card h4 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tariff-card h4 svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.tariff-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.tariff-card-price .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tariff-card-price .period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tariff-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex: 1;
}

.tariff-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.tariff-card ul li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

.tariff-warning {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #FCD34D;
  margin-bottom: 20px;
}

.tariff-warning svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--amber);
}

.tariff-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 12px;
  text-align: center;
}

.tariff-card .btn {
  width: 100%;
}

.tariffs-services-floor {
  margin-top: 72px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.03);
}

.tariff-services-header {
  max-width: 620px;
  margin-bottom: 28px;
}

.tariff-services-header h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.tariff-services-header p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-base);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(20, 20, 22, 0.7);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}

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

.faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--t-base);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A855F7' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.faq-item .faq-answer {
  padding: 0 28px 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.case-card {
  padding: 48px;
  max-width: 900px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%), var(--bg-card);
}

.case-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-soft);
  box-shadow: 0 0 40px var(--accent-soft);
}

.case-content h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.case-role {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.case-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.case-metrics {
  display: flex;
  gap: 32px;
}

.case-metric {
  text-align: left;
}

.case-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.case-metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* School banner */
.school-banner {
  padding: 48px;
  text-align: center;
}

.school-badge {
  display: inline-block;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(245, 243, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(168, 85, 247, 0.16);
}

.school-banner h3 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.school-banner p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.school-tiers {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.school-tier {
  position: relative;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 46px rgba(0, 0, 0, 0.2);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.school-tier:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 58px rgba(0, 0, 0, 0.25), 0 0 34px rgba(139, 92, 246, 0.14);
}

.school-tier-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  color: rgba(232, 222, 255, 0.95);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.22);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.16);
}

.school-tier-icon svg {
  width: 19px;
  height: 19px;
}

.school-tier h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.school-tier-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.school-tier-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.school-cta {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 222, 255, 0.9));
  color: #17111f;
  box-shadow: 0 18px 44px rgba(139, 92, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.school-cta:hover {
  color: #120d1a;
  box-shadow: 0 22px 58px rgba(168, 85, 247, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding-bottom: var(--section-pad);
}

.final-cta-card {
  padding: 48px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.final-cta-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* Интегрированное поле-«промпт» со встроенной кнопкой */
.cta-prompt {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-prompt::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36) 0%, rgba(168, 85, 247, 0.82) 44%, rgba(34, 211, 238, 0.42) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.58;
  transition: opacity var(--t-base), filter var(--t-base);
  pointer-events: none;
}

.cta-prompt:focus-within::before {
  opacity: 0.95;
}

.cta-prompt-magic {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 222, 255, 0.95);
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.13);
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.24);
  pointer-events: none;
  z-index: 2;
}

.cta-prompt-magic svg {
  width: 16px;
  height: 16px;
}

.cta-prompt-input {
  width: 100%;
  min-height: 104px;
  padding: 22px 76px 22px 58px;
  background: rgba(8, 10, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.55;
  resize: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 54px rgba(0, 0, 0, 0.26);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  will-change: auto;
}

.cta-prompt-input:focus {
  outline: none;
  background: rgba(11, 14, 24, 0.82);
  border-color: rgba(168, 85, 247, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 50px rgba(139, 92, 246, 0.18);
}

.cta-prompt-input::placeholder {
  color: rgba(203, 213, 225, 0.6);
}

.cta-prompt-send {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 48px;
  height: 48px;
  border: 0;
  outline: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 222, 255, 0.9) 100%);
  color: #17111f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(139, 92, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: transform var(--t-base), box-shadow var(--t-base);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}

.cta-prompt-send:focus,
.cta-prompt-send:focus-visible {
  outline: 2px solid rgba(232, 222, 255, 0.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.32), 0 18px 42px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.cta-prompt-send:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 22px 58px rgba(168, 85, 247, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.cta-prompt-send svg {
  width: 20px;
  height: 20px;
}

/* Чипы-подсказки */
.cta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 20px auto 0;
}

.cta-chips-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  width: 100%;
  margin-bottom: 2px;
}

.cta-chip {
  position: relative;
  padding: 9px 17px 9px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all var(--t-fast);
}

.cta-chip::before {
  content: "✦";
  position: absolute;
  left: 13px;
  top: 50%;
  color: rgba(168, 85, 247, 0.9);
  font-size: 10px;
  transform: translateY(-50%);
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.65);
}

.cta-chip:hover {
  color: var(--text-primary);
  border-color: rgba(168, 85, 247, 0.42);
  background: rgba(168, 85, 247, 0.13);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 34px rgba(139, 92, 246, 0.16);
}

/* Trust-строка */
.cta-trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.82);
}

.cta-trust svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--accent-hover);
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.48));
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  width: fit-content;
  margin-bottom: 16px;
}

.footer-logo .header-logo__mark {
  width: 32px;
  height: 32px;
}

.footer-logo .header-logo__text {
  font-size: 18px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-requisites {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  gap: 16px;
}

.footer-copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* ============================================================
   FADE-IN АНИМАЦИЯ
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-xslow), transform var(--t-xslow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-xslow), transform var(--t-xslow);
}

.fade-in-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

/* ============================================================
   NOISE / GRAIN TEXTURE
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   AMBIENT CURSOR BLOB (subtle follow on desktop)
   ============================================================ */
.cursor-blob {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-blob.active {
    opacity: 1;
  }
}

/* ============================================================
   FEATURE SHOWCASE (world-class bento story)
   ============================================================ */
.feature-showcase {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px) 50% 0 / 92px 92px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 50% 0 / 92px 92px,
    radial-gradient(ellipse 72% 58% at 50% 0%, rgba(139, 92, 246, 0.14), transparent 68%),
    radial-gradient(ellipse 56% 42% at 86% 82%, rgba(245, 158, 11, 0.08), transparent 66%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.48), rgba(13, 13, 17, 0.90));
}

.feature-showcase::before,
.feature-showcase::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.feature-showcase::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.94) 0%, transparent 18%, transparent 82%, rgba(9, 9, 11, 0.88) 100%),
    radial-gradient(ellipse 42% 75% at 22% 34%, rgba(139, 92, 246, 0.20), transparent 70%),
    radial-gradient(ellipse 34% 68% at 82% 18%, rgba(245, 158, 11, 0.12), transparent 68%);
}

.feature-showcase::after {
  inset: 10% -18%;
  z-index: 0;
  background: linear-gradient(112deg, transparent 20%, rgba(255, 255, 255, 0.07) 46%, rgba(139, 92, 246, 0.10) 52%, transparent 74%);
  opacity: 0.46;
  transform: rotate(-3deg);
  filter: blur(20px);
}

.feature-showcase-orb,
.feature-showcase-beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.feature-showcase-orb {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.42;
  mix-blend-mode: screen;
}

.feature-showcase-orb--violet {
  top: 10%;
  left: -150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.30), transparent 66%);
}

.feature-showcase-orb--amber {
  right: -140px;
  bottom: 6%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.20), transparent 68%);
}

.feature-showcase-beam {
  inset: 18% -16% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.30), rgba(245, 158, 11, 0.20), transparent);
  box-shadow: 0 0 78px rgba(139, 92, 246, 0.28);
  transform: rotate(-2deg);
  opacity: 0.58;
}

.feature-showcase .container {
  position: relative;
  z-index: 1;
}

.feature-showcase-header {
  max-width: 760px;
  margin-bottom: 72px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-showcase .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(245, 158, 11, 0.06));
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(232, 228, 255, 0.92);
}

.feature-showcase .section-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.80);
  flex: none;
}

.feature-showcase-header h2 {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 20px;
}

.feature-showcase-header h2 .highlight {
  color: var(--violet);
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.feature-showcase-header p {
  max-width: 620px;
  margin: 0;
  color: rgba(212, 212, 216, 0.72);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
}

.feature-showcase-cta {
  margin-top: 36px;
  align-self: flex-start;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature-bento-card {
  position: relative;
  min-height: 288px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(139, 92, 246, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.024)),
    rgba(12, 12, 16, 0.78);
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.1);
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

.feature-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.30), rgba(139, 92, 246, 0.18) 36%, rgba(245, 158, 11, 0.14) 70%, rgba(255, 255, 255, 0.06));
  opacity: 0.56;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.feature-bento-card::after {
  content: '';
  position: absolute;
  inset: auto -18% -42%;
  height: 170px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.17), transparent 68%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}

.feature-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.34);
  box-shadow: 0 34px 104px rgba(0, 0, 0, 0.42), 0 0 54px rgba(139, 92, 246, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.feature-bento-card:hover::after {
  opacity: 1;
}

.feature-bento-card > * {
  position: relative;
  z-index: 1;
}

.feature-bento-card h3 {
  margin: 0;
  max-width: 560px;
  color: var(--text-primary);
  font-size: clamp(1.28rem, 2.1vw, 1.86rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.feature-bento-card p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(212, 212, 216, 0.82);
  font-size: 0.96rem;
  line-height: 1.65;
}

.feature-bento-eyebrow {
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-bento-card--hero {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 594px;
  padding: 34px;
  background:
    radial-gradient(ellipse 72% 48% at 20% 8%, rgba(139, 92, 246, 0.22), transparent 62%),
    radial-gradient(ellipse 58% 42% at 86% 90%, rgba(245, 158, 11, 0.12), transparent 64%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.024)),
    rgba(12, 12, 16, 0.82);
}

.feature-bento-card--hero h3 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  max-width: 680px;
}

.feature-bento-card--mockup,
.feature-bento-card--strategy {
  grid-column: span 5;
}

.feature-bento-card--editor,
.feature-bento-card--code,
.feature-bento-card--leads {
  grid-column: span 4;
  min-height: 260px;
}

.feature-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.feature-flow span {
  position: relative;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(244, 244, 245, 0.86);
  font-size: 0.78rem;
  font-weight: 760;
  text-align: center;
}

.feature-flow span:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: rgba(139, 92, 246, 0.42);
}

.feature-hero-visual {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
    rgba(5, 5, 8, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-brief-card,
.feature-launch-card,
.feature-agent-stack {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(18, 18, 22, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.30);
}

.feature-brief-card {
  left: 20px;
  top: 24px;
  width: 190px;
  padding: 18px;
}

.feature-brief-card span {
  display: block;
  height: 9px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.feature-brief-card span:nth-child(1) { width: 82%; background: rgba(139, 92, 246, 0.34); }
.feature-brief-card span:nth-child(2) { width: 62%; }
.feature-brief-card span:nth-child(3) { width: 74%; margin-bottom: 0; }

.feature-agent-stack {
  left: 50%;
  top: 42px;
  width: 150px;
  padding: 16px;
  transform: translateX(-50%);
}

.feature-agent-stack i {
  display: block;
  height: 12px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(139, 92, 246, 0.18));
}

.feature-agent-stack i:nth-child(2) { width: 78%; background: linear-gradient(90deg, var(--amber), rgba(245, 158, 11, 0.12)); }
.feature-agent-stack i:nth-child(3) { width: 56%; margin-bottom: 0; }

.feature-launch-card {
  right: 20px;
  bottom: 24px;
  min-width: 174px;
  padding: 18px;
}

.feature-launch-card strong {
  display: block;
  color: #34d399;
  font-size: 1.32rem;
  letter-spacing: 0.12em;
}

.feature-launch-card small {
  color: var(--text-muted);
}

.feature-mini-window,
.feature-insight-panel,
.feature-chat-preview,
.feature-code-preview,
.feature-leads-stack {
  margin-bottom: 24px;
}

.feature-mini-window {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(8, 8, 12, 0.46);
}

.feature-window-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.feature-window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.feature-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-preview-card {
  min-height: 112px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-preview-card.is-active {
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.18);
}

.feature-preview-card span,
.feature-preview-card b,
.feature-preview-card small {
  display: block;
  border-radius: 8px;
}

.feature-preview-card span {
  height: 36px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.50), rgba(245, 158, 11, 0.24));
}

.feature-preview-card b {
  width: 78%;
  height: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.24);
}

.feature-preview-card small {
  width: 54%;
  height: 7px;
  background: rgba(255, 255, 255, 0.13);
}

.feature-insight-panel {
  display: grid;
  gap: 10px;
}

.feature-insight-panel div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-insight-panel span,
.feature-chat-preview span,
.feature-code-preview span,
.feature-leads-stack span {
  color: rgba(212, 212, 216, 0.78);
  font-size: 0.78rem;
}

.feature-insight-panel strong {
  color: var(--text-primary);
  font-size: 0.92rem;
}

.feature-chat-preview {
  display: grid;
  gap: 10px;
}

.feature-chat-preview span,
.feature-chat-preview strong {
  width: fit-content;
  max-width: 100%;
  padding: 11px 13px;
  border-radius: 16px;
}

.feature-chat-preview span {
  background: rgba(255, 255, 255, 0.07);
}

.feature-chat-preview strong {
  justify-self: end;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(245, 158, 11, 0.10));
  font-size: 0.82rem;
}

.feature-code-preview {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(5, 5, 8, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.feature-code-preview span::before {
  content: '› ';
  color: var(--accent);
}

.feature-leads-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-leads-stack span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

@media (max-width: 1024px) {
  .feature-bento-card--hero,
  .feature-bento-card--mockup,
  .feature-bento-card--strategy {
    grid-column: span 12;
  }

  .feature-bento-card--editor,
  .feature-bento-card--code,
  .feature-bento-card--leads {
    grid-column: span 4;
  }

  .feature-bento-card--hero {
    min-height: 560px;
  }
}

@media (max-width: 768px) {
  .feature-showcase {
    padding: 80px 0;
  }

  .feature-showcase-header {
    margin-bottom: 40px;
  }

  .feature-bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-bento-card,
  .feature-bento-card--hero,
  .feature-bento-card--mockup,
  .feature-bento-card--strategy,
  .feature-bento-card--editor,
  .feature-bento-card--code,
  .feature-bento-card--leads {
    grid-column: auto;
    min-height: auto;
  }

  .feature-bento-card--hero {
    padding-bottom: 260px;
  }

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

  .feature-flow span:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .feature-showcase {
    padding: 68px 0;
  }

  .feature-showcase-orb {
    opacity: 0.30;
  }

  .feature-bento-card {
    padding: 22px;
    border-radius: 24px;
  }

  .feature-bento-card--hero {
    padding-bottom: 238px;
  }

  .feature-hero-visual {
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 190px;
  }

  .feature-brief-card {
    width: 136px;
    left: 14px;
  }

  .feature-agent-stack {
    width: 112px;
    top: 72px;
  }

  .feature-launch-card {
    right: 14px;
    min-width: 132px;
  }

  .feature-preview-grid {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-bento-card,
  .feature-bento-card::after {
    transition: none;
  }

  .feature-bento-card:hover {
    transform: none;
  }
}

/* ============================================================
   STATS SECTION (animated counters)
   ============================================================ */
.stats-section {
  padding: 100px 0;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stats-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
}

.stats-header h2 {
  margin-bottom: 12px;
}

.stats-header p {
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stats-cell {
  padding: 40px 32px;
  text-align: left;
  border-right: 1px solid var(--glass-border);
  position: relative;
  transition: background var(--t-base);
}

.stats-cell:last-child {
  border-right: none;
}

.stats-cell:hover {
  background: rgba(139, 92, 246, 0.04);
}

.stats-value {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stats-value::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 16px;
}

.stats-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================================
   PROCESS TIMELINE (5 steps)
   ============================================================ */
.process-section {
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 8px;
}

/* Линия скрыта: шаги читаются как отдельные узлы без вертикального провода */
.process-rail {
  display: none;
}

.process-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-hover), var(--accent) 60%, var(--amber));
  box-shadow: 0 0 12px var(--accent-glow);
  border-radius: inherit;
  will-change: height;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  opacity: 0.4;
  filter: saturate(0.4);
  transition: opacity var(--t-slow), filter var(--t-slow);
}

.process-step.is-active,
.process-step.is-done {
  opacity: 1;
  filter: saturate(1);
}

.process-step-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.process-step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--t-base);
}

.process-step.is-active .process-step-circle {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, var(--accent-soft), var(--amber-soft));
  box-shadow: 0 0 50px var(--accent-glow);
  transform: scale(1.04);
}

.process-step.is-done .process-step-circle {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, var(--accent-soft), var(--amber-soft));
  box-shadow: 0 0 28px var(--accent-soft);
}

.process-step:hover .process-step-circle {
  transform: scale(1.06);
  box-shadow: 0 0 60px var(--accent-glow);
}

.process-step-circle img {
  width: 44px;
  height: 44px;
  transition: opacity var(--t-base), transform var(--t-base);
}

/* Бейдж с номером → морфит в галочку при done */
.process-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--t-base);
}

.process-step.is-active .process-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.process-step.is-done .process-step-num {
  opacity: 0;
  transform: scale(0.4);
}

.process-step-check {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-base);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--t-base), transform var(--t-base);
}

.process-step-check svg {
  width: 13px;
  height: 13px;
}

.process-step.is-done .process-step-check {
  opacity: 1;
  transform: scale(1);
}

.process-step-content {
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-base);
}

.process-step.is-active .process-step-content {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 30px var(--accent-soft);
}

.process-step:hover .process-step-content {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-soft);
}

.process-step-content h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.process-step-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.process-step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .process-step {
    opacity: 1;
    filter: saturate(1);
    transition: none;
  }
  .process-rail-fill { box-shadow: none; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-section {
  position: relative;
}

.comparison-table {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-fast);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:not(.comparison-header):hover {
  background: rgba(139, 92, 246, 0.04);
}

.comparison-cell {
  padding: 20px 28px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-row .comparison-cell:nth-child(2) {
  color: var(--text-primary);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.10), transparent);
}

.comparison-row .comparison-cell:nth-child(3) {
  color: var(--text-muted);
}

.comparison-header {
  background: rgba(139, 92, 246, 0.06);
}

.comparison-header .comparison-cell {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  padding: 16px 28px;
}

.comparison-header .comparison-cell:nth-child(2) {
  color: var(--accent);
  font-weight: 700;
  background: rgba(139, 92, 246, 0.12);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.comparison-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.comparison-check svg {
  width: 10px;
  height: 10px;
}

.comparison-cross {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ============================================================
   TESTIMONIALS GRID
   ============================================================ */
.testimonials-section {
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.testimonial-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--t-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 40px var(--accent-soft);
}

.testimonial-quote-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-star {
  width: 16px;
  height: 16px;
  color: #F59E0B;
  fill: #F59E0B;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  flex-shrink: 0;
}

.testimonial-author-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-metrics {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.testimonial-metric {
  flex: 1;
  text-align: center;
}

.testimonial-metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.testimonial-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   COMMUNITY (Telegram, в футере)
   ============================================================ */
.community {
  margin: 48px 0 64px;
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10) 0%, rgba(20, 20, 22, 0.55) 60%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.community::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}

.community-content {
  position: relative;
  max-width: 540px;
}

.community-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hover);
  margin-bottom: 10px;
}

.community-content h4 {
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.community-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.community-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 30px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.community-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.community-cta-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.community-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.community-members {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   ENHANCED HERO (depth elements)
   ============================================================ */
.hero-content {
  position: relative;
}

.hero-floating-card {
  position: absolute;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 5;
  white-space: nowrap;
}

.hero-floating-card .floating-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card .floating-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.hero-floating-card .floating-icon svg {
  width: 12px;
  height: 12px;
}

.hero-floating-card.top-right {
  top: -16px;
  right: -32px;
  animation: float-card 6s ease-in-out infinite;
}

.hero-floating-card.bottom-left {
  bottom: 40px;
  left: -48px;
  animation: float-card 7s ease-in-out infinite reverse;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #6EE7B7;
  margin-bottom: 24px;
}

.hero-live-indicator .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 1.6s var(--ease-out) infinite;
}

/* ============================================================
   DEVICE FRAME (realistic laptop mockup)
   ============================================================ */
.device-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1A1A1F;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--glass-border);
  border-bottom: none;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 40px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 92, 246, 0.05);
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(20, 20, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 5;
  display: flex;
  align-items: center;
  padding-left: 14px;
}

.device-frame::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 14px 0 0 rgba(255, 255, 255, 0.2), 28px 0 0 rgba(255, 255, 255, 0.2);
  z-index: 6;
}

.device-base {
  width: 110%;
  height: 14px;
  margin-left: -5%;
  background: linear-gradient(180deg, #2A2A30 0%, #1A1A1F 100%);
  border-radius: 0 0 16px 16px;
  position: relative;
}

.device-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 4px 4px;
}

.device-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 8s linear;
  animation: slide-scroll 8s linear infinite;
  animation-play-state: paused;
}

.device-frame-wrap:hover .device-image {
  animation-play-state: running;
}

.device-frame-wrap {
  position: relative;
  margin-bottom: 0;
}

.device-frame-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 60px;
  background: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.20), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.mobile-nav-close svg {
  width: 22px;
  height: 22px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 16px 8px;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.mobile-nav-actions .btn {
  width: 100%;
}

/* ============================================================
   АДАПТИВ — НИЖЕ 1024px (новые компоненты)
   ============================================================ */
@media (max-width: 1180px) {
  .brief-magic-top {
    grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
    gap: 18px;
  }

  .brief-magic-form-input {
    padding: 24px 26px;
  }

  .brief-magic-outcome {
    padding: 24px;
    gap: 16px;
  }

  .brief-magic-outcome-stats {
    gap: 8px;
  }
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-cell:nth-child(2) {
    border-right: none;
  }

  .stats-cell:nth-child(1),
  .stats-cell:nth-child(2) {
    border-bottom: 1px solid var(--glass-border);
  }

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

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

  .community-cta {
    justify-self: start;
  }

  .hero-floating-card {
    display: none;
  }

  .feature-showcase-header {
    max-width: 840px;
  }

  .brief-magic-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
    gap: 16px;
  }

  .brief-magic-form-input {
    padding: 22px 24px;
    min-height: 220px;
  }

  .brief-magic-outcome {
    padding: 22px;
    gap: 14px;
  }

  .brief-magic-outcome-label {
    font-size: 1.05rem;
  }

  .brief-magic-outcome-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --side-pad: 20px;
  }

  .header-nav {
    display: none;
  }

  .header-btn-login,
  .header-btn-register {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .tariffs-step:nth-child(3) {
    margin-left: 0;
  }

  .tariffs-services-floor {
    margin-top: 48px;
    padding: 28px 20px;
  }

  .school-tiers {
    grid-template-columns: 1fr;
  }

  .school-banner {
    padding: 32px 24px;
  }

  .case-card {
    padding: 32px 24px;
  }

  .case-metrics {
    gap: 20px;
  }

  .case-metric-value {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 16px;
  }

  .final-cta-card {
    padding: 32px 24px;
  }

  .cta-prompt-input {
    min-height: 118px;
    padding: 58px 18px 74px;
  }

  .cta-prompt-magic {
    left: 18px;
    top: 18px;
  }

  .cta-prompt-send {
    right: 18px;
    bottom: 18px;
  }

  .tariff-featured {
    padding: 32px 24px;
  }

  .tariff-price {
    font-size: 2.6rem;
  }

  /* Схлопываем двухколоночные блоки в один столбец, иначе вторая колонка
     (демо-мокап, карточка цены) вылезает за правый край вьюпорта. */
  .hero-grid,
  .tariff-featured-layout,
  .tariff-step-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Таблица сравнения: на мобильном 3 колонки (1.4fr 1fr 1fr) не влезают
     в 390px — таблица распирается шире вьюпорта. Превращаем каждую строку
     в самостоятельную карточку: параметр заголовком сверху, два значения
     в две колонки с подписями. */
  .comparison-section .comparison-table {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .comparison-header {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    align-items: stretch;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
  }

  .comparison-row:last-child {
    margin-bottom: 0;
  }

  .comparison-cell {
    padding: 0;
    font-size: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Параметр — заголовок карточки на всю ширину. */
  .comparison-row .comparison-cell:first-child {
    grid-column: 1 / -1;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
  }

  /* Подписи колонок внутри каждой карточки (строка-заголовок скрыта). */
  .comparison-row .comparison-cell:nth-child(2),
  .comparison-row .comparison-cell:nth-child(3) {
    background: none;
  }

  .comparison-row .comparison-cell:nth-child(2)::before {
    content: "Основатор";
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 700;
  }

  .comparison-row .comparison-cell:nth-child(3)::before {
    content: "Агентство";
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    font-weight: 600;
  }

  .feature-showcase {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .hero-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-form-actions .btn,
  .manual-link {
    width: 100%;
    text-align: center;
  }

  .slide {
    width: 320px;
  }

  .feature-showcase {
    padding: 68px 0;
  }
}

/* ============================================================
   HERO LIVE DEMO (interactive product demo)
   ============================================================ */
.hero-demo {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 10, 12, 0.6);
  margin-bottom: 24px;
}

.hero-demo-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(20, 20, 22, 0.9);
  border-bottom: 1px solid var(--glass-border);
}

.hero-demo-dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.hero-demo-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-demo-tab {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-demo-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6EE7B7;
  flex-shrink: 0;
}

.hero-demo-live .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 1.6s var(--ease-out) infinite;
}

.hero-demo-screen {
  position: relative;
  min-height: 260px;
  padding: 18px;
}

/* --- Phase: brief --- */
.demo-brief {
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.demo-brief-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.demo-brief-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  min-height: 1.5em;
}

.demo-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent-hover);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: demo-blink 1s steps(2, start) infinite;
}

@keyframes demo-blink {
  50% { opacity: 0; }
}

/* --- Phase: agents --- */
.demo-agents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none;
}

.hero-demo[data-phase="analyze"] .demo-agents,
.hero-demo[data-phase="build"] .demo-agents {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.demo-agent {
  display: grid;
  grid-template-columns: 132px 1fr 18px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.demo-agent-name {
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t-fast);
}

.demo-agent.active .demo-agent-name,
.demo-agent.done .demo-agent-name {
  color: var(--text-primary);
}

.demo-agent-bar {
  position: relative;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.demo-agent-bar i {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 1.1s var(--ease-out);
}

.demo-agent.active .demo-agent-bar i,
.demo-agent.done .demo-agent-bar i {
  width: 100%;
}

.demo-agent-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.demo-agent-check svg {
  width: 10px;
  height: 10px;
}

.demo-agent.done .demo-agent-check {
  opacity: 1;
  transform: scale(1);
}

/* --- Phase: result --- */
.demo-result {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  pointer-events: none;
}

.hero-demo[data-phase="build"] .demo-result {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* В фазе результата прячем бриф/агентов, чтобы не накладывались */
.hero-demo[data-phase="build"] .demo-brief,
.hero-demo[data-phase="build"] .demo-agents {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.demo-result-head {
  margin-bottom: 14px;
}

.demo-result-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.demo-result-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.demo-mockups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}

.demo-mockup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.hero-demo[data-phase="build"] .demo-mockup.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-mockup-frame {
  flex: 1;
  min-height: 96px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.demo-mockup:hover .demo-mockup-frame {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 24px var(--accent-soft);
  transform: translateY(-3px);
}

.demo-mockup-bar {
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  opacity: 0.85;
}

.demo-mockup-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.demo-mockup-line.w70 { width: 70%; }
.demo-mockup-line.w40 { width: 40%; }

.demo-mockup-block {
  margin-top: auto;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-soft), var(--amber-soft));
  border: 1px solid var(--glass-border);
}

/* Вариации мокапов — разный «характер» */
.demo-mockup[data-demo-mockup="1"] .demo-mockup-bar {
  background: rgba(255, 255, 255, 0.22);
}

.demo-mockup[data-demo-mockup="2"] .demo-mockup-bar {
  background: linear-gradient(90deg, var(--amber), #FBBF24);
}

.demo-mockup[data-demo-mockup="2"] .demo-mockup-block {
  background: linear-gradient(135deg, var(--amber-soft), rgba(245, 158, 11, 0.04));
}

.demo-mockup-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.demo-replay {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.demo-replay:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
}

.demo-replay svg {
  width: 13px;
  height: 13px;
}

.brief-magic-demo[data-phase="build"] .demo-brief,
.brief-magic-demo[data-phase="build"] .demo-agents,
.brief-magic-demo[data-phase="build"] .demo-result {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.brief-magic-demo .demo-result {
  position: relative;
  inset: auto;
}

@media (max-width: 768px) {
  .brief-magic-demo .hero-demo-screen {
    padding: 18px;
  }

  .brief-magic-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brief-magic-top::before {
    display: none;
  }

  .brief-magic-form-card {
    padding: 22px;
  }

  .brief-magic-form-input {
    min-height: 200px;
    padding: 22px 24px;
    font-size: 15.5px;
  }

  .brief-magic-submit {
    padding: 16px 22px;
    font-size: 15px;
  }

  .brief-magic-outcome {
    padding: 22px;
    gap: 14px;
  }

  .brief-magic-outcome-stats {
    grid-template-columns: 1fr 1fr;
  }

  .brief-magic-outcome-stats .brief-magic-outcome-stat:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .demo-agent {
    grid-template-columns: 104px 1fr 18px;
    gap: 8px;
    font-size: 11.5px;
  }

  .hero-demo-screen {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-caret { animation: none; }

  .feature-bento-card,
  .feature-bento-card::after,
  .demo-agents,
  .demo-result,
  .demo-mockup,
  .demo-agent-bar i {
    transition: none;
  }

  .feature-bento-card:hover {
    transform: none;
  }
}
