/* ==========================================================================
   1. ДИЗАЙН-ТОКЕНЫ (BLACK / GRAPHITE / CHAMPAGNE GOLD)
   ========================================================================== */
:root {
  --bg-primary: #070707;
  --bg-secondary: #0D0E0E;
  --bg-card: #121313;
  --bg-tertiary: #18191A;

  --border-color: #242627;
  --border-subtle: rgba(255, 255, 255, 0.06);

  --accent-gold: #C8A96B;
  --accent-light-gold: #E0C58A;
  --accent-bronze: #806A42;
  --accent-gold-muted: rgba(200, 169, 107, 0.10);
  --accent-gold-glow: rgba(200, 169, 107, 0.15);

  --text-primary: #F1F0EC;
  --text-secondary: #92969B;
  --text-muted: #62666A;
  --text-inverse: #070707;

  --container-max: 1320px;
  --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. СБРОС И БАЗОВЫЕ СТИЛИ
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* ФОНОВАЯ СЕТКА: ЗАМЕТНАЯ, НО ЭЛЕГАНТНАЯ */
.bg-grid {
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(200, 169, 107, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 169, 107, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* МЯГКИЙ ЗОЛОТОЙ СОФИТ: ЗАМЕТНЫЙ, НО РАССЕЯННЫЙ */
.bg-glow-spot {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 107, 0.18) 0%, rgba(200, 169, 107, 0.06) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  filter: blur(80px);
  will-change: left, top;
}

/* ==========================================================================
   3. ФИКСИРОВАННАЯ ШАПКА (HEADER)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 1000;
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  height: 72px;
  background: rgba(13, 14, 14, 0.95);
  border-bottom-color: rgba(200, 169, 107, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Логотип-изображение */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

.logo-img:hover {
  opacity: 0.85;
}

/* Меню навигации */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-light-gold);
}

/* Правая группа шапки */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.header-tg:hover {
  border-color: var(--accent-gold);
  color: var(--accent-light-gold);
  background: var(--bg-tertiary);
}

.tg-icon {
  color: var(--accent-gold);
}

.header-cta-btn {
  padding: 12px 22px !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap;
}

.header-cta-btn .mobile-text {
  display: none;
}

.mobile-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-burger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-burger.active span:nth-child(2) {
  opacity: 0;
}
.mobile-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  margin-bottom: 24px;
}

.marker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(200, 169, 107, 0.4);
}

.marker-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.gold-highlight {
  background: linear-gradient(135deg, var(--accent-light-gold) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 620px;
  font-weight: 400;
}

.hero-niches-compact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-niches-compact .sep { color: var(--border-color); }
.hero-niches-compact .niche-gold { color: var(--accent-gold); }

.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 34px;
  background: linear-gradient(135deg, var(--accent-light-gold) 0%, var(--accent-gold) 100%);
  color: var(--text-inverse);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(200, 169, 107, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 107, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-gold);
  color: var(--accent-light-gold);
  transform: translateY(-2px);
}

.btn-arrow { transition: transform var(--transition-fast); }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

.microtrust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.microtrust svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   5. ПРЕМИАЛЬНЫЙ ТЕРМИНАЛ
   ========================================================================== */
.terminal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.terminal-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent-gold);
  pointer-events: none;
  opacity: 0.6;
}
.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.terminal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--accent-gold-muted);
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
}

.status-pulse {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulseGold 3s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 169, 107, 0.4); }
  50% { opacity: 0.6; transform: scale(1.1); box-shadow: 0 0 0 4px rgba(200, 169, 107, 0); }
}

.region-info { font-size: 12px; color: var(--text-muted); }
.region-info strong { color: var(--text-primary); }

.terminal-filters { display: flex; gap: 8px; margin-bottom: 16px; }

.filter-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Manrope', sans-serif;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-gold-muted);
  border-color: rgba(200, 169, 107, 0.4);
  color: var(--accent-light-gold);
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  margin-bottom: 16px;
}

.feed-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: feedSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes feedSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.item-title { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.item-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.tag-target {
  background: var(--accent-gold-muted);
  border: 1px solid rgba(200, 169, 107, 0.25);
  color: var(--accent-light-gold);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terminal-footer {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.radar-line {
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 107, 0.1), transparent);
  animation: radarScan 5s infinite linear;
}

@keyframes radarScan {
  0% { left: -50%; }
  100% { left: 150%; }
}

.footer-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.stat-box { display: flex; flex-direction: column; }
.stat-box.align-right { text-align: right; }
.stat-num { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 700; color: var(--accent-gold); }
.stat-desc { font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   6. АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-list { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 38px; }
  .hero-section { padding: 120px 0 60px 0; }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 100px 30px 40px 30px;
    transition: right var(--transition-normal);
  }
  .nav-menu.active { right: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 24px; }
  .nav-link { font-size: 16px; }
  .mobile-burger { display: flex; }
}

