/* ==========================================================================
   ShapitoGram — landing
   ========================================================================== */

:root {
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --wrap: 1200px;
  --pad: clamp(18px, 4vw, 40px);
}

/* ---------- Тёмная тема (по умолчанию) ---------- */
html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #05070d;
  --bg-2: #070a13;
  --text: #eef2f8;
  --text-strong: #ffffff;
  --muted: #8b94a7;
  --muted-2: #6b7488;

  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .055);
  --card-solid: #0a0e17;
  --stroke: rgba(255, 255, 255, .075);
  --stroke-2: rgba(255, 255, 255, .13);

  --accent: #3b82f6;
  --accent-2: #7cb2ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(59, 130, 246, .13);
  --accent-glow: rgba(59, 130, 246, .35);

  --bubble-in: #14181f;
  --bubble-out: linear-gradient(135deg, #3d84f7, #2f6ef0);
  --bubble-out-ink: #ffffff;

  --nav-bg: rgba(7, 10, 19, .62);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  --grain-op: .045;
  --grid-op: .05;
}

/* ---------- Светлая тема ---------- */
html[data-theme="light"] {
  color-scheme: light;

  --bg: #edf1f9;
  --bg-2: #e4eaf6;
  --text: #0b1220;
  --text-strong: #05080f;
  --muted: #515d70;
  --muted-2: #6f7a8d;

  --card: #ffffff;
  --card-2: #ffffff;
  --card-solid: #ffffff;
  --stroke: rgba(12, 22, 45, .11);
  --stroke-2: rgba(12, 22, 45, .19);

  --accent: #1f6ff0;
  --accent-2: #3b82f6;
  --accent-ink: #ffffff;
  --accent-soft: rgba(31, 111, 240, .10);
  --accent-glow: rgba(31, 111, 240, .22);

  --bubble-in: #e8edf7;
  --bubble-out: linear-gradient(135deg, #3d84f7, #1f6ff0);
  --bubble-out-ink: #ffffff;

  --nav-bg: rgba(237, 241, 249, .78);
  --shadow: 0 30px 70px -34px rgba(16, 34, 74, .35);
  --grain-op: .025;
  --grid-op: .06;
}

/* ---------- База ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: var(--text-strong);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

img, svg { display: block; }

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Фон ---------- */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--accent-soft), transparent 70%),
    var(--bg);
  transition: background .45s var(--ease);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}

.aurora--a {
  width: 60vw; height: 60vw;
  top: -22vw; left: -8vw;
  background: radial-gradient(circle, rgba(59, 130, 246, .42), transparent 65%);
  animation: drift-a 26s var(--ease-io) infinite alternate;
}

.aurora--b {
  width: 48vw; height: 48vw;
  top: 4vw; right: -14vw;
  background: radial-gradient(circle, rgba(124, 92, 255, .34), transparent 65%);
  animation: drift-b 32s var(--ease-io) infinite alternate;
}

.aurora--c {
  width: 52vw; height: 52vw;
  bottom: -26vw; left: 24vw;
  background: radial-gradient(circle, rgba(45, 212, 191, .20), transparent 65%);
  animation: drift-c 38s var(--ease-io) infinite alternate;
}

html[data-theme="light"] .aurora { opacity: .34; }

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 4vw, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to   { transform: translate3d(-5vw, 6vw, 0) scale(.94); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(.96); }
  to   { transform: translate3d(-7vw, -4vw, 0) scale(1.1); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: var(--grid-op);
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 68px 68px;
  color: var(--text);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 78%);
}

.grain {
  position: absolute;
  inset: -50%;
  opacity: var(--grain-op);
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Раскладка ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.wrap--narrow { max-width: 900px; }

.section {
  padding: clamp(72px, 11vw, 140px) 0;
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent);
  z-index: -1;
}

.sec-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head h2 {
  font-size: clamp(30px, 5.2vw, 56px);
}

.sec-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 620px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Кнопки ---------- */

