:root {
  --bg: #0a0b14;
  --bg-2: #0f1120;
  --surface: #141729;
  --surface-2: #1b1f37;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0fb;
  --text-muted: #9aa0c3;
  --text-dim: #6b7099;
  --primary: #7c6bff;
  --primary-2: #5b8cff;
  --accent: #29e6c0;
  --danger: #ff6b8a;
  --success: #29e6c0;
  --grad: linear-gradient(135deg, #7c6bff 0%, #5b8cff 50%, #29e6c0 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,107,255,.18) 0%, rgba(91,140,255,.10) 50%, rgba(41,230,192,.10) 100%);
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background ---------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(124, 107, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 107, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 35%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, black 35%, transparent 75%);
  z-index: -2;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}
.glow-1 { background: #7c6bff; top: -260px; left: -220px; }
.glow-2 { background: #29e6c0; top: 30%; right: -260px; opacity: 0.25; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 11, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: white;
  box-shadow: 0 6px 22px rgba(124, 107, 255, 0.35);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-text {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-dot {
  color: var(--accent);
  margin: 0 2px;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 10px 30px rgba(124, 107, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(124, 107, 255, 0.45); }
.btn-outline {
  background: rgba(255,255,255,0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(124, 107, 255, 0.08); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 16px;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.price-card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .2s ease, border-color .2s, box-shadow .3s;
}
.price-card > .btn { margin-top: auto; }
.price-grid { align-items: stretch; }
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}
.price-card.featured {
  border-color: rgba(124, 107, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(124, 107, 255, 0.12), rgba(124, 107, 255, 0.02)),
    var(--surface);
  box-shadow: 0 12px 40px rgba(124, 107, 255, 0.18);
}
.featured-tag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--grad);
  color: white;
}
.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.digits-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(124, 107, 255, 0.12);
  color: #b7adff;
  border: 1px solid rgba(124, 107, 255, 0.25);
}
.digits-pill.sm { font-size: 12px; padding: 4px 10px; }

.trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.trend svg { width: 14px; height: 14px; }
.trend-up { color: var(--success); }
.trend-down { color: var(--danger); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-from {
  font-size: 13px;
  color: var(--text-dim);
}
.price-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: 'JetBrains Mono', monospace;
}
.price-rub {
  margin-top: -10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.price-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.example-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  letter-spacing: 0.04em;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}
.price-features li {
  position: relative;
  padding-left: 22px;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(41, 230, 192, 0.15);
  border: 1px solid rgba(41, 230, 192, 0.5);
}
.price-features li::after {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* Table */
.price-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th, .price-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.price-table thead th {
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr.js-open-chart { cursor: pointer; transition: background .15s; }
.price-table tbody tr:hover { background: rgba(124, 107, 255, 0.08); }
.price-table tbody tr.js-open-chart:hover .digits-pill { background: rgba(124, 107, 255, 0.22); border-color: rgba(124, 107, 255, 0.55); }
.price-table td {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.price-table td:first-child { font-family: 'Inter', sans-serif; }
.price-table .up { color: var(--success); }
.price-table .down { color: var(--danger); }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, transform .2s;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.feature-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 107, 255, 0.25);
  color: #b7adff;
  margin-bottom: 16px;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--text-muted);
  transition: transform .2s;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta-card {
  background:
    radial-gradient(800px 280px at 0% 0%, rgba(124, 107, 255, 0.35), transparent 60%),
    radial-gradient(700px 280px at 100% 100%, rgba(41, 230, 192, 0.25), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.cta-card h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-card p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
}
.footer-cols a:hover { color: var(--text); }
.footer-contact {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  margin-top: 4px;
  background: rgba(91, 140, 255, 0.08);
  border: 1px solid rgba(91, 140, 255, 0.25);
  border-radius: 12px;
  transition: border-color .2s, background .2s, transform .15s;
}
.footer-contact:hover {
  border-color: rgba(91, 140, 255, 0.55);
  background: rgba(91, 140, 255, 0.14);
  transform: translateY(-1px);
}
.footer-contact svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: #5b8cff;
}
.footer-contact span { display: block; }
.contact-main {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}
.contact-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Trust / certifications */
.trust-block {
  margin-top: 36px;
  padding: 30px 0 24px;
  border-top: 1px solid var(--border);
}
.trust-head {
  text-align: center;
  margin-bottom: 28px;
}
.trust-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.trust-title svg {
  width: 20px; height: 20px;
  color: var(--accent);
}
.trust-head p {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.trust-badge:hover {
  border-color: rgba(124, 107, 255, 0.35);
  transform: translateY(-2px);
}
.badge-logo {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 107, 255, 0.25);
  color: #b7adff;
}
.badge-logo svg { width: 20px; height: 20px; }
.badge-name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.badge-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-badges { grid-template-columns: 1fr; }
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .18s ease both;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background:
    linear-gradient(180deg, rgba(124, 107, 255, 0.10), rgba(124, 107, 255, 0)),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: modalIn .22s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.modal-close:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,0.06); }
.modal-close svg { width: 16px; height: 16px; }

.modal-body h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.modal-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.field {
  display: block;
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field-opt {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 12px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: rgba(124, 107, 255, 0.05);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input.has-error,
.field textarea.has-error {
  border-color: var(--danger);
  background: rgba(255, 107, 138, 0.06);
}
.field-error {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: 12px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.modal-success {
  text-align: center;
  padding: 8px 0 4px;
}
.success-ico {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(41, 230, 192, 0.12);
  border: 1px solid rgba(41, 230, 192, 0.4);
  color: var(--accent);
}
.success-ico svg { width: 28px; height: 28px; }

/* ---------- Latest sales ---------- */
.sales { padding: 60px 0; }
.sales-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sales-head {
  padding: 18px 22px 0;
  border-bottom: 1px solid var(--border);
}
.sales-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(41, 230, 192, 0.10);
  border: 1px solid rgba(41, 230, 192, 0.30);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.sales-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 12px;
  padding-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.sales-cols span { text-align: left; }
.sales-list {
  display: flex;
  flex-direction: column;
}
.sales-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  animation: salesIn .5s cubic-bezier(.2,.9,.3,1.1) both;
}
@keyframes salesIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sales-row:last-child { border-bottom: 0; }
.sales-row:hover { background: rgba(124, 107, 255, 0.05); }
.sale-id {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.sale-digits .digits-pill { font-size: 11px; padding: 3px 9px; }
.sale-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
.sale-time {
  font-size: 12px;
  color: var(--text-dim);
}
@media (max-width: 760px) {
  .sales-head { padding: 14px 16px 10px; }
  .sales-cols { display: none; }
  .sales-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 4px;
    padding: 12px 16px;
  }
  .sale-id { grid-column: 1; grid-row: 1; }
  .sale-price { grid-column: 2; grid-row: 1; text-align: right; }
  .sale-digits { grid-column: 1; grid-row: 2; }
  .sale-time { grid-column: 2; grid-row: 2; text-align: right; }
}

/* ---------- Sell section ---------- */
.sell { padding: 50px 0 90px; }
.sell-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: stretch;
  padding: 40px;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(124, 107, 255, 0.22), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(41, 230, 192, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}
.sell-info { display: flex; flex-direction: column; }
.sell-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(41, 230, 192, 0.10);
  border: 1px solid rgba(41, 230, 192, 0.30);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 16px;
}
.sell-info h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.sell-info > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.sell-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.sell-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}
.sell-points svg {
  width: 18px; height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(41, 230, 192, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}
.sell-info .btn { align-self: flex-start; }

.sell-rates {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.sell-rates-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 8px;
}
.sell-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.sell-rate:hover {
  border-color: rgba(124, 107, 255, 0.45);
  background: rgba(124, 107, 255, 0.08);
  transform: translateX(2px);
}
.sell-rate-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(124, 107, 255, 0.16);
  color: #b7adff;
  border: 1px solid rgba(124, 107, 255, 0.25);
}
.sell-rate-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

@media (max-width: 900px) {
  .sell-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
}

/* ---------- Sell modal form: digits radio + select ---------- */
.digits-radio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.digits-radio label {
  position: relative;
  cursor: pointer;
}
.digits-radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.digits-radio label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.digits-radio label > span b {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 13px;
}
.digits-radio label:hover > span {
  border-color: rgba(124, 107, 255, 0.45);
  background: rgba(124, 107, 255, 0.06);
}
.digits-radio input:checked + span {
  border-color: var(--primary);
  background: rgba(124, 107, 255, 0.14);
  box-shadow: 0 0 0 1px var(--primary) inset;
}
.digits-radio input:checked + span b { color: var(--text); }
.digits-radio.has-error label > span { border-color: var(--danger); }

.field select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa0c3' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  outline: none;
  transition: border-color .15s, background-color .15s;
  cursor: pointer;
}
.field select:focus { border-color: var(--primary); }
.field select.has-error { border-color: var(--danger); }
.field select option { color: #000; background: #fff; }

/* ---------- Chart modal ---------- */
button.digits-pill {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
button.digits-pill:hover {
  background: rgba(124, 107, 255, 0.22);
  border-color: rgba(124, 107, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 107, 255, 0.2);
}
button.digits-pill.sm { font-size: 12px; }

.chart-modal .chart-card {
  max-width: 780px;
  padding: 26px 26px 22px;
}
.chart-head { margin-bottom: 14px; padding-right: 40px; }
.chart-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.chart-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(124, 107, 255, 0.16);
  color: #b7adff;
  border: 1px solid rgba(124, 107, 255, 0.3);
}
.chart-trend {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
}
.chart-trend.up { color: var(--success); }
.chart-trend.down { color: var(--danger); }
.chart-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.chart-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.chart-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.chart-price-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}
.chart-period {
  font-size: 12px;
  color: var(--text-dim);
  padding: 5px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.chart-wrap {
  position: relative;
  margin: 8px 0 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  overflow: hidden;
}
.chart-svg {
  width: 100%;
  height: 300px;
  display: block;
}
.chart-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  background: rgba(20, 23, 41, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  min-width: 110px;
  opacity: 0;
  transition: opacity .12s;
  z-index: 5;
  white-space: nowrap;
}
.chart-tooltip.is-visible { opacity: 1; }
.chart-tooltip .tip-date {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.chart-tooltip .tip-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.chart-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.chart-stat {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.chart-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.chart-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
@media (max-width: 600px) {
  .chart-stats { grid-template-columns: 1fr 1fr; }
  .chart-stats .chart-stat:last-child { grid-column: 1 / -1; }
  .chart-svg { height: 220px; }
}

/* ---------- Language switcher (header) ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  position: relative;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, background .15s;
}
.lang-current:hover { border-color: var(--primary); background: rgba(124, 107, 255, 0.06); }
.lang-current svg { width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; }
.lang-current .lang-code { pointer-events: none; }
.lang-current .lang-chev { width: 12px; height: 12px; transition: transform .2s; pointer-events: none; }
.lang-switch.is-open .lang-chev { transform: rotate(180deg); }
.lang-code { letter-spacing: 0.04em; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  display: none;
  flex-direction: column;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  z-index: 60;
}
.lang-switch.is-open .lang-menu {
  display: flex;
  animation: fadeIn .15s ease both;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}
.lang-menu button:hover { background: rgba(124, 107, 255, 0.12); }
.lang-menu button > span { pointer-events: none; }
.lang-menu .flag { font-size: 16px; line-height: 1; }

/* ---------- Language picker (first visit) ---------- */
.lang-picker {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lang-picker.is-open { display: flex; }
.lang-picker .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn .2s ease both;
}
.lang-picker-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  text-align: center;
  padding: 36px 28px 28px;
  background:
    linear-gradient(180deg, rgba(124, 107, 255, 0.12), rgba(124, 107, 255, 0)),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: modalIn .22s cubic-bezier(.2,.9,.3,1.2) both;
}
.lang-picker-mark {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: white;
  box-shadow: 0 10px 28px rgba(124, 107, 255, 0.4);
}
.lang-picker-mark svg { width: 26px; height: 26px; }
.lang-picker-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.lang-picker-card > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.lang-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lang-picker-list button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, transform .15s;
}
.lang-picker-list button:hover {
  border-color: var(--primary);
  background: rgba(124, 107, 255, 0.08);
  transform: translateY(-1px);
}
.lang-picker-list .flag { font-size: 22px; line-height: 1; }

@media (max-width: 720px) {
  .nav-right .btn-sm { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(34px, 5.6vw, 56px); }
  section { padding: 64px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-inner { height: 60px; }
  .lang-current { padding: 7px 9px; font-size: 12px; }
  .lang-current .lang-chev { width: 11px; height: 11px; }

  section { padding: 50px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(24px, 5vw, 32px); }
  .section-head p { font-size: 14px; }

  .hero { padding: 40px 0 24px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(30px, 8vw, 44px); line-height: 1.1; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { gap: 10px; margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px;
  }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 12px; }

  .price-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 22px 20px; gap: 16px; }
  .price-value { font-size: 32px; }
  .price-card-head { flex-wrap: wrap; gap: 8px; }

  /* Table: keep all columns, horizontal scroll if needed */
  .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table { min-width: 540px; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: 13px; }

  /* Chart modal */
  .chart-modal .chart-card { padding: 22px 18px 18px; max-height: 92vh; overflow-y: auto; }
  .chart-head { padding-right: 36px; }
  .chart-title { font-size: 16px; }
  .chart-price { font-size: 24px; }
  .chart-svg { height: 240px; }
  .chart-period { font-size: 11px; padding: 4px 9px; }
  .chart-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .chart-stat { padding: 10px 12px; }
  .chart-stat-val { font-size: 14px; }
  .chart-stat-label { font-size: 10px; }

  /* Sell + sell modal */
  .sell-card { padding: 24px 20px; gap: 22px; }
  .sell-info h2 { font-size: 24px; }
  .sell-info > p { font-size: 14px; }
  .sell-rates { padding: 18px; }
  .sell-info .btn { width: 100%; justify-content: center; }

  .digits-radio { grid-template-columns: 1fr 1fr; }
  .digits-radio label > span { padding: 10px 12px; font-size: 12px; }
  .digits-radio label > span b { font-size: 12px; }

  /* Modals general */
  .modal { padding: 16px; }
  .modal-card { padding: 26px 20px 22px; max-height: 92vh; overflow-y: auto; }
  .modal-body h3 { font-size: 19px; }
  .modal-sub { font-size: 13px; margin-bottom: 18px; }
  .field input, .field textarea, .field select { font-size: 14px; }

  /* CTA */
  .cta-card { padding: 36px 20px; }
  .cta-card h2 { font-size: clamp(22px, 5vw, 30px); }
  .cta-card p { font-size: 14px; margin-bottom: 22px; }

  /* Features */
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { padding: 22px; }

  /* FAQ */
  .faq details { padding: 16px 18px; }
  .faq summary { font-size: 14px; }
  .faq details p { font-size: 13px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-top: 18px; font-size: 12px; text-align: center; }
  .trust-block { margin-top: 28px; padding: 24px 0 16px; }
  .trust-title { font-size: 14px; }
  .trust-head p { font-size: 13px; }

  /* Sales feed */
  .sales-card { border-radius: 14px; }

  /* Language picker */
  .lang-picker-card { padding: 28px 22px 22px; }
  .lang-picker-card h3 { font-size: 16px; }

  /* Buttons sizes */
  .btn { padding: 11px 16px; font-size: 13px; }
  .btn-lg { padding: 14px 22px; font-size: 14px; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 16px; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-inner { gap: 8px; }
  .nav-right { gap: 6px; }
  .lang-current { padding: 6px 8px; }
  .lang-current svg:first-child { display: none; }

  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat:last-child { grid-column: auto; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .price-amount { gap: 4px; }
  .example-id { font-size: 12px; padding: 5px 8px; }
  .price-card-head .digits-pill { font-size: 12px; padding: 4px 10px; }

  /* Chart modal even tighter */
  .chart-modal .chart-card { padding: 18px 14px 14px; }
  .chart-svg { height: 200px; }
  .chart-price { font-size: 22px; }
  .chart-stats { grid-template-columns: 1fr 1fr; }
  .chart-stats .chart-stat:last-child { grid-column: 1 / -1; }

  /* Trust block */
  .trust-badges { grid-template-columns: 1fr; gap: 10px; }

  /* Sell radio: keep 2 columns but tighter */
  .digits-radio { gap: 6px; }
  .digits-radio label > span { padding: 9px 10px; }

  /* Modal close button */
  .modal-close { top: 10px; right: 10px; width: 30px; height: 30px; }

  /* Sales feed mobile already restyled, just slight tweaks */
  .sales-row { padding: 10px 14px; }
  .sale-id, .sale-price { font-size: 14px; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 26px; }
  .price-card { padding: 18px 16px; }
  .modal-card { padding: 22px 16px 18px; }
  .sell-card { padding: 20px 16px; }
  .cta-card { padding: 30px 16px; }
}
