/* =====================================================================
   PAYDEX — payment ecosystem
   Design system built from the Figma redesign (frame 5410:5369)
   ===================================================================== */

:root {
  --bg: #1f1f1f;
  --surface: #202020;
  --surface-2: #252525;
  --surface-3: #2a2a2a;
  --line: rgba(97, 97, 97, .5);
  --line-strong: rgba(120, 120, 120, .7);
  --white: #ffffff;
  --muted: #c2c2c2;
  --dim: #515151;
  --violet: #5346ec;
  --violet-border: #8277ff;
  --pink: #e21d70;
  --pink-border: #ff60a3;
  --grad: linear-gradient(252.6deg, #5346ec .6%, #e21d70 101.6%);
  --grad-text: linear-gradient(90deg, #ffffff 0%, #e2e2e2 100%);
  --r-card: 25px;
  --r-panel: 50px;
  --r-pill: 500px;
  --gutter: clamp(20px, 5vw, 96px);
  --container: 1528px;
  --font: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --shadow-card: inset 0 5px 50px #252525;
  --shadow-btn: 0 2px 1.5px rgba(51,51,51,.1), 0 6px 3px rgba(51,51,51,.09), 0 14px 4px rgba(51,51,51,.05);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--violet); color: #fff; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.container--narrow { width: min(1000px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Typography ---------- */
.h-xl, .h-lg, .h-md {
  font-weight: 400;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.08;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h-xl { font-size: clamp(42px, 4.2vw, 80px); }
.h-lg { font-size: clamp(34px, 3.1vw, 60px); }
.h-md { font-size: clamp(26px, 2vw, 40px); }
.h-xl em, .h-lg em, .h-md em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.075em;
  letter-spacing: -.02em;
}
.h-sm { font-size: 30px; font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: 20px; line-height: 30px; color: var(--muted); }
.lead--lg { font-size: 24px; line-height: 34px; }
.text-white { color: var(--white); }
.text-pink { color: var(--pink); }
.text-violet { color: var(--violet-border); }
.text-dim { color: var(--dim); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.eyebrow--violet::before { background: var(--violet-border); }

.section-title { display: flex; align-items: center; gap: 30px; }
.section-title .badge { width: clamp(56px, 4.7vw, 90px); height: clamp(56px, 4.7vw, 90px); flex: 0 0 auto; }

.dot-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1.2; }
.dot-title--start { align-items: flex-start; }
.dot { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: url("../assets/icons/dot-pink.svg") center / contain no-repeat; }
.dot--violet { background-image: url("../assets/icons/dot-violet.svg"); }
.dot-title--start .dot { margin-top: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 64px; padding: 0 45px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 20px; letter-spacing: -.02em; color: var(--white);
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transition: transform .25s var(--ease), filter .25s, background .25s, border-color .25s;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--violet { background: var(--violet); border-color: var(--violet-border); }
.btn--pink { background: var(--pink); border-color: var(--pink-border); }
.btn--ghost { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-card); }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--white { background: #fff; color: var(--pink); border-color: #fff; }
.btn--sm { height: 52px; padding: 0 30px; font-size: 18px; }
.btn--xs { height: 44px; padding: 0 22px; font-size: 16px; }
.btn__icon { width: 15px; height: 15px; flex: 0 0 auto; transition: transform .25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn__icon--tg { width: 24px; height: 24px; }
.btn:hover .btn__icon--tg { transform: none; }
.btn-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.note { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.note__i { position: relative; width: 17px; height: 17px; flex: 0 0 auto; background: url("../assets/icons/info.svg") center / contain no-repeat; font-size: 12px; font-weight: 700; color: var(--muted); display: grid; place-items: center; line-height: 1; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 20px; }
.link-arrow img { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover img { transform: translateX(4px); }

.tag { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: 16px; font-weight: 600; color: #fff; background: var(--pink); }
.tag--violet { background: var(--violet); }
.tag--ghost { background: var(--surface); border: 1px solid var(--line); font-weight: 400; color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 40px 0 auto 0; z-index: 100;
  padding: 0 var(--gutter);
  transition: inset .35s var(--ease);
}
.header.is-scrolled { inset: 12px 0 auto 0; }
.header__bar {
  max-width: var(--container); margin: 0 auto;
  height: 77px; padding: 0 12px;
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--r-pill);
  background: rgba(24, 24, 24, .78);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: height .35s var(--ease);
}
.header.is-scrolled .header__bar { height: 66px; }
.header__logo { display: flex; align-items: center; height: 55px; padding: 0 30px; border-radius: var(--r-pill); background: #232323; }
.header__logo img { height: 33px; width: auto; }
.header__nav { display: flex; gap: 10px; margin: 0 auto; }
.header__link {
  display: flex; align-items: center; height: 55px; padding: 0 34px;
  border-radius: var(--r-pill); background: #232323; color: var(--white);
  font-size: 18px; letter-spacing: -.02em; white-space: nowrap;
  transition: background .25s, color .25s;
}
.header__link:hover { background: #2f2f2f; }
.header__link.is-active { background: #343434; }
.header__cta { height: 60px; padding: 0 40px; }
.header__burger { display: none; width: 55px; height: 55px; border-radius: 50%; background: #232323; position: relative; margin-left: auto; }
.header__burger span { position: absolute; left: 17px; width: 21px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.header__burger span:nth-child(1) { top: 21px; }
.header__burger span:nth-child(2) { top: 27px; }
.header__burger span:nth-child(3) { top: 33px; }
body.menu-open .header__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .header__burger span:nth-child(2) { opacity: 0; }
body.menu-open .header__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: 130px var(--gutter) 40px;
  background: rgba(24, 24, 24, .96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.mobile-menu a { font-size: 32px; color: #fff; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- Hero ---------- */
.top-glow { position: relative; overflow-x: clip; }
.glow-band {
  position: absolute; left: 0; right: 0; top: 710px; height: 1046px;
  border-radius: 50px;
  background: linear-gradient(30.77deg, #5346ec 2.2%, #e21d70 97.8%);
  filter: blur(200px); opacity: .8;
  pointer-events: none;
}
.glow { position: absolute; width: 1280px; height: 1280px; max-width: none; pointer-events: none; mix-blend-mode: plus-lighter; }
.glow--center { left: 50%; top: 1034px; transform: translateX(-50%); }
.glow--right { right: -600px; top: -180px; }
.glow--left { left: -700px; top: -100px; }

.hero { position: relative; padding-top: 284px; min-height: 1080px; }
.hero__circles { position: absolute; left: 50%; top: -129px; width: 1423px; height: 1423px; max-width: none; transform: translateX(-50%); pointer-events: none; }
.hero .container { position: relative; }
.hero__title { text-align: center; }
.hero__title-row { display: flex; justify-content: center; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.hero__icons { display: flex; align-items: center; margin-top: .1em; }
.hero__icons img { width: clamp(44px, 3.6vw, 70px); height: clamp(44px, 3.6vw, 70px); }
.hero__icons img:first-child { margin-right: -10px; }
.hero__row { margin-top: 100px; display: flex; justify-content: center; align-items: center; gap: 109px; }
.hero__lead { width: 615px; max-width: 100%; }
.hero__cta { display: flex; flex-direction: column; gap: 20px; }
.hero__bottom { margin-top: 35px; display: flex; justify-content: space-between; align-items: flex-end; gap: 68px; }

.stats {
  display: flex; gap: 30px; padding: 30px;
  border-radius: var(--r-panel); background: rgba(32, 32, 32, .8); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.stat { position: relative; width: 206px; height: 199px; padding: 20px; border-radius: var(--r-card); background: rgba(32, 32, 32, .5); overflow: hidden; }
.stat__glow { position: absolute; width: 186px; height: 186px; max-width: none; pointer-events: none; }
.stat__icon { position: relative; width: 75px; height: 75px; border-radius: 50%; background: rgba(101, 101, 101, .5); display: grid; place-items: center; }
.stat__icon img { width: 45px; height: 45px; transform: scaleY(-1); }
.stat__num { position: relative; margin-top: 20px; font-size: 50px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: var(--white); }
.stat__label { position: relative; margin-top: 12px; font-size: 15px; color: var(--muted); white-space: nowrap; }

.mascot { position: relative; flex: 0 0 464px; width: 464px; height: 260px; border-radius: var(--r-panel); background: url("../assets/img/mascot-bg.svg") center / cover no-repeat; }
.mascot__pay { position: absolute; left: 107px; bottom: 0; width: 250px; height: 311px; object-fit: contain; object-position: bottom; filter: drop-shadow(9px 0 19px rgba(184,184,184,.06)); }
.mascot__bubble { position: absolute; left: 317px; top: -41px; padding: 20px 30px; border-radius: var(--r-pill); background: #fff; color: var(--pink); font-size: 20px; font-weight: 600; white-space: nowrap; }
.mascot__bubble img { position: absolute; left: 11px; top: 48px; width: 38px; height: 37px; transform: rotate(90deg); }

/* ---------- Advantages ---------- */
.advantages { position: relative; padding: 50px 0 100px; }
.advantages .container { position: relative; }
.advantages__title { text-align: center; }
.adv-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 68px; }
.adv-card {
  position: relative; display: flex; flex-direction: column; gap: 30px;
  min-height: 348px; padding: 30px 30px 0;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.adv-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.adv-card__text p { margin-top: 25px; }
.adv-card__media { position: relative; margin-top: auto; height: 140px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--surface-2); overflow: hidden; }
.adv-card__pic { width: 100%; height: 100%; object-fit: cover; object-position: bottom; transition: transform .6s var(--ease); }
.adv-card:hover .adv-card__pic { transform: scale(1.05); }
.adv-card__more {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px;
  padding: 15px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line);
  color: #fff; font-size: 20px; box-shadow: var(--shadow-card);
}
.adv-card__more img { width: 15px; height: 15px; }
.adv-card__badge { position: absolute; right: 16px; bottom: 14px; width: 45px; height: 45px; }

/* ---------- Principles ---------- */
.principles { position: relative; padding: 50px 0; }
.principles__grid { display: grid; grid-template-columns: 796px 1fr; column-gap: 69px; align-items: start; }
.principles__list { margin-top: 76px; display: flex; flex-direction: column; gap: 68px; }
.principle p { margin-top: 20px; }
.principles__row { display: flex; gap: 68px; align-items: center; }
.reviews { flex: 0 0 195px; display: flex; flex-direction: column; gap: 20px; }
.reviews__count { color: var(--white); }
.avatars { display: flex; }
.avatars img { width: 60px; height: 60px; border-radius: 50%; margin-right: -15px; border: 2px solid var(--bg); }
.avatars img:last-child { margin-right: 0; }
.card3d { position: relative; height: 600px; }
.card3d__panel { position: absolute; left: 40px; top: 34px; width: 623px; height: 534px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.card3d__img { position: absolute; left: 0; top: 0; width: 703px; height: 585px; max-width: none; object-fit: contain; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* ---------- Band (USP sections) ---------- */
.band { position: relative; margin: 50px 0; }
.band__inner {
  position: relative; display: grid; grid-template-columns: 819px 1fr; min-height: 600px;
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band__visual { position: relative; height: 600px; background: url("../assets/img/illustration-sales.svg") center / cover no-repeat; }
.band--engine .band__visual { background-image: url("../assets/img/illustration-engine.svg"); }
.band__phone { position: absolute; left: 112px; top: -46px; width: 449px; height: 695px; max-width: none; object-fit: contain; }
.band__coin { position: absolute; left: 100px; top: 238px; width: 243px; height: 243px; max-width: none; transform: rotate(10.14deg); filter: drop-shadow(6px 2px 13px rgba(0,0,0,.3)); animation: coin 6s ease-in-out infinite; }
.band--engine .band__coin { left: 407px; top: 100px; }
@keyframes coin { 0%, 100% { transform: rotate(10.14deg) translateY(0) } 50% { transform: rotate(7deg) translateY(-12px) } }
.band__content { padding: 92px 80px 92px 109px; max-width: 1042px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.band__content .section-title { flex-wrap: nowrap; }
.band__content > .lead { margin-top: 40px; }
.band__content .btn-row { margin-top: 40px; }

/* ---------- Partners ---------- */
.partners { position: relative; padding: 50px 0; min-height: 903px; overflow: hidden; }
.partners .container { position: relative; }
.partners__content { width: 841px; max-width: 100%; display: flex; flex-direction: column; gap: 76px; }
.categories { display: flex; flex-direction: column; gap: 38px; }
.cat-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 50px; padding: 30px;
  border-radius: var(--r-panel); background: rgba(32, 32, 32, .8); border: 1px solid var(--line); max-width: 665px;
}
.partners__shot {
  position: absolute; top: 55px; left: calc(50% + 204px); width: 974px; aspect-ratio: 974 / 693;
  border-radius: 30px;
}
.partners__shot::before { content: ""; position: absolute; inset: -30px -30px 30px 30px; border-radius: 30px; background: rgba(255,255,255,.45); }
.partners__shot img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.partners__shot::after { content: ""; position: absolute; inset: 0; border-radius: 30px; background: rgba(83,70,236,.05); }

/* ---------- News ---------- */
.news { position: relative; padding: 50px 0; }
.news__head { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.news__arrows { display: flex; gap: 12px; }
.news__arrow { width: 60px; height: 60px; border-radius: 50%; transition: transform .25s, opacity .25s; }
.news__arrow:hover { transform: scale(1.06); }
.news__arrow img { width: 60px; height: 60px; }
.news__arrow--next img { transform: scaleX(-1); }
@media (min-width: 1800px) {
  .news__arrows { position: absolute; left: -110px; right: -110px; top: 360px; justify-content: space-between; pointer-events: none; }
  .news__arrow { pointer-events: auto; }
}
.news__track { margin-top: 66px; display: flex; gap: 68px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.news__track::-webkit-scrollbar { display: none; }
.news-card { flex: 0 0 464px; max-width: 100%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 50px; }
.news-card__img { height: 348px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--grad); display: grid; place-items: center; overflow: hidden; }
.news-card__img img { width: 307px; height: auto; transition: transform .6s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06) rotate(-3deg); }
.news-card__img--photo { background: var(--surface-2); }
.news-card__img--photo img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { display: flex; flex-direction: column; gap: 25px; align-items: flex-start; }
.news-card__title { font-size: 30px; line-height: 1.2; color: var(--white); letter-spacing: -.02em; }
.news-card__date { display: inline-flex; align-items: center; padding: 15px 20px; border-radius: var(--r-pill); background: var(--pink); color: #fff; font-size: 20px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { margin-top: 100px; background: var(--surface); border-top: 1px solid var(--line); padding: 59px 0 60px; }
.footer__top { display: flex; gap: 120px 201px; flex-wrap: wrap; }
.footer__logo img { width: 275px; height: auto; }
.footer__cols { display: flex; gap: 100px 152px; flex-wrap: wrap; }
.footer__col h4 { font-size: 30px; font-weight: 600; color: var(--white); margin-bottom: 60px; letter-spacing: -.02em; }
.footer__col a { display: block; color: var(--muted); font-size: 20px; margin-bottom: 30px; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__col a:last-child { margin-bottom: 0; }
.footer__bottom { margin-top: 85px; display: flex; gap: 40px 249px; flex-wrap: wrap; color: var(--dim); font-size: 20px; line-height: 1.25; }
.footer__bottom p:first-child { max-width: 524px; }
.footer__bottom p:last-child { max-width: 403px; }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-hero { position: relative; padding: 220px 0 60px; }
.page-hero .container { position: relative; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.page-hero__text { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.page-hero__text .lead { max-width: 720px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__text { align-items: center; margin-inline: auto; max-width: 1100px; }
.page-hero__visual { position: relative; }
.page-hero__visual .frame { position: relative; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.page-hero__visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__visual .frame .badge-abs { position: absolute; right: 24px; bottom: 24px; width: 90px; height: 90px; }
.crumbs { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--dim); }

.section { position: relative; padding: 80px 0; }
.section--tight { padding: 50px 0; }
.section__head { display: flex; flex-direction: column; gap: 24px; max-width: 900px; margin-bottom: 60px; }
.section__head--center { align-items: center; text-align: center; margin-inline: auto; }
.section__head .section-title { align-items: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid--wide { gap: 68px; }

.card {
  position: relative; display: flex; flex-direction: column; gap: 25px; padding: 30px;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: transform .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card--flat:hover { transform: none; }
.card__icon { width: 75px; height: 75px; border-radius: 50%; background: rgba(101,101,101,.5); display: grid; place-items: center; }
.card__icon img { width: 45px; height: 45px; }
.card__num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--pink); }
.card__num--violet { color: var(--violet-border); }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }

.panel { padding: 40px; border-radius: var(--r-panel); background: rgba(32,32,32,.8); border: 1px solid var(--line); }
.panel--grad { background: var(--grad); border: 0; color: #fff; }
.panel--grad .lead, .panel--grad p { color: rgba(255,255,255,.85); }

.check-list { display: grid; gap: 22px; }
.check-list li { position: relative; padding-left: 30px; color: var(--white); font-size: 20px; line-height: 1.4; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: url("../assets/icons/dot-violet.svg") center / contain no-repeat; }
.check-list--pink li::before { background-image: url("../assets/icons/dot-pink.svg"); }
.check-list li span { color: var(--muted); display: block; font-size: 18px; margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 30px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 18px; min-height: 260px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--violet-border); }
.step:nth-child(even)::before { color: var(--pink); }
.step h3 { font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: -.02em; }

/* Stats inline (about) */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.stat-row .stat { width: auto; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--line-strong); }
.tl { position: relative; padding-top: 34px; }
.tl::before { content: ""; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--violet); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--violet-border); }
.tl:nth-child(even)::before { background: var(--pink); box-shadow: 0 0 0 1px var(--pink-border); }
.tl__year { font-family: var(--serif); font-size: 40px; color: var(--white); line-height: 1; }
.tl h3 { margin-top: 12px; font-size: 20px; font-weight: 600; color: var(--white); }
.tl p { margin-top: 10px; font-size: 17px; line-height: 1.45; }

/* Team */
.team-card { text-align: center; align-items: center; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface-3); }
.team-card h3 { font-size: 22px; font-weight: 600; color: var(--white); }
.team-card .role { color: var(--pink-border); font-size: 16px; margin-top: -14px; }

/* Method pills / logo strip */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: #fff; font-size: 18px; transition: border-color .2s, background .2s; }
.pill:hover { border-color: var(--line-strong); background: var(--surface-3); }
.pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.pill:nth-child(even) i { background: var(--pink); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 18px; }
.table th, .table td { padding: 22px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; color: var(--white); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.table td:first-child { color: var(--white); }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow-x: auto; }
.table .hl { color: var(--pink-border); font-weight: 600; }
.table .ok { color: var(--violet-border); font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.plan--featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.plan__ribbon { position: absolute; top: -20px; right: 40px; }
.plan__name { font-size: 30px; font-weight: 600; color: var(--white); }
.plan__price { font-size: 56px; line-height: 1; color: var(--white); font-weight: 600; letter-spacing: -.03em; }
.plan__price small { display: block; margin-top: 10px; font-size: 18px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan__desc { color: var(--muted); }
.plan .check-list { margin-top: 10px; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 28px 0; text-align: left; font-size: 24px; color: var(--white); letter-spacing: -.02em; }
.faq-item__q::after { content: "+"; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 26px; line-height: 1; color: var(--white); transition: transform .3s var(--ease), background .3s; }
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); background: var(--violet); border-color: var(--violet-border); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item__a p { padding: 0 90px 28px 0; max-width: 900px; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 15px; color: var(--muted); padding-left: 24px; }
.field input, .field select, .field textarea {
  width: 100%; height: 64px; padding: 0 28px; border-radius: var(--r-pill);
  background: #1a1a1a; border: 1px solid var(--line); color: #fff; font-size: 18px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%23c2c2c2' stroke-width='2' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 26px center; }
.field textarea { height: 160px; padding: 20px 28px; border-radius: var(--r-card); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet-border); box-shadow: 0 0 0 4px rgba(83,70,236,.2); }
.field input::placeholder, .field textarea::placeholder { color: #6a6a6a; }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: var(--pink); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--muted); cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--violet); flex: 0 0 auto; }
.form__success { display: none; padding: 40px; border-radius: var(--r-card); background: rgba(83,70,236,.12); border: 1px solid var(--violet-border); color: #fff; font-size: 22px; }
.form.is-sent > *:not(.form__success) { display: none; }
.form.is-sent .form__success { display: block; grid-column: 1 / -1; }

/* Contact cards */
.contact-card { gap: 14px; }
.contact-card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 400; }
.contact-card a, .contact-card .big { font-size: 26px; color: var(--white); }
.contact-card a:hover { color: var(--pink-border); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 70px 80px; border-radius: var(--r-panel); background: var(--grad); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.cta-band .h-lg { -webkit-text-fill-color: #fff; background: none; }
.cta-band .lead { color: rgba(255,255,255,.85); max-width: 640px; margin-top: 20px; }
.cta-band__mascot { width: 250px; height: 311px; object-fit: contain; object-position: bottom; margin: -70px -20px -70px 0; }
.cta-band .btn-row { margin-top: 40px; }
.cta-band .btn--ghost { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.35); }

/* Blog */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 48px; padding: 0 22px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 17px; transition: all .2s; }
.chip:hover, .chip.is-active { background: var(--violet); border-color: var(--violet-border); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 68px 40px; }
.news-grid .news-card { flex: none; }
.news-card__meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.news-card__cat { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-border); }
.news-card.is-hidden { display: none; }

.article { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: start; }
.article__body { max-width: 860px; }
.article__body h2 { font-size: 36px; font-weight: 400; color: var(--white); letter-spacing: -.02em; margin: 56px 0 20px; }
.article__body h3 { font-size: 24px; font-weight: 600; color: var(--white); margin: 40px 0 14px; }
.article__body p { margin-bottom: 20px; }
.article__body ul { margin: 0 0 24px; display: grid; gap: 12px; }
.article__body ul li { padding-left: 28px; position: relative; }
.article__body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.article__body blockquote { margin: 40px 0; padding: 30px 40px; border-left: 3px solid var(--pink); background: var(--surface); border-radius: 0 var(--r-card) var(--r-card) 0; font-family: var(--serif); font-size: 30px; line-height: 1.3; color: var(--white); }
.article__hero { height: 460px; border-radius: var(--r-panel); background: var(--grad); display: grid; place-items: center; overflow: hidden; margin-bottom: 50px; }
.article__hero img { width: 380px; }
.article__aside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 30px; }
.article__aside .card h3 { font-size: 20px; font-weight: 600; color: #fff; }
.aside-links a { color: var(--muted); display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: #fff; }
.share { display: flex; gap: 10px; flex-wrap: wrap; }

/* Legal */
.legal { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start; }
.legal__toc { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 6px; }
.legal__toc a { padding: 10px 20px; border-radius: var(--r-pill); color: var(--muted); font-size: 17px; transition: all .2s; }
.legal__toc a:hover, .legal__toc a.is-active { background: var(--surface); color: #fff; }
.legal__body h2 { font-size: 32px; font-weight: 400; color: var(--white); margin: 60px 0 20px; scroll-margin-top: 140px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin-bottom: 18px; }
.legal__body ul { display: grid; gap: 10px; margin-bottom: 24px; }
.legal__body ul li { padding-left: 26px; position: relative; }
.legal__body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-border); }
.legal__updated { font-size: 16px; color: var(--dim); }

/* 404 */
.notfound { min-height: 100vh; max-height: 1100px; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }
.notfound__code { font-family: var(--serif); font-size: clamp(120px, 20vw, 280px); line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound__mascot { width: 220px; margin: 0 auto; }

/* Cookie banner */
.cookie {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px);
  width: min(920px, 100% - 40px); padding: 22px 30px;
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  border-radius: var(--r-panel); background: rgba(24,24,24,.92); border: 1px solid var(--line); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: all .4s var(--ease);
}
.cookie.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cookie p { flex: 1 1 380px; font-size: 16px; }
.cookie p a { color: var(--pink-border); }
.cookie .btn-row { gap: 10px; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card3d__img, .band__coin { animation: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1720px) {
  .hero__bottom { flex-wrap: wrap; justify-content: center; }
  .stats { flex-wrap: wrap; justify-content: center; }
  .partners__shot { position: relative; left: auto; top: auto; width: 100%; margin-top: 80px; }
  .partners { min-height: 0; }
}
@media (max-width: 1440px) {
  .principles__grid { grid-template-columns: 1.1fr 1fr; }
  .card3d { height: 520px; }
  .card3d__panel { left: 30px; top: 30px; width: calc(100% - 30px); height: 460px; }
  .card3d__img { width: 100%; height: auto; }
  .band__inner { grid-template-columns: 640px 1fr; }
  .band__visual { height: 560px; }
  .band__phone { left: 60px; top: -30px; width: 400px; height: 620px; }
  .band__coin { left: 60px; top: 220px; width: 200px; height: 200px; }
  .band--engine .band__coin { left: 330px; top: 80px; }
  .band__content { padding: 70px 60px; }
  .footer__top { gap: 80px; }
  .footer__cols { gap: 80px; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .timeline::before { display: none; }
}
@media (max-width: 1200px) {
  .header__link { padding: 0 22px; font-size: 17px; }
  .header__cta { padding: 0 28px; }
  .hero { padding-top: 220px; min-height: 0; }
  .hero__row { flex-direction: column; gap: 40px; align-items: flex-start; }
  .hero__lead { width: auto; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .principles__grid { grid-template-columns: 1fr; row-gap: 60px; }
  .card3d { height: auto; aspect-ratio: 703 / 585; max-width: 703px; }
  .card3d__panel { height: calc(100% - 50px); }
  .band__inner { grid-template-columns: 1fr; }
  .band__visual { height: 520px; overflow: hidden; }
  .band__phone { left: 50%; transform: translateX(-40%); top: 20px; width: 360px; height: 560px; }
  .band__coin { left: calc(50% - 250px); top: 200px; }
  .band--engine .band__coin { left: calc(50% + 60px); top: 60px; }
  .band__content { padding: 60px var(--gutter); max-width: none; }
  .partners__content { width: auto; }
  .news__track { gap: 40px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .legal { grid-template-columns: 1fr; gap: 40px; }
  .legal__toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .cta-band { grid-template-columns: 1fr; padding: 60px 50px; }
  .cta-band__mascot { display: none; }
}
@media (max-width: 960px) {
  .header { inset: 16px 0 auto 0; }
  .header.is-scrolled { inset: 8px 0 auto 0; }
  .header__bar { height: 70px; padding: 0 8px 0 8px; }
  .header__nav, .header__cta { display: none; }
  .header__burger { display: block; }
  .header__logo { padding: 0 22px; }
  .hero { padding-top: 160px; }
  .hero__title-row { gap: 12px; }
  .hero__row { margin-top: 60px; }
  .hero__bottom { margin-top: 60px; gap: 90px; }
  .stats { width: 100%; padding: 20px; gap: 20px; }
  .stat { width: calc(50% - 10px); height: auto; min-height: 180px; }
  .stat__label { white-space: normal; }
  .mascot { flex: 0 0 auto; width: 100%; max-width: 464px; }
  .glow-band { top: 500px; height: 900px; filter: blur(140px); }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { min-height: 0; }
  .principles__row { flex-direction: column; align-items: flex-start; gap: 40px; }
  .band { margin: 60px 0; }
  .band__visual { height: 420px; }
  .band__phone { width: 300px; height: 460px; top: 20px; }
  .band__coin { width: 160px; height: 160px; top: 160px; left: calc(50% - 200px); }
  .band--engine .band__coin { left: calc(50% + 40px); top: 40px; }
  .cat-panel { grid-template-columns: 1fr; gap: 24px; border-radius: 30px; }
  .news-card { flex-basis: 340px; gap: 30px; }
  .news-card__img { height: 260px; }
  .news-card__img img { width: 220px; }
  .news-card__title { font-size: 24px; }
  .footer { padding: 50px 0; }
  .footer__top { flex-direction: column; gap: 50px; }
  .footer__cols { gap: 40px 60px; }
  .footer__col h4 { margin-bottom: 24px; font-size: 24px; }
  .footer__col a { margin-bottom: 16px; font-size: 18px; }
  .footer__bottom { margin-top: 50px; gap: 24px; font-size: 16px; }
  .page-hero { padding: 150px 0 40px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .faq-item__q { font-size: 20px; padding: 22px 0; }
  .faq-item__a p { padding-right: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 30px; border-radius: 30px; }
  .panel { padding: 30px 24px; border-radius: 30px; }
  .plan { padding: 30px; border-radius: 30px; }
  .cookie { flex-direction: column; align-items: flex-start; border-radius: 30px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .lead { font-size: 17px; line-height: 26px; }
  .btn { height: 56px; padding: 0 28px; font-size: 17px; }
  .btn-row { gap: 12px; }
  .h-sm { font-size: 24px; }
  .hero__icons img { width: 40px; height: 40px; }
  .stat { width: calc(50% - 8px); min-height: 160px; padding: 16px; }
  .stats { gap: 16px; padding: 16px; border-radius: 30px; }
  .stat__icon { width: 60px; height: 60px; }
  .stat__icon img { width: 36px; height: 36px; }
  .stat__num { font-size: 36px; }
  .stat__label { font-size: 13px; }
  .mascot { height: 220px; border-radius: 30px; }
  .mascot__pay { left: 30px; width: 200px; height: 250px; }
  .mascot__bubble { left: auto; right: 16px; top: -30px; font-size: 16px; padding: 14px 20px; }
  .mascot__bubble img { left: 10px; top: 40px; width: 30px; height: 30px; }
  .adv-card { padding: 24px 24px 0; }
  .adv-card__more { font-size: 16px; padding: 12px; }
  .band__visual { height: 340px; }
  .band__phone { width: 240px; height: 370px; }
  .band__coin { width: 120px; height: 120px; }
  .news-card { flex-basis: 85%; }
  .timeline { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .plan__price { font-size: 44px; }
  .table th, .table td { padding: 16px 14px; font-size: 16px; }
  .article__hero { height: 280px; border-radius: 30px; }
  .article__hero img { width: 220px; }
  .article__body h2 { font-size: 28px; }
  .article__body blockquote { font-size: 24px; padding: 20px 24px; }
}
