/* ==========================================================================
   PROBINGO LANDING PAGE — ПРАЗДНИЧНЫЙ ИВЕНТ-СТИЛЬ
   Энергичный, атмосферный, вызывающий эмоции шоу и вечеринки
   ========================================================================== */

:root {
  --bg: #070a13;
  --bg-card: rgba(18, 24, 43, 0.72);
  --bg-card-hover: rgba(26, 35, 64, 0.85);
  --bg-glass: rgba(18, 24, 43, 0.6);
  --line: rgba(255, 255, 255, 0.1);
  --line-hover: rgba(255, 215, 0, 0.35);
  
  --text: #f9fafb;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  /* Праздничные акценты */
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.45);
  --amber: #f59e0b;
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.4);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --purple: #a855f7;
  --emerald: #10b981;
  
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  background-color: #060913;
  color: var(--text);
  min-height: 100vh;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   ФИКСИРОВАННЫЙ АТМОСФЕРНЫЙ ФОН (ВЕЧЕРИНКА / СТАДИОН)
   ========================================================================== */
.fixed-bg-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #060913;
}

.fixed-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('background.webp');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  opacity: 0.48;
  filter: saturate(135%) brightness(0.92);
}

.fixed-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 25%, rgba(6, 9, 18, 0.35) 0%, rgba(5, 8, 17, 0.82) 65%, rgba(4, 7, 14, 0.94) 100%),
    linear-gradient(180deg, rgba(6, 9, 18, 0.1) 0%, rgba(6, 9, 18, 0.55) 45%, rgba(4, 7, 14, 0.90) 100%);
}


.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   ТИПОГРАФИКА
   ========================================================================== */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none !important;
  filter: none !important;
}

.sub {
  font-size: clamp(16px, 1.25vw, 19.5px);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
  font-weight: 500;
}

.center {
  text-align: center;
}

.center .sub {
  margin: 0 auto;
}

/* Праздничные бейджи-подзаголовки */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.eyebrow::before {
  content: '✨';
  font-size: 14px;
}

/* ==========================================================================
   ШАПКА (ЖИДКОЕ СТЕКЛО / LIQUID GLASS CAPSULE)
   ========================================================================== */
.hdr {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
  transition: var(--transition);
}

.hdr-inner {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  background: rgba(18, 24, 43, 0.76);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 25px rgba(245, 158, 11, 0.08);
  transition: var(--transition);
}

.hdr.on .hdr-inner {
  background: rgba(11, 16, 30, 0.94);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 0 30px rgba(245, 158, 11, 0.15);
  padding: 7px 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-pro {
  color: #ffffff;
  font-weight: 900;
}

.logo-bingo {
  color: #fbbf24;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition);
  position: relative;
  white-space: nowrap !important;
  padding: 5px 8px;
  border-radius: 8px;
}

.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* ==========================================================================
   КНОПКИ (BUTTONS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-acc {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  color: #000000;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
  position: relative;
  overflow: hidden;
}

.btn-acc::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.btn-acc:hover::before {
  left: 100%;
}

.btn-acc:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 8px;
}

/* ==========================================================================
   HERO ЭКРАН С ЖИВЫМ DJ-ПУЛЬТОМ
   ========================================================================== */
.hero {
  padding: 100px 0 35px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 3.8vw, 54px);
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.18;
}

.hero .lead {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero .lead strong {
  color: #ffffff;
  font-weight: 800;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Доверие и социальный пруф ведущих в компактной полосе */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-trust-bar .hero-social-proof {
  margin: 0;
}

.hero-quick-perks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quick-perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 600;
}

.quick-perk-item .qp-ic {
  font-size: 13px;
  color: var(--gold);
}

/* Консоль совместимости и устройств под макетом */
.hero-plat-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 8px 14px;
  background: rgba(18, 24, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 5;
}

.hero-plat-dock .plat-dock-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.hero-plat-dock .plat-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
}

