/* ==========================================================================
   RUSIKOUF EVENT — Ведущий квизов в Москве
   Theme: TV-Show / Neon / Premium-Shine
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand palette */
  --bg:        #0a0014;
  --bg-2:      #120024;
  --bg-3:      #1a0035;
  --surface:   #190030;
  --surface-2: #240048;
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.18);

  --txt:       #f4f1ff;
  --muted:     rgba(244,241,255,0.65);
  --faint:     rgba(244,241,255,0.35);

  /* Neon accents */
  --neon-yellow: #FFD60A;       /* основной акцент */
  --neon-magenta:#D946EF;       /* шоу */
  --neon-cyan:   #22D3EE;       /* tech */
  --neon-pink:   #FF3CAC;

  --grad-1: linear-gradient(135deg, #FFD60A 0%, #FF8A00 60%, #FF3CAC 100%);
  --grad-2: linear-gradient(135deg, #D946EF 0%, #8B5CF6 50%, #22D3EE 100%);
  --grad-surface: linear-gradient(160deg, rgba(217,70,239,0.08) 0%, rgba(34,211,238,0.04) 100%);

  /* Shadows */
  --shadow-neon-y: 0 0 0 1px rgba(255,214,10,0.35), 0 8px 24px rgba(255,214,10,0.22);
  --shadow-neon-m: 0 0 0 1px rgba(217,70,239,0.35), 0 8px 30px rgba(217,70,239,0.25);
  --shadow-card:   0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 40px rgba(0,0,0,0.35);

  /* Typography */
  --ff-display: 'Unbounded', 'Arial Black', sans-serif;
  --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max-w: 1240px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --section-pad: clamp(80px, 10vw, 140px) clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 900; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

/* ---------- CONTENT PROTECTION ---------- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
input, textarea, select { user-select: text; -webkit-user-select: text; }
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
/* Re-enable pointer on real interactive imgs if needed */
figure img, .vinyl-face img, .photo-frame img { pointer-events: auto; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 10000;
  background: var(--neon-yellow); color: var(--bg); padding: 8px 14px;
  border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- Containers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.grad { background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad2 { background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--neon-yellow);
  padding: 6px 14px;
  border: 1px solid rgba(255,214,10,0.35); border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(255,214,10,0.06);
}
.eyebrow.light { color: var(--neon-yellow); }
.h2 { font-size: clamp(30px, 4.5vw, 54px); margin-bottom: 16px; }
.h2.light { color: #fff; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 720px; margin: 0 auto; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 24px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 100px;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  transition: all .3s var(--ease);
  cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
  user-select: none; -webkit-user-select: none;
}
.btn-primary {
  background: var(--grad-1);
  color: #120024;
  box-shadow: 0 10px 30px rgba(255,140,0,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(255,140,0,0.5); }
.btn-primary:active { transform: translateY(-1px) scale(1); }

.btn-ghost {
  background: transparent; color: var(--txt);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(34,211,238,0.05); transform: translateY(-2px); }

.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: 100px;
  background: var(--grad-1); color: #120024; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 20px rgba(255,140,0,0.3);
  transition: all .3s var(--ease);
}
.btn-primary-sm:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,140,0,0.45); }

.btn-full { width: 100%; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .4s var(--ease);
  padding: 18px 0;
}
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(10,0,20,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { padding: 10px 0; }
.navbar.scrolled::before { opacity: 1; border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-1); color: #120024;
  font-weight: 900; font-size: 24px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-neon-y);
}
.logo-text { font-size: 16px; color: var(--txt); font-weight: 400; letter-spacing: 0.02em; }
.logo-text b { font-weight: 900; color: var(--neon-yellow); }

.nav-menu { display: flex; gap: 28px; align-items: center; justify-self: center; }
.nav-menu a {
  color: var(--muted); font-weight: 500; font-size: 14px;
  transition: color .2s; position: relative;
}
.nav-menu a:hover { color: var(--txt); }
.nav-menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--neon-yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu .nav-cta {
  color: var(--neon-yellow); padding: 8px 18px;
  border: 1.5px solid var(--neon-yellow); border-radius: 100px;
}
.nav-menu .nav-cta::after { display: none; }
.nav-menu .nav-cta:hover { background: var(--neon-yellow); color: #120024; }

.nav-contact { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--txt);
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255,214,10,0.1); border: 1px solid rgba(255,214,10,0.25);
  transition: all .25s;
  white-space: nowrap;
}
.nav-phone span { white-space: nowrap; }
.nav-phone:hover { background: rgba(255,214,10,0.2); transform: translateY(-2px); }
.nav-phone svg { color: var(--neon-yellow); flex-shrink: 0; }

