* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
  font-size: 16px;
}
a { color: #7c3aed; }

/* ── шапка ── */
.pyo-head {
  background: #0f0a1a;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.pyo-head-in {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pyo-site {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.pyo-site span { color: #c4b5fd; }
.pyo-head-cta {
  background: #f59e0b;
  color: #1a0f00 !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.pyo-head-cta:hover { filter: brightness(1.06); }

/* ── hero ── */
.pyo-hero {
  background: linear-gradient(145deg, #1e1035 0%, #2d1b69 45%, #1a0f33 100%);
  color: #e2e8f0;
  padding: 48px 20px 56px;
}
.pyo-hero-in {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
}
.pyo-hero-text h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.03em;
}
.pyo-hero-lead {
  font-size: 18px;
  color: #c4b5fd;
  margin: 0 0 24px;
  max-width: 520px;
}
.pyo-hero-lead strong { color: #fde68a; font-weight: 700; }
.pyo-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pyo-trust-pill {
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 999px;
  color: #e9d5ff;
}

/* ── форма ── */
.pyo-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.pyo-form-card h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: #0f172a;
}
.pyo-form-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
}
.pyo-form { display: grid; gap: 12px; }
.pyo-form label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.pyo-form input,
.pyo-form textarea {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  width: 100%;
  background: #f8fafc;
  transition: border-color 0.15s;
}
.pyo-form input:focus,
.pyo-form textarea:focus {
  outline: none;
  border-color: #7c3aed;
  background: #fff;
}
.pyo-form textarea { min-height: 72px; resize: vertical; }
.pyo-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a0f00 !important;
  border: none;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}
.pyo-btn:hover { filter: brightness(1.05); }
.pyo-btn:disabled { opacity: 0.65; cursor: wait; }
.pyo-fine {
  font-size: 11px;
  color: #94a3b8;
  margin: 10px 0 0;
  text-align: center;
}

/* ── контент ── */
.pyo-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 20px;
}
.pyo-section { margin-bottom: 48px; }
.pyo-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 16px;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.pyo-section p { color: #475569; margin: 0 0 12px; }

/* результаты */
.pyo-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pyo-result {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.pyo-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 8px;
}
.pyo-result-nums {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}
.pyo-result-nums .old { color: #ef4444; text-decoration: line-through; font-size: 1.1rem; }
.pyo-result-nums .arrow { color: #94a3b8; margin: 0 6px; font-weight: 400; }
.pyo-result-nums .new { color: #059669; }
.pyo-result-note {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
}

/* что получите */
.pyo-get {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pyo-get-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
}
.pyo-get-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #ede9fe;
  color: #6d28d9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}
.pyo-get-item b { display: block; margin-bottom: 4px; color: #0f172a; }
.pyo-get-item span { font-size: 14px; color: #64748b; }

/* таблица */
.pyo-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #e2e8f0; }
.pyo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}
.pyo-table th {
  background: #1e1035;
  color: #e9d5ff;
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pyo-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.pyo-table td:last-child {
  font-weight: 800;
  color: #6d28d9;
  font-variant-numeric: tabular-nums;
}
.pyo-table tr:last-child td { border-bottom: none; }
.pyo-table tr:hover td { background: #faf5ff; }

/* шаги */
.pyo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pyo-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  position: relative;
}
.pyo-step-num {
  font-size: 2rem;
  font-weight: 900;
  color: #ede9fe;
  line-height: 1;
  margin-bottom: 8px;
}
.pyo-step b { display: block; margin-bottom: 6px; color: #0f172a; }
.pyo-step p { margin: 0; font-size: 14px; color: #64748b; }

/* faq */
.pyo-faq details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.pyo-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  list-style: none;
}
.pyo-faq summary::-webkit-details-marker { display: none; }
.pyo-faq p { margin: 10px 0 0; font-size: 15px; color: #64748b; }

/* нижняя форма */
.pyo-bottom-cta {
  background: linear-gradient(135deg, #1e1035, #2d1b69);
  border-radius: 16px;
  padding: 40px;
  color: #e2e8f0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
}
.pyo-bottom-cta h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.6rem;
}
.pyo-bottom-cta p { color: #c4b5fd; margin: 0; }
.pyo-bottom-cta .pyo-form-card {
  box-shadow: none;
  padding: 22px;
}

.pyo-foot {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #94a3b8;
  background: #0f0a1a;
  color: #64748b;
}
.pyo-foot a { color: #a78bfa; }

.pyo-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: #fff;
  border-top: 2px solid #7c3aed;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
  z-index: 60;
}
.pyo-sticky a {
  display: block;
  text-align: center;
  background: #f59e0b;
  color: #1a0f00 !important;
  padding: 14px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
}

.pyo-toast {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  max-width: 360px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  z-index: 99;
}
.pyo-toast--ok { background: #059669; }
.pyo-toast--err { background: #dc2626; }

@media (max-width: 860px) {
  .pyo-hero-in { grid-template-columns: 1fr; }
  .pyo-form-card { order: -1; }
  .pyo-results { grid-template-columns: 1fr; }
  .pyo-get { grid-template-columns: 1fr; }
  .pyo-steps { grid-template-columns: 1fr; }
  .pyo-bottom-cta { grid-template-columns: 1fr; padding: 28px 20px; }
  .pyo-sticky { display: block; }
  .pyo-wrap { padding-bottom: 72px; }
  .pyo-head-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