.btn {
  --btn-h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease);
  will-change: transform;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-lg { --btn-h: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { --btn-h: 38px; padding: 0 16px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, #4a8cf9, #2f6ef0);
  color: #fff;
  box-shadow:
    0 10px 30px -12px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -14px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-ghost {
  background: var(--card);
  border-color: var(--stroke-2);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--card-2);
  border-color: var(--accent);
}

.btn-ghost:active { transform: translateY(0) scale(.985); }

.btn .i-arr { transition: transform .28s var(--ease); }
.btn:hover .i-arr { transform: translate(2px, -2px); }

/* ---------- Навигация ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  transition: padding .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  padding: 8px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--stroke);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 18px;
  color: var(--text-strong);
}

.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name span { color: var(--accent-2); }

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: 12px;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--card);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ---------- Ссылка на Telegram ---------- */

.tg-link {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: var(--card);
  color: var(--muted);
  transition: color .22s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}

.tg-link svg { width: 19px; height: 19px; }

.tg-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ---------- Переключатель темы ---------- */
.theme-toggle {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 999px;
}

.tt-track {
  position: relative;
  display: block;
  width: 62px;
  height: 34px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--stroke-2);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

.tt-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4a8cf9, #2f6ef0);
  color: #fff;
  box-shadow: 0 4px 12px -3px var(--accent-glow);
  transition: transform .42s var(--ease), background .42s var(--ease);
}

.tt-thumb svg {
  position: absolute;
  width: 15px;
  height: 15px;
  transition: opacity .3s var(--ease), transform .42s var(--ease);
}

html[data-theme="dark"] .ic-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-theme="dark"] .ic-moon { opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="light"] .ic-sun { opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="light"] .ic-moon { opacity: 0; transform: rotate(90deg) scale(.5); }

html[data-theme="light"] .tt-thumb { transform: translateX(28px); }

/* ---------- HERO ---------- */

.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 100px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -.042em;
  line-height: 1.06;
}

@media (max-width: 1020px) {
  .hero-copy h1 { font-size: clamp(32px, 7.4vw, 52px); }
}

.grad-text {
  background: linear-gradient(100deg, #7cb2ff 0%, #4a8cf9 45%, #8b7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--stroke-2);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2.4s var(--ease-io) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.lead {
  margin-top: 22px;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.7vw, 18.5px);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-facts b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text-strong);
}

.hero-facts span {
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- Чат-демо ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.chat-glow {
  position: absolute;
  inset: -8% -4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--accent-glow), transparent 62%);
  filter: blur(46px);
  opacity: .75;
  z-index: 0;
  pointer-events: none;
}

.chat {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 16px;
  border-radius: var(--r-xl);
  background: var(--card-solid);
  border: 1px solid var(--stroke-2);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.chat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(124, 178, 255, .5), transparent 42%, transparent 70%, rgba(139, 124, 255, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 14px;
}

.avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4a8cf9, #2f6ef0);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 16px -6px var(--accent-glow);
}

.av-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #34d399;
  border: 2.5px solid var(--card-solid);
}

.chat-id {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.chat-id b {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-strong);
}

.chat-status {
  font-size: 12.5px;
  color: #34d399;
  font-weight: 600;
}

.chat-status.is-typing { color: var(--accent-2); }

.call-btn {
  margin-left: auto;
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: var(--accent-soft);
  color: var(--accent-2);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s;
}

.call-btn svg { width: 17px; height: 17px; }
.call-btn:hover { transform: scale(1.08) rotate(-6deg); background: var(--accent); color: #fff; }

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 276px;
  overflow: hidden;
  padding: 4px 2px 12px;
  justify-content: flex-end;
}

.msg {
  max-width: 78%;
  padding: 9px 13px 7px;
  border-radius: 16px;
  font-size: 13.6px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  animation: msg-in .45s var(--ease) forwards;
}

.msg--in {
  align-self: flex-start;
  background: var(--bubble-in);
  color: var(--text);
  border-bottom-left-radius: 6px;
}

.msg--out {
  align-self: flex-end;
  background: var(--bubble-out);
  color: var(--bubble-out-ink);
  border-bottom-right-radius: 6px;
  box-shadow: 0 8px 20px -12px var(--accent-glow);
}

.msg-text { display: block; }

.msg-time {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  opacity: .55;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@keyframes msg-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 15px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  background: var(--bubble-in);
  animation: msg-in .3s var(--ease) forwards;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: bounce 1.2s var(--ease-io) infinite;
}

.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  background: var(--bubble-in);
  border: 1px solid var(--stroke);
}

.chat-placeholder {
  flex: 1;
  font-size: 13.6px;
  color: var(--muted-2);
}