.nav-socials { display: flex; gap: 8px; }
.soc {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: var(--muted);
  transition: all .25s;
  border: 1px solid transparent;
}
.soc:hover { transform: translateY(-3px) scale(1.08); color: #fff; }
.soc-tg:hover  { background: rgba(34,139,230,0.9); box-shadow: 0 8px 20px rgba(34,139,230,0.5); }
.soc-wa:hover  { background: rgba(37,211,102,0.9); box-shadow: 0 8px 20px rgba(37,211,102,0.5); }
.soc-max:hover { background: rgba(255,214,10,0.9); color:#120024; box-shadow: 0 8px 20px rgba(255,214,10,0.5); }
.soc-vk:hover  { background: rgba(0,119,255,0.9); box-shadow: 0 8px 20px rgba(0,119,255,0.5); }

/* Burger */
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span {
  display: block; width: 22px; height: 2px; background: var(--txt);
  position: absolute; left: 50%; margin-left: -11px;
  transition: all .3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px clamp(16px, 4vw, 32px) 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; width: 540px; height: 540px; border-radius: 50%;
  filter: blur(110px); opacity: 0.5;
}
.hero-glow.g-1 { background: var(--neon-magenta); top: -150px; left: -150px; animation: floaty 18s ease-in-out infinite; }
.hero-glow.g-2 { background: var(--neon-cyan);    top: 30%; right: -200px; animation: floaty 22s ease-in-out infinite reverse; }
.hero-glow.g-3 { background: var(--neon-yellow);  bottom: -180px; left: 30%; opacity: 0.3; animation: floaty 26s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.15); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.3);
  color: var(--neon-cyan); font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 84px);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px); color: var(--muted);
  margin-bottom: 36px; line-height: 1.65;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.hs-item b {
  font-family: var(--ff-display); font-size: clamp(24px, 3vw, 36px); font-weight: 900;
  display: block;
  background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.hs-item span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; display: block; }

/* ------- VINYL CARDS (Hero right) ------- */
.hero-vinyls { position: relative; }
.vinyl-title {
  text-align: center; margin-bottom: 24px;
  font-family: var(--ff-display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--neon-yellow);
}
.vinyl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  perspective: 1200px;
}

.vinyl {
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.vinyl.flipped { transform: rotateY(180deg); }
.vinyl:hover:not(.flipped) { transform: scale(1.05) rotateY(6deg); }

.vinyl-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: grid; place-items: center;
  overflow: hidden;
}

/* FRONT — vinyl record */
.vinyl-front {
  background:
    radial-gradient(circle at center, var(--label-color, var(--neon-magenta)) 0 22%, #000 22% 23%, #1a1a1a 23% 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.04),
    0 10px 30px rgba(0,0,0,0.6),
    0 0 60px rgba(217,70,239,0.2);
}
/* Groove rings */
.vinyl-front::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 2px,
      rgba(255,255,255,0.04) 2px 3px
    );
}
/* Shine reflection */
.vinyl-front::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 35%, transparent 65%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.vinyl-label {
  position: relative; z-index: 2;
  width: 48%; height: 48%;
  border-radius: 50%;
  background: var(--label-color);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px rgba(0,0,0,0.2), 0 0 20px rgba(0,0,0,0.4);
}
/* Круговой текст «УГАДАЙ» по лейблу винила */
.vinyl-circle-text {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
}
.vinyl-circle-text text {
  font-family: var(--ff-display);
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.55));
}
.vinyl-label::before {
  content: ''; position: absolute; width: 12%; height: 12%;
  background: #0a0a0a; border-radius: 50%;
  z-index: 4;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
}

/* Rotate animation when not flipped */
.vinyl:not(.flipped) .vinyl-front {
  animation: spin 12s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* BACK — reveal emoji/text */
.vinyl-back {
  transform: rotateY(180deg);
  background: var(--back-gradient, var(--grad-2));
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 50px var(--neon-cyan),
    inset 0 0 0 2px rgba(255,255,255,0.2);
  padding: 14%;
}
.vinyl-back-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(10,0,20,0.85);
  display: grid; place-items: center;
  padding: 14%;
}
.vinyl-emoji {
  font-size: clamp(44px, 7.5vw, 80px); line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  animation: wobble 1.2s var(--ease);
}
@keyframes wobble {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.15) rotate(-5deg); }
  75% { transform: scale(1.05) rotate(5deg); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px;
  display: grid; place-items: center;
  z-index: 2;
}
.scroll-hint span {
  display: block; width: 3px; height: 7px; background: var(--neon-yellow); border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}
