/* ==========================================================================
   SK-Clip Auto — сайт. Тёмная тема (как админка и программы).
   ========================================================================== */

:root {
  --bg:        #0d0d18;
  --bg-2:      #12121f;
  --panel:     #1a1a2e;
  --panel-2:   #22223a;
  --border:    #2a2a44;
  --border-2:  #3a3a6e;
  --text:      #e8e8f0;
  --text-dim:  #99a;
  --text-mute: #666;
  --accent:    #00d4ff;
  --accent-2:  #0088ff;
  --ok:        #4caf50;
  --warn:      #ff9800;
  --radius:    12px;
  --maxw:      1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #6ee7ff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- Шапка ---------------------------------------------------------------- */

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

header.site .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 28px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .3px;
  white-space: nowrap;
}
.logo:hover { color: #fff; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: block; object-fit: contain;
  box-shadow: 0 0 18px rgba(0, 212, 255, .35);
}
.logo .sub { color: var(--text-mute); font-size: 12px; font-weight: 400; }

nav.main { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
nav.main a {
  color: #fff; padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; transition: .15s;
}
nav.main a:hover { background: var(--panel); color: #fff; }
nav.main a.active { color: var(--accent); background: var(--panel); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* --- Кнопки --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 9px; font-size: 15px; font-weight: 600;
  border: 1px solid var(--border-2); background: var(--panel); color: var(--text);
  cursor: pointer; transition: .15s; font-family: inherit; white-space: nowrap;
}
.btn:hover { background: var(--panel-2); color: #fff; border-color: #4a4a8e; }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: #04121c;
  box-shadow: 0 4px 20px rgba(0, 212, 255, .28);
}
.btn.primary:hover { filter: brightness(1.1); color: #04121c; }
.btn.lg { padding: 15px 32px; font-size: 17px; }
.btn.sm { padding: 7px 14px; font-size: 13.5px; }
.btn.ghost { background: transparent; }

/* --- Секции --------------------------------------------------------------- */

section { padding: 76px 0; }
section.tight { padding: 52px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: 46px; font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

.lead { font-size: 19px; color: var(--text-dim); max-width: 760px; }
.muted { color: var(--text-dim); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(0, 212, 255, .13), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(0, 136, 255, .10), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero h1 { max-width: 900px; }
.hero .lead { font-size: 20px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 20px; font-size: 13.5px; color: var(--text-dim);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.badge .dot.off { background: var(--text-mute); box-shadow: none; }

/* --- Сетки ---------------------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: .18s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card .icon { font-size: 30px; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

.no-list { list-style: none; margin: 0; padding: 0; }
.no-list li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  color: var(--text-dim); font-size: 15px;
}
.no-list li:last-child { margin-bottom: 0; }
.no-list li::before {
  content: "✕"; position: absolute; left: 0; top: 0;
  color: #ff6b6b; font-weight: 700; font-size: 13px;
}
.no-list.check li::before { content: "✓"; color: var(--ok); }

/* --- Шаги ----------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; counter-reset: s; }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step .num {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121c; font-weight: 800; font-size: 19px; margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(0, 212, 255, .3);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* --- Тарифы --------------------------------------------------------------- */

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; align-items: start; }
.price {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 26px; position: relative; display: flex; flex-direction: column;
}
.price.popular { border-color: var(--accent); box-shadow: 0 0 40px rgba(0, 212, 255, .16); }
.price .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121c; font-size: 12px; font-weight: 800; letter-spacing: .6px;
  padding: 5px 16px; border-radius: 20px; text-transform: uppercase; white-space: nowrap;
}
.price .pname { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.price .pnote { color: var(--text-mute); font-size: 13.5px; margin: 0 0 18px; }
.price .amount { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.price .period { color: var(--text-dim); font-size: 14px; margin-bottom: 14px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; color: var(--text-dim); font-size: 14.5px; }
.price li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700;
}

/* --- Скриншоты / медиа ---------------------------------------------------- */

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.shot {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); display: flex; flex-direction: column;
}
.shot.wide { grid-column: 1 / -1; }
.shot img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.shot .cap { padding: 12px 16px; font-size: 14px; color: var(--text-dim); border-top: 1px solid var(--border); }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.video-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); display: flex; flex-direction: column;
}
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-card .cap { padding: 12px 16px; font-size: 14px; color: var(--text-dim); border-top: 1px solid var(--border); }
.video-slot {
  aspect-ratio: 16 / 9; border: 1px dashed var(--border-2); border-radius: var(--radius);
  background: var(--panel); display: grid; place-items: center; text-align: center;
  color: var(--text-mute); padding: 20px;
}
.video-slot .play {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--panel-2); border: 1px solid var(--border-2);
  display: grid; place-items: center; font-size: 22px; color: var(--accent);
}

/* --- Таблица требований --------------------------------------------------- */

table.req { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
table.req td { padding: 14px 20px; border-top: 1px solid var(--border); font-size: 15px; }
table.req tr:first-child td { border-top: none; }
table.req td:first-child { color: var(--text-dim); width: 42%; }

/* --- FAQ ------------------------------------------------------------------ */

.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 10px; overflow: hidden;
}
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  padding: 17px 22px; cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }
.faq .answer p { margin: 0 0 8px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --- CTA ------------------------------------------------------------------ */

.cta {
  background: linear-gradient(135deg, rgba(0, 212, 255, .10), rgba(0, 136, 255, .06));
  border: 1px solid var(--border-2); border-radius: 18px; padding: 52px 40px; text-align: center;
}
.cta h2 { margin-bottom: 12px; }
.cta .lead { margin: 0 auto 28px; }

/* --- Подвал --------------------------------------------------------------- */

footer.site {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 46px 0 30px; margin-top: 20px;
}
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer.site h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .8px; color: var(--text-mute); margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: var(--text-dim); font-size: 14.5px; }
footer.site a:hover { color: var(--accent); }
footer.site .about { color: var(--text-dim); font-size: 14.5px; max-width: 320px; }
footer.site .bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-mute); font-size: 13.5px;
}

/* --- Прочее --------------------------------------------------------------- */

.note {
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 20px; color: var(--text-dim); font-size: 15px;
}
.note.warn { border-left-color: var(--warn); }

.page-head { padding: 60px 0 40px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.page-head h1 { font-size: 40px; margin-bottom: 10px; }

.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose h3 { font-size: 18px; margin-top: 26px; }
.prose p, .prose li { color: var(--text-dim); font-size: 15.5px; }
.prose ul { padding-left: 22px; }

.tg-box {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--border-2); border-radius: 14px; padding: 26px 28px;
}
.tg-box .tg-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #29b6f6, #0288d1); font-size: 26px; flex-shrink: 0;
}
.tg-box .tg-text { flex: 1; min-width: 220px; }
.tg-box .tg-text b { display: block; font-size: 18px; margin-bottom: 4px; }
.tg-box .tg-text span { color: var(--text-dim); font-size: 14.5px; }

/* --- Формы ---------------------------------------------------------------- */

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-dim);
}
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: var(--bg-2); color: var(--text);
  font-size: 15px; font-family: inherit;
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
}

/* --- Плашка cookie -------------------------------------------------------- */

.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: 900px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 14px 18px;
  color: var(--text-dim); font-size: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.cookie-bar span { flex: 1; min-width: 240px; }
.cookie-bar[hidden] { display: none; }

@media (max-width: 900px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero { padding: 60px 0 50px; }
  section { padding: 54px 0; }
  nav.main { display: none; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
}