.send-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a8cf9, #2f6ef0);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px -8px var(--accent-glow);
  transition: transform .2s var(--ease);
}

.send-btn svg { width: 17px; height: 17px; }
.send-btn:hover { transform: scale(1.08); }

.chat-badge {
  position: absolute;
  right: 24px;
  bottom: -16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--card-solid);
  border: 1px solid var(--stroke-2);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8);
  animation: float-y 5s var(--ease-io) infinite;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 0 0 rgba(248, 113, 113, .6);
  animation: pulse-red 1.8s var(--ease-io) infinite;
}

@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(248, 113, 113, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}

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

/* ---------- Бонус ShapitoStars ---------- */

.bcard {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 16px 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(245, 196, 81, .34);
  background: linear-gradient(115deg, rgba(245, 196, 81, .19), rgba(245, 196, 81, .05) 46%, rgba(255, 255, 255, .015));
  overflow: hidden;
  color: inherit;
  box-shadow: 0 24px 60px -40px rgba(245, 196, 81, .9);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.bcard::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background:
    radial-gradient(circle at 12% 30%, rgba(245, 196, 81, .30), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255, 214, 120, .18), transparent 46%);
  pointer-events: none;
}

.bcard::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 38%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg);
  animation: bonus-shine 5s var(--ease-io) infinite;
  pointer-events: none;
}

@keyframes bonus-shine {
  0%   { left: -40%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

.bcard:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 196, 81, .7);
  box-shadow: 0 30px 70px -40px rgba(245, 196, 81, 1);
}

.bcard-coin {
  position: relative;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 210deg, #fbe6a8, #e9a423, #f7d27a, #c98a12, #fbe6a8);
  box-shadow:
    0 12px 28px -12px rgba(233, 164, 35, .95),
    inset 0 0 0 3px rgba(255, 255, 255, .22),
    inset 0 -6px 12px -6px rgba(120, 70, 0, .6);
}

.bcard-coin span {
  position: relative;
  z-index: 1;
  font-size: 21px;
  line-height: 1;
  color: #4a3000;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .55));
}

.bcard-coin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .8), rgba(255, 255, 255, .12) 42%, transparent 62%);
  pointer-events: none;
}

.bcard-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bcard-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  background: linear-gradient(100deg, #ffeab4, #f5c451 55%, #e9a423);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.bcard-num small {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-left: 4px;
  background: linear-gradient(100deg, #ffeab4, #f5c451);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bcard-label {
  font-size: 12.5px;
  color: var(--muted);
}

.bcard-go {
  position: relative;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9d989, #e9a423);
  color: #3a2600;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .25s var(--ease);
}

.bcard-go svg { width: 14px; height: 14px; }
.bcard:hover .bcard-go { transform: translateX(2px); }

html[data-theme="light"] .bcard {
  background: linear-gradient(115deg, rgba(245, 196, 81, .30), rgba(245, 196, 81, .10) 55%, #fff);
  border-color: rgba(214, 158, 40, .42);
}

html[data-theme="light"] .bcard-num,
html[data-theme="light"] .bcard-num small {
  background: linear-gradient(100deg, #c98a12, #a06a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl {
  font-weight: 800;
  color: #f0b64a;
  white-space: nowrap;
}

html[data-theme="light"] .hl { color: #a06a00; }

@media (max-width: 460px) {
  .bcard { gap: 12px; padding: 12px 13px 12px 12px; }
  .bcard-coin { width: 46px; height: 46px; }
  .bcard-coin span { font-size: 18px; }
  .bcard-num { font-size: 22px; }
  .bcard-num small { font-size: 12px; }
  .bcard-go { padding: 8px 12px; font-size: 12px; }
  .bcard-go svg { display: none; }
}

/* ---------- Карточки ---------- */

.cards {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
}

.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              background-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-2);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
}

.card:hover::after { opacity: 1; }

html[data-theme="light"] .card,
html[data-theme="light"] .stat,
html[data-theme="light"] .faq-item {
  box-shadow: 0 1px 2px rgba(16, 34, 74, .05), 0 10px 26px -20px rgba(16, 34, 74, .45);
}

html[data-theme="light"] .card:hover,
html[data-theme="light"] .stat:hover {
  box-shadow: 0 2px 4px rgba(16, 34, 74, .06), 0 18px 36px -22px rgba(16, 34, 74, .5);
}

html[data-theme="light"] .chat {
  box-shadow: 0 30px 70px -34px rgba(16, 34, 74, .45), 0 2px 6px rgba(16, 34, 74, .06);
}

.card-ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid var(--stroke);
  color: var(--accent-2);
  margin-bottom: 4px;
  transition: transform .35s var(--ease), background .35s, color .35s;
}

.card-ic svg { width: 21px; height: 21px; }

.card:hover .card-ic {
  transform: translateY(-2px) scale(1.05);
  background: var(--accent);
  color: #fff;
}

.card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.card p {
  font-size: 14.2px;
  line-height: 1.55;
  color: var(--muted);
}

.card--plat { padding-bottom: 20px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-2);
  transition: gap .25s var(--ease), color .2s;
}