.scroll-hint span:nth-child(2) { display: none; }
@keyframes scrollDown {
  0%   { transform: translateY(-8px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: var(--section-pad); position: relative; }
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
/* ==========================================================================
   PHOTO FRAME — простой img в нормальном flow (работает везде, включая
   старые iOS/Android без aspect-ratio).
   ========================================================================== */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-2);
  padding: 2px;
  display: block;
}
.photo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--bg-2);
}
.photo-ph {
  display: none;
  border-radius: calc(var(--radius-lg) - 2px);
  color: var(--muted);
  padding: 32px;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.03) 12px 13px),
    var(--bg-2);
  aspect-ratio: 4/5;
}
.photo-ph span { font-size: 16px; font-weight: 600; display: block; margin-bottom: 8px; }
.photo-ph small { font-size: 12px; color: var(--faint); }
.photo-frame.no-photo .photo-img { display: none; }
.photo-frame.no-photo .photo-ph { display: grid; place-items: center; }

.photo-badge {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 100px;
  background: rgba(10,0,20,0.85); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,214,10,0.4);
}
.photo-badge svg { color: var(--neon-yellow); }

/* ==========================================================================
   PHOTO STRIP — 2 доп. фото под основным портретом
   ========================================================================== */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.ps-item {
  position: relative;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: var(--grad-2);
  padding: 2px;
  aspect-ratio: 4/3;
  transition: transform 0.3s var(--ease);
}
.ps-item:hover { transform: translateY(-3px); }
.ps-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--bg-2);
}
@media (max-width: 520px) {
  .photo-strip { gap: 8px; margin-top: 10px; }
  .ps-item { aspect-ratio: 1/1; }
}

.about-features { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.about-features li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.feat-ic {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  background: var(--grad-surface); border: 1px solid var(--line);
}
.about-features b { display: block; font-size: 16px; margin-bottom: 4px; font-weight: 700; }
.about-features span { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   FORMATS
   ========================================================================== */
.formats { padding: var(--section-pad); background: linear-gradient(180deg, transparent, var(--bg-2), transparent); }

.formats-filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 48px;
}
.ff-btn {
  padding: 10px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--muted); font-weight: 600; font-size: 14px;
  transition: all .25s;
}
.ff-btn:hover { color: var(--txt); border-color: var(--line-2); }
.ff-btn.is-active {
  background: var(--grad-1); color: #120024; border-color: transparent;
  box-shadow: 0 8px 22px rgba(255,140,0,0.3);
}

.formats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.fmt-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.fmt-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(217,70,239,0.15), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.fmt-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217,70,239,0.4);
  box-shadow: var(--shadow-neon-m);
}
.fmt-card:hover::before { opacity: 1; }
.fmt-card.featured {
  background: linear-gradient(160deg, rgba(255,214,10,0.08), rgba(255,60,172,0.08));
  border-color: rgba(255,214,10,0.3);
}
.fmt-card.hide { display: none; }

.fmt-ribbon {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 5px 12px; border-radius: 100px;
  background: var(--neon-yellow); color: #120024;
  font-size: 11px; font-weight: 900; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fmt-ic {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(217,70,239,0.12);
  border: 1px solid rgba(217,70,239,0.25);
  margin-bottom: 22px;
}
.fmt-ic span { font-size: 34px; line-height: 1; }
.fmt-card.featured .fmt-ic { background: rgba(255,214,10,0.15); border-color: rgba(255,214,10,0.35); }
.fmt-card h3 { font-size: 20px; margin-bottom: 12px; }
.fmt-card p { color: var(--muted); font-size: 14px; flex: 1; margin: 0 0 20px; }
.fmt-meta {
  display: flex; gap: 14px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--faint); font-weight: 600;
  margin-bottom: 18px;
}
.fmt-meta span { display: inline-flex; align-items: center; gap: 4px; }
.fmt-meta span::before { content: '•'; color: var(--neon-cyan); }
.fmt-meta span:first-child::before { content: '👥'; }
.fmt-meta span:last-child::before { content: '⏱'; }
.fmt-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--neon-yellow); font-weight: 700; font-size: 14px;
  align-self: flex-start;
  transition: transform .25s;
}
.fmt-link:hover { transform: translateX(4px); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how { padding: var(--section-pad); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: how; }
.how-card {
  position: relative; padding: 36px 28px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .3s var(--ease);
}
.how-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.4); }
.how-n {
  font-family: var(--ff-display); font-size: 52px; font-weight: 900;
  background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 20px;
  opacity: 0.9;
}
.how-card h3 { font-size: 22px; margin-bottom: 12px; }
.how-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ==========================================================================
   DEMO QUIZ
   ========================================================================== */
