/* ==========================================================================
   customnfc.online — стили главной страницы
   Цвета и шрифты меняются в :root
   ========================================================================== */
:root {
  --bg: #0a0a0f;
  --bg-2: #101018;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --text: #f3f3f7;
  --muted: #9b9bab;
  --accent: #c8ff3e;        /* лайм — основной акцент */
  --accent-ink: #0a0a0f;
  --violet: #7c5cff;
  --cyan: #3ee0ff;
  --radius: 22px;
  --radius-sm: 14px;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
main, footer, section { max-width: 100vw; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
h2 em, h1 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* Фоновый шум и подсветка курсора */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(124, 92, 255, .13), transparent 65%);
  transform: translate(-50%, -50%); left: var(--mx, -999px); top: var(--my, -999px);
  transition: left .25s var(--ease), top .25s var(--ease);
}

/* ---------- Кнопки ---------- */
.btn {
  --b: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; font-family: var(--font);
  border: 1px solid var(--b); background: var(--surface); color: var(--text); cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 10px 40px -10px rgba(200, 255, 62, .55); }
.btn--accent::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn--accent:hover::after { transform: translateX(120%); }
.btn--accent:hover { box-shadow: 0 16px 50px -10px rgba(200, 255, 62, .75); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 0;
  transition: padding .3s, background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { padding: 10px 0; background: rgba(10, 10, 15, .72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.logo__text em { font-style: normal; color: var(--accent); }
.logo__mark { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.logo__mark span { position: absolute; border: 2px solid var(--accent-ink); border-radius: 50%; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.logo__mark span:nth-child(1) { width: 8px; height: 8px; }
.logo__mark span:nth-child(2) { width: 15px; height: 15px; }
.logo__mark span:nth-child(3) { width: 22px; height: 22px; opacity: .55; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.header__phone svg { width: 18px; color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: var(--violet); top: -120px; right: -80px; }
.blob--2 { width: 420px; height: 420px; background: #1fb5a8; bottom: -160px; left: -120px; opacity: .35; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 45%; opacity: .12; animation-delay: -12s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -50px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.92); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200,255,62,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(200,255,62,.6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(200,255,62,0); } }
.hero__title { font-size: clamp(30px, 5.4vw, 76px); overflow-wrap: break-word; font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; }
.word-tap { position: relative; display: inline-block; color: var(--accent-ink); padding: 0 .18em; z-index: 0; }
.word-tap::before { content: ""; position: absolute; inset: .08em 0 .02em; background: var(--accent); border-radius: .18em; z-index: -1; transform: rotate(-2deg); animation: tapPulse 3s var(--ease) infinite; }
@keyframes tapPulse { 0%, 100% { transform: rotate(-2deg) scale(1); } 8% { transform: rotate(-2deg) scale(.92); } 16% { transform: rotate(-2deg) scale(1.04); } 24% { transform: rotate(-2deg) scale(1); } }
.rotator { display: grid; overflow: hidden; padding-bottom: .08em; }
.rotator__word {
  grid-area: 1 / 1; align-self: start; visibility: hidden; opacity: 0; transform: translateY(70%);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--cyan) 70%, var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rotator__word.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.rotator__word.is-leaving { visibility: visible; opacity: 0; transform: translateY(-70%); transition-delay: 0s; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats div { display: flex; align-items: center; gap: 12px; }
.hero__stats b { font-family: var(--font-head); font-size: 38px; color: var(--accent); line-height: 1; }
.hero__stats span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Телефон в hero */
.hero__visual { position: relative; height: 600px; display: grid; place-items: center; perspective: 1200px; }
.phone {
  position: relative; width: 280px; height: 570px; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2a2a35, #121218); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.05);
  transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg); transition: transform .4s var(--ease); z-index: 2;
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; background: #000; border-radius: 20px; transform: translateX(-50%); z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #f7f7fb, #ececf3); color: #111; }
.screen { position: absolute; inset: 0; padding: 70px 22px 26px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.screen.is-active { opacity: 1; transform: none; }
.screen__app { font-size: 12px; font-weight: 700; color: #6b6b7b; text-transform: uppercase; letter-spacing: .08em; }
.screen__title { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.screen__title--fit { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nw { white-space: nowrap; }
.screen__sub { color: #6b6b7b; font-size: 14px; margin-top: -8px; }
.screen__field { height: 72px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.screen__field.short { height: 40px; width: 70%; }
.screen__btn { margin-top: auto; background: #111; color: #fff; text-align: center; padding: 15px; border-radius: 16px; font-weight: 700; font-size: 15px; }
.screen__icon { width: 74px; height: 74px; border-radius: 22px; background: #111; color: var(--accent); display: grid; place-items: center; margin: 20px 0 6px; }
.screen__icon svg { width: 36px; height: 36px; }
.screen__pass { background: #fff; padding: 16px; border-radius: 14px; font-weight: 700; letter-spacing: .2em; display: flex; justify-content: space-between; align-items: center; }
.screen__pass span { letter-spacing: 0; font-size: 12px; color: #1a9b4b; }
.stars { display: flex; gap: 6px; font-size: 32px; }
.stars i { font-style: normal; color: #d8d8e0; animation: star 4s infinite; }
.screen.is-active .stars i { animation: starFill .4s var(--ease) forwards; }
.screen.is-active .stars i:nth-child(1) { animation-delay: .5s; } .screen.is-active .stars i:nth-child(2) { animation-delay: .65s; }
.screen.is-active .stars i:nth-child(3) { animation-delay: .8s; } .screen.is-active .stars i:nth-child(4) { animation-delay: .95s; }
.screen.is-active .stars i:nth-child(5) { animation-delay: 1.1s; }
@keyframes starFill { 0% { transform: scale(1); } 50% { transform: scale(1.35); color: #ffb800; } 100% { transform: scale(1); color: #ffb800; } }
.menu-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #ddd; font-size: 14px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 28px; margin-top: 20px; }

.nfc-card {
  position: absolute; z-index: 3; right: -10px; bottom: 70px; width: 230px; height: 145px; border-radius: 18px; padding: 18px;
  background: linear-gradient(135deg, #1b1b25, #0e0e14); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.1);
  transform: rotate(-12deg);
}
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-9deg) translateY(-18px); } }
.nfc-card__chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #e3c77b, #a88a3c); }
.nfc-card__waves { position: absolute; right: 20px; top: 18px; width: 40px; height: 40px; }
.nfc-card__waves span, .mock-card__waves span { position: absolute; border: 3px solid var(--accent); border-radius: 50%; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); animation: wave 1.8s infinite; }
.nfc-card__waves span:nth-child(1) { inset: 14px; } .nfc-card__waves span:nth-child(2) { inset: 7px; animation-delay: .2s; } .nfc-card__waves span:nth-child(3) { inset: 0; animation-delay: .4s; }
@keyframes wave { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.nfc-card__label { position: absolute; left: 18px; bottom: 36px; font-weight: 700; font-size: 15px; }
.nfc-card__brand { position: absolute; left: 18px; bottom: 14px; font-family: var(--font-head); font-size: 12px; color: var(--accent); }
.ripple { position: absolute; right: 70px; bottom: 150px; z-index: 1; }
.ripple span { position: absolute; width: 180px; height: 180px; left: -90px; top: -90px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ripple 3s var(--ease) infinite; }
.ripple span:nth-child(2) { animation-delay: 1s; } .ripple span:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.toast-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px;
  background: rgba(20, 20, 28, .85); backdrop-filter: blur(12px); border: 1px solid var(--line); font-weight: 700; font-size: 14px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.7); animation: toast 7s ease-in-out infinite;
}
.toast-float svg { width: 18px; color: var(--accent); }
.toast-float--1 { left: -20px; top: 110px; }
.toast-float--2 { left: 10px; bottom: 40px; animation-delay: -3.5s; }
@keyframes toast { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; position: relative; z-index: 1; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-head); font-size: 22px; font-weight: 600; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; z-index: 1; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 15%, var(--bg-2) 85%, transparent); }
.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__head p { color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

/* Карточки со «спотлайтом» за курсором */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(200, 255, 62, .09), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(200, 255, 62, .3); }
.step__num { font-family: var(--font-head); font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); position: absolute; right: 26px; top: 22px; }
.step__icon, .feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(200,255,62,.1); color: var(--accent); margin-bottom: 24px; border: 1px solid rgba(200,255,62,.2); }
.step__icon svg, .feature__icon svg { width: 26px; height: 26px; }
.step p, .feature p { color: var(--muted); margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); background: var(--surface-2); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature__icon { transition: transform .4s var(--ease); }
.feature h3 { font-size: 17px; }
.feature p { font-size: 15px; }
.note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; color: var(--muted); text-align: center; }
.note svg { width: 18px; color: var(--accent); flex: none; }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.format { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s; }
.format:hover { border-color: rgba(200,255,62,.3); }
.format__visual { height: 280px; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 50% 60%, rgba(124,92,255,.25), transparent 60%); border-bottom: 1px solid var(--line); overflow: hidden; }
.format__body { padding: 32px; }
.format__body h3 { font-size: 26px; }
.format__body p { color: var(--muted); }
.format__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(200,255,62,.1); color: var(--accent); margin-bottom: 14px; }
.mock-card { position: relative; width: 300px; height: 190px; border-radius: 18px; padding: 24px; background: linear-gradient(135deg, var(--accent), #8fe03a); color: var(--accent-ink); box-shadow: 0 40px 70px -25px rgba(200,255,62,.5); transform: rotate(-6deg); transition: transform .6s var(--ease); }
.format:hover .mock-card { transform: rotate(0) scale(1.04); }
.mock-card__text { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.1; margin-top: 30px; }
.mock-card__text small { font-family: var(--font); font-size: 13px; font-weight: 700; opacity: .7; }
.mock-card__stars { position: absolute; bottom: 20px; left: 24px; letter-spacing: 4px; }
.mock-card__waves { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; }
.mock-card__waves span { border-color: var(--accent-ink); border-left-color: transparent; border-bottom-color: transparent; }
.mock-card__waves span:nth-child(1) { inset: 15px; } .mock-card__waves span:nth-child(2) { inset: 7px; animation-delay: .2s; } .mock-card__waves span:nth-child(3) { inset: 0; animation-delay: .4s; }
.mock-coin { width: 150px; height: 150px; border-radius: 50%; padding: 10px; background: conic-gradient(from 0deg, #e8e8ef, #b8b8c8, #f5f5fa, #a5a5b8, #e8e8ef); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); animation: spin 14s linear infinite; }
.mock-coin__inner { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #111; animation: spin 14s linear infinite reverse; }
.mock-coin__inner svg { width: 52px; height: 52px; }
.mock-coin--sm { position: absolute; width: 70px; height: 70px; padding: 6px; right: 22%; top: 24%; animation-duration: 9s; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(200,255,62,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8ff3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks--grid { grid-template-columns: 1fr 1fr; margin-bottom: 28px; }

/* A4 */
.a4 { margin-top: 22px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; padding: 50px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(124,92,255,.1), rgba(200,255,62,.04)); }
.a4__text h3 { font-size: clamp(24px, 2.6vw, 34px); }
.a4__text p { color: var(--muted); }
.a4__text .small svg { width: 16px; display: inline; vertical-align: -3px; color: #ffb02e; }
.a4__visual { position: relative; height: 420px; perspective: 1000px; }
.a4__layer { position: absolute; left: 50%; top: 50%; width: 230px; height: 325px; transform-style: preserve-3d; transition: transform 1s var(--ease); border-radius: 6px; }
.a4__layer--sheet { background: #fbfbf7; color: #111; padding: 22px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(0); }
.a4__layer--coin { width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, #fff 55%, #c9c9d6 56%, #c9c9d6 62%, #fff 63%); box-shadow: 0 6px 16px rgba(0,0,0,.4); transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(-60px); margin-top: 0; }
.a4__layer--film { background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.05) 40%, rgba(255,255,255,.2)); border: 1px solid rgba(255,255,255,.35); transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(60px); }
.a4.in-view .a4__layer--film { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(90px); }
.a4.in-view .a4__layer--coin { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(-90px); }
.a4__logo { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.a4__head { font-size: 11px; font-weight: 700; color: #666; margin-top: 4px; }
.a4__target { position: relative; width: 96px; height: 96px; margin: 28px 0 12px; border-radius: 50%; border: 2px dashed #111; display: grid; place-items: center; }
.a4__target svg { width: 34px; height: 34px; }
.a4__target span { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid #7c5cff; opacity: 0; animation: ripple 2.6s infinite; }
.a4__target span:nth-child(2) { animation-delay: 1.3s; }
.a4__cap { font-size: 11px; font-weight: 700; }
.a4__qr { margin-top: auto; width: 54px; height: 54px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 12px 12px; border: 4px solid #111; }
.a4__labels span { position: absolute; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(20,20,28,.9); border: 1px solid var(--line); white-space: nowrap; z-index: 5; }
.a4__labels .l1 { right: 0; top: 30px; } .a4__labels .l2 { left: 0; top: 46%; } .a4__labels .l3 { right: 10px; bottom: 40px; color: var(--accent); }

/* ---------- Dynamic / stats ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__text p { color: var(--muted); font-size: 18px; }
.bullets { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.bullets li { display: flex; gap: 16px; }
.bullets svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(124,92,255,.15); color: #a995ff; }
.bullets b { display: block; font-size: 17px; }
.bullets span { color: var(--muted); font-size: 15px; }
.dash { padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, #181824, #0f0f16); border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(124,92,255,.5); }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; }
.dash__head small { display: block; color: var(--muted); font-size: 13px; }
.dash__num { display: block; font-family: var(--font-head); font-size: 54px; line-height: 1.1; margin: 6px 0; }
.dash__badge { padding: 6px 12px; border-radius: 999px; background: rgba(200,255,62,.14); color: var(--accent); font-weight: 800; font-size: 14px; }
.dash__chart { height: 190px; display: flex; align-items: flex-end; gap: 8px; margin: 30px 0; }
.dash__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(200,255,62,.15)); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease) calc(var(--i) * 60ms); }
.dash.in-view .dash__chart span { transform: scaleY(1); }
.dash__chart span:hover { filter: brightness(1.3); }
.dash__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.dash__row b { color: var(--text); margin-left: 4px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.dot--a { background: var(--accent); } .dot--b { background: var(--violet); } .dot--c { background: var(--cyan); }

/* ---------- Tabs ---------- */
.tabs__nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tabs__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 600 15px var(--font); cursor: pointer; transition: all .3s var(--ease); }
.tabs__btn svg { width: 18px; }
.tabs__btn:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.tabs__btn.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tabs__panels { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); min-height: 330px; overflow: hidden; }
.tabs__panel { position: absolute; inset: 0; display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: center; padding: 50px; opacity: 0; transform: translateX(30px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tabs__panel.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.tabs__panel h3 { font-size: 30px; }
.tabs__big-icon { width: 220px; height: 220px; border-radius: 40px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(200,255,62,.25), rgba(124,92,255,.2)); border: 1px solid var(--line); color: var(--accent); }
.tabs__big-icon svg { width: 90px; height: 90px; stroke-width: 1.4; }
.tabs__panel.is-active .tabs__big-icon svg { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.5) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 38px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.price:hover { transform: translateY(-8px); }
.price .checks { flex: 1; align-content: start; }
.price--hot { background: linear-gradient(170deg, rgba(200,255,62,.12), rgba(124,92,255,.08) 60%, var(--surface)); border-color: rgba(200,255,62,.4); box-shadow: 0 30px 80px -40px rgba(200,255,62,.4); }
.price__badge { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.price h3 { font-size: 24px; }
.price__desc { color: var(--muted); }
.price__value { font-family: var(--font-head); font-size: 38px; font-weight: 800; margin: 10px 0 26px; letter-spacing: -.03em; }
.price__value small { display: block; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(200,255,62,.3); background: var(--surface-2); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); transition: transform .4s var(--ease), background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(135deg); background: var(--accent); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--accent-ink); }
.faq__answer { padding: 0 26px 22px; color: var(--muted); animation: fadeDown .4s var(--ease); }
.faq__answer p { margin: 0; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Order ---------- */
.order { overflow: hidden; }
.order__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(124,92,255,.25), transparent 60%); pointer-events: none; }
.order__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.order__text p { color: var(--muted); font-size: 18px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.contact-btn { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 15px; transition: transform .3s var(--ease), border-color .3s; }
.contact-btn:hover { transform: translateY(-3px); border-color: rgba(200,255,62,.4); }
.contact-btn svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(200,255,62,.12); color: var(--accent); }
.contact-btn small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.contact-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-form { padding: 36px; border-radius: var(--radius); background: rgba(18, 18, 26, .85); border: 1px solid var(--line); backdrop-filter: blur(20px); display: grid; gap: 16px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: 500 16px var(--font); outline: none; transition: border-color .3s, background .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface-2); }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 12px; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .25s; }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; animation: fadeDown .4s var(--ease); }
.alert--success { background: rgba(200,255,62,.12); color: var(--accent); border: 1px solid rgba(200,255,62,.3); }
.alert--error { background: rgba(255,80,80,.1); color: #ff8a8a; border: 1px solid rgba(255,80,80,.3); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg-2); position: relative; z-index: 1; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font); }
.footer__col a { transition: color .2s; } .footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; } .to-top svg { width: 16px; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .split, .order__inner, .a4 { grid-template-columns: 1fr; }
  .hero__visual { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .header__phone { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 0 0 auto; top: 0; padding: 100px 24px 30px; flex-direction: column; gap: 6px; background: rgba(10,10,15,.97); backdrop-filter: blur(20px); transform: translateY(-105%); transition: transform .5s var(--ease); border-bottom: 1px solid var(--line); }
  .nav a { font-size: 22px; padding: 10px 0; font-family: var(--font-head); color: var(--text); }
  .nav a::after { display: none; }
  .nav-open .nav { transform: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 16px; font-size: 16px !important; font-family: var(--font) !important; color: var(--accent-ink) !important; }
  .header__actions .btn { display: none; }
  .burger { display: block; z-index: 2; }
  .header__actions { margin-left: auto; }
  .steps, .formats, .pricing { grid-template-columns: 1fr; }
  .tabs__panel { grid-template-columns: 1fr; padding: 30px; gap: 24px; }
  .tabs__big-icon { width: 110px; height: 110px; border-radius: 28px; }
  .tabs__big-icon svg { width: 50px; height: 50px; }
  .tabs__nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .tabs__btn { flex: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .a4 { padding: 28px; }
}
@media (max-width: 560px) {
  .features, .checks--grid, .contacts { grid-template-columns: 1fr; }
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 104px; min-height: auto; }
  .hero__inner { gap: 20px; }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero__stats div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__stats b { font-size: 30px; }
  .hero__stats span { font-size: 12px; }
  .hero__visual { width: 300px; height: 470px; margin: 0 auto; }
  .phone { width: 220px; height: 450px; border-radius: 38px; padding: 10px; transform: rotateY(-8deg) rotateX(4deg); }
  .phone__screen { border-radius: 30px; }
  .screen { padding: 58px 16px 20px; gap: 10px; }
  .screen__title { font-size: 18px; }
  .screen__title--fit { font-size: 14px; }
  .menu-row { font-size: 12px; padding: 9px 0; }
  .stars { font-size: 24px; }
  .nfc-card { right: -6px; bottom: 34px; width: 170px; height: 106px; padding: 13px; border-radius: 14px; }
  .nfc-card__chip { width: 28px; height: 21px; }
  .nfc-card__label { font-size: 12px; bottom: 28px; left: 13px; }
  .nfc-card__brand { left: 13px; bottom: 10px; font-size: 10px; }
  .nfc-card__waves { transform: scale(.75); transform-origin: top right; right: 13px; top: 12px; }
  .ripple { display: none; }
  .toast-float { font-size: 12px; padding: 9px 12px; }
  .toast-float--1 { left: -6px; top: 70px; }
  .toast-float--2 { left: -6px; bottom: 8px; }
  .order-form { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .a4__visual { height: 340px; margin: -20px 0; }
  .a4__layer { width: 190px; height: 268px; }
  .a4__labels .l1 { top: 10px; } .a4__labels .l3 { bottom: 20px; }
  .mock-card { width: 250px; height: 160px; padding: 18px; }
  .mock-card__text { font-size: 22px; margin-top: 22px; }
  .format__visual { height: 230px; }
  .format__body, .price { padding: 26px 22px; }
  .marquee__track { font-size: 17px; }
  .section__head { margin-bottom: 40px; }
  .step { padding: 26px; }
  .faq__item summary { font-size: 16px; padding: 18px 20px; }
  .tabs__panel h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
