/* ============================================================
   XRUBIT Wallet — Landing (Figma 1:1)
   Foundation: fonts, tokens, base, container
   ============================================================ */

/* ---- Gotham Pro (user-provided) ---- */
@font-face {
  font-family: "Gotham Pro";
  src: local("Gotham Pro Light"), local("GothamProLight"),
       url("fonts/gothampro_light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: local("Gotham Pro"), local("GothamPro"),
       url("fonts/gothampro.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: local("Gotham Pro Medium"), local("GothamProMedium"),
       url("fonts/gothampro_medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: local("Gotham Pro Bold"), local("GothamProBold"),
       url("fonts/gothampro_bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: local("Gotham Pro Black"), local("GothamProBlack"),
       url("fonts/gothampro_black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  /* palette */
  --bg:        #05070e;
  --bg-soft:   #070b16;
  --card:      #080d1c;
  --card-2:    #0a0f1f;
  --card-3:    #0c1227;
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --line:      rgba(255,255,255,0.06);
  --line-soft: rgba(255,255,255,0.04);

  --blue:      #0f6fff;
  --blue-2:    #2c6bff;
  --blue-grad: linear-gradient(180deg,#1170ff 0%,#3184ff 100%);
  --cyan:      #01b4ff;
  --green:     #2fd27a;

  --text:      #edf1fb;
  --text-2:    #dadbdd;
  --muted:     #8a95b2;
  --muted-2:   #59617c;

  --head: "Gotham Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --body: "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  --maxw: 1200px;
  --pad: 360px; /* desktop side gutter at 1920 */
  --radius-btn: 999px;

  --shadow-blue: 0 8px 24px rgba(44,107,255,0.4);
  --inner-hi: inset 0 1px 0 rgba(255,255,255,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(15,111,255,0.35); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---- shared eyebrow / badge ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.5;
}
.eyebrow.solo::after { display: none; }

.badge-pill {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 12.5px; line-height: 20px;
  color: var(--cyan);
  padding: 5px 26px; border-radius: 46px;
  box-shadow: inset 0 0 0 1px rgba(98,206,251,0.45);
}

/* ---- shared headings ---- */
.h2 {
  font-family: var(--head); font-weight: 500;
  font-size: 40px; line-height: 1.06; letter-spacing: -0.036em;
  color: #f4f7ff; margin: 0;
  text-wrap: balance;
}
.lead {
  font-size: 20px; line-height: 1.6; letter-spacing: -0.01em;
  color: var(--muted); margin: 0;
}

/* ---- shared buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-size: 16.5px; line-height: 1.6; letter-spacing: -0.01em;
  padding: 16px 34px; border-radius: var(--radius-btn);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-grad); color: #fff;
  box-shadow: var(--inner-hi), var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--inner-hi), 0 12px 30px rgba(44,107,255,0.5); }
.btn-ghost {
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--surface-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.btn-sm { font-size: 12.6px; padding: 10px 21px; }

/* section vertical rhythm */
.section { position: relative; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 92px; display: flex; align-items: center;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,7,14,0.8);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 76px;
}
.header-inner {
  display: flex; align-items: center; gap: 40px;
}
.logo-img { height: 36px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 34px;
  margin-left: 18px;
}
.nav a {
  font-size: 14.5px; color: var(--muted); letter-spacing: -0.01em;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--surface-2);
}
.lang button {
  font-family: var(--body); font-size: 13px; font-weight: 500;
  color: var(--muted); padding: 5px 12px; border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
.lang button.active { background: var(--blue); color: #fff; }

.header-cta { font-size: 12.6px; padding: 10px 22px; }
.header-login {
  font-size: 12.6px; padding: 11px 22px;
}

/* ---- Burger + Mobile Nav ---- */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.burger span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; inset: 0; top: 64px; z-index: 999;
  background: rgba(8,12,24,0.98); backdrop-filter: blur(16px);
  flex-direction: column; padding: 32px 24px 40px; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.mobile-nav-link {
  font-size: 22px; font-weight: 500; color: #fff; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  letter-spacing: -0.02em;
}
.mobile-nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; text-align: center; padding: 16px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-login { display: none; }
  .burger { display: flex; }
}

/* icon system: tinted mask icons */
[data-ic] {
  display: inline-block;
}
[data-ic="globe"]  { --ic: url("icons/globe.svg"); }
[data-ic="wallet"] { --ic: url("icons/apple.svg"); }
[data-ic="clock"]  { --ic: url("icons/clock.svg"); }
[data-ic="card"]   { --ic: url("icons/card.svg"); }
[data-ic="sbp"]    { --ic: url("icons/layers.svg"); }
[data-ic="taxi"]   { --ic: url("icons/taxi.svg"); }
[data-ic="building"]{ --ic: url("icons/hotel.svg"); }
[data-ic="shield"] { --ic: url("icons/shield-check.svg"); }
[data-ic="lock"]   { --ic: url("icons/lock.svg"); }
[data-ic="bolt"]   { --ic: url("icons/bolt.svg"); }
[data-ic="pulse"]  { --ic: url("icons/activity.svg"); }
[data-ic="send"]   { --ic: url("icons/send.svg"); }
[data-ic="qr"]     { --ic: url("icons/qr.svg"); }
[data-ic="coin"]   { --ic: url("icons/btc.png"); }
[data-ic="ruble"]  { --ic: url("icons/sbp.png"); }
[data-ic="bell"]   { --ic: url("icons/bell.svg"); }
[data-ic="face"]   { --ic: url("icons/biometry.svg"); }
[data-ic="doc"]    { --ic: url("icons/shield-check.svg"); }
[data-ic="verify"] { --ic: url("icons/clock.svg"); }
[data-ic="gift"]   { --ic: url("icons/share.svg"); }
[data-ic="handshake"]{ --ic: url("icons/activity.svg"); }
[data-ic="tg"]     { --ic: url("icons/telegram.svg"); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 92px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(20,80,200,0.16), transparent 60%),
    radial-gradient(900px 560px at 12% -8%, rgba(8,28,70,0.5), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 24px;
  min-height: 720px;
  padding-block: 40px 56px;
}
.hero-copy { max-width: 600px; }
.hero-title {
  font-family: var(--head);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 26px;
  overflow: visible;
  color: #f4f7ff;
}
.hero-title span { display: block; white-space: nowrap; overflow: visible; }
.hero-title .hl {
  color: #2b7fff;
  padding-top: 4px;
}
.hero-lead {
  font-size: 20px; line-height: 1.6; letter-spacing: -0.01em;
  color: var(--muted); margin: 0 0 36px; max-width: 600px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-cta .btn { padding: 16px 44px; }
.hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 28px;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: var(--muted); letter-spacing: -0.01em;
}
.check {
  width: 18px; height: 18px; flex: none;
  background: url("icons/check.svg") center / contain no-repeat;
}

.hero-visual {
  position: relative;
  height: 720px;
  transform: translateX(36px);
  display: flex; align-items: center; justify-content: center;
}
.hero-phone-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  background:
    radial-gradient(closest-side, rgba(40,120,255,0.42) 0%, rgba(27,90,220,0.22) 42%, rgba(7,17,31,0) 72%);
  filter: blur(26px);
  pointer-events: none;
}
.hero-phone-glow::after {
  content: ""; position: absolute; left: 50%; top: 54%;
  width: 420px; height: 420px; transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70,150,255,0.45), rgba(7,17,31,0) 70%);
  filter: blur(14px);
}
.hero-phone {
  position: relative;
  height: 680px; width: auto; max-width: none;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.55));
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}
.hero-pill {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center;
  font-family: var(--body); font-weight: 600; font-size: 13.5px;
  color: #d3e2ff;
  padding: 9px 16px; border-radius: 46px;
  background: rgba(17,42,72,0.45);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 0.7px rgba(70,120,190,0.5);
  white-space: nowrap;
}
.hero-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--cyan); margin-right: 9px;
  box-shadow: 0 0 8px var(--cyan);
}
.hero-pill--1 { top: 45%;  left: -6%; }
.hero-pill--2 { top: 13%;  right: 0%; }
.hero-pill--3 { bottom: 24%; right: -4%; }