.demo { padding: var(--section-pad); background: linear-gradient(180deg, transparent, rgba(217,70,239,0.05), transparent); }
.demo-box {
  max-width: 820px; margin: 0 auto;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(217,70,239,0.15);
  position: relative; overflow: hidden;
}
.demo-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(217,70,239,0.15), transparent 50%);
  pointer-events: none;
}
.demo-stage { position: relative; z-index: 2; min-height: 380px; }
.dq-screen { text-align: center; animation: fadeInUp .5s var(--ease); }
.dq-progress {
  display: inline-flex; gap: 6px; margin-bottom: 24px;
  color: var(--faint); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.dq-q {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 28px;
  line-height: 1.3;
}
.dq-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; margin: 0 auto; }
.dq-opt {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--line);
  color: var(--txt);
  font-size: 15px; font-weight: 500;
  text-align: left;
  transition: all .25s;
  display: flex; align-items: center; gap: 12px;
}
.dq-opt-letter {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad-2); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 14px;
  flex-shrink: 0;
}
.dq-opt:hover:not(.correct):not(.wrong) {
  border-color: var(--neon-cyan); background: rgba(34,211,238,0.08);
  transform: translateX(4px);
}
.dq-opt.correct { background: rgba(34,197,94,0.15); border-color: rgb(34,197,94); color: #fff; }
.dq-opt.correct .dq-opt-letter { background: rgb(34,197,94); }
.dq-opt.wrong { background: rgba(239,68,68,0.15); border-color: rgb(239,68,68); color: #fff; }
.dq-opt.wrong .dq-opt-letter { background: rgb(239,68,68); }
.dq-opt:disabled { cursor: default; pointer-events: none; }

.dq-result {
  text-align: center; padding: 20px 0;
}
.dq-score {
  font-family: var(--ff-display); font-size: clamp(48px, 7vw, 80px); font-weight: 900;
  background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.dq-msg { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.dq-sub { color: var(--muted); margin-bottom: 24px; }
.dq-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { padding: var(--section-pad); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gl-item {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease);
  cursor: pointer;
  position: relative;
}
.gl-big { grid-column: span 2; grid-row: span 2; }
.gl-item:hover { transform: scale(1.02); border-color: rgba(217,70,239,0.4); }
.gl-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
  transition: transform .6s var(--ease);
}
.gl-item:hover .gl-img { transform: scale(1.05); }
.gl-ph {
  width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 20px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(217,70,239,0.04) 12px 13px),
    radial-gradient(ellipse at center, rgba(217,70,239,0.08), transparent);
}
.gl-ph span { display: block; font-size: 12px; font-weight: 700; font-family: monospace; margin-bottom: 4px; color: var(--neon-magenta); }
.gl-ph small { font-size: 11px; color: var(--faint); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { padding: var(--section-pad); background: linear-gradient(180deg, transparent, var(--bg-2), transparent); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pr-card {
  position: relative; padding: 32px 22px;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: all .4s var(--ease);
  display: flex; flex-direction: column;
}
.pr-card:hover {
  transform: translateY(-6px); border-color: rgba(34,211,238,0.4);
  box-shadow: 0 24px 50px rgba(34,211,238,0.15);
}
.pr-card.featured {
  background: linear-gradient(160deg, rgba(255,214,10,0.1), rgba(217,70,239,0.05) 70%);
  border-color: var(--neon-yellow);
  box-shadow: 0 20px 50px rgba(255,214,10,0.2);
  transform: scale(1.03);
}
.pr-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.pr-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 100px;
  background: var(--neon-yellow); color: #120024;
  font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255,214,10,0.4);
}
.pr-tag {
  font-size: 12px; color: var(--faint); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.pr-card h3 { font-size: 20px; margin-bottom: 8px; white-space: nowrap; letter-spacing: -0.01em; }
.pr-price {
  font-family: var(--ff-display);
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 24px;
  white-space: nowrap;
}
.pr-price span { font-size: 32px; font-weight: 900; background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; white-space: nowrap; }
.pr-price i { font-size: 18px; font-style: normal; color: var(--muted); white-space: nowrap; }
.pr-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pr-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 14px; color: var(--muted);
}
.pr-list li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34,211,238,0.15); color: var(--neon-cyan);
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
}