.card-link svg { width: 15px; height: 15px; }
.card-link:hover { gap: 11px; color: var(--accent); }

/* ---------- Split / статистика ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(28px, 4.4vw, 48px);
  margin-bottom: 18px;
}

.split-copy > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: var(--text);
}

.check-list i {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--stroke-2);
  position: relative;
}

.check-list i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 9px;
  border: solid var(--accent-2);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 16px);
}

.stat {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .3s, transform .3s var(--ease);
}

.stat:hover { border-color: var(--accent); transform: translateY(-3px); }

.stat b {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat span {
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.4;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--stroke);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .3s, background-color .3s;
}

.faq-item[open] { border-color: var(--stroke-2); background: var(--card-2); }
.faq-item:hover { border-color: var(--stroke-2); }

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text-strong);
  transition: color .2s;
}

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

.faq-ic {
  position: relative;
  margin-left: auto;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--stroke-2);
  transition: transform .35s var(--ease), background .3s;
}

.faq-ic::before,
.faq-ic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-2);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), background .3s;
}

.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-ic { transform: rotate(180deg); background: var(--accent); }
.faq-item[open] .faq-ic::before,
.faq-item[open] .faq-ic::after { background: #fff; }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-body {
  overflow: hidden;
}

.faq-body p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14.6px;
  line-height: 1.65;
  max-width: 70ch;
  animation: faq-in .35s var(--ease);
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA ---------- */

.cta-section { padding-bottom: clamp(80px, 10vw, 130px); }

.cta {
  position: relative;
  padding: clamp(40px, 6vw, 78px) clamp(22px, 4vw, 56px);
  border-radius: var(--r-xl);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--stroke-2);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: -40%;
  width: 120%;
  height: 140%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 45% at 50% 40%, var(--accent-glow), transparent 68%);
  opacity: .65;
  pointer-events: none;
}

.cta h2 {
  position: relative;
  font-size: clamp(28px, 4.6vw, 52px);
}

.cta p {
  position: relative;
  margin: 16px auto 0;
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
}

.cta .hero-cta { position: relative; justify-content: center; }

.cta-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--stroke-2);
  background: var(--card-2);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color .22s var(--ease), border-color .22s var(--ease),
              transform .22s var(--ease), background .22s var(--ease);
}

.cta-links svg { width: 16px; height: 16px; }

.cta-links a:hover {
  color: var(--accent-2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--stroke);
  padding: clamp(40px, 6vw, 64px) 0 26px;
  background: var(--bg-2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 300px;
  font-size: 13.6px;
  color: var(--muted-2);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-cols h4 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-cols a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color .2s, transform .2s var(--ease);
}

.footer-cols a:hover { color: var(--text-strong); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
  font-size: 12.6px;
  color: var(--muted-2);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
}

.reveal.is-in {
  animation: reveal-up .72s var(--ease) var(--d, 0s) both;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1020px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .hero-facts { justify-content: center; }
  .hero-facts li { align-items: center; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .chat-badge { right: 10px; bottom: -14px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .hero-facts { gap: 12px 22px; }
  .msg { max-width: 88%; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; }
  .reveal.is-in { animation: none; }
}

/* ---------- Скроллбар ---------- */

@supports (scrollbar-width: thin) {
  html { scrollbar-width: thin; scrollbar-color: var(--stroke-2) transparent; }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--stroke-2);
  border-radius: 99px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-clip: content-box; background-color: var(--muted-2); }
