:root {
  --navy: #0d1b3e;
  --navy-2: #12244f;
  --ink: #0b1226;
  --blue: #2e9be6;
  --blue-2: #1f7fd6;
  --sky: #56b8f5;
  --bg: #f5f8fc;
  --white: #ffffff;
  --muted: #5b6b86;
  --line: #e5ecf5;
  --radius: 20px;
  --shadow-sm: 0 4px 14px rgba(13, 27, 62, .06);
  --shadow: 0 20px 50px rgba(13, 27, 62, .12);
  --shadow-lg: 0 30px 80px rgba(13, 27, 62, .18);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 155, 230, .38);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(46, 155, 230, .5); }
.btn--ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--soft { background: rgba(46, 155, 230, .1); color: var(--blue-2); }
.btn--soft:hover { background: rgba(46, 155, 230, .18); transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; margin-top: auto; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(245, 248, 252, .78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 38px; height: 38px; }
.brand__name { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -.02em; }
.brand__name span { color: var(--blue); }

.nav { display: flex; gap: 30px; }
.nav__link {
  font-weight: 600; font-size: 15px; color: var(--muted); position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue); transition: width .25s ease; border-radius: 2px;
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; gap: 12px; align-items: center; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; top: -240px; right: -120px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(46,155,230,.28), transparent 62%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #23c16b; box-shadow: 0 0 0 4px rgba(35,193,107,.18); }
.hero__title {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.03; letter-spacing: -.03em; margin: 22px 0 18px; color: var(--navy); font-weight: 800;
}
.grad {
  background: linear-gradient(120deg, var(--blue), var(--sky) 55%, var(--blue-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__subtitle { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__subtitle b { color: var(--navy); font-weight: 700; }
.hero__cta { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero__pays { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 12px; font-weight: 700; font-size: 13px; color: var(--navy);
  box-shadow: var(--shadow-sm); min-height: 34px;
}
.pay-chip--logo { padding: 6px 14px; }
.pay-chip--logo svg { display: block; }

.hero__media { position: relative; }
.hero__card-glow {
  position: absolute; inset: 8% 4%; border-radius: 40px;
  background: radial-gradient(circle at 60% 40%, rgba(46,155,230,.22), transparent 70%);
  filter: blur(10px);
}
.hero__img {
  position: relative; z-index: 1; width: 100%;
  border-radius: 24px;
  filter: drop-shadow(0 30px 50px rgba(13,27,62,.16));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 46px; padding: 30px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat__num { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; display: inline; }
.stat__suffix { font-size: 26px; font-weight: 800; color: var(--blue); }
.stat__label { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; font-weight: 500; }

/* ===== MARQUEE ===== */
.marquee { overflow: hidden; padding: 26px 0; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: scroll 34s linear infinite; }
.marquee__track span { font-size: 22px; font-weight: 700; color: var(--navy); opacity: .55; }
.marquee__track .dot { color: var(--blue); opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section--alt { background: linear-gradient(180deg, #eef3fb, #f5f8fc); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; color: var(--navy); font-weight: 800; }
.section__lead { color: var(--muted); font-size: 17px; margin-top: 12px; }

.grid { display: grid; gap: 24px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.grid--cards { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.grid--topup { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }

/* Feature cards */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46,155,230,.4); }
.feature__ic {
  width: 58px; height: 58px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,155,230,.14), rgba(46,155,230,.05));
  border-radius: 16px; margin-bottom: 18px;
  transition: transform .25s ease;
}
.feature__ic svg { width: 34px; height: 34px; }
.feature:hover .feature__ic { transform: scale(1.08) rotate(-3deg); }

.feature__ic--duo {
  width: auto; min-width: 58px; height: 58px; padding: 0 8px; gap: 8px;
  display: inline-flex; align-items: center; justify-content: center; background: none;
}
.feature:hover .feature__ic--duo { transform: none; }
.mini-badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform .25s ease;
}
.mini-badge svg { width: 22px; height: 22px; }
.mini-badge--img { padding: 5px; overflow: hidden; }
.mini-badge--img img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.mini-badge--flag svg { width: 27px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.feature:hover .mini-badge:first-child { transform: translateY(-3px) rotate(-6deg); }
.feature:hover .mini-badge:last-child { transform: translateY(-3px) rotate(6deg); }
.feature h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Card types */
.ccard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.ccard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ccard--featured { border-color: rgba(46,155,230,.5); box-shadow: var(--shadow); }
.ccard__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap;
  padding: 6px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(46,155,230,.4);
}
.ccard__price { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 6px; }
.ccard__price span { font-size: 14px; color: var(--muted); font-weight: 600; }
.ccard__visual {
  border-radius: 16px; padding: 20px; width: 100%; aspect-ratio: 1.586 / 1; color: #fff;
  display: flex; flex-direction: column; margin-bottom: 22px;
  position: relative; overflow: hidden;
  box-shadow: 0 14px 30px rgba(13,27,62,.22);
}
.ccard__visual::after {
  content: ''; position: absolute; right: -40px; bottom: -60px; width: 190px; height: 190px;
  background: rgba(255,255,255,.1); border-radius: 50%;
}
.ccard__visual--blue { background: linear-gradient(135deg, #2e9be6, #1f5fd6); }
.ccard__visual--dark { background: linear-gradient(135deg, #12244f, #0d1b3e); }
.ccard__visual--green { background: linear-gradient(135deg, #17b978, #0f9c63); }
.ccard__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.ccard__brand img { width: 26px; height: 26px; background: #fff; border-radius: 7px; padding: 2px; }
.ccard__label { position: absolute; top: 20px; right: 20px; font-size: 12px; opacity: .85; font-weight: 600; }
.ccard__chip {
  width: 40px; height: 30px; border-radius: 7px; margin-top: 16px; position: relative;
  background: linear-gradient(135deg, #f4d488, #d8a84e);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.ccard__chip::before {
  content: ''; position: absolute; inset: 6px 8px; border-radius: 3px;
  border: 1px solid rgba(0,0,0,.28);
  background:
    linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)) center/100% 1px no-repeat,
    linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)) center/1px 100% no-repeat;
}
.ccard__bottom {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.ccard__num { font-size: 19px; letter-spacing: 3px; font-weight: 600; }
.ccard__mc { width: 46px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.ccard h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.ccard p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.ccard__list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.ccard__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--navy); font-weight: 500; }
.ccard__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px;
  background: rgba(46,155,230,.14); color: var(--blue); border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.ccard .btn--block { margin-top: 20px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  font-size: 40px; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--blue), var(--sky));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 18px; color: var(--navy); margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Top-up */
.topup {
  position: relative; display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.topup:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46,155,230,.4); }
.topup__icon {
  flex-shrink: 0; width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center; background: linear-gradient(135deg, #f1f6fc, #e6eefa);
  box-shadow: inset 0 0 0 1px var(--line);
}
.topup__icon img { width: 46px; height: 46px; }
.topup__body h3 { font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.topup__body p { color: var(--muted); font-size: 14.5px; }
.topup__badge {
  position: absolute; top: 18px; right: 18px;
  background: rgba(46,155,230,.12); color: var(--blue-2); font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
}
.pricing__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* Floating Telegram button */
.tg-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #29a9eb, #1e88d6); color: #fff;
  padding: 13px 20px 13px 16px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 30px rgba(41,169,235,.45); transition: transform .2s, box-shadow .25s;
}
.tg-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(41,169,235,.55); }
.tg-fab svg { flex-shrink: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); font-size: 17px;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .25s; line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; padding: 0 0 20px; }

/* CTA */
.cta { padding: 70px 0 90px; }
.cta__inner {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 32px; padding: 64px 32px; color: #fff; box-shadow: var(--shadow-lg);
}
.cta__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 520px; height: 320px; background: radial-gradient(circle, rgba(46,155,230,.5), transparent 65%);
  filter: blur(10px);
}
.cta h2 { position: relative; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; margin-bottom: 12px; }
.cta p { position: relative; color: #c6d2ea; font-size: 17px; max-width: 520px; margin: 0 auto 28px; }
.cta .btn { position: relative; }

/* Footer */
.footer { background: var(--navy); color: #b7c4de; padding: 60px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand__name { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: 14.5px; max-width: 300px; color: #8ea1c4; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14.5px; margin-bottom: 10px; color: #8ea1c4; transition: color .2s; }
.footer__col a:hover { color: var(--sky); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: #7688aa;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__media { order: 1; max-width: 520px; margin: 0 auto; }
  .hero__cta, .hero__pays, .badge { justify-content: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__actions .btn--ghost { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 64px 0; }
  .grid--cards, .grid--topup { grid-template-columns: 1fr; }
  .tg-fab span { display: none; }
  .tg-fab { padding: 14px; }
}

@media (max-width: 520px) {
  .grid--features, .grid--cards, .grid--topup, .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { padding: 22px; }
  .stat__num { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