.pricing-note {
  margin-top: 40px; text-align: center;
  padding: 16px 24px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(34,211,238,0.06); border: 1px solid rgba(34,211,238,0.2);
  color: var(--muted); font-size: 14px;
  margin-left: 50%; transform: translateX(-50%);
}
.pricing-note svg { color: var(--neon-cyan); flex-shrink: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--section-pad); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border-radius: 16px; border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: all .3s;
}
.faq-item[open] { border-color: rgba(255,214,10,0.4); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  width: 28px; height: 28px; border-radius: 50%;
  position: relative; flex-shrink: 0;
  background: rgba(255,214,10,0.1);
  transition: all .3s;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: ''; position: absolute;
  background: var(--neon-yellow); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq-item summary i::before { top: 50%; left: 20%; right: 20%; height: 2px; margin-top: -1px; }
.faq-item summary i::after  { left: 50%; top: 20%; bottom: 20%; width: 2px; margin-left: -1px; }
.faq-item[open] summary i { background: var(--neon-yellow); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: #120024; }
.faq-item[open] summary i::after { transform: rotate(90deg); }
.faq-a {
  padding: 0 24px 24px;
  color: var(--muted); font-size: 15px; line-height: 1.7;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: var(--section-pad);
  background: linear-gradient(160deg, rgba(217,70,239,0.12), rgba(10,0,20,0) 60%), var(--bg-2);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--neon-cyan); filter: blur(150px); opacity: 0.18;
  pointer-events: none;
}
.contact-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: start; position: relative; z-index: 2;
}
.contact-sub { color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.contact-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-card {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  transition: all .25s;
}
.cs-card:hover { transform: translateY(-3px); border-color: var(--line-2); background: rgba(255,255,255,0.06); }
.cs-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-2); display: grid; place-items: center;
  font-weight: 900; font-size: 20px; color: #fff; flex-shrink: 0;
}
.cs-ic.cs-wa { background: rgb(37,211,102); }
.cs-ic.cs-tg { background: rgb(34,139,230); }
.cs-ic.cs-max { background: var(--neon-yellow); color: #120024; }
.cs-card b { display: block; font-size: 15px; font-weight: 700; }
.cs-card span { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.form-title {
  font-size: 24px; margin-bottom: 24px;
}
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.field > span i { color: var(--neon-magenta); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(10,0,20,0.5); border: 1.5px solid var(--line-2);
  color: var(--txt); font-size: 15px;
  transition: all .2s;
  outline: none;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 0 4px rgba(255,214,10,0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(239,68,68,0.5);
}

.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start;
  margin: 18px 0 20px;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--neon-yellow);
  cursor: pointer;
}
.consent a {
  color: var(--neon-yellow); text-decoration: underline; text-underline-offset: 2px;
}
.consent a:hover { color: #fff; }

.form-small {
  font-size: 11px; color: var(--faint); margin: 12px 0 0; text-align: center;
}
.form-status {
  margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-align: center;
  display: none;
}
.form-status.is-ok {
  display: block;
  background: rgba(34,197,94,0.12); color: rgb(74,222,128);
  border: 1px solid rgba(34,197,94,0.3);
}
.form-status.is-err {
  display: block;
  background: rgba(239,68,68,0.12); color: rgb(248,113,113);
  border: 1px solid rgba(239,68,68,0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 64px 0 32px;
  background: #050010;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px;
  margin-bottom: 48px;
}
.foot-brand p { color: var(--muted); font-size: 14px; margin: 20px 0 16px; line-height: 1.6; }
.foot-brand .logo { margin-bottom: 0; }
.foot-name { font-size: 13px; color: var(--faint); }
.foot-col h4 {
  font-size: 14px; font-family: var(--ff-body); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--neon-yellow); margin-bottom: 20px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot-col a:hover { color: var(--txt); }

.foot-phone {
  display: block; font-family: var(--ff-display);
  font-size: 22px; font-weight: 700; margin-bottom: 16px;
  color: var(--txt) !important;
}
.foot-phone:hover { color: var(--neon-yellow) !important; }
.foot-socials { display: flex; gap: 10px; margin-bottom: 16px; }
.foot-socials .soc { width: 40px; height: 40px; }
.foot-hours { font-size: 13px; color: var(--faint); margin: 0; }

/* ==========================================================================
   FOOTER KEYWORDS — SEO-блок с популярными запросами
   ========================================================================== */
.foot-keywords {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.foot-keywords h4 {
  font-size: 14px;
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-yellow);
  margin-bottom: 18px;
}
.kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kw-cloud a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.kw-cloud a:hover {
  background: rgba(255,214,10,0.08);
  border-color: rgba(255,214,10,0.4);
  color: var(--neon-yellow);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .foot-keywords h4 { font-size: 13px; letter-spacing: 0.05em; }
  .kw-cloud a { font-size: 12px; padding: 6px 11px; }
  .kw-cloud { gap: 6px; }
}

.foot-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; color: var(--faint); flex-wrap: wrap;
}
.foot-bottom a:hover { color: var(--neon-yellow); }

/* ==========================================================================
   FLOATING CTA PILL (right bottom)
   ========================================================================== */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
}
.fc-toggle {
  position: relative; z-index: 2;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--grad-1); color: #120024;
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  box-shadow: 0 10px 40px rgba(255,140,0,0.5);
  transition: all .3s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.fc-toggle .fc-label { display: none; }
.fc-toggle:hover { transform: scale(1.1) rotate(8deg); }
.fc-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--neon-yellow);
  animation: fcPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes fcPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}
