/*
Theme Name:   AICreators Child
Theme URI:    https://aicreators.ai
Description:  Дочерняя тема AICreators для Hello Elementor
Author:       AICreators
Template:     hello-elementor
Version:      1.0.0
Text Domain:  aicreators-child
*/

/* ============================================================
   ИМПОРТ РОДИТЕЛЬСКОЙ ТЕМЫ
   ============================================================ */
@import url("../hello-elementor/style.css");

/* ============================================================
   ПЕРЕМЕННЫЕ — единый источник правды для всего сайта
   ============================================================ */
:root {
  --bg:           #f4f4f4;
  --surface:      #ffffff;
  --surface2:     #f9f9f9;
  --surface3:     #f0f0f0;
  --border:       #e8e8e8;
  --border2:      #d8d8d8;
  --text:         #111111;
  --text2:        #555555;
  --text3:        #999999;
  --verified:     #16a34a;
  --verified-bg:  #f0fdf4;
  --gold:         #b45309;
  --gold-bg:      #fffbeb;
  --new-color:    #1d4ed8;
  --new-bg:       #eff6ff;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-3xl:  36px;
}

/* ============================================================
   ГЛОБАЛЬНЫЙ СБРОС И ТИПОГРАФИКА
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: -apple-system, 'SF Pro Display', 'SF Pro Text',
               BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Скроллбар */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 999px; }

/* ============================================================
   РЕШЕНИЕ ПРОБЛЕМЫ ELEMENTOR — EM, STRONG, SPAN В ТЕКСТЕ
   Elementor режет инлайн-стили из Text Editor.
   Решение: глобальные классы, которые живут здесь, в теме.
   Используй эти классы через "Custom CSS Class" в виджете
   или через HTML-виджет.
   ============================================================ */

/* Цветной акцент в тексте (вместо em с color) */
.text-muted,
.elementor-widget-text-editor .text-muted {
  color: var(--text3) !important;
  font-style: normal;
}

.text-accent,
.elementor-widget-text-editor .text-accent {
  color: var(--verified) !important;
  font-style: normal;
}

.text-gold,
.elementor-widget-text-editor .text-gold {
  color: var(--gold) !important;
  font-style: normal;
}

/* em внутри заголовков — притушенный цвет (как в hero h1) */
.elementor-heading-title em,
.ac-heading em {
  font-style: normal;
  color: var(--text3);
}

/* ============================================================
   SECTION TAG — лейбл над заголовками секций
   ============================================================ */
.ac-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  background: var(--surface3);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.ac-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 56px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 16px;
}

/* Логотип */
.ac-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.ac-logo-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  flex-shrink: 0;
}

/* Вместо span — псевдоэлемент для текста логотипа */
.ac-logo-icon::after {
  content: "AI";
}

.ac-logo-name {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
}

/* Ссылки навигации */
.ac-nav-link {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 450;
  color: var(--text2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all .15s;
}

.ac-nav-link:hover {
  background: var(--surface3);
  color: var(--text);
}

/* ============================================================
   КНОПКИ — глобальные классы
   ============================================================ */
.ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  line-height: 1;
}

.ac-btn-sm  { height: 32px; padding: 0 16px; font-size: .80rem; }
.ac-btn-md  { height: 40px; padding: 0 22px; font-size: .85rem; }
.ac-btn-lg  { height: 44px; padding: 0 28px; font-size: .90rem; font-weight: 600; }
.ac-btn-xl  { height: 48px; padding: 0 32px; font-size: .92rem; font-weight: 600; }

.ac-btn-solid {
  background: var(--text);
  color: #fff !important;
  font-weight: 600;
}
.ac-btn-solid:hover { background: #333; color: #fff !important; }

.ac-btn-ghost {
  background: transparent;
  color: var(--text2) !important;
  border: 1px solid var(--border);
}
.ac-btn-ghost:hover { background: var(--surface3); color: var(--text) !important; }

.ac-btn-white {
  background: #fff;
  color: var(--text) !important;
}
.ac-btn-white:hover { background: var(--surface3); }

.ac-btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,.7) !important;
  border: 1px solid rgba(255,255,255,.25);
}
.ac-btn-outline-white:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.5);
}

/* ============================================================
   HERO
   ============================================================ */
.ac-hero {
  padding: 120px 32px 80px;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}