@media (max-width: 640px) {
  .header-tg .tg-text { display: none; }
  .header-tg { padding: 10px; }
  .header-cta-btn { padding: 10px 14px !important; font-size: 11px !important; }
  .header-cta-btn .desktop-text { display: none; }
  .header-cta-btn .mobile-text { display: inline; }
  
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .btn-group { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .hero-niches-compact { font-size: 12px; }
  
  .logo-img { height: 32px; }
}


/* ==========================================================================
   7. ЭКРАН №2 — ЦИФРЫ (STATS)
   ========================================================================== */
.stats-section {
  width: 100%;
  padding: 120px 0;
  position: relative;
}

.stats-header {
  margin-bottom: 70px;
  max-width: 900px;
}

.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.marker-line {
  width: 32px;
  height: 1px;
  background: var(--accent-gold);
}

.marker-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.stats-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Сетка карточек */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

/* Карточка */
.stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 40px 28px 36px;
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  
  /* Начальное состояние для анимации появления */
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 107, 0.35);
}

/* Уголки карточки */
.stat-card-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent-gold);
  pointer-events: none;
  opacity: 0.4;
  transition: all var(--transition-normal);
}
.stat-card-corner.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.stat-card-corner.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.stat-card-corner.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.stat-card-corner.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* При hover уголки "раскрываются" */
.stat-card:hover .stat-card-corner {
  opacity: 1;
  width: 20px;
  height: 20px;
}

.stat-card-inner {
  position: relative;
  z-index: 2;
}

/* Блок цифры */
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
  transition: transform var(--transition-normal);
}

.stat-card:hover .stat-value {
  transform: translateY(-3px);
}

/* Металлическое золото с шиммером */
.stat-number {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(
    110deg,
    var(--accent-bronze) 0%,
    var(--accent-gold) 30%,
    var(--accent-light-gold) 50%,
    var(--accent-gold) 70%,
    var(--accent-bronze) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% center; }
  50% { background-position: 0% center; }
}

.stat-suffix {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

/* Подпись */
.stat-label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 220px;
}

/* Золотая линия снизу, появляется при hover */
.stat-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-underline {
  width: 100%;
}

/* Дисклеймер */
.stats-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding-left: 14px;
  border-left: 1px solid var(--border-color);
  max-width: 600px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ STATS
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stats-title { font-size: 34px; }
  .stat-number { font-size: 60px; }
}

@media (max-width: 640px) {
  .stats-section { padding: 80px 0; }
  .stats-header { margin-bottom: 50px; }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-title { font-size: 26px; }
  .stat-card { padding: 32px 24px 28px; }
  .stat-number { font-size: 54px; }
  .stat-suffix { font-size: 22px; }
  .stat-label { font-size: 14px; }
}



/* ==========================================================================
   8. ЭКРАН №3 — ПРОЦЕСС (PROCESS FLOW)
   ========================================================================== */
.process-section {
  width: 100%;
  padding: 120px 0;
  position: relative;
}

.process-header {
  margin-bottom: 80px;
  max-width: 900px;
}

.process-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.process-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
  font-weight: 400;
}

/* Flow-диаграмма */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* Шаг процесса */
.process-step {
  position: relative;
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 36px 24px 32px;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: default;
  
  /* Начальное состояние для анимации */
  opacity: 0;
  transform: translateY(40px);
}

.process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 169, 107, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Финальный шаг — золотой акцент */
.process-step-final {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(200, 169, 107, 0.05) 100%);
}

.process-step-final:hover {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(200, 169, 107, 0.1) 100%);
}

/* Уголки шага */
.step-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent-gold);
  pointer-events: none;
  opacity: 0.3;
  transition: all var(--transition-normal);
}
.step-corner.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.step-corner.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.step-corner.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.step-corner.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.process-step:hover .step-corner {
  opacity: 0.8;
  width: 16px;
  height: 16px;
}

/* Иконка */
.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--accent-gold);
  transition: all var(--transition-normal);
}

.process-step:hover .step-icon {
  background: var(--accent-gold-muted);
  border-color: var(--accent-gold);
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(200, 169, 107, 0.25);
}

.step-icon svg {
  transition: transform var(--transition-fast);
}

.process-step:hover .step-icon svg {
  transform: scale(1.1);
}

/* Заголовок шага */
.step-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* Текст шага */
.step-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Соединительная линия */
.flow-connector {
  position: relative;
  width: 60px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
  
  /* Начальное состояние для анимации */
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.connector-line.is-visible {
  opacity: 1;
  transform: scaleX(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Бегущая частица */
.connector-particle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--accent-gold);
  opacity: 0;
}

.connector-particle.is-visible {
  animation: particleFlow 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes particleFlow {
  0% {
    left: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ PROCESS
   ========================================================================== */
@media (max-width: 1200px) {
  .process-flow {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .process-step {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 240px;
  }
  
  .flow-connector {
    display: none; /* Скрываем линии на планшетах */
  }
}

@media (max-width: 768px) {
  .process-section { padding: 80px 0; }
  .process-header { margin-bottom: 50px; }
  .process-title { font-size: 28px; }
  .process-description { font-size: 16px; }
  
  .process-flow {
    flex-direction: column;
    gap: 16px;
  }
  
  .process-step {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .step-icon { width: 64px; height: 64px; }
  .step-icon svg { width: 28px; height: 28px; }
  .step-title { font-size: 14px; }
  .step-text { font-size: 12px; }
}