/* === Сброс и база === */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
}

/* === Магический фон: градиент + дымка === */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(120, 60, 140, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(180, 80, 140, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(100, 50, 120, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #0f0614 0%, #1a0a1f 25%, #2d1535 50%, #1f0f28 75%, #120818 100%);
}

.bg-smoke {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(180, 100, 200, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 70% 40%, rgba(220, 120, 200, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(140, 60, 160, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

/* Плавающие «орбы» для магии */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-orbs::before,
.bg-orbs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 18s ease-in-out infinite;
}
.bg-orbs::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}
.bg-orbs::after {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
  bottom: -5%;
  right: -5%;
  animation-delay: -9s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.98); }
}

/* === Контент поверх фона === */
.header, .main, .footer {
  position: relative;
  z-index: 1;
}

/* === Шапка === */
.header {
  padding: 1.25rem 1.5rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c084fc, #e879f9);
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.7);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 16px rgba(192, 132, 252, 0.7); }
  50% { opacity: 0.85; box-shadow: 0 0 24px rgba(192, 132, 252, 0.5); }
}
.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

/* === Кнопки === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, filter 0.2s;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-arrow {
  font-size: 1.1em;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-header,
.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #ec4899 100%);
  background-size: 200% 200%;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}
.btn-glow {
  animation: btn-glow 3s ease-in-out infinite;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4); }
  50% { box-shadow: 0 6px 28px rgba(168, 85, 247, 0.55), 0 0 40px rgba(168, 85, 247, 0.2); }
}
.btn-cta {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* === Верхние фичи === */
.features-bar {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.feature-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(192, 132, 252, 0.3);
  transform: translateY(-1px);
}
.feature-icon {
  color: rgba(192, 132, 252, 0.9);
  font-size: 0.75rem;
}

/* === Герой === */
.hero {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-card {
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.hero-card:hover {
  border-color: rgba(192, 132, 252, 0.15);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 60px rgba(168, 85, 247, 0.06);
}

.hero-label {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(192, 132, 252, 0.25);
  background: rgba(192, 132, 252, 0.08);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 1rem;
  color: #fff;
}
.hero-title .accent {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.hero-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(192, 132, 252, 0.95);
  font-weight: 700;
}
.hero-benefits strong {
  color: #e879f9;
}

.hero-urgency {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 1rem 0 0;
}

/* Правая карточка: картинка + подписи */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.visual-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  aspect-ratio: 4/5;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-frame-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.visual-frame .hero-image,
.visual-frame .hero-image-placeholder {
  position: relative;
  z-index: 1;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-placeholder {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.placeholder-icon {
  font-size: 3rem;
  opacity: 0.8;
}
.visual-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.visual-features span {
  flex: 1;
  min-width: 80px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s, border-color 0.2s;
}
.visual-features span:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(192, 132, 252, 0.2);
}

/* === Секции === */
.section {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.section-card {
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.section-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: #fff;
}

/* Шаги */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.steps li:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.35), rgba(236, 72, 153, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Сетка тем (вместо галереи) */
.topics-card {
  display: flex;
  flex-direction: column;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.topic-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.topic-item:hover {
  background: rgba(192, 132, 252, 0.08);
  border-color: rgba(192, 132, 252, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.topic-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.topics-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* === CTA блок === */
.cta-section {
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
.cta-card {
  position: relative;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(236, 72, 153, 0.06) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(192, 132, 252, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 0 80px rgba(168, 85, 247, 0.08);
}
.cta-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(236, 72, 153, 0.2);
  color: #f0abfc;
  border: 1px solid rgba(236, 72, 153, 0.35);
  margin-bottom: 1rem;
}
.cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}
.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}
.cta-section .btn-cta {
  margin: 0 auto;
}

/* === Подвал === */
.footer {
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}
.footer p { margin: 0; }

/* === Адаптив === */
@media (max-width: 900px) {
  .hero,
  .section {
    grid-template-columns: 1fr;
  }
  .hero-card.hero-text { order: 1; }
  .hero-card.hero-visual { order: 0; }
  .visual-frame { max-height: 320px; }
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .features-bar { justify-content: center; }
  .hero-card, .section-card { padding: 1.5rem; }
  .hero-title { font-size: 1.5rem; }
  .cta-card { padding: 1.75rem 1.5rem; }
  .cta-title { font-size: 1.35rem; }
}