/* Eyebrow-пилюля */
.ac-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

/* Зелёная точка — через псевдоэлемент, не span */
.ac-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--verified);
  flex-shrink: 0;
  animation: ac-pulse 2.5s ease-in-out infinite;
}

@keyframes ac-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* Заголовок hero */
.ac-hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* em внутри hero-заголовка */
.ac-hero-title em {
  font-style: normal;
  color: var(--text3);
}

.ac-hero-sub {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* Trust-строка с аватарами */
.ac-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .78rem;
  color: var(--text3);
}

.ac-trust-avatars {
  display: flex;
}

.ac-trust-av {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  margin-left: -6px;
}

.ac-trust-av:first-child { margin-left: 0; }

/* ============================================================
   СТАТИСТИКА — 4 ячейки
   ЧИСЛА через data-атрибут + ::before — Elementor-safe
   ============================================================ */
.ac-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.ac-stat-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.ac-stat-cell:last-child { border-right: none; }

/* Число через data-атрибут — Elementor его не режет */
.ac-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

/* Суффикс (+ / ★ / %) через data-suffix */
.ac-stat-num[data-suffix]::after {
  content: attr(data-suffix);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text2);
  vertical-align: super;
}

.ac-stat-label {
  font-size: .78rem;
  color: var(--text3);
}

/* ============================================================
   STEPS — КАК ЭТО РАБОТАЕТ
   Числа шагов через data-step + ::before
   ============================================================ */
.ac-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.ac-step {
  background: var(--surface);
  padding: 28px 24px 32px;
  position: relative;
  transition: background .2s;
}
.ac-step:hover { background: var(--surface2); }

/* Большое число шага через data-step — без span */
.ac-step[data-step]::before {
  content: attr(data-step);
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--border2);
  line-height: 1;
  margin-bottom: 14px;
}

.ac-step-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
}

.ac-step h3 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.ac-step p {
  font-size: .80rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ============================================================
   КАТЕГОРИИ
   ============================================================ */
.ac-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ac-cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
}
.ac-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border2);
}

.ac-cat-emoji {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.ac-cat-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -.01em;
}

/* Количество через data-count — без span */
.ac-cat-count {
  font-size: .75rem;
  color: var(--text3);
}
.ac-cat-count[data-count]::before {
  content: attr(data-count);
}

.ac-cat-arrow {
  display: block;
  margin-top: 12px;
  font-size: .8rem;
  color: var(--text3);
  transition: transform .2s;
}
.ac-cat-card:hover .ac-cat-arrow {
  transform: translateX(3px);
  color: var(--text2);
}

/* ============================================================
   КАРТОЧКИ КРЕАТОРОВ
   ============================================================ */
.ac-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.ac-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border2);
}