/* ============================================================
   CRYPTO TICKER
   ============================================================ */
.ticker {
  position: relative; overflow: hidden;
  background: var(--bg);
  border-block: 1px solid var(--line);
  height: 56px; display: flex; align-items: center;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.ticker-track {
  display: flex; align-items: center;
  white-space: nowrap; will-change: transform;
  animation: ticker-scroll 48s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 30px; height: 30px;
  border-right: 1px solid var(--line);
}
.tk-pair { display: flex; flex-direction: row; align-items: baseline; white-space: nowrap; line-height: 1.05; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.tk-price { font-weight: 600; color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tk-chg { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tk-chg.up { color: var(--green); }
.tk-chg.down { color: #ff6b6b; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sec-head .h2 { max-width: 900px; }
.sec-head .lead { max-width: 780px; margin-top: 4px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding-block: 88px 36px; }
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.metric {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 22px;
  padding: 32px 26px 28px;
  min-height: 226px;
  display: flex; flex-direction: column;
}
.metric::before { content: none; }
.metric-ic {
  width: 45px; height: 45px; border-radius: 13px;
  background-color: rgba(44,107,255,0.14);
  border: 1px solid rgba(44,107,255,0.3);
  display: grid; place-items: center;
}
.metric-ic::after {
  content: ""; width: 26px; height: 26px;
  background: var(--ic) center / contain no-repeat;
}
.metric .metric-ic[data-ic] { background-color: rgba(44,107,255,0.14); }
.metric-big {
  margin-top: auto;
  font-family: var(--body); font-weight: 700; font-size: 40px;
  line-height: 1; letter-spacing: -0.04em; color: var(--text);
}
.metric-big--sm { font-size: 26px; letter-spacing: -0.04em; }
.metric-lbl {
  margin-top: 14px;
  font-size: 14.5px; line-height: 1.6; letter-spacing: -0.01em; color: var(--muted);
}

/* ============================================================
   SBP BANNER
   ============================================================ */
.sbp-banner-sec { padding-block: 36px 28px; }
.sbp-banner {
  position: relative;
  max-width: 1000px; margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 36px 34px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(700px 260px at 14% 40%, rgba(40,110,240,0.34), transparent 70%),
    radial-gradient(420px 200px at 2% 60%, rgba(30,90,210,0.30), transparent 72%),
    linear-gradient(90deg, #0b1530 0%, #0a1224 55%, #090f1e 100%);
}
.sbp-ic {
  width: 53px; height: 53px; flex: none; border-radius: 15px;
  background-color: rgba(44,107,255,0.14);
  border: 1px solid rgba(44,107,255,0.3);
  display: grid; place-items: center;
}
.sbp-ic::after {
  content: ""; width: 26px; height: 26px;
  background: var(--ic) center / contain no-repeat;
}
.sbp-body { flex: 1; min-width: 0; padding-left: 8px; }
.sbp-title {
  font-family: var(--body); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; color: var(--text); margin: 0 0 8px;
}
.sbp-text {
  font-size: 14.5px; line-height: 1.6; letter-spacing: -0.01em; color: var(--muted);
  margin: 0; max-width: 600px;
}
.sbp-logo {
  flex: none; width: 168px; height: auto; margin-right: 6px; margin-block: -10px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

/* ============================================================
   SBP TOP-UP
   ============================================================ */
.topup {
  background: var(--bg-soft); border-block: 1px solid var(--line);
  padding-block: 100px; overflow: hidden;
}
.topup-grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center;
}
.topup-visual { order: 1; }
.topup-copy { order: 2; }
.topup-copy .badge-pill { margin-bottom: 22px; }
.topup-copy .h2 { text-align: left; max-width: 640px; margin-bottom: 22px; }
.topup-copy .lead { text-align: left; max-width: 640px; margin-bottom: 36px; }
.topup-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tu-card {
  border-radius: 14px; padding: 24px 26px 26px;
  background: linear-gradient(90deg, rgba(11,16,26,0.69), rgba(14,22,40,0.69));
  box-shadow: inset 0 0 0 1px rgba(27,37,56,0.7);
  display: flex; flex-direction: column; align-items: flex-start;
}
.tu-card--active {
  background: linear-gradient(90deg, rgba(9,20,44,0.91), rgba(13,23,48,0.91));
  box-shadow: inset 0 0 0 1px rgba(91,140,255,0.8);
}
.tu-ic {
  width: 60px; height: 60px; border-radius: 14px;
  background-color: rgba(44,107,255,0.12); border: 1px solid rgba(44,107,255,0.22);
  display: grid; place-items: center; margin-bottom: 22px; flex-shrink: 0;
}
.tu-ic::after {
  content: ""; width: 28px; height: 28px; background: var(--ic) center / contain no-repeat;
}
.tu-name { font-family: var(--body); font-weight: 700; font-size: 22px; letter-spacing: -0.025em; color: #f2f6ff; margin: 0 0 12px; }
.tu-badge {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--head); font-size: 10px; font-weight: 500; line-height: 1;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
  height: 24px; padding: 2px 12px 0; border-radius: 999px; background: rgba(47,210,122,0.12);
  box-shadow: inset 0 0 0 1px rgba(47,210,122,0.32); margin-bottom: 14px;
}
.tu-text { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.topup-glow {
  position: absolute; width: 460px; height: 460px; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(27,124,255,0.5), rgba(7,17,31,0) 72%);
  filter: blur(8px); pointer-events: none;
}
.topup-visual img { position: relative; width: 100%; max-width: 393px; height: auto; transform: translateY(40px) rotate(-10deg); }

@media (max-width: 960px) {
  .topup-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .topup-copy { display: contents; }
  .topup-copy .badge-pill { order: 1; margin-bottom: 0; }
  .topup-copy .h2 { order: 2; margin-bottom: 0; }
  .topup-copy .lead { order: 3; margin-bottom: 0; }
  .topup-visual { order: 4; display: flex; justify-content: center; }
  .topup-cards { order: 5; }
  .topup-visual img { max-width: 280px; transform: rotate(-10deg); }
}
/* Tablet: image left, the two cards stacked on the right */
@media (min-width: 561px) and (max-width: 960px) {
  .topup-grid {
    display: grid; align-items: center;
    grid-template-columns: 1fr 1fr; gap: 24px 36px;
    grid-template-areas:
      "badge  badge"
      "title  title"
      "lead   lead"
      "visual cards";
  }
  .topup-copy { display: contents; }
  .topup-copy .badge-pill { grid-area: badge; }
  .topup-copy .h2 { grid-area: title; }
  .topup-copy .lead { grid-area: lead; }
  .topup-visual { grid-area: visual; }
  .topup-cards { grid-area: cards; grid-template-columns: 1fr; }
  .topup-visual img { max-width: 320px; }
}
@media (max-width: 520px) {
  .topup-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS & TARIFFS
   ============================================================ */
.tariffs { padding-block: 100px; }
.tariff-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
  margin-bottom: 64px;
}
.tcard {
  position: relative;
  background: var(--card-2); border: 1px solid var(--surface-2);
  border-radius: 24px; padding: 36px 34px 34px;
  display: flex; flex-direction: column;
}
.tcard--featured {
  border-color: rgba(44,107,255,0.55);
  box-shadow: 0 0 0 1px rgba(44,107,255,0.25), 0 30px 70px rgba(10,40,110,0.35);
  background: linear-gradient(180deg, #0b1430, #0a1020);
}
.tcard-head { margin-bottom: 28px; }
.tcard-name { font-family: var(--body); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; color: var(--text); margin: 0 0 6px; }
.tcard-tag { font-size: 14.5px; color: #3d8afd; letter-spacing: -0.01em; }
.tcard-price { margin-bottom: 10px; }
.price-big { font-family: var(--body); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; color: #3d8afd; }
.tcard--featured .price-big { color: #4a93ff; }
.tcard-sub { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; min-height: 40px; }
.tcard-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
.tcard-feats { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tcard-feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.4; color: var(--text-2); letter-spacing: -0.01em; }
.tcard-feats .check { margin-top: 2px; }

.fin-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #3d8afd; letter-spacing: -0.01em;
  padding: 0 0 0; margin-top: auto; margin-bottom: 18px;
}
.chev {
  width: 13px; height: 13px;
  background: url("icons/chevron-up.svg") center / contain no-repeat;
  transition: transform .25s ease;
}
.fin-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.fin-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease, margin .3s ease, opacity .25s ease;
  opacity: 0; overflow: hidden; margin-bottom: 0;
}
.fin-panel.open { grid-template-rows: 1fr; opacity: 1; margin-bottom: 18px; }
.fin-panel > * { min-height: 0; }
.fin-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.fin-row b { color: var(--text-2); font-weight: 600; }
.tcard-cta { margin-top: auto; width: 100%; }
.tcard-cta--soon {
  display: flex; align-items: center; justify-content: center;
  cursor: not-allowed; pointer-events: none;
  background: rgba(255,255,255,0.06); color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); background-image: none;
}

/* comparison table */
.compare {
  border-radius: 22px; border: 1px solid var(--surface-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.012));
  overflow: hidden; margin-bottom: 36px;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th {
  text-align: left; padding: 22px 24px; vertical-align: top;
  background: rgba(44,107,255,0.05);
  border-bottom: 1px solid var(--line);
}
.cmp-name { display: block; font-family: var(--body); font-weight: 700; font-size: 15.5px; color: var(--text); letter-spacing: -0.01em; }
.cmp-price { display: block; font-size: 12.5px; color: #3d8afd; margin-top: 4px; }
.compare-table tbody th {
  text-align: left; font-weight: 400; font-size: 14.5px; color: var(--muted);
  padding: 18px 24px; letter-spacing: -0.01em;
}
.compare-table tbody td {
  font-size: 14.5px; color: var(--text-2); padding: 18px 24px; letter-spacing: -0.01em;
}
.compare-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.compare-table tbody tr:last-child { border-bottom: none; }

/* QR banner */
.qr-banner {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 32px; border-radius: 22px;
  border: 1px solid var(--surface-2); background: var(--surface);
}
.qr-ic {
  width: 56px; height: 56px; flex: none; border-radius: 15px;
  background-color: rgba(47,210,122,0.12); border: 1px solid rgba(47,210,122,0.3);
  display: grid; place-items: center;
}
.qr-ic::after {
  content: ""; width: 28px; height: 28px; background: var(--ic) center / contain no-repeat;
}
.qr-body { flex: 1; min-width: 0; }
.qr-title { font-family: var(--body); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--text); margin: 0 0 6px; }
.qr-text { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 640px; }
.qr-cta { flex: none; }

@media (max-width: 960px) {
  .tariff-cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; margin-bottom: 48px; }
  .compare { overflow-x: auto; }
  .compare-table { min-width: 760px; }
  .qr-banner { flex-wrap: wrap; }
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages { padding-block: 96px; }
.adv-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.adv-card {
  grid-column: span 2;
  background: var(--surface); border: 1px solid var(--surface-2);
  border-radius: 22px; padding: 30px 30px 32px;
  transition: transform .2s ease, border-color .2s ease;
}
.adv-card:hover { transform: translateY(-4px); border-color: rgba(44,107,255,0.3); }
.adv-ic {
  width: 51px; height: 51px; border-radius: 14px;
  background-color: rgba(44,107,255,0.12);
  border: 1px solid rgba(44,107,255,0.22);
  display: grid; place-items: center; margin-bottom: 22px;
}
.adv-ic::after {
  content: ""; width: 25px; height: 25px; background: var(--ic) center / contain no-repeat;
}
.adv-title {
  font-family: var(--body); font-weight: 700; font-size: 19px;
  letter-spacing: -0.025em; color: var(--text); margin: 0 0 10px;
}
.adv-text {
  font-size: 14.5px; line-height: 1.55; letter-spacing: -0.01em; color: var(--muted); margin: 0;
}
/* wide feature cards (last two) */
.adv-card--wide {
  grid-column: span 3;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 34px 38px 38px;
  background:
    radial-gradient(120% 150% at 22% 14%, rgba(46,92,205,0.46) 0%, rgba(20,36,82,0.32) 42%, rgba(9,14,30,0.10) 72%),
    linear-gradient(165deg, rgba(24,46,108,0.55) 0%, rgba(10,16,38,0.55) 60%, var(--surface) 100%);
  border-color: rgba(70,124,255,0.26);
}
.adv-card--wide:hover { border-color: rgba(90,150,255,0.45); }
.adv-card--wide .adv-title { margin-top: auto; }
.adv-card--wide .adv-text { max-width: 60ch; }
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card { grid-column: span 1; }
  .adv-card--wide { grid-column: span 2; min-height: 220px; }
}
@media (max-width: 560px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card, .adv-card--wide { grid-column: auto; }
}

/* ============================================================
   WALLETS (Apple/Google Pay)
   ============================================================ */
.wallets { padding-block: 100px 40px; overflow: hidden; }
.wallets .sec-head { margin-bottom: 8px; }
.wallets .h2 { max-width: 980px; }
.wallets-visual {
  position: relative; display: flex; justify-content: center;
  margin-top: 90px;
}
.wallets-glow {
  position: absolute; width: 820px; height: 540px; left: 50%; top: 52%;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(27,124,255,0.5), rgba(7,17,31,0) 72%);
  filter: blur(10px); pointer-events: none;
}
.wallets-visual img {
  position: relative; width: 100%; max-width: 1240px; height: auto;
}
.wallets-bokeh {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.bokeh {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * 2.8); height: calc(var(--s) * 2.8);
  margin: calc(var(--s) * -1.4) 0 0 calc(var(--s) * -1.4);
  border-radius: 50%;
  opacity: var(--o);
  background: radial-gradient(circle, rgba(190,218,255,0.95) 0%, rgba(110,170,255,0.6) 22%, rgba(58,131,255,0.32) 42%, rgba(58,131,255,0) 70%);
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation: bokehFloat var(--d, 8s) ease-in-out infinite alternate;
}
@keyframes bokehFloat {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: calc(var(--o) * 0.55); }
  to   { transform: translate3d(0, -16px, 0) scale(1.18); opacity: var(--o); }
}
@media (prefers-reduced-motion: reduce) { .bokeh { animation: none; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  position: relative; overflow: hidden;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding-block: 108px 100px;
}
.how-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 460px at 78% 16%, rgba(20,70,180,0.14), transparent 62%),
    radial-gradient(700px 420px at 14% 90%, rgba(8,28,70,0.4), transparent 60%);
  pointer-events: none;
}
.how .container { position: relative; }
.how-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  position: relative;
}
.how-grid::before { display: none; }
.how-col { display: flex; flex-direction: column; gap: 28px; }
.feat-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--surface-2);
  border-radius: 22px; padding: 32px 34px;
}
.feat-title {
  font-family: var(--body); font-weight: 700; font-size: 21px;
  letter-spacing: -0.02em; color: var(--text); margin: 0 0 12px; line-height: 1.2;
}
.feat-text {
  font-size: 14.5px; line-height: 1.55; letter-spacing: -0.01em; color: var(--muted); margin: 0;
}
/* card 1 — cards image */
.feat-card--cards { min-height: 320px; }
.feat-card--cards .feat-text { max-width: 70%; }
.feat-cards-img {
  position: absolute; left: 26px; bottom: 16px; width: 270px; height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
}
/* card 2 — usdt + sbp */
.feat-card--row {
  min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.feat-card--row .feat-title { margin-bottom: 8px; }
.feat-card--row .feat-body { max-width: 60%; }
.feat-coins { display: flex; align-items: flex-start; gap: 8px; flex: none; }
.feat-coins img { width: 64px; height: auto; }
.feat-coins img:first-child { transform: translateY(-10px); }
.feat-coins img:last-child { width: 52px; margin-left: 0; transform: translateY(12px); }
/* card 3 — topup $190 */
.feat-card--topup { min-height: 210px; }
.feat-card--topup .feat-title { max-width: 48%; }
.feat-topup-img {
  position: absolute; top: 14px; right: 22px;
  width: 184px; height: auto;
}
.feat-text--bottom { position: absolute; left: 34px; bottom: 30px; max-width: 56%; }
/* card 4 — apple/google pay */
.feat-card--pay { min-height: 260px; }
.feat-card--pay .feat-title { max-width: 55%; }
.feat-pay-logos {
  position: absolute; top: 50%; right: 80px; transform: translateY(-50%);
  display: flex; align-items: center; gap: 20px;
}
.feat-pay-logos img { height: 80px; width: auto; }
.feat-pay-logos img:first-child { transform: translateY(-18px); }
.feat-pay-logos img:last-child { height: 88px; transform: translateY(18px); }
.feat-card--pay .feat-text--bottom { max-width: 47%; }

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-grid::before { display: none; }
}
@media (max-width: 520px) {
  .feat-cards-img { width: 76%; }
  .feat-card--row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feat-card--row .feat-body { max-width: 100%; }
  .feat-coins { width: 100%; justify-content: center; align-items: center; gap: 20px; }
  .feat-coins img:first-child { transform: none; }
  .feat-coins img:last-child { transform: none; }
  .feat-card--topup { display: flex; flex-direction: column; min-height: 0; }
  .feat-card--topup .feat-title { max-width: 100%; }
  .feat-topup-img { position: static; width: 200px; max-width: 70%; margin: 18px 0; align-self: center; }
  .feat-card--topup .feat-text--bottom { position: static; max-width: 100%; }
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecases-sec { padding-block: 0 96px; }
.usecases {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.uc-card {
  background: var(--surface); border: 1px solid var(--surface-2);
  border-radius: 22px; padding: 32px 32px 36px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.uc-card:hover { transform: translateY(-4px); border-color: rgba(44,107,255,0.35); }
.uc-ic {
  width: 55px; height: 55px; border-radius: 15px;
  background-color: rgba(44,107,255,0.12);
  border: 1px solid rgba(44,107,255,0.25);
  display: grid; place-items: center; margin-bottom: 56px;
}
.uc-ic::after {
  content: ""; width: 26px; height: 26px; background: var(--ic) center / contain no-repeat;
}
.uc-title {
  font-family: var(--body); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; color: var(--text); margin: 0 0 12px;
}
.uc-text {
  font-size: 15px; line-height: 1.55; letter-spacing: -0.01em; color: var(--muted);
  margin: 0 0 26px; max-width: 280px;
}
.chips { display: flex; align-items: center; margin-top: auto; }
.chip {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  border: 2px solid var(--bg);
  margin-left: -12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
.chip:first-child { margin-left: 0; }
.chip-logo { background: transparent; padding: 0; overflow: hidden; border: 0; box-shadow: none; width: 50px; height: 50px; margin-left: -16px; }
.chip-logo:first-child { margin-left: 0; }
.chip-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.chip-wide { width: auto; padding: 0 13px; border-radius: 22px; font-size: 12.5px; }
.usecases-cta { display: flex; justify-content: center; margin-top: 48px; }
.usecases-cta .btn { padding: 16px 50px; }

@media (max-width: 900px) {
  .usecases { grid-template-columns: 1fr; }
  .uc-ic { margin-bottom: 28px; }
}

/* ============================================================
   PAY SERVICES MATRIX
   ============================================================ */
.pay { padding-block: 96px; }
.pay-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  margin-bottom: 64px;
}
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item {
  text-align: left; width: 100%;
  font-family: var(--body); font-size: 15.5px; letter-spacing: -0.01em;
  color: var(--muted);
  padding: 11px 14px; border-radius: 11px;
  transition: background-color .15s ease, color .15s ease;
}
.cat-item:hover { color: var(--text-2); }
.cat-item.active { background: rgba(44,107,255,0.1); color: #3d8afd; }

.logo-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  align-content: start;
}
.logo-card {
  height: 100px; border-radius: 13px;
  background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.svc-icon { width: 32px; height: 32px; object-fit: contain; display: block; flex-shrink: 0; }
.logo-name {
  font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: -0.01em;
  text-align: center; line-height: 1.2;
}
.svc-icon {
  width: 36px; height: 36px; object-fit: contain; display: block;
}
.logo-mark {
  font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  text-align: center;
  display: grid; place-items: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }

.price-table {
  border-radius: 22px; background: var(--surface); border: 1px solid var(--surface-2);
  padding: 28px 30px 34px;
}
.price-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.price-title { font-family: var(--body); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.price-note { font-size: 11.5px; letter-spacing: 0.02em; color: var(--muted-2); }
.price-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; }
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
}
.price-svc { font-size: 14.5px; color: var(--muted); letter-spacing: -0.01em; }
.price-amt { font-size: 14.5px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.price-amt b { color: #3d8afd; font-weight: 600; }
.price-unit { color: var(--muted); font-weight: 400; font-size: 0.84em; margin-left: 2px; }

/* ============================================================
   SECURITY
   ============================================================ */
.security { padding-block: 100px; }
.sec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.sec-card {
  background: var(--surface); border: 1px solid var(--surface-2);
  border-radius: 16px; padding: 24px 22px 26px; min-height: 195px;
  display: flex; flex-direction: column;
}
.sec-ic {
  width: 43px; height: 43px; border-radius: 13px;
  background-color: rgba(44,107,255,0.12); border: 1px solid rgba(44,107,255,0.3);
  display: grid; place-items: center; margin-bottom: 42px;
}
.sec-ic::after {
  content: ""; width: 23px; height: 23px; background: var(--ic) center / contain no-repeat;
}
.sec-card h4 {
  margin: auto 0 0; font-family: var(--body); font-weight: 700; font-size: 16px;
  line-height: 1.3; letter-spacing: -0.02em; color: var(--text);
}
.sec-note {
  display: flex; gap: 22px; align-items: flex-start;
  border-radius: 22px; padding: 26px 30px;
  background: rgba(44,107,255,0.06); border: 1px solid rgba(44,107,255,0.25);
}
.sec-note-ic { width: 25px; height: 25px; flex: none; margin-top: 2px; background: var(--ic) center / contain no-repeat; }
.sec-note p { margin: 0; font-size: 15.5px; line-height: 1.6; letter-spacing: -0.01em; color: var(--text); }

@media (max-width: 900px) {
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-card { min-height: 0; }
  .sec-ic { margin-bottom: 20px; }
}

/* ============================================================
   TELEGRAM CTA
   ============================================================ */
.tg-sec { padding-block: 40px 60px; }
.tg-break { display: none; }
@media (min-width: 561px) and (max-width: 1200px) { .tg-break { display: inline; } }
.tg-card {
  position: relative; overflow: hidden;
  border-radius: 30px; border: 1px solid var(--surface-2);
  background: linear-gradient(125deg, #060f20 0%, #0a1a3a 40%, #0d2060 70%, #1a3a8a 100%);
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  min-height: 428px;
}
.tg-copy { padding: 56px 56px 56px 56px; position: relative; z-index: 2; }
.badge-pill--strong { box-shadow: inset 0 0 0 1px rgba(92,147,255,0.76); color: #3d8afd; }
.tg-copy .badge-pill { margin-bottom: 24px; }
.tg-copy .h2 { text-align: left; max-width: 500px; line-height: 1.0; margin-bottom: 22px; }
.tg-copy .lead { text-align: left; max-width: 460px; font-size: 17px; margin-bottom: 36px; }
.tg-btn { padding: 16px 44px; border-radius: 50px; }
.tg-visual { position: relative; align-self: stretch; }
.tg-visual img {
  position: absolute; right: 0px; top: -20px; transform: none;
  width: 660px; max-width: none; height: auto;
}

/* --- Tablet (two-column tg-card): nudge visual toward the right edge --- */
@media (min-width: 861px) and (max-width: 1080px) {
  .tg-visual img { right: -30px; top: 40px; width: 560px; }
  .tg-copy .h2 { font-size: 30px; }
  .tg-copy .lead { font-size: 15px; max-width: 320px; }
  .tg-break { display: inline; }
}

/* --- Tablet portrait (601–860): keep text left, image right --- */
@media (min-width: 601px) and (max-width: 860px) {
  .tg-card { grid-template-columns: 1.15fr 0.85fr; min-height: 360px; }
  .tg-copy { padding: 40px 36px; }
  .tg-copy .h2 { font-size: 28px; }
  .tg-copy .lead { font-size: 15px; max-width: 300px; }
  .tg-visual img { right: -40px; top: 60%; transform: translateY(-50%); width: 460px; }
}

@media (max-width: 600px) {
  .tg-card { grid-template-columns: 1fr; min-height: 0; }
  .tg-copy { padding: 40px 32px; }
  .tg-visual { height: 280px; }
  .tg-visual img { position: relative; right: 0; top: 0; transform: none; margin: 0 auto; max-width: 70%; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-sec { padding-block: 80px 100px; }
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: 26px 4px;
  font-family: var(--body); font-size: 18px; letter-spacing: -0.02em; color: var(--text);
}
.faq-q:hover { color: #fff; }
.faq-pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq-pm::before, .faq-pm::after {
  content: ""; position: absolute; background: #3d8afd; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.faq-pm::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-pm::after  { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-q[aria-expanded="true"] .faq-pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a > p { min-height: 0; overflow: hidden; margin: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding: 0 4px 26px; }
.faq-a p { font-size: 15.5px; line-height: 1.65; letter-spacing: -0.01em; color: var(--muted); max-width: 760px; }

/* ============================================================
   EARN
   ============================================================ */
.earn { padding-block: 100px; }
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1152px; margin: 0 auto; }
.earn-card {
  background: var(--surface); border: 1px solid var(--surface-2);
  border-radius: 22px; padding: 36px 36px 36px;
  display: flex; flex-direction: column;
}
.earn-ic {
  width: 54px; height: 54px; border-radius: 15px;
  background-color: rgba(44,107,255,0.12); border: 1px solid rgba(44,107,255,0.22);
  display: grid; place-items: center; margin-bottom: 28px;
}
.earn-ic::after { content: ""; width: 26px; height: 26px; background: var(--ic) center / contain no-repeat; }
.earn-name { font-family: var(--body); font-weight: 700; font-size: 22px; letter-spacing: -0.025em; color: var(--text); margin: 0 0 10px; }
.earn-text { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 28px; max-width: 360px; }
.earn-btn { align-self: flex-start; margin-top: auto; padding: 13px 27px; font-size: 15.5px; }

@media (max-width: 760px) { .earn-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding-block: 60px 80px; }
.final-card {
  position: relative; overflow: hidden;
  border-radius: 30px; border: 1px solid var(--surface-2);
  background: linear-gradient(180deg, #081326, #060c18);
  padding: 70px 40px 76px; text-align: center;
}
.final-glow {
  position: absolute; left: 50%; top: -40%; width: 1100px; height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(27,124,255,0.5), rgba(7,17,31,0) 72%);
  pointer-events: none;
}
.final-card .h2 { position: relative; font-size: 40px; letter-spacing: -0.045em; margin-bottom: 18px; }
.final-text { position: relative; font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 auto 34px; max-width: 560px; }
.final-btn { position: relative; padding: 15px 57px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo { height: 28px; margin-bottom: 22px; }
.footer-blurb { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h5 { margin: 0 0 4px; font-size: 13px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.footer-col a { font-size: 14.5px; color: var(--muted); letter-spacing: -0.01em; transition: color .15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 22px; }
.footer-legal span { font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }
.footer-reg { font-size: 13px; color: var(--muted-2); letter-spacing: 0.01em; margin: 6px 0 24px; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-copy { font-size: 13.5px; color: var(--muted-2); }
.footer-social { display: flex; gap: 10px; }
.soc {
  width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--surface-2);
  display: grid; place-items: center; transition: background-color .15s ease, border-color .15s ease;
}
.soc:hover { background: var(--surface); border-color: rgba(44,107,255,0.4); }
.soc-ic { width: 18px; height: 18px; background: var(--ic) center / contain no-repeat; opacity: 0.85; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .final-card .h2 { font-size: 34px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy { display: contents; }
  .hero-title { order: 1; font-size: clamp(34px, 7vw, 48px); max-width: 100%; }
  .hero-title span { white-space: normal; }
  .hero-lead { order: 2; max-width: 100%; }
  .hero-visual { order: 3; height: auto; transform: none; margin: 8px 0 32px; }
  .hero-phone { height: auto; width: 88%; max-width: 380px; }
  .hero-phone-glow { width: 460px; height: 460px; }
  .hero-cta { order: 4; flex-direction: column; margin-bottom: 32px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { order: 5; flex-direction: column; gap: 16px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .sec-head.center { text-align: left; align-items: flex-start; }
  .sec-head .h2, .sec-head .lead { max-width: 100%; }
  .sbp-banner { flex-wrap: wrap; }
  .sbp-banks { width: 100%; }
  .pay-layout { grid-template-columns: 1fr; gap: 28px; }
  .cat-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .cat-item { width: auto; background: var(--surface); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .price-list { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
}
/* --- Tablet: keep desktop-style two-column hero (text + phone side by side) --- */
@media (min-width: 700px) and (max-width: 1080px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    min-height: auto;
    padding-block: 24px 44px;
  }
  .hero-copy { display: block; max-width: 100%; }
  .hero-title { order: 0; font-size: clamp(40px, 5.6vw, 60px); }
  .hero-title span { white-space: normal; }
  .hero-lead { order: 0; font-size: 17px; margin-bottom: 28px; }
  .hero-visual { order: 0; height: auto; transform: none; margin: 0; justify-content: center; }
  .hero-phone { width: 100%; max-width: 340px; height: auto; }
  .hero-phone-glow { width: 420px; height: 420px; }
  .hero-cta { order: 0; flex-direction: row; margin-bottom: 32px; }
  .hero-cta .btn { width: auto; }
  .hero-trust { order: 0; flex-direction: row; gap: 24px; }
  .h2 { font-size: clamp(28px, 3.8vw, 38px); }
}
/* --- iPad Air & smaller (≤900px, single-column how-grid): compact cards image top-right --- */
@media (min-width: 561px) and (max-width: 900px) {
  .feat-cards-img { left: auto; right: 26px; bottom: auto; top: 70px; width: 220px; }
  .feat-card--cards { min-height: 230px; }
}
/* --- Use-case cards: one row with horizontal scroll on tablet & small screens --- */
@media (min-width: 561px) and (max-width: 1080px) {
  .usecases {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
  .uc-card {
    flex: 0 0 72%;
    min-width: 260px;
    max-width: 340px;
    scroll-snap-align: start;
  }
}
/* --- Tariff cards: one row with horizontal scroll on tablet & small screens --- */
@media (min-width: 561px) and (max-width: 1080px) {
  .tariff-cards {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    max-width: none;
    margin-inline: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .tcard {
    flex: 0 0 80%;
    min-width: 300px;
    max-width: 380px;
    scroll-snap-align: start;
  }
}
/* --- iPad Pro / Air landscape (1081–1200px): keep cards image clear of text --- */
@media (min-width: 1081px) and (max-width: 1200px) {
  .feat-card--cards .feat-text { max-width: 52%; }
  .feat-cards-img { left: auto; right: 20px; width: 230px; }
}
@media (max-width: 560px) {
  .sbp-banner-sec { display: none; }
  .tg-sec { display: none; }
  .qr-banner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .qr-body { flex: none; width: 100%; }
  .qr-cta { width: 100%; justify-content: center; text-align: center; }
  .how .feat-card img,
  .how .feat-coins,
  .how .feat-pay-logos { display: none; }
  .how .feat-card { min-height: 0; }
  .how .feat-card--row { gap: 0; }
  .how .feat-text--bottom { position: static; max-width: 100%; margin-top: 10px; }
  .how .feat-card--topup .feat-title,
  .how .feat-card--pay .feat-text--bottom { max-width: 100%; }
  .wallets-visual { margin-top: 36px; overflow: hidden; border-radius: 28px; }
  .wallets-visual img {
    width: 100%; max-width: 340px; margin: 0 auto;
    aspect-ratio: 0.52; object-fit: cover; object-position: center center;
  }
  .wallets-bokeh { display: none; }
  .wallets-glow { width: 360px; height: 600px; }
  .hero-title { font-size: clamp(28px, 8vw, 36px); }
  .hero-lead { font-size: 17px; }
  .metrics { grid-template-columns: 1fr; }
  .h2 { font-size: 24px; line-height: 1.12; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .price-list { grid-template-columns: 1fr; }
  .price-head { flex-direction: column; gap: 4px; }
}

/* ============================================================
   HEADING TYPEFACE — Gotham Pro (brand) for all titles & numerals
   (placed last to override per-component var(--body) declarations)
   ============================================================ */
.hero-title,
.metric-big, .step-num, .price-big,
.sbp-title, .tu-name, .tcard-name, .cmp-name, .qr-title,
.adv-title, .step-title, .uc-title, .price-title,
.sec-card h4, .earn-name, .faq-q {
  font-family: var(--head);
}