/* Чистый яркий градиент заголовка без затемняющих теней и фильтров */
.glow-fire-text {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none !important;
  filter: none !important;
  font-weight: 900;
  display: inline;
}

/* Социальный пруф ведущих */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 12px;
  padding: 10px 16px;
  background: rgba(18, 24, 43, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: fit-content;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.proof-avatars {
  display: flex;
}

.proof-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #070a13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: -10px;
}
.proof-av.av1 { background: #ec4899; }
.proof-av.av2 { background: #f59e0b; }
.proof-av.av3 { background: #06b6d4; }
.proof-av.av4 { background: #10b981; margin-right: 0; }

.proof-stars {
  font-size: 13.5px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 0.05em;
}

.proof-stars span {
  color: #ffffff;
  margin-left: 4px;
}

.proof-sub {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
}

/* Обертка для макета со световой аурой и парящими плашками */
.hero-mockup-wrapper {
  position: relative;
}

.mockup-stage-anchor {
  position: relative;
}

.hero-mockup {
  position: relative;
  border-color: rgba(251, 191, 36, 0.45) !important;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(236, 72, 153, 0.35),
    0 0 90px rgba(6, 182, 212, 0.22) !important;
}

/* Парящие банкетные баблы */
.float-bubble {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  animation: float-pill 4s ease-in-out infinite;
}

.fb-top-right {
  top: -20px;
  right: -12px;
  background: rgba(18, 24, 43, 0.9);
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.4);
  animation-delay: 0s;
}

.fb-bottom-left {
  bottom: 18px;
  left: -20px;
  background: rgba(18, 24, 43, 0.94);
  border: 1.5px solid rgba(236, 72, 153, 0.85);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(236, 72, 153, 0.45);
  animation-delay: 2s;
}

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

.fb-icon {
  font-size: 20px;
  line-height: 1;
}

.fb-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.fb-bottom-left .fb-tag {
  color: #f472b6;
}

.fb-title {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .float-bubble {
    display: none;
  }
}
.hero-stage-card {
  background: linear-gradient(135deg, rgba(22, 29, 53, 0.85) 0%, rgba(15, 20, 38, 0.95) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(245, 158, 11, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 72, 153, 0.18);
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #f472b6;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.stage-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
  animation: pulse-live 1.5s infinite;
}

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

.stage-tables-hud {
  display: flex;
  gap: 8px;
}

.hud-table-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
}

.hud-table-pill.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #f59e0b;
  color: #000000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

/* Виниловый плеер по центру */
.stage-turntable-box {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
  position: relative;
}

.vinyl-disc {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #222 25%, #111 60%, #050505 100%);
  border: 4px solid #2a2a2a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(236, 72, 153, 0.3);
  position: relative;
  flex-shrink: 0;
  animation: spin-record 8s linear infinite;
}

@keyframes spin-record {
  100% { transform: rotate(360deg); }
}

.vinyl-label-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #ec4899 100%);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.stage-now-playing {
  flex-grow: 1;
}

.now-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ec4899;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.now-artist {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 2px;
}

.now-title {
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
}

/* Анимированный звуковой эквалайзер */
.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
  margin-top: 10px;
}

.sound-bar {
  width: 4px;
  background: linear-gradient(180deg, #ec4899, #f59e0b);
  border-radius: 2px;
  animation: eq-bounce 1.2s ease-in-out infinite alternate;
}
.sb1 { height: 40%; animation-delay: 0.1s; }
.sb2 { height: 80%; animation-delay: 0.3s; }
.sb3 { height: 100%; animation-delay: 0.0s; }
.sb4 { height: 60%; animation-delay: 0.4s; }
.sb5 { height: 90%; animation-delay: 0.2s; }
.sb6 { height: 50%; animation-delay: 0.5s; }
.sb7 { height: 75%; animation-delay: 0.15s; }

@keyframes eq-bounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Сетка треков игры внутри макета */
.stage-grid-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.stage-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  transition: var(--transition);
}

.stage-cell.played {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.stage-cell.current {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #f59e0b;
  color: #000000;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
  animation: cell-pulse 1.8s infinite alternate;
}

@keyframes cell-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}

/* Переключалка тем прямо в макете */
.stage-theme-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-switch-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.theme-switch-btn:hover, .theme-switch-btn.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #000000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   СТАТИСТИКА (STATS STRIP)
   ========================================================================== */
.stats-strip {
  padding: 10px 0 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(18, 24, 43, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

.stat-card:hover {
  border-color: rgba(251, 191, 36, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 158, 11, 0.25);
}

.stat-num {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-num span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.5));
}

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

/* ==========================================================================
   ЧЕРЕДУЮЩИЕСЯ БЛОКИ (ZIGZAG FEATURES)
   ========================================================================== */
.sec-feat {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

#cue {
  background: radial-gradient(circle at 10% 50%, rgba(236, 72, 153, 0.16) 0%, transparent 55%);
}
#offline {
  background: radial-gradient(circle at 90% 50%, rgba(245, 158, 11, 0.16) 0%, transparent 55%);
}
#features {
  background: radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.16) 0%, transparent 55%);
}
#skins {
  background: radial-gradient(circle at 85% 50%, rgba(168, 85, 247, 0.16) 0%, transparent 55%);
}
#calculator {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.14) 0%, transparent 60%);
}