/* Превью карточки */
.ac-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.ac-thumb-bg {
  position: absolute; inset: 0;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.ac-card:hover .ac-thumb-bg { transform: scale(1.04); }

/* Градиенты превью */
.ac-g01 { background: linear-gradient(135deg,#e8d5f5,#c4a8e8,#9b78c8); }
.ac-g02 { background: linear-gradient(135deg,#d5eaf8,#a8ccec,#78a8d4); }
.ac-g03 { background: linear-gradient(135deg,#fde8d5,#f5c4a0,#e8956a); }
.ac-g04 { background: linear-gradient(135deg,#d5f5e8,#a0e8c8,#6acca8); }
.ac-g05 { background: linear-gradient(160deg,#fdf5d5,#f0e0a0,#d4b860); }
.ac-g06 { background: linear-gradient(135deg,#d5f0f8,#a0d8ec,#60b4d4); }

.ac-thumb-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, transparent 60%);
  pointer-events: none;
}

/* Play overlay */
.ac-play-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.12);
  opacity: 0;
  transition: opacity .25s;
}
.ac-card:hover .ac-play-overlay { opacity: 1; }

.ac-play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transform: scale(.85);
  transition: transform .25s;
  border: none;
  cursor: pointer;
}
/* Значок play через псевдоэлемент */
.ac-play-btn::after { content: '▶'; }
.ac-card:hover .ac-play-btn { transform: scale(1); }

/* Бейджи на превью */
.ac-thumb-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  gap: 5px;
}

.ac-badge {
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Точка в бейдже — через ::before, не span */
.ac-badge::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.ac-badge-verified {
  background: var(--verified-bg);
  color: var(--verified);
  border: 1px solid rgba(22,163,74,.15);
}
.ac-badge-top {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid rgba(180,83,9,.15);
}
.ac-badge-new {
  background: var(--new-bg);
  color: var(--new-color);
  border: 1px solid rgba(29,78,216,.15);
}

/* Тело карточки */
.ac-card-body {
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Строка с именем и рейтингом */
.ac-card-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ac-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.ac-creator-info { flex: 1; min-width: 0; }

.ac-creator-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-creator-location {
  font-size: .72rem;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
}

/* Рейтинг-пилюля */
.ac-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 8px;
  background: var(--surface3);
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* Звезда через псевдоэлемент */
.ac-rating::before {
  content: '★';
  color: #f59e0b;
  font-size: .65rem;
}

.ac-rating-num {
  font-size: .76rem;
  font-weight: 600;
  color: var(--text);
}

/* Специализация */
.ac-card-spec {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: -.01em;
}

/* Биография */
.ac-card-bio {
  font-size: .80rem;
  color: var(--text2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Инструменты */
.ac-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ac-tool-tag {
  height: 22px;
  padding: 0 9px;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 450;
  color: var(--text2);
  display: inline-flex;
  align-items: center;
  transition: all .15s;
}
.ac-card:hover .ac-tool-tag {
  border-color: var(--border2);
}

/* Статистика карточки */
.ac-card-stats {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.ac-c-stat {
  flex: 1;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}
.ac-c-stat:first-child { padding-left: 2px; }
.ac-c-stat:last-child  { border-right: none; }

.ac-c-stat-val {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}

.ac-c-stat-label {
  font-size: .63rem;
  font-weight: 500;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 1px;
}

/* Футер карточки */
.ac-card-footer {
  padding: 10px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ac-price-from {
  font-size: .68rem;
  color: var(--text3);
  margin-bottom: 1px;
}

.ac-price-val {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}

.ac-btn-request {
  height: 30px;
  padding: 0 14px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.ac-btn-request:hover { background: #333; }

/* ============================================================
   PROCESS — ШАГИ С НОМЕРАМИ
   Номер через data-num + ::before
   ============================================================ */
.ac-process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ac-process-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.ac-process-item:last-child { border-bottom: none; }

/* Номер шага — через data-num, без span */
.ac-process-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text2);
  flex-shrink: 0;
  margin-top: 2px;
}

.ac-process-item.is-active .ac-process-num {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.ac-process-item h4 {
  font-size: .90rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}

.ac-process-item p {
  font-size: .80rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ============================================================
   ГАРАНТИИ / ФИЧИ — сетка карточек
   ============================================================ */
.ac-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ac-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.ac-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ac-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.ac-feature-card h4 {
  font-size: .90rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.ac-feature-card p {
  font-size: .80rem;
  color: var(--text2);
  line-height: 1.65;
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.ac-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ac-testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.ac-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Звёзды через data-stars */
.ac-stars {
  color: #f59e0b;
  font-size: .78rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.ac-stars[data-stars="5"]::before { content: '★★★★★'; }
.ac-stars[data-stars="4"]::before { content: '★★★★☆'; }

.ac-testimonial-text {
  font-size: .82rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.ac-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ac-t-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.ac-t-name {
  font-size: .80rem;
  font-weight: 600;
  color: var(--text);
}

.ac-t-role {
  font-size: .72rem;
  color: var(--text3);
}

/* ============================================================
   CTA СЕКЦИЯ — тёмный блок
   ============================================================ */
.ac-cta-block {
  background: var(--text);
  border-radius: var(--r-3xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

/* Тонкое свечение сверху */
.ac-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
    rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

.ac-cta-block h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}

.ac-cta-block p {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 32px;
  line-height: 1.7;
}

.ac-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO VISUAL — браузер-мокап
   ============================================================ */
.ac-hero-visual {
  margin: 56px auto 0;
  max-width: 960px;
  position: relative;
}

.ac-hero-visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Мокап-тулбар браузера */
.ac-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

/* Три точки через псевдоэлементы */
.ac-browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.ac-browser-dot:nth-child(1) { background: #ff5f57; }
.ac-browser-dot:nth-child(2) { background: #febc2e; }
.ac-browser-dot:nth-child(3) { background: #28c840; }

.ac-browser-url {
  flex: 1;
  height: 24px;
  background: var(--surface3);
  border-radius: 999px;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--text3);
}

/* Floating badges на мокапе */
.ac-float-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 500;
  animation: ac-float 4s ease-in-out infinite;
  white-space: nowrap;
}

.ac-float-badge-1 { top: -16px; left: 60px;  animation-delay: 0s;   }
.ac-float-badge-2 { top: -16px; right: 80px; animation-delay: 1.5s; }
.ac-float-badge-3 { bottom: -16px; left: 120px; animation-delay: .8s; }

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

.ac-float-badge-val {
  font-weight: 700;
  color: var(--text);
}

.ac-float-badge-lbl {
  font-size: .68rem;
  color: var(--text3);
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.ac-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 32px 32px;
}

.ac-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.ac-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.ac-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}

.ac-footer-logo-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
}

/* Текст AI в лого-иконке через псевдоэлемент */
.ac-footer-logo-icon::after { content: 'AI'; }

.ac-footer-logo-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}

.ac-footer-desc {
  font-size: .80rem;
  color: var(--text3);
  line-height: 1.7;
  max-width: 220px;
}

.ac-footer-col-title {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.ac-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-footer-links a {
  font-size: .83rem;
  color: var(--text2);
  text-decoration: none;
  transition: color .15s;
}
.ac-footer-links a:hover { color: var(--text); }

.ac-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .75rem;
  color: var(--text3);
}

.ac-footer-bottom a {
  color: var(--text3);
  text-decoration: none;
}
.ac-footer-bottom a:hover { color: var(--text2); }

/* ============================================================
   СКРОЛЛ-АНИМАЦИИ
   Используй класс ac-reveal на Elementor-секциях
   через Advanced → CSS Classes
   ============================================================ */
.ac-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1),
              transform .6s cubic-bezier(.16,1,.3,1);
}
.ac-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ac-reveal.d1 { transition-delay: .08s; }
.ac-reveal.d2 { transition-delay: .16s; }
.ac-reveal.d3 { transition-delay: .24s; }
.ac-reveal.d4 { transition-delay: .32s; }

/* ============================================================
   BRIEF FORM — мокап формы в секции Process
   ============================================================ */
.ac-brief-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.ac-brief-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.ac-brief-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.ac-brief-field-label {
  font-size: .65rem;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.ac-brief-field-val {
  font-size: .82rem;
  color: var(--text);
}
.ac-brief-field-val.is-placeholder { color: var(--text3); }

.ac-brief-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.ac-brief-row .ac-brief-field { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ac-stats-grid       { grid-template-columns: repeat(2,1fr); }
  .ac-cat-grid         { grid-template-columns: repeat(2,1fr); }
  .ac-steps-grid       { grid-template-columns: repeat(2,1fr); }
  .ac-features-grid    { grid-template-columns: repeat(2,1fr); }
  .ac-testimonials-grid{ grid-template-columns: repeat(2,1fr); }
  .ac-footer-top       { grid-template-columns: 1fr 1fr; }
  .ac-cta-block        { padding: 48px 32px; }
}

@media (max-width: 768px) {
  .ac-nav { padding: 0 16px; }
  .ac-hero { padding: 90px 16px 56px; }
  .ac-steps-grid       { grid-template-columns: 1fr; }
  .ac-features-grid    { grid-template-columns: 1fr; }
  .ac-testimonials-grid{ grid-template-columns: 1fr; }
  .ac-footer-top       { grid-template-columns: 1fr; }
  .ac-cta-block        { border-radius: var(--r-2xl); padding: 40px 24px; }
  .ac-float-badge      { display: none; }
}

@media (max-width: 480px) {
  .ac-stats-grid { grid-template-columns: 1fr 1fr; }
  .ac-cat-grid   { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ELEMENTOR — переопределение лишних отступов
   ============================================================ */
.elementor-section.elementor-section-boxed
> .elementor-container { max-width: 960px; }

/* Убираем синий outline у кнопок Elementor */
.elementor-button:focus,
.elementor-button-link:focus { outline: none; }

/* Elementor иногда добавляет margin к виджетам — сбрасываем */
.elementor-widget:not(:last-child) { margin-bottom: 0; }