.floating-cta.open .fc-toggle { transform: rotate(135deg); background: #fff; color: #120024; }

.fc-panel {
  position: absolute; bottom: 80px; right: 0;
  display: grid; gap: 8px;
  width: 220px;
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: all .3s var(--ease);
}
.floating-cta.open .fc-panel { transform: none; opacity: 1; pointer-events: auto; }
.fc-link {
  padding: 14px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-2);
  color: var(--txt); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  transition: all .25s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  text-align: left;
  width: 100%;
}
.fc-link:hover { transform: translateX(-4px); border-color: var(--neon-yellow); color: var(--neon-yellow); }
.fc-link::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon-yellow);
}
.fc-wa::before { background: rgb(37,211,102); }
.fc-tg::before { background: rgb(34,139,230); }
.fc-max::before { background: var(--neon-yellow); }
.fc-phone::before { background: var(--neon-magenta); }
.fc-form::before { background: var(--neon-cyan); }
.fc-form { border-color: rgba(34,211,238,0.4); color: var(--neon-cyan); }

/* ==========================================================================
   SCROLL-TOP
   ========================================================================== */
.scroll-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 89;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--surface); color: var(--neon-yellow);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transform: translateY(80px); opacity: 0; pointer-events: none;
  transition: all .4s var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.scroll-top.visible { transform: none; opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--neon-yellow); color: #120024; transform: translateY(-4px) scale(1.1); }

/* ==========================================================================
   POPUP
   ========================================================================== */