.feat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

.feat.rev {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.feat.rev .feat-txt {
  order: 2;
}

.feat-txt p {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feat-txt p strong {
  color: #ffffff;
  font-weight: 800;
}

.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.feat-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: #e2e8f0;
}

.bullet-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 900;
  margin-top: 2px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   НОВЫЕ ПРАЗДНИЧНЫЕ МАКЕТЫ (ВМЕСТО «СТРОЙМИРА»)
   Каждый макет наполнен сочной графикой и интерактивными деталями
   ========================================================================== */
.mockup-frame {
  position: relative;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.35s ease;
}

.mockup-frame:hover {
  border-color: rgba(251, 191, 36, 0.65);
  transform: translateY(-4px) scale(1.012);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(245, 158, 11, 0.25);
}

.hero-mockup {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(245, 158, 11, 0.2);
}

.mockup-header {
  background: rgba(10, 14, 26, 0.96);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 10px;
}

.mockup-zoom-hint {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}

.mockup-content {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #090d16;
  padding: 0;
  display: block;
  overflow: hidden;
}

.mockup-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-frame:hover .mockup-content img {
  transform: scale(1.025);
}

/* Специальные стилизованные внутренности макетов */

/* 1. Макет Cue-Points (Звуковая волна) */
.mockup-cue-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cue-track-preview-pill {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cue-wave-visualizer {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 38px;
  flex-grow: 1;
  margin: 0 20px;
}

.cue-wave-bar {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.cue-wave-bar.drop-zone {
  background: linear-gradient(180deg, #ec4899, #f59e0b);
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.6);
}

/* 2. Макет Офлайн (Флешка + Замок) */
.mockup-offline-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.offline-usb-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid #10b981;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.offline-ticket-preview {
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  padding: 16px;
  width: 190px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* 3. Макет смартфона */
.phone-mockup-frame {
  width: 220px;
  border: 5px solid #334155;
  border-radius: 36px;
  background: #0f172a;
  padding: 12px 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(6, 182, 212, 0.3);
}

.phone-screen-header {
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 8px;
}

.phone-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.phone-cell {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 2px;
  font-size: 9px;
  font-weight: 900;
  color: #ffffff;
}

.phone-cell.hit {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* 4. Макет Победы Бинго (Салют) */
.bingo-win-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.trophy-glow {
  font-size: 54px;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
  animation: trophy-bounce 2s infinite ease-in-out;
}

@keyframes trophy-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.placeholder-badge {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.placeholder-desc {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  max-width: 440px;
  margin-bottom: 6px;
}

.placeholder-sub {
  font-size: 12.5px;
  color: #94a3b8;
}

.mockup-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 19, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mockup-frame:hover .mockup-hover-overlay {
  opacity: 1;
}

.zoom-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.6);
}

.zoom-icon-text {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   СЕТКА ДЕТАЛЕЙ (МЕЛОЧИ ДЛЯ ВЕДУЩЕГО)
   ========================================================================== */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.fcard {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fcard:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.2);
}

.fcard-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.fcard h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.fcard p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   ИНТЕРАКТИВНЫЙ КАЛЬКУЛЯТОР ВЫГОДЫ
   ========================================================================== */
.calc-box {
  background: linear-gradient(135deg, rgba(22, 29, 53, 0.85) 0%, rgba(15, 20, 38, 0.95) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin-top: 50px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(245, 158, 11, 0.2);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

.slider-group label span:last-child {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.calc-range {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 15px var(--gold-glow);
  cursor: pointer;
}

.calc-result-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.calc-res-label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.calc-res-num {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.calc-res-sub {
  font-size: 14.5px;
  color: #e2e8f0;
  font-weight: 700;
}

/* ==========================================================================
   ТАРИФЫ (ЧЕМ ДОЛЬШЕ, ТЕМ ВЫГОДНЕЕ)
   ========================================================================== */
.sec-pricing {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.price {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.price:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.2);
}

.price.pop {
  border-color: #f59e0b;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 24, 43, 0.95) 60%);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.25);
  transform: scale(1.03);
}

.price.pop:hover {
  transform: scale(1.03) translateY(-6px);
}

.price-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.price-badge.green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.term {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

.term s {
  font-size: 15px;
  color: var(--pink);
  margin-left: 8px;
  font-weight: 700;
}

.amount {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.amount small {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-muted);
}

.total {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.total b {
  color: #ffffff;
}

.price ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.price li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1.45;
}

.price li svg {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Шаги под ценами */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.step b {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 800;
}

.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ЧАСТЫЕ ВОПРОСЫ (FAQ ACCORDION)
   ========================================================================== */
.sec-faq {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 860px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.6);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.15);
}

.faq-item summary {
  padding: 22px 28px;
  font-size: 17.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 28px 24px;
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ==========================================================================
   ФИНАЛЬНЫЙ CTA И ФУТЕР
   ========================================================================== */
.sec-final {
  padding: 110px 0 90px;
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
}

.sec-final .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sec-final .h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.sec-final .sub {
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 680px;
}

.sec-final .cta-row {
  justify-content: center !important;
  margin-top: 36px;
}

.foot {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-dim);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   МОДАЛКА LIGHTBOX (ZOOM)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 24, 43, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(12px);
  user-select: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-nav-btn.prev {
  left: -74px;
}

.lightbox-nav-btn.next {
  right: -74px;
}

.lightbox-nav-btn:hover {
  background: var(--gold);
  color: #000000;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  gap: 16px;
}

.lightbox-caption {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  line-height: 1.5;
}

.lightbox-counter {
  font-size: 13px;
  font-weight: 900;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.lightbox-close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--gold);
  color: #000000;
  transform: rotate(90deg);
}

@media (max-width: 992px) {
  .lightbox-nav-btn.prev {
    left: 10px;
  }
  .lightbox-nav-btn.next {
    right: 10px;
  }
  .lightbox-close-btn {
    top: -46px;
    right: 0;
  }
  .lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   МОДАЛКА ЗАЯВКИ
   ========================================================================== */
.modal-order {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(4, 7, 14, 0.88);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-order.show {
  display: flex;
}

.modal-card {
  background: linear-gradient(135deg, #131b2e 0%, #0d1322 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 26px;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1220px) {
  .nav {
    gap: 6px;
  }
  .nav a {
    font-size: 12.5px;
    padding: 4px 6px;
  }
  .hdr-inner {
    padding: 7px 12px;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .hero-grid, .feat, .feat.rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .feat.rev .feat-txt {
    order: 0;
  }
  .fgrid, .prices, .stats-grid, .steps, .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid > *,
  .feat > *,
  .feat.rev > *,
  .calc-grid > *,
  .fgrid > *,
  .prices > * {
    min-width: 0;
    max-width: 100%;
  }
  .price.pop {
    transform: none;
  }
  .price.pop:hover {
    transform: translateY(-4px);
  }
  .nav {
    display: none;
  }
}

/* ==========================================================================
   ПЛАНШЕТЫ И МОБИЛЬНЫЕ УСТРОЙСТВА (ДО 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Секции - более компактные отступы для мобилок */
  .hero {
    padding: 78px 0 24px;
  }
  .sec-feat {
    padding: 48px 0;
  }
  .sec-pricing, .sec-faq {
    padding: 52px 0;
  }
  .sec-final {
    padding: 60px 0 44px;
  }

  /* Оптимизация GPU на мобилках - снижаем тяжелые blur для плавного 60fps скролла */
  .hdr-inner,
  .stat-card,
  .hero-social-proof,
  .hero-plat-dock {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  /* Заголовки */
  .hero h1 {
    font-size: clamp(25px, 6.5vw, 36px);
    line-height: 1.22;
    margin-bottom: 14px;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .h2 {
    font-size: clamp(23px, 5.8vw, 30px);
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero .lead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .sub {
    font-size: 15px;
    line-height: 1.55;
  }

  /* Бейдж категории */
  .eyebrow {
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    line-height: 1.35;
  }

  /* Сетка статов */
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .stat-card {
    padding: 18px 12px;
    border-radius: 14px;
  }
  .stat-num {
    font-size: 28px;
  }
  .stat-label {
    font-size: 12px;
  }

  /* Карточки деталей и фич */
  .fgrid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    margin-top: 32px;
  }
  .fcard {
    padding: 22px 18px;
    border-radius: 16px;
  }

  /* Интерактивный калькулятор */
  .calc-box {
    padding: 24px 16px !important;
    margin-top: 32px !important;
    border-radius: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calc-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .calc-sliders {
    gap: 20px;
  }
  .slider-group label {
    font-size: 13.5px;
  }
  .slider-group label span:last-child {
    font-size: 16px;
  }
  .calc-result-box {
    padding: 22px 16px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calc-res-num {
    font-size: 32px;
  }
  .calc-res-sub {
    font-size: 13.5px;
  }

  /* Тарифы */
  .prices {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
    margin-top: 36px;
  }
  .price {
    padding: 30px 18px !important;
    border-radius: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .price.pop {
    transform: none !important;
  }
  .amount {
    font-size: 38px;
  }
  .price ul {
    gap: 12px;
    margin-bottom: 24px;
  }
  .price li {
    font-size: 13.5px;
  }
  .price .btn {
    width: 100%;
    justify-content: center;
  }

  /* Шаги под тарифами */
  .steps {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
    margin-top: 36px;
    padding-top: 30px;
  }

  /* FAQ */
  .faq-list {
    margin-top: 32px;
    gap: 10px;
  }
  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }
  .faq-item p {
    padding: 0 18px 18px;
    font-size: 14px;
  }

  /* Макеты и скриншоты */
  .mockup-frame, .mockup-stage-anchor, .hero-mockup-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mockup-header {
    padding: 10px 14px;
  }
  .mockup-title {
    font-size: 10px;
    padding: 0 6px;
  }
  .mockup-zoom-hint {
    font-size: 11px;
  }

  /* Футер */
  .foot {
    padding: 28px 0;
  }
  .foot-grid {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Модалка заказа */
  .modal-order {
    padding: 12px;
  }
  .modal-card {
    padding: 26px 16px !important;
    border-radius: 18px !important;
    max-width: 100% !important;
  }
  .modal-card h3 {
    font-size: 18px;
    padding-right: 28px;
  }
  .modal-plan-box {
    padding: 12px 14px;
  }
  .modal-btn-row {
    flex-direction: column;
    gap: 10px;
  }
  .modal-btn-row .btn {
    width: 100%;
  }

  /* Лайтбокс на мобильных */
  .lightbox-content {
    max-width: 100vw;
    padding: 8px;
  }
  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .lightbox-nav-btn.prev { left: 6px; }
  .lightbox-nav-btn.next { right: 6px; }
  .lightbox-close-btn {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .lightbox-footer {
    padding: 8px 12px;
  }
  .lightbox-caption {
    font-size: 12px;
  }
}

/* ==========================================================================
   СМАРТФОНЫ (ДО 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .hdr {
    top: 8px;
    padding: 0 10px;
  }
  .hdr-inner {
    padding: 6px 12px;
    border-radius: 14px;
    gap: 8px;
  }
  .logo {
    font-size: 17px;
  }
  /* Скрываем второстепенную кнопку в шапке, оставляем четкий CTA */
  .hdr-actions .btn-ghost {
    display: none;
  }
  .hdr-actions .btn-acc {
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: 8px;
  }

  /* Социальный пруф и доверие */
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .hero-social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .proof-text {
    width: 100%;
  }
  .proof-sub {
    font-size: 11px;
    line-height: 1.35;
  }

  /* Док совместимости под макетом */
  .hero-plat-dock {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    gap: 6px;
    justify-content: flex-start;
  }
  .hero-plat-dock .plat-badge {
    font-size: 11px;
    padding: 3px 8px;
    white-space: normal;
  }
}

/* ==========================================================================
   УЗКИЕ СМАРТФОНЫ (ДО 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .wrap {
    padding: 0 14px;
  }
  .hero h1 {
    font-size: clamp(23px, 6.8vw, 30px);
    line-height: 1.22;
  }
  .h2 {
    font-size: clamp(21px, 6.2vw, 26px);
  }

  /* Кнопки в Hero и секциях */
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 14px;
  }

  .feat-txt .btn {
    width: 100%;
    justify-content: center;
  }

  /* Одиночные статы на очень узких экранах */
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .stat-card {
    padding: 14px 8px;
  }
  .stat-num {
    font-size: 24px;
  }
  .stat-label {
    font-size: 11px;
  }

  /* Калькулятор */
  .calc-box {
    padding: 18px 12px !important;
  }
  .calc-result-box {
    padding: 18px 12px !important;
  }
  .calc-res-num {
    font-size: 28px;
  }

  /* Шапка макета */
  .mockup-header {
    padding: 8px 10px;
  }
  .mockup-zoom-hint span:last-child {
    display: none;
  }
}

/* ==========================================================================
   WIDESCREEN & 2K / 4K МОНИТОРЫ (от 1440px и выше)
   ========================================================================== */
@media (min-width: 1440px) {
  .wrap {
    max-width: 1380px;
    padding: 0 32px;
  }
  .hero-grid {
    gap: 56px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.18fr);
  }
  .hero h1 {
    font-size: clamp(38px, 2.7vw, 54px);
    line-height: 1.16;
  }
  .hero .lead {
    font-size: 18px;
    max-width: 620px;
  }
}

@media (min-width: 1800px) {
  .wrap {
    max-width: 1480px;
    padding: 0 40px;
  }
  .hero {
    padding: 105px 0 30px;
  }
  .hero-grid {
    gap: 68px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  }
  .hero h1 {
    font-size: 52px;
    line-height: 1.16;
  }
  .hero .lead {
    font-size: 18.5px;
    max-width: 650px;
  }
}

/* ==========================================================================
   ПЛАВАЮЩАЯ КНОПКА ЧАТА ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (ANDROID / IOS)
   ========================================================================== */
.vk-mobile-chat-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077ff 0%, #00f0ff 100%);
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.55);
  z-index: 99999;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 900px) {
  .vk-mobile-chat-fab {
    display: flex !important;
  }
}

.vk-mobile-chat-fab:active {
  transform: scale(0.92);
}

.vk-fab-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.85);
  animation: vkFabPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes vkFabPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
