:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F3FF;
  --bg-warm: #FFFBEB;
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --primary-light: #A78BFA;
  --accent: #FBBF24;
  --accent-2: #F59E0B;
  --text: #1F2937;
  --text-muted: #6B7280;
  --card-bg: #FFFFFF;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-lg: 22px;
  --max: 1180px;
  --shadow-sm: 0 4px 14px -4px rgba(124,58,237,0.12);
  --shadow: 0 18px 40px -16px rgba(124,58,237,0.25);
}

*, *::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: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

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: 80px 0; position: relative; }

.accent { color: var(--primary); }
.accent-warm { color: var(--accent-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head p { font-size: 1rem; }

/* HEADER A — sticky white shadow */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand img { width: 38px; height: 38px; }
.brand span em { color: var(--primary); 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: .94rem;
  padding: 10px 16px;
  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: 0 6px 18px -6px rgba(251,191,36,0.55);
}
.nav-links a.nav-cta:hover { background: var(--accent-2); }

.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 A — gradient + form/card */
.hero {
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(167,139,250,0.30), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(251,191,36,0.18), transparent 55%),
    linear-gradient(160deg, #F5F3FF 0%, #FFFFFF 70%);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.25);
}

.hero h1 { color: var(--text); }
.hero-desc {
  font-size: 1.08rem;
  margin: 18px 0 30px;
  max-width: 540px;
  color: var(--text-muted);
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: .92rem;
  color: var(--text-muted);
}
.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: #ffffff;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PRICE D — embedded card */
.hero-card {
  background: linear-gradient(160deg, #ffffff, #FAF9FF);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-label {
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.card-main {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}
.card-main span { font-size: 1rem; color: var(--text-muted); margin-left: 6px; font-weight: 500; }
.card-sub { font-size: .94rem; margin-bottom: 20px; }
.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.card-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .92rem;
  color: var(--text);
}
.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  font-size: .72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Buttons A — rounded 8-12 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .96rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 0;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 28px -10px rgba(124,58,237,0.45);
}
.btn-primary:hover { background: var(--primary-dark); 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);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-alt); }
.btn-block { width: 100%; }

/* FEATURES — Cards G horizontal */
section.alt { background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
}
.feature-card:nth-child(2n) .feature-icon { background: var(--bg-warm); color: var(--accent-2); }
.feature-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }
.feature-card p { font-size: .94rem; margin: 0; }

/* PLATFORMS */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  display: block;
  cursor: pointer;
  transition: transform .25s, border-color .25s;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.platform-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.platform-card h3 { color: var(--text); font-size: 1.02rem; margin-bottom: 4px; }
.platform-card p { font-size: .85rem; margin: 0; color: var(--text-muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 50px 44px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .25;
  filter: blur(40px);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #ffffff; }
.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 1rem;
}

/* FAQ A — accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.is-open { border-color: var(--primary); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 24px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform .25s, background .25s, color .25s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q .ic {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--text);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--text-muted);
}

/* FOOTER B — single row */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 36px 0;
  border-top: 4px solid var(--accent);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', 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: .84rem; color: rgba(255,255,255,0.5); }

/* Reveal — fade + scale */
.reveal { opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* STEPS for instruktsiya */
.steps-wrap { display: flex; flex-direction: column; gap: 22px; max-width: 920px; margin: 0 auto; }
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  transition: border-color .25s;
}
.step-card:hover { border-color: var(--primary); }
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  width: 60px;
}
.step-card h2 { font-size: 1.4rem; margin-bottom: 10px; color: var(--text); }
.step-card p { font-size: .96rem; }

.after-pay {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.after-pay h2 { margin-bottom: 12px; color: var(--text); }
.after-pay p { font-size: 1rem; max-width: 600px; margin: 0 auto; }

@media (max-width: 980px) {
  section { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .burger { display: flex; }
  .step-card { grid-template-columns: 1fr; padding: 26px; }
}
@media (max-width: 600px) {
  .platforms-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 38px 24px; }
  section { padding: 56px 0; }
  .card-main { font-size: 2rem; }
}
