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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #fff;
  color: #1a2340;
  line-height: 1.5;
}

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0f0f5;
  z-index: 100;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: #1a2340;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #1a2340; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  padding: 72px 24px 80px;
  background: linear-gradient(135deg, #f8f7ff 0%, #fff 60%);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: #ede9fe;
  color: #6b5ce7;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: #1a2340;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #6b5ce7;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-hero-primary:hover { background: #5b4fcf; transform: translateY(-1px); }
.btn-hero-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a2340;
  border: 2px solid #e2e8f0;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.1s;
}
.btn-hero-secondary:hover { border-color: #6b5ce7; color: #6b5ce7; transform: translateY(-1px); }
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.hero-trust span::before { content: ''; }

/* Hero showcase */
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-showcase {
  position: relative;
  width: 420px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
  border-radius: 28px;
}
.showcase-before-wrap, .showcase-after-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.showcase-photo-before {
  width: 110px;
  height: 130px;
  background: url('before-after-3.jpg') left center / 200% auto no-repeat;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.showcase-photo-after {
  width: 140px;
  height: 180px;
  background: url('before-after-3.jpg') right center / 200% auto no-repeat;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(107,92,231,0.25);
  border: 3px solid #fff;
}
.showcase-cap {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  padding: 3px 8px;
  border-radius: 10px;
}
.showcase-done {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 10px;
}
.showcase-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.showcase-speed {
  background: #6b5ce7;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(107,92,231,0.4);
  white-space: nowrap;
}
.showcase-arrow-icon {
  font-size: 1.6rem;
  color: #6b5ce7;
  font-weight: 900;
}
.showcase-star {
  position: absolute;
  z-index: 3;
  color: #f59e0b;
  font-size: 1.1rem;
  pointer-events: none;
}
.showcase-star.s1 { top: 20px; left: 20px; font-size: 1.4rem; }
.showcase-star.s2 { bottom: 24px; left: 50px; font-size: 0.8rem; }
.showcase-star.s3 { top: 30px; right: 24px; font-size: 0.9rem; }

/* ═══════════════ SECTIONS ═══════════════ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1a2340;
  text-align: center;
  margin-bottom: 48px;
}

/* Document types */
.doc-types { padding: 72px 24px; background: #fafafa; }
.doc-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.doc-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 150px;
  position: relative;
}
.doc-card:hover { border-color: #6b5ce7; box-shadow: 0 4px 16px rgba(107,92,231,0.12); }
.doc-card.active {
  border-color: #6b5ce7;
  background: #f5f3ff;
  box-shadow: 0 4px 16px rgba(107,92,231,0.15);
}
.doc-card.soon { opacity: 0.5; cursor: default; }
.doc-card.soon:hover { border-color: #e2e8f0; box-shadow: none; }
.doc-icon { font-size: 2rem; margin-bottom: 8px; }
.doc-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.doc-size { font-size: 0.78rem; color: #94a3b8; }
.doc-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #94a3b8;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

/* How it works */
.how-it-works { padding: 72px 24px; }
.steps-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.step-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  max-width: 260px;
  flex: 1;
  min-width: 200px;
}
.step-num {
  width: 28px;
  height: 28px;
  background: #6b5ce7;
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-icon-big { font-size: 2.5rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; color: #64748b; line-height: 1.5; }
.step-divider { font-size: 1.5rem; color: #cbd5e1; flex-shrink: 0; }

/* Requirements */
.requirements { padding: 72px 24px; background: #fafafa; }
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}
.req-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.req-text { font-size: 0.9rem; color: #334155; line-height: 1.4; }
.req-cta { text-align: center; }

/* Footer */
.footer { padding: 40px 24px; border-top: 1px solid #f0f0f5; background: #fafafa; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-copy { color: #64748b; font-size: 0.85rem; font-weight: 500; }
.footer-gost { color: #94a3b8; font-size: 0.8rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #6b5ce7; text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 0.7; }

/* ═══════════════ APP NAV ═══════════════ */
.app-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #f0f0f5;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-back:hover { border-color: #94a3b8; color: #1a2340; }
.app-nav-title { font-size: 0.9rem; font-weight: 600; color: #1a2340; }

/* ═══════════════ APP SCREENS ═══════════════ */
#app {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.screen { display: none; width: 100%; }
.screen.active { display: flex; align-items: center; justify-content: center; }

/* ─── Upload screen ─── */
.upload-container {
  width: 100%;
  max-width: 600px;
}
.upload-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #1a2340;
  text-align: center;
}

/* Tabs */
.input-tabs {
  display: flex;
  background: #f8fafc;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1.5px solid #e2e8f0;
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: #fff;
  color: #1a2340;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Input panels */
.input-panel { display: none; }
.input-panel.active { display: block; }

/* Drop zone */
.drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 48px 32px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: #6b5ce7;
  background: #f5f3ff;
}
.drop-zone-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.drop-text { font-size: 1rem; font-weight: 600; color: #334155; }
.drop-sub { color: #94a3b8; font-size: 0.88rem; }
.drop-hint { color: #94a3b8; font-size: 0.78rem; margin-top: 2px; }
.btn-upload {
  display: inline-block;
  background: #6b5ce7;
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-upload:hover { background: #5b4fcf; }

/* Camera */
.camera-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.camera-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4/3;
}
.camera-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* mirror */
}
.camera-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.face-guide {
  width: 45%;
  height: 65%;
  border: 2.5px solid rgba(255,255,255,0.7);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 0 0 2000px rgba(0,0,0,0.25);
}
.camera-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.camera-controls { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.btn-capture {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #6b5ce7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.2s;
  box-shadow: 0 4px 16px rgba(107,92,231,0.3);
}
.btn-capture:hover { background: #f5f3ff; transform: scale(1.05); }
.btn-capture:active { transform: scale(0.95); }
.capture-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6b5ce7;
  transition: background 0.2s;
}
.btn-capture:hover .capture-inner { background: #5b4fcf; }
.capture-hint { font-size: 0.8rem; color: #94a3b8; }
.camera-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  width: 100%;
  text-align: center;
}

/* ─── Split layout (Processing + Results) ─── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.split-left h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1a2340;
  margin-bottom: 16px;
}

/* Processing steps */
.steps-list { display: flex; flex-direction: column; margin-top: 24px; }
.step {
  display: grid;
  grid-template-columns: 36px 4px 1fr;
  gap: 0 12px;
  align-items: start;
  min-height: 68px;
}
.step-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem; flex-shrink: 0;
  transition: all 0.3s;
}
.step[data-state="pending"] .step-icon { background: transparent; border: 2px solid #cbd5e1; color: #94a3b8; }
.step[data-state="active"]  .step-icon { background: #6b5ce7; border: 2px solid #6b5ce7; color: #fff; }
.step[data-state="done"]    .step-icon { background: transparent; border: 2px solid #cbd5e1; color: #94a3b8; }
.step[data-state="done"] .step-icon span { display: none; }
.step[data-state="done"] .step-icon::after {
  content: '';
  display: block;
  width: 12px; height: 7px;
  border-left: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(-45deg) translateY(-2px);
}
.step-line {
  width: 2px; background: #e2e8f0;
  margin: 36px auto 0; grid-row: 1; grid-column: 2;
  align-self: stretch;
}
.step:last-child .step-line { display: none; }
.step-label { font-size: 0.92rem; color: #94a3b8; line-height: 1.4; padding-top: 7px; transition: color 0.3s; }
.step[data-state="active"] .step-label { color: #1a2340; font-weight: 600; }

/* Photo frame */
.photo-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  max-width: 380px; width: 100%; margin: 0 auto;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes scan {
  0%   { top: 0%; opacity: 1; }
  90%  { top: 90%; opacity: 1; }
  100% { top: 90%; opacity: 0; }
}
.scan-line {
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  animation: scan 1.4s ease-in-out infinite;
}
.photo-frame::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(34,197,94,0.2), transparent);
  pointer-events: none;
}

/* RF passport frame — portrait 35:45 ratio */
.passport-frame { overflow: visible; border-radius: 6px; box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.rf-frame { aspect-ratio: 35/45; }
.passport-frame img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; }
.passport-frame::after { display: none; }

.measurement {
  position: absolute;
  background: #1a2340; color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 7px; border-radius: 4px; z-index: 10; white-space: nowrap;
}
.measurement.top { top: -14px; left: 50%; transform: translateX(-50%); }
.measurement.left { left: -16px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.measurement.right { right: -52px; top: 50%; transform: translateY(-50%); background: #22c55e; }

.face-zone {
  position: absolute; border: 1.5px dashed #22c55e;
  pointer-events: none; box-sizing: border-box;
}

/* Results */
.results-subtitle { color: #64748b; font-size: 0.92rem; margin-bottom: 24px; line-height: 1.6; }
.checks-list { display: flex; flex-direction: column; }
.check-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid #e2e8f0;
}
.check-item:first-child { border-top: 1px solid #e2e8f0; }
.check-label { font-size: 0.97rem; font-weight: 700; color: #1a2340; }
.badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
}
.badge.passed { background: #dcfce7; color: #16a34a; }
.badge.failed { background: #fee2e2; color: #dc2626; }
.badge.passed::before {
  content: '✓'; font-weight: 900;
}
.badge.failed::before {
  content: '✗'; font-weight: 900;
}

.results-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn-primary {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #6b5ce7; color: #fff; border: none;
  padding: 15px 20px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s; min-width: 180px;
}
.btn-primary:hover { background: #5b4fcf; }
.btn-secondary {
  flex: 1; background: transparent; color: #1a2340;
  border: 2px solid #e2e8f0; padding: 15px 20px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: border-color 0.2s; min-width: 160px;
}
.btn-secondary:hover { border-color: #94a3b8; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .hero-title { font-size: 2.2rem; }
  .split-layout { grid-template-columns: 1fr; gap: 32px; }
  .split-right { order: -1; }
  .photo-frame { max-width: 260px; }
  .steps-grid { flex-direction: column; }
  .step-divider { transform: rotate(90deg); }
}

/* ═══════════════ PAYWALL ═══════════════ */
.paywall-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  width: 100%;
}

.paywall-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.paywall-title {
  font-size: 2rem;
  font-weight: 900;
  color: #1a2340;
  line-height: 1.2;
  margin-bottom: 14px;
}

.paywall-sub {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.paywall-price-card {
  background: #fff;
  border: 2px solid #6b5ce7;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(107,92,231,0.12);
}

.paywall-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.paywall-price-label { font-size: 0.95rem; font-weight: 600; color: #1a2340; }
.paywall-price { font-size: 1.6rem; font-weight: 900; color: #6b5ce7; }

.paywall-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid #f0f0f5;
  padding-top: 16px;
}

.paywall-includes li {
  font-size: 0.9rem;
  color: #475569;
  padding: 5px 0;
  font-weight: 500;
}

.btn-pay {
  width: 100%;
  background: #6b5ce7;
  color: #fff;
  border: none;
  padding: 17px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 10px;
}
.btn-pay:hover { background: #5b4fcf; transform: translateY(-1px); }
.btn-pay:active { transform: translateY(0); }

.paywall-secure {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

.paywall-trust { display: flex; flex-direction: column; gap: 20px; }

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f5f3ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 3px;
}

.trust-item p {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.5;
}

/* Paywall right */
.paywall-right { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 20px; }

/* AI Example strip */
.paywall-ai-example {
  width: 100%;
  max-width: 280px;
  background: #f5f3ff;
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  padding: 14px 16px;
}
.paywall-ai-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b5ce7;
  margin-bottom: 10px;
}
.paywall-ai-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 90px;
}
.paywall-ai-before, .paywall-ai-after {
  flex: 1;
  height: 100%;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.paywall-ai-before {
  background: url('before-after-3.jpg') left center / 200% auto no-repeat;
}
.paywall-ai-after {
  background: url('before-after-3.jpg') right center / 200% auto no-repeat;
}
.ai-cap {
  position: absolute;
  bottom: 5px;
  left: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ai-cap-after {
  left: auto;
  right: 6px;
  background: rgba(107,92,231,0.75);
}
.paywall-ai-arrow {
  font-size: 1.2rem;
  color: #6b5ce7;
  font-weight: 700;
  flex-shrink: 0;
}
.paywall-ai-note {
  font-size: 0.73rem;
  color: #7c3aed;
  margin-top: 8px;
  line-height: 1.4;
}

.paywall-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preview-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.paywall-preview .passport-frame {
  max-width: 240px;
  width: 100%;
}

.paywall-preview .passport-frame img {
  filter: blur(6px);
  transform: scale(1.05);
}

.preview-blur-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  white-space: nowrap;
}

.blur-lock { font-size: 1.5rem; margin-bottom: 4px; }
.preview-blur-overlay p { font-size: 0.82rem; color: #475569; line-height: 1.4; }

@media (max-width: 768px) {
  .paywall-layout { grid-template-columns: 1fr; gap: 32px; }
  .paywall-right { order: -1; }
}

/* ═══════════════ FAQ ═══════════════ */
.faq-section { padding: 72px 24px; background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-item:first-child { border-top: 1px solid #e2e8f0; }
.faq-item-accent .faq-q { color: #6b5ce7; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2340;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}
.faq-q:hover { color: #6b5ce7; }
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #6b5ce7;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.75;
  max-width: 680px;
}
.faq-item.open .faq-a { display: block; }

/* ═══════════════ SEO SECTION ═══════════════ */
.seo-section { padding: 56px 24px; background: #fafafa; border-top: 1px solid #f0f0f5; }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 960px; margin: 0 auto; }
.seo-block h2 { font-size: 1.1rem; font-weight: 800; color: #1a2340; margin-bottom: 12px; }
.seo-block p { font-size: 0.88rem; color: #64748b; line-height: 1.75; margin-bottom: 10px; }
@media (max-width: 768px) {
  .seo-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════ МВД REQUIREMENTS ═══════════════ */
.mvd-requirements {
  padding: 72px 24px;
  background: #0f1c3f;
  color: #fff;
}
.mvd-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.mvd-seal {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mvd-seal-icon { font-size: 2rem; }
.mvd-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.mvd-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
}
.mvd-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.mvd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.mvd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  transition: background 0.2s;
}
.mvd-item:hover { background: rgba(255,255,255,0.1); }
.mvd-item-icon { font-size: 1.3rem; flex-shrink: 0; }
.mvd-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mvd-item-body strong {
  font-size: 0.87rem;
  font-weight: 700;
  color: #fff;
}
.mvd-item-body span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}
.mvd-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mvd-cta .btn-hero-primary {
  background: #fff;
  color: #0f1c3f;
  font-size: 1rem;
  padding: 16px 32px;
  display: inline-flex;
}
.mvd-cta .btn-hero-primary:hover { background: #e8e4f8; color: #0f1c3f; }
.mvd-cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════ BEFORE / AFTER CAROUSEL ═══════════════ */
.before-after { padding: 72px 24px; background: #fff; }
.ba-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin-top: -36px;
  margin-bottom: 40px;
}
.ba-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ba-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}
.ba-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ba-slide {
  flex: 0 0 calc(33.333% - 11px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  background: #f1f5f9;
  aspect-ratio: 1/1;
}
.ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-labels {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  padding: 20px 12px 10px;
}
.ba-labels span {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ba-labels span:last-child { text-align: right; }
.ba-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  color: #1a2340;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  line-height: 1;
}
.ba-arrow:hover { border-color: #6b5ce7; color: #6b5ce7; }
.ba-arrow:disabled { opacity: 0.3; cursor: default; }
.ba-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.ba-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
}
.ba-dot.active { background: #6b5ce7; width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
  .mvd-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mvd-title { font-size: 1.4rem; }
  .ba-slide { flex: 0 0 calc(100% - 0px); }
  .hero-showcase { width: 100%; height: 240px; gap: 12px; }
  .showcase-photo-before { width: 90px; height: 108px; }
  .showcase-photo-after { width: 115px; height: 148px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .ba-slide { flex: 0 0 calc(50% - 8px); }
}
