/* ============================================================
   Mi-MOD ELO — Neon Depth
   ============================================================ */

/* ---------- fonts (локально, woff2) ---------- */
/* Unbounded — заголовки */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/unbounded-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/unbounded-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/unbounded-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/unbounded-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope — текст */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — числа/код */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: #0a0a12;
  color: #e8e8f0;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- CSS variables ---------- */
:root {
  --bg-deep: #0a0a12;
  --bg-surface: #12121e;
  --surface-glass: rgba(255,255,255,0.03);
  --surface-border: rgba(255,255,255,0.07);
  --accent-1: #00e5ff;
  --accent-2: #7c4dff;
  --accent-grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-dim: #55556a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 40px rgba(0,229,255,0.15);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }

code, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- background aura ---------- */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 640px; height: 640px;
  background: #1a0a2e;
  top: -220px; left: -160px;
  animation: aura-1 24s ease-in-out infinite alternate;
}
body::after {
  width: 540px; height: 540px;
  background: #0a1a2e;
  bottom: -160px; right: -120px;
  animation: aura-2 30s ease-in-out infinite alternate;
}
@keyframes aura-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes aura-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, -60px) scale(1.1); }
}

/* ---------- container ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(10,10,18,0.72);
  border-bottom: 1px solid var(--surface-border);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
.logo-mi {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.logo-mod {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #0a0a12;
  padding: 7px 14px 7px 16px;
  border-radius: 3px;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--accent-grad);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 20px rgba(0,229,255,0.25);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0,229,255,0.4);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(0,229,255,0.28);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0,229,255,0.5);
}
.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--accent-1);
  box-shadow: 0 0 30px rgba(0,229,255,0.14);
}

/* ---------- glass card ---------- */
.card {
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- section ---------- */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-title { margin-bottom: 14px; }
.section-sub {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 56px;
  max-width: 640px;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 40px 0 30px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--text-dim);
  font-size: 13px;
}
.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer a:hover { color: var(--accent-1); }

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .btn { padding: 13px 26px; font-size: 14px; }
  .card { padding: 22px; }
}

/* ============================================================
   Home page blocks
   ============================================================ */

/* ---------- gradient text ---------- */
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- hero ---------- */
.hero { padding: 100px 0 80px; }
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--surface-border);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.6; transform: scale(0.85); }
}
.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- hero stats ---------- */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- grid-4 ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-4 .card h3 { margin-bottom: 10px; font-size: 18px; }
.grid-4 .card p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

.icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  color: var(--accent-1);
  margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }

/* ---------- preview ---------- */
.preview {
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}
.preview-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* оставлен на будущее, если понадобится заглушка */
.preview-ph {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,229,255,0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(124,77,255,0.08), transparent 50%),
    #0a0a12;
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-secondary);
}
.preview-ph span { font-size: 16px; font-weight: 500; }
.preview-ph small { font-size: 12px; color: var(--text-dim); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(0,229,255,0.3);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.step code {
  background: rgba(0,229,255,0.08);
  color: var(--accent-1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* ---------- CTA block ---------- */
.cta-block {
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(0,229,255,0.1), transparent 60%),
    rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { color: var(--text-secondary); margin-bottom: 30px; font-size: 16px; }

/* ---------- ripple ---------- */
.btn .ripple,
.nav-cta .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-anim 0.65s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(2.4); opacity: 0; }
}

/* ---------- responsive home ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 64px 0 48px; }
  .hero-stats { gap: 32px; margin-top: 48px; }
  .stat-num { font-size: 26px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-sub { font-size: 16px; }
}

/* ============================================================
   Guide / install page blocks
   ============================================================ */

.guide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.guide-step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 26px 28px;
}
.guide-step .step-num {
  flex-shrink: 0;
}
.guide-body { flex: 1; min-width: 0; }
.guide-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
}
.guide-body p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.65; }
.guide-body p:last-child { margin-bottom: 0; }
.guide-body a { color: var(--accent-1); text-decoration: none; border-bottom: 1px dashed rgba(0,229,255,0.4); }
.guide-body a:hover { border-bottom-style: solid; }
.guide-body ol, .guide-body ul {
  margin: 10px 0 14px 20px;
  color: var(--text-secondary);
}
.guide-body ol li, .guide-body ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.guide-body strong { color: var(--text-primary); font-weight: 600; }
.guide-body code {
  background: rgba(0,229,255,0.08);
  color: var(--accent-1);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  word-break: break-all;
}

/* way — блок со способом поиска папки */
.way {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 14px 0;
}
.way strong { display: block; margin-bottom: 10px; color: var(--text-primary); }

/* note */
.note {
  background: rgba(0,229,255,0.05);
  border-left: 3px solid var(--accent-1);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}
.note strong { color: var(--text-primary); }
.note.warn {
  background: rgba(255,193,7,0.06);
  border-left-color: #ffc107;
}

