/* ---------- База ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --accent: #0a84ff;
  --accent-dark: #0060df;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost { background: rgba(10,132,255,.1); color: var(--accent); }
.btn--ghost:hover { background: rgba(10,132,255,.18); }
.btn--block { width: 100%; }

/* ---------- Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--text-soft); font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.15rem; }
.brand__logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__text .lead { font-size: 1.2rem; color: var(--text-soft); margin: 22px 0 32px; max-width: 30ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: .88rem; color: var(--text-soft); }

/* Телефон-макет */
.hero__visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 2;
  width: 280px; height: 570px;
  background: #fff; border-radius: 46px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 30px 60px rgba(0,0,0,.12);
  padding: 14px;
}
.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #1d1d1f; border-radius: 14px; z-index: 3;
}
.phone__screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef1f6 100%);
  padding: 52px 16px 16px;
}
.app-balance {
  background: var(--accent); color: #fff;
  border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 12px 24px rgba(10,132,255,.3);
}
.app-balance__label { font-size: .78rem; opacity: .85; }
.app-balance__value { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; }
.app-balance__sub { font-size: .76rem; opacity: .85; margin-bottom: 8px; }
.app-bar { height: 6px; background: rgba(255,255,255,.3); border-radius: 4px; overflow: hidden; }
.app-bar span { display: block; height: 100%; background: #fff; border-radius: 4px; }

.app-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.app-list li {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border-radius: 16px; padding: 11px 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; background: var(--bg-alt); }
.app-list__name { display: flex; flex-direction: column; font-size: .9rem; font-weight: 600; flex: 1; }
.app-list__name small { font-weight: 400; font-size: .72rem; color: var(--text-soft); }
.app-list__sum { font-weight: 600; font-size: .9rem; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 1; }
.blob--1 { width: 320px; height: 320px; background: #a5c8ff; top: -20px; right: 0; }
.blob--2 { width: 260px; height: 260px; background: #ffd5a5; bottom: 0; left: 10px; }

/* ---------- Статистика ---------- */
.stats { padding: 30px 0 50px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats__grid div { display: flex; flex-direction: column; gap: 4px; }
.stats__grid b { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; }
.stats__grid span { color: var(--text-soft); font-size: .9rem; }

/* ---------- Секции ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__lead { color: var(--text-soft); font-size: 1.12rem; margin-top: 16px; }

/* Карточки возможностей */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: .98rem; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.step__num {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); }

/* Платформы */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.checklist { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.platforms__icons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.pf-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; font-weight: 600; min-width: 110px;
  transition: transform .25s ease;
}
.pf-card:hover { transform: translateY(-4px); }
.pf-card span { font-size: 2.4rem; }

/* Цены */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; justify-content: center; }
.plan {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px; position: relative;
  display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--accent); box-shadow: 0 12px 40px rgba(10,132,255,.15); }
.plan__badge {
  position: absolute; top: -12px; right: 26px;
  background: var(--accent); color: #fff; font-size: .76rem; font-weight: 600;
  padding: 5px 12px; border-radius: 980px;
}
.plan__price { font-size: 2.4rem; font-weight: 700; margin: 14px 0 20px; letter-spacing: -.02em; }
.plan__price span { font-size: .95rem; font-weight: 400; color: var(--text-soft); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { position: relative; padding-left: 26px; color: var(--text-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; background: linear-gradient(135deg, #0a84ff 0%, #0060df 100%); color: #fff; text-align: center; }
.cta__inner { max-width: 680px; margin: 0 auto; }
.cta h2 { margin-bottom: 16px; }
.cta p { opacity: .9; font-size: 1.15rem; margin-bottom: 36px; }
.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px; padding: 12px 22px 12px 50px; position: relative;
  transition: background .2s ease;
}
.store-btn:hover { background: rgba(255,255,255,.24); }
.store-btn span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; }
.store-btn small { font-size: .7rem; opacity: .85; }
.store-btn b { font-size: 1.05rem; }

/* ---------- Футер ---------- */
.footer { padding: 50px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text-soft); font-size: .92rem; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--text-soft); font-size: .86rem; width: 100%; }

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text .lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { margin-top: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; text-align: center; }
  .checklist { display: inline-flex; text-align: left; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
