/* AIPixFix — общий тёмный/циан стиль, перенесённый из дизайн-макета
   (Claude Design, aipixfix_design_system + AIPixFix Лендинг.dc.html). */

html, body { margin: 0; padding: 0; background: #0b0d12; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #e8edf5;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: #22d3ee; text-decoration: none; }
a:hover { color: #67e8f9; }
::placeholder { color: #475569; }
.mono { font-family: 'JetBrains Mono', monospace; }

input[type="range"] { -webkit-appearance: none; appearance: none; height: 4px; background: #1a1e2a; border-radius: 2px; width: 100%; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #06b6d4; cursor: pointer; box-shadow: 0 0 8px rgba(6,182,212,.45); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: none; border-radius: 50%; background: #06b6d4; cursor: pointer; box-shadow: 0 0 8px rgba(6,182,212,.45); }

input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; background: #1a1e2a; cursor: pointer; display: grid; place-items: center; flex: none; }
input[type="checkbox"]:checked { background: #06b6d4; border-color: #06b6d4; }
input[type="checkbox"]:checked::after { content: '✓'; color: #04171c; font-size: 11px; font-weight: 700; }

input[type="text"], textarea { font-family: inherit; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.wrap {
  min-height: 100vh;
  background: #0b0d12;
  background-image: radial-gradient(900px 420px at 50% -10%, rgba(6,182,212,.10), transparent 70%);
  padding: 0 16px 64px;
}
main { max-width: 1120px; margin: 0 auto; }
main.narrow { max-width: 720px; }
main.medium { max-width: 880px; }

/* header / nav */
header.site {
  max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.logo { font-weight: 700; font-size: 17px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; color: #e8edf5; }
.logo .dot { width: 9px; height: 9px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #06b6d4; display: inline-block; }
nav.site { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
nav.site a {
  background: transparent; border: 1px solid transparent; color: #94a3b8;
  font: 500 13px/1 'Inter', sans-serif; padding: 9px 13px; border-radius: 8px; cursor: pointer;
}
nav.site a:hover { background: #1a1e2a; color: #e8edf5; }
nav.site a.accent { background: rgba(6,182,212,.10); border-color: rgba(6,182,212,.28); color: #22d3ee; }
nav.site a.accent:hover { background: rgba(6,182,212,.18); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 13px 20px; border-radius: 12px; border: none; cursor: pointer;
  font: 600 15px/1 'Inter', sans-serif; text-decoration: none;
}
.btn-primary { background: #06b6d4; color: #04171c; }
.btn-primary:hover { background: #22d3ee; box-shadow: 0 0 28px rgba(6,182,212,.35); color: #04171c; }
.btn-ghost { background: #1a1e2a; color: #e8edf5; border: 1px solid rgba(255,255,255,.14); }
.btn-ghost:hover { color: #e8edf5; border-color: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: #22d3ee; border: 1px solid rgba(6,182,212,.3); }
.btn-outline:hover { background: rgba(6,182,212,.08); color: #22d3ee; }
.btn-block { width: 100%; }
button.btn { font-family: inherit; }

/* cards */
.card { background: #13161e; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; }
.card-dark { background: #0f1218; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; }

/* dropzone */
.dropzone {
  display: block; border: 2px dashed rgba(255,255,255,.12); border-radius: 14px;
  padding: clamp(28px,5vw,44px) 20px; text-align: center; cursor: pointer;
  background: #0f1218; transition: border-color .2s, background .2s;
}
.dropzone.drag, .dropzone:hover { border-color: #06b6d4; background: rgba(6,182,212,.05); }
.dropzone .icon {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px;
  background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.25);
  display: grid; place-items: center; color: #22d3ee; font-size: 20px;
}
.dropzone .title { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.dropzone .hint { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.dropzone .pick {
  display: inline-block; background: #1a1e2a; border: 1px solid rgba(255,255,255,.14);
  color: #e8edf5; font: 500 14px/1 'Inter', sans-serif; padding: 12px 18px; border-radius: 10px;
  cursor: pointer;
}

/* badges / pills */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 100px;
  background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.2);
  font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #22d3ee;
}
.eyebrow.green { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.25); color: #10b981; }
.tag {
  font: 500 11px/1 'JetBrains Mono', monospace; color: #94a3b8; background: #1a1e2a;
  border: 1px solid rgba(255,255,255,.06); padding: 6px 9px; border-radius: 6px;
}
.status-pill { font: 500 11px/1 'JetBrains Mono', monospace; padding: 6px 10px; border-radius: 100px; }

/* misc text */
.muted { color: #94a3b8; }
.dim { color: #64748b; }
.error { color: #ef4444; margin-top: 12px; }

/* GPU indicator */
.gpu-pill { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 12px; background: #13161e; border: 1px solid rgba(255,255,255,.08); }
.gpu-pill .dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2.4s infinite; }
.gpu-pill .name { flex: 1; font: 400 13px/1.3 'JetBrains Mono', monospace; color: #94a3b8; }
.gpu-pill .status { font: 500 11px/1 'JetBrains Mono', monospace; background: rgba(255,255,255,.04); padding: 5px 10px; border-radius: 100px; }

/* spinner / progress */
.spinner {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  border: 2px solid rgba(6,182,212,.18); border-top-color: #22d3ee; animation: spin .9s linear infinite;
}
.bar-track { height: 6px; background: #1a1e2a; border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg,#0891b2,#22d3ee); border-radius: 3px; width: 0%; transition: width .3s; }

/* queue watchdog warning */
.queue-warn {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25);
  color: #fcd34d; font-size: 13px; line-height: 1.5;
}

/* quick-contact floating button + modal */
.qc-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #06b6d4; color: #04171c; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(6,182,212,.35); font-size: 20px;
}
.qc-btn:hover { background: #22d3ee; }
.qc-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 50;
  align-items: center; justify-content: center; padding: 16px;
}
.qc-overlay.open { display: flex; }
.qc-modal {
  width: 100%; max-width: 420px; background: #13161e; border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 22px;
}
.qc-modal h4 { margin: 0 0 4px; font-size: 17px; color: #e8edf5; }
.qc-modal .sub { margin: 0 0 16px; font-size: 13px; color: #64748b; }
.qc-modal textarea, .qc-modal input[type="text"] {
  width: 100%; padding: 11px 13px; background: #1a1e2a; border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; color: #e8edf5; font-size: 14px; margin-bottom: 10px; font-family: inherit;
}
.qc-modal textarea { resize: vertical; }
.qc-modal .actions { display: flex; gap: 10px; margin-top: 6px; }
.qc-modal .close { position: absolute; }
.qc-status { font-size: 13px; margin-top: 10px; }
.qc-status.ok { color: #10b981; }
.qc-status.err { color: #ef4444; }
.qc-honeypot { position: absolute; left: -9999px; opacity: 0; }

/* before/after placeholders */
.compare-ph {
  aspect-ratio: 3/4; border-radius: 10px; border: 1px solid rgba(255,255,255,.07);
  display: grid; place-items: center; color: #475569; font: 400 11px/1 'JetBrains Mono', monospace;
  background-image: repeating-linear-gradient(135deg,#151922 0 10px,#11141b 10px 20px);
}
.compare-ph.after { border-color: rgba(6,182,212,.25); background-image: repeating-linear-gradient(135deg,#16222a 0 10px,#111b21 10px 20px); }

@media (max-width: 640px) {
  header.site { gap: 10px; }
  nav.site { gap: 2px; }
  nav.site a { padding: 8px 9px; font-size: 12px; }
}