.popup {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.popup.is-open { display: flex; animation: fadePopup .3s ease; }
@keyframes fadePopup {
  from { opacity: 0; } to { opacity: 1; }
}
.popup-overlay {
  position: absolute; inset: 0;
  background: rgba(5,0,15,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.popup-box {
  position: relative; z-index: 2;
  max-width: 460px; width: 100%;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 80px rgba(217,70,239,0.15);
  animation: popupIn .4s var(--ease-spring);
}
@keyframes popupIn {
  from { transform: translateY(40px) scale(0.9); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.popup-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--muted); font-size: 28px; line-height: 1;
  display: grid; place-items: center;
  transition: all .2s;
}
.popup-close:hover { background: var(--neon-magenta); color: #fff; transform: rotate(90deg); }
.popup-head { text-align: center; margin-bottom: 24px; }
.popup-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  background: rgba(255,60,172,0.12); border: 1px solid rgba(255,60,172,0.3);
  color: var(--neon-magenta); font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 16px;
}
.popup-head h3 {
  font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px;
  background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.popup-head p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.popup-form { padding: 0; background: transparent; border: none; box-shadow: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-vinyls { max-width: 440px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-card.featured { transform: none; }
  .pr-card.featured:hover { transform: translateY(-6px); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }
  .nav-contact .nav-phone span { display: none; }
  .nav-contact .nav-phone { padding: 10px; }
  .nav-socials { display: none; }
  .burger { display: block; }
  .nav-menu {
    position: fixed; inset: 70px 0 0 0;
    background: var(--bg-2); backdrop-filter: blur(10px);
    padding: 32px 24px; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 16px 0; font-size: 18px; color: var(--txt);
    border-bottom: 1px solid var(--line);
  }
  .nav-menu a::after { display: none; }
  .nav-menu .nav-cta { text-align: center; margin-top: 16px; border: 1.5px solid var(--neon-yellow); }

  .hero { padding: 120px 16px 60px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; min-width: 0; }

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

  .formats-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gl-big { grid-column: span 2; grid-row: span 1; }

  .dq-options { grid-template-columns: 1fr; }

  .contact-socials { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; }

  .floating-cta { bottom: 16px; right: 16px; }
  .fc-toggle { width: 56px; height: 56px; }
  .scroll-top { left: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .h2 { font-size: 26px; }
  .vinyl-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-note { flex-direction: column; text-align: center; border-radius: 14px; }
}

/* ==========================================================================
   JS-GENERATED UI — DEMO QUIZ, STATUSES, UTILITIES
   ========================================================================== */

/* Utility — hide (fmt-cards filter, etc.) */
.is-hidden { display: none !important; }

/* Body locks when popup open */
body.no-scroll { overflow: hidden; }

/* Active nav link (scroll-spy) */
.nav-menu a.is-active { color: var(--neon-yellow); }
.nav-menu a.is-active::after { transform: scaleX(1); background: var(--neon-yellow); }

/* ------- Form status: loading state ------- */
.form-status.is-loading {
  display: block;
  background: rgba(34,211,238,0.08);
  color: rgb(103,232,249);
  border: 1px solid rgba(34,211,238,0.25);
}

/* Submit button loading */
.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.btn.is-loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  margin-left: 10px;
  display: inline-block;
  animation: btnspin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes btnspin { to { transform: rotate(360deg); } }

/* ------- Floating CTA pulse hint ------- */
.floating-cta.pulse .fc-toggle {
  animation: fcpulse 1s var(--ease) 3;
}
@keyframes fcpulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); box-shadow: 0 10px 50px rgba(255,215,10,0.8), 0 0 0 14px rgba(255,215,10,0.2); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   DEMO QUIZ
   ========================================================================== */
.demo-progress {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.demo-progress span { flex-shrink: 0; }
.dp-bar {
  flex: 1; height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden;
}
.dp-fill {
  height: 100%; background: var(--grad-1);
  border-radius: 99px;
  transition: width 0.5s var(--ease);
  box-shadow: 0 0 20px var(--neon-yellow);
}

.demo-q {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--txt);
  margin: 0 0 28px;
  line-height: 1.3;
  text-align: center;
}

.demo-answers {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.demo-ans {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  color: var(--txt);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.demo-ans:hover:not(:disabled) {
  background: rgba(255,215,10,0.08);
  border-color: var(--neon-yellow);
  transform: translateX(4px);
}
.demo-ans:disabled { cursor: default; }
.demo-ans.is-correct {
  background: rgba(34,197,94,0.15);
  border-color: rgb(74,222,128);
  color: rgb(134,239,172);
  box-shadow: 0 0 24px rgba(34,197,94,0.3);
}
.demo-ans.is-wrong {
  background: rgba(239,68,68,0.15);
  border-color: rgb(248,113,113);
  color: rgb(254,165,170);
  animation: shake 0.4s var(--ease);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.da-letter {
  width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--grad-2);
  color: #fff;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 14px;
}
.demo-ans.is-correct .da-letter { background: rgb(74,222,128); color: #05240f; }
.demo-ans.is-wrong .da-letter   { background: rgb(248,113,113); color: #2d0606; }
.da-text { flex: 1; }

.demo-hint {
  margin: 0;
  padding: 12px 16px;
  background: rgba(255,215,10,0.06);
  border: 1px dashed rgba(255,215,10,0.3);
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.demo-result {
  text-align: center;
  padding: 20px 0;
  animation: popIn 0.5s var(--ease);
}
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.dr-emoji {
  font-size: 72px; line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 6px 20px rgba(217,70,239,0.5));
}
.dr-score {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.dr-text {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.dr-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

/* Demo responsive */
@media (max-width: 640px) {
  .demo-answers { grid-template-columns: 1fr; }
  .demo-progress { flex-direction: column; align-items: stretch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .vinyl:not(.flipped) .vinyl-front { animation: none; }
  .mp-disc, .mp-eq span { animation: none !important; }
}

/* ==========================================================================
   MINI AUDIO PLAYER — «Моя визитка»
   ========================================================================== */
.mini-player {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  margin: 24px 0 28px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,214,10,0.08), rgba(217,70,239,0.08));
  border: 1px solid rgba(255,214,10,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.mini-player::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(120deg, transparent 40%, rgba(255,214,10,0.12) 50%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.mini-player.is-playing {
  border-color: var(--neon-yellow);
  box-shadow: 0 14px 40px rgba(255,214,10,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}
.mini-player.is-playing::before { opacity: 1; animation: mpShine 4s linear infinite; }
@keyframes mpShine {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Обложка — виниловый диск */
.mp-cover {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 6px 16px rgba(0,0,0,0.5);
  display: grid; place-items: center;
}
.mp-disc {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--neon-yellow) 0 18%, #0a0a0a 18% 22%, #1a1a1a 22% 100%),
    repeating-radial-gradient(circle, transparent 0 2px, rgba(255,255,255,0.04) 2px 3px);
  position: relative;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.mp-disc::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 35%, transparent 65%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.mp-disc-hole {
  position: absolute;
  width: 10%; height: 10%;
  background: #000;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.mini-player.is-playing .mp-disc {
  animation: mpSpin 6s linear infinite;
}
@keyframes mpSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* Эквалайзер поверх диска */
.mp-eq {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 3px; align-items: flex-end;
  height: 18px;
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: 3;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.9));
}
.mp-eq span {
  display: block;
  width: 3px; height: 4px;
  border-radius: 2px;
  background: var(--neon-yellow);
}
.mini-player.is-playing .mp-eq { opacity: 1; }
.mini-player.is-playing .mp-eq span { animation: mpEq 0.9s ease-in-out infinite; }
.mini-player.is-playing .mp-eq span:nth-child(1) { animation-delay: 0.0s; }
.mini-player.is-playing .mp-eq span:nth-child(2) { animation-delay: 0.15s; }
.mini-player.is-playing .mp-eq span:nth-child(3) { animation-delay: 0.3s; }
.mini-player.is-playing .mp-eq span:nth-child(4) { animation-delay: 0.45s; }
@keyframes mpEq {
  0%, 100% { height: 4px; }
  50%      { height: 16px; }
}

/* Тело плеера */
.mp-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mp-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.mp-meta { min-width: 0; }
.mp-title {
  font-weight: 800; font-size: 15px; color: var(--txt);
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mp-sub {
  font-size: 12px; color: var(--muted);
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mp-time {
  font-family: monospace;
  font-size: 12px; color: var(--faint);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mp-time-sep { margin: 0 4px; opacity: 0.5; }

/* Прогресс-бар */
.mp-progress {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  cursor: pointer;
  outline: none;
  transition: height .2s var(--ease);
}
.mp-progress:hover, .mp-progress:focus-visible { height: 8px; }
.mp-progress-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: var(--grad-1);
  border-radius: 100px;
  box-shadow: 0 0 8px rgba(255,214,10,0.4);
  transition: width .1s linear;
}
.mp-progress-knob {
  position: absolute;
  top: 50%; left: 0%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 0 3px rgba(255,214,10,0.3), 0 2px 6px rgba(0,0,0,0.4);
  transition: transform .2s var(--ease);
  pointer-events: none;
}
.mp-progress:hover .mp-progress-knob,
.mp-progress:focus-visible .mp-progress-knob,
.mini-player.is-playing .mp-progress-knob { transform: translate(-50%, -50%) scale(1); }

/* Кнопки */
.mp-controls { display: flex; align-items: center; gap: 10px; }
.mp-btn {
  display: grid; place-items: center;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all .2s var(--ease);
  color: #120024;
  flex-shrink: 0;
}
.mp-play {
  width: 40px; height: 40px;
  background: var(--neon-yellow);
  box-shadow: 0 4px 14px rgba(255,214,10,0.4);
}
.mp-play:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(255,214,10,0.6); }
.mp-play:active { transform: scale(0.96); }
.mp-play .ic-pause { display: none; }
.mini-player.is-playing .mp-play .ic-play  { display: none; }
.mini-player.is-playing .mp-play .ic-pause { display: block; }

.mp-stop {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
}
.mp-stop:hover { background: rgba(217,70,239,0.2); color: var(--neon-magenta); border-color: var(--neon-magenta); }
.mp-stop:active { transform: scale(0.94); }

.mp-hint {
  font-size: 12px; color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
  .mini-player { grid-template-columns: 64px 1fr; gap: 14px; padding: 12px; }
  .mp-cover { width: 64px; height: 64px; }
  .mp-title { font-size: 14px; }
  .mp-sub { font-size: 11px; }
  .mp-hint { display: none; }
  .mp-time { font-size: 11px; }
}

/* ==========================================================================
   COOKIE CONSENT BANNER — RKN-compliant согласие на обработку cookie
   ========================================================================== */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  max-width: 720px;
  width: calc(100% - 32px);
  background: rgba(10, 0, 20, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 214, 10, 0.35);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease, ease-out), transform 0.4s var(--ease, ease-out), visibility 0.4s;
}
.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cc-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.cc-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(255, 214, 10, 0.5));
}
.cc-body { min-width: 0; }
.cc-text {
  margin: 0 0 4px;
  color: #F2EEE3;
  font-size: 13px;
  line-height: 1.5;
}
.cc-text b { color: #FFD60A; font-weight: 700; }
.cc-text-small {
  margin: 0;
  color: rgba(232, 224, 208, 0.6);
  font-size: 12px;
  line-height: 1.4;
}
.cc-text-small a {
  color: #FFD60A;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-text-small a:hover { color: #fff; }

.cc-btn {
  appearance: none;
  background: #FFD60A;
  color: #0a0014;
  border: none;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 214, 10, 0.3);
}
.cc-btn:hover {
  transform: translateY(-1px);
  background: #ffe042;
  box-shadow: 0 6px 22px rgba(255, 214, 10, 0.5);
}
.cc-btn:active { transform: translateY(0); }

/* Мобильная адаптация — стек в столбец */
@media (max-width: 640px) {
  .cookie-consent {
    bottom: 12px;
    width: calc(100% - 16px);
    padding: 14px 16px;
    border-radius: 16px;
  }
  .cc-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .cc-icon { font-size: 24px; }
  .cc-text { font-size: 12px; }
  .cc-text-small { font-size: 11px; }
  .cc-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 13px;
  }
}
