:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F6FB;
  --bg-blue: #1E40AF;
  --bg-blue-2: #1E3A8A;
  --primary: #1E40AF;
  --accent: #FCD34D;
  --accent-2: #F59E0B;
  --text: #0F172A;
  --text-muted: #64748B;
  --card-bg: #FFFFFF;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --radius: 8px;
  --radius-lg: 14px;
  --max: 1200px;
  --shadow-sm: 0 2px 8px -2px rgba(15,23,42,0.06);
  --shadow: 0 12px 30px -10px rgba(30,64,175,0.15);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .55em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

section { padding: 110px 0; position: relative; }
section.alt { background: var(--bg-alt); }

.accent { color: var(--primary); }
.accent-warm { color: var(--accent-2); }
.highlight {
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
  padding: 0 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geologica', sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head p { font-size: 1.05rem; }

/* HEADER A — white sticky shadow */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; }
.brand span em {
  color: var(--accent-2);
  font-style: normal;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--primary); background: var(--bg-alt); }

.nav-links a.nav-cta {
  color: #000000 !important;
  font-weight: 800;
  background: var(--accent);
  padding: 11px 22px;
  margin-left: 12px;
  box-shadow: var(--shadow-sm);
}
.nav-links a.nav-cta:hover { background: var(--accent-2); color: #000000; }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  padding: 12px 8px;
  color: var(--text);
  border-radius: var(--radius);
}
.mobile-menu a.nav-cta {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-align: center;
  margin-top: 8px;
}
.mobile-menu.is-open { display: flex; }

/* HERO E — minimal white, big typography */
.hero {
  padding: 110px 0 130px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 80px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .25;
  filter: blur(80px);
}
.hero .container { position: relative; z-index: 2; }

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geologica', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.hero h1 { color: var(--text); margin-bottom: 26px; }
.hero-desc {
  font-size: 1.18rem;
  margin: 0 auto 36px;
  max-width: 720px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-size: .92rem;
  color: var(--text-muted);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.trust-item .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PRICE B — three columns */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.price-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.price-card.featured {
  background: var(--bg-blue);
  border-color: var(--bg-blue);
  color: #ffffff;
  position: relative;
}
.price-card.featured h3, .price-card.featured .price-num { color: #ffffff; }
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,0.85); }
.price-card.featured::after {
  content: 'популярный';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: var(--text);
  font-family: 'Geologica', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.price-num {
  font-family: 'Geologica', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin: 8px 0;
}
.price-num span { font-size: 1rem; color: var(--text-muted); margin-left: 4px; font-weight: 500; }
.price-sub { font-size: .9rem; margin-bottom: 20px; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.price-features li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: .94rem;
  color: var(--text);
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  color: var(--accent-2);
  font-weight: 800;
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.9); }
.price-card.featured .price-features li::before { color: var(--accent); }

/* Buttons D — with arrow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  font-size: .96rem;
  padding: 15px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--bg-blue-2); transform: translateY(-2px); }
.btn-yellow {
  color: var(--text);
  background: var(--accent);
}
.btn-yellow:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-alt); }
.btn-block { width: 100%; }

/* STATS */
.stats-strip {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Geologica', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num.warm { color: var(--accent-2); }
.stat-label { color: var(--text-muted); font-size: .92rem; }

/* FEATURES — Cards F large icon top */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 22px;
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
}
.feature-card:nth-child(2) .feature-icon { background: var(--primary); color: var(--accent); }
.feature-card:nth-child(3) .feature-icon { background: var(--text); color: var(--accent); }
.feature-card:nth-child(4) .feature-icon { background: var(--accent-2); color: var(--text); }
.feature-card:nth-child(5) .feature-icon { background: var(--bg-blue-2); color: var(--accent); }
.feature-card:nth-child(6) .feature-icon { background: var(--bg-alt); color: var(--primary); border: 1px solid var(--border); }
.feature-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1.18rem; }
.feature-card p { font-size: .95rem; }

/* PLATFORMS */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: block;
  cursor: pointer;
  transition: transform .25s, border-color .25s;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.platform-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geologica', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.platform-card h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 4px; }
.platform-card p { font-size: .87rem; margin-bottom: 14px; }
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geologica', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
}
.platform-link::after { content: '→'; transition: transform .2s; }
.platform-card:hover .platform-link::after { transform: translateX(4px); }

/* WHY block */
.why-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-text p { font-size: 1rem; }
.why-text strong { color: var(--text); }

.why-visual {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .3;
  filter: blur(50px);
}
.why-visual h3 { color: #ffffff; font-size: 1.4rem; margin-bottom: 18px; }
.why-visual ul { list-style: none; padding: 0; margin: 0; position: relative; }
.why-visual li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.why-visual li:last-child { border-bottom: 0; }
.why-visual .num {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  color: var(--accent);
  min-width: 40px;
  font-size: 1.1rem;
}
.why-visual h4 {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 1rem;
  font-family: 'Geologica', sans-serif;
}
.why-visual p {
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-size: .9rem;
}

/* CASES */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
}
.case-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
}
.case-card:nth-child(2n) .case-mark { background: var(--accent); }
.case-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }
.case-card p { font-size: .94rem; margin: 0; }

/* CTA banner */
.cta-banner {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 320px; height: 320px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .2;
  filter: blur(60px);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #ffffff; }
.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 26px;
  font-size: 1rem;
}
.cta-banner .btn-yellow:hover { background: #ffffff; color: var(--text); }

/* FAQ C — tabs by category */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.faq-tab {
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-family: 'Geologica', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .2s;
}
.faq-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.faq-tab:not(.is-active):hover { color: var(--primary); border-color: var(--primary); }

.faq-pane { display: none; }
.faq-pane.is-active { display: grid; }
.faq-pane {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.faq-item h3 {
  font-family: 'Geologica', sans-serif;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-item p { margin: 0; font-size: .94rem; color: var(--text-muted); }

/* FOOTER B — single row minimal */
.site-footer {
  background: var(--bg-blue);
  color: rgba(255,255,255,0.85);
  padding: 44px 0;
  border-top: 4px solid var(--accent);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  color: #ffffff;
}
.footer-brand img { width: 36px; height: 36px; }
.footer-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.75);
  font-size: .92rem;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: .85rem; color: rgba(255,255,255,0.6); }

/* Reveal — hover on cards (E) — card-level handled above; for sections, light fade */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* STEPS */
.steps-wrap { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin: 0 auto; }
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  transition: border-color .25s, transform .25s;
}
.step-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.step-num {
  font-family: 'Geologica', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
  width: 70px;
}
.step-card h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text); }
.step-card p { font-size: .98rem; }

.after-pay {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px 44px;
}
.after-pay h2 { margin-bottom: 14px; color: var(--text); }
.after-pay > p { font-size: 1rem; }
.after-pay .platforms-grid { margin-top: 30px; }

@media (max-width: 980px) {
  section { padding: 80px 0; }
  .why-block { grid-template-columns: 1fr; }
  .features-grid, .platforms-grid, .pricing-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .burger { display: flex; }
  .step-card { grid-template-columns: 1fr; padding: 30px; }
  .footer-row { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .features-grid, .platforms-grid, .pricing-grid, .cases-grid, .stats-grid { grid-template-columns: 1fr; }
  .faq-pane { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta-banner { padding: 48px 26px; }
  .price-num { font-size: 2.6rem; }
  .after-pay { padding: 32px 22px; }
}