/* mono list */
.mono-list { list-style: none; margin-left: 0 !important; padding-left: 0; }
.mono-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mono-list li:last-child { border-bottom: none; }

/* path pre */
.path-pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-1);
  overflow-x: auto;
  margin: 14px 0;
}

/* check list */
.check-list { list-style: none; margin-left: 0 !important; padding-left: 0; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: bold;
}

/* dim text */
.dim { color: var(--text-dim) !important; font-size: 13.5px; }

/* block (общий блок на странице) */
.block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--surface-border);
}
.block h2 { margin-bottom: 16px; }
.block > p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
  max-width: 780px;
}
.block code {
  background: rgba(0,229,255,0.08);
  color: var(--accent-1);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.block strong { color: var(--text-primary); font-weight: 600; }

/* faq — details/summary */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq details:hover { border-color: rgba(0,229,255,0.25); }
.faq details[open] { border-color: rgba(0,229,255,0.35); }
.faq summary {
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent-1);
  transition: transform var(--transition);
}
.faq details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.faq summary:hover { color: var(--accent-1); }
.faq details > *:not(summary) {
  padding: 0 22px 18px 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14.5px;
}
.faq details ul, .faq details ol {
  margin: 0 0 0 20px;
  padding: 0 0 18px 0;
}
.faq details li { margin-bottom: 6px; }

/* responsive */
@media (max-width: 768px) {
  .guide-step {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .guide-step .step-num {
    width: 34px; height: 34px;
    font-size: 14px;
  }
  .guide-body h3 { font-size: 17px; }
  .way { padding: 14px 16px; }
  .block h2 { font-size: 22px; }
}

/* ============================================================
   Homepage v3 additions
   ============================================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-3 .card h3 { margin-bottom: 10px; font-size: 18px; }
.grid-3 .card p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

.preview-section {
  padding-top: 20px;
  padding-bottom: 40px;
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   Screenshots in install guide
   ============================================================ */

.shot {
  margin: 22px auto 6px;
  max-width: 480px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: #0a0a12;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-caption {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--surface-border);
}
.shot-caption code {
  background: rgba(0,229,255,0.08);
  color: var(--accent-1);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Нумерованный список в стиле гайда */
.guide-ol {
  list-style: none;
  counter-reset: gstep;
  margin: 0;
  padding: 0;
}
.guide-ol > li {
  counter-increment: gstep;
  position: relative;
  padding-left: 52px;
  margin-bottom: 26px;
}
.guide-ol > li::before {
  content: counter(gstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 0 18px rgba(0,229,255,0.3);
}
.guide-ol > li > p {
  margin: 6px 0 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.guide-ol strong { color: var(--text-primary); }
.guide-ol .shot { margin-top: 10px; }

/* первые два скрина (шаг «Найди папку») — крупнее */
.guide-ol .shot {
  max-width: 660px;
}

@media (max-width: 768px) {
  .guide-ol > li { padding-left: 44px; }
  .guide-ol > li::before { width: 30px; height: 30px; font-size: 13px; }
  .guide-ol .shot { max-width: 100%; }
}

/* ============================================================
   Download page
   ============================================================ */

.dl-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(0,229,255,0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(124,77,255,0.08), transparent 55%),
    rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(14px);
  margin-bottom: 24px;
}

.dl-version {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.dl-badge {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,229,255,0.1);
  color: var(--accent-1);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(0,229,255,0.25);
}
.dl-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.dl-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dl-meta li {
  font-size: 14px;
  color: var(--text-secondary);
}
.dl-meta .dl-label {
  display: inline-block;
  min-width: 70px;
  color: var(--text-dim);
  font-size: 13px;
}
.dl-meta code {
  background: rgba(0,229,255,0.08);
  color: var(--accent-1);
  padding: 1px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.dl-action {
  text-align: center;
  min-width: 220px;
}
.btn-download {
  padding: 18px 40px !important;
  font-size: 16px !important;
  min-width: 200px;
}
.dl-hint {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 12px;
  max-width: 240px;
  line-height: 1.5;
}
.dl-hint a {
  color: var(--accent-1);
  text-decoration: none;
}
.dl-hint a:hover { text-decoration: underline; }

.dl-sha {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 20px;
  overflow: hidden;
}
.dl-sha summary {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  list-style: none;
  position: relative;
  padding-right: 44px;
  font-weight: 500;
}
.dl-sha summary::-webkit-details-marker { display: none; }
.dl-sha summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-1);
  font-family: var(--font-mono);
  font-size: 18px;
}
.dl-sha[open] summary::after { content: '−'; }
.dl-sha > *:not(summary) { padding: 0 20px; }
.dl-sha > *:last-child { padding-bottom: 18px; }
.dl-sha p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.dl-sha pre.path-pre {
  font-size: 12px;
  margin: 10px 0;
  word-break: break-all;
  white-space: pre-wrap;
}

.changelog {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.changelog li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.changelog li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-size: 12px;
  top: 3px;
}
.changelog strong { color: var(--text-primary); }

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.req-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}
.req-check {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 10px rgba(0,229,255,0.4);
}
.req-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #0a0a12;
  border-bottom: 2px solid #0a0a12;
  transform: rotate(45deg);
}
.req-list strong { color: var(--text-primary); }

@media (max-width: 768px) {
  .dl-card {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    gap: 24px;
  }
  .dl-action { min-width: 0; }
  .dl-v { font-size: 28px; }
  .btn-download { width: 100%; }
}

/* ============================================================
   About page
   ============================================================ */

.about-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 28px 32px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), transform var(--transition);
}
.about-block:hover {
  border-color: rgba(0,229,255,0.25);
  transform: translateY(-2px);
}
.about-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.22);
  color: var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-icon svg { width: 26px; height: 26px; }

.about-block h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.about-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.about-block p:last-child { margin-bottom: 0; }
.about-block strong { color: var(--text-primary); font-weight: 600; }
.about-block code {
  background: rgba(0,229,255,0.08);
  color: var(--accent-1);
  padding: 1px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 8px rgba(0,229,255,0.5);
}
.about-list strong { color: var(--text-primary); }

/* ideas block */
.ideas-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 32px;
  margin-top: 40px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(0,229,255,0.1), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(124,77,255,0.1), transparent 55%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(0,229,255,0.2);
  backdrop-filter: blur(14px);
}
.ideas-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 26px rgba(0,229,255,0.35);
}
.ideas-icon svg { width: 28px; height: 28px; }
.ideas-block h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
}
.ideas-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.ideas-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .about-block,
  .ideas-block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .about-icon,
  .ideas-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .about-icon svg { width: 22px; height: 22px; }
  .ideas-icon svg { width: 24px; height: 24px; }
  .about-block h2,
  .ideas-block h2 { font-size: 19px; }
}

/* ============================================================
   Support page — Telegram card
   ============================================================ */

.tg-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 36px 40px;
  margin-bottom: 40px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(0,229,255,0.1), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(124,77,255,0.1), transparent 55%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(0,229,255,0.22);
  backdrop-filter: blur(14px);
  align-items: center;
}
.tg-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--accent-grad);
  color: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 32px rgba(0,229,255,0.4);
}
.tg-icon svg { width: 38px; height: 38px; }
.tg-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.tg-body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 620px;
}
.btn-tg {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 26px !important;
  font-size: 15px !important;
}

@media (max-width: 768px) {
  .tg-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px;
    text-align: left;
  }
  .tg-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .tg-icon svg { width: 30px; height: 30px; }
  .tg-body h2 { font-size: 19px; }
}

/* ============================================================
   Support page — donate card
   ============================================================ */

.donate-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 36px 40px;
  margin-bottom: 40px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 100%, rgba(124,77,255,0.1), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(0,229,255,0.1), transparent 55%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(124,77,255,0.22);
  backdrop-filter: blur(14px);
  align-items: center;
}
.donate-qr {
  width: 220px;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  padding: 12px;
  box-shadow: 0 0 32px rgba(124,77,255,0.35);
}
.donate-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.donate-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.donate-body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 560px;
}
.donate-hint {
  font-size: 12.5px !important;
  color: var(--text-dim) !important;
  margin-top: 14px;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .donate-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px;
  }
  .donate-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .donate-body h2 { font-size: 19px; text-align: center; }
  .donate-body p { text-align: center; }
  .donate-body .btn { display: flex; width: 100%; }
}

/* ============================================================
   Homepage — mini donate block
   ============================================================ */

.donate-mini {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 100%, rgba(124,77,255,0.08), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(0,229,255,0.08), transparent 55%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(124,77,255,0.2);
  backdrop-filter: blur(14px);
}
.donate-mini-qr {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 22px rgba(124,77,255,0.28);
}
.donate-mini-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.donate-mini-body { flex: 1; min-width: 0; }
.donate-mini-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.donate-mini-body p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}
.donate-mini .btn {
  flex-shrink: 0;
  padding: 12px 22px !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .donate-mini {
    flex-direction: column;
    text-align: center;
    padding: 22px;
    gap: 16px;
  }
  .donate-mini-qr {
    width: 120px;
    height: 120px;
  }
  .donate-mini .btn { width: 100%; justify-content: center; }
}

/* === FAQ === */
.faq-section h2 { text-align: center; margin-bottom: 2rem; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  margin-bottom: 0.9rem;
  padding: 1rem 1.5rem;
  transition: border-color .2s ease;
}
.faq-list details[open] { border-color: rgba(255,90,31,0.45); }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
  color: #ff5a1f;
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p {
  margin: 0.9rem 0 0;
  color: #a8b0c8;
  line-height: 1.65;
}

/* anti-caret: hide text cursor in non-editable content */
html, body { caret-color: transparent; }
input, textarea, select, [contenteditable="true"] { caret-color: auto; }
