/* ============ RkhCell — общие стили ============ */
:root {
  --bg: #060910;
  --bg-2: #0b0f19;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #9e9e9e;
  --muted-2: #6d7180;
  --accent: #f66f14;
  --accent-2: #ffad75;
  --accent-soft: rgba(246, 111, 20, 0.14);
  --danger: #ff5a5a;
  --warn: #ffb547;
  --info: #6cb4ff;
  --ok: #4fd18b;
  --radius: 15px;
  --radius-lg: 22px;
  --font-head: "Mulish", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.grad-text {
  background: linear-gradient(348deg, rgba(255, 255, 255, 0.34), #fff 54%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px; font-weight: 500;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background-color: var(--accent);
  background-image: radial-gradient(circle at 50% 100%, var(--accent-2), rgba(246, 111, 20, 0) 79%);
  box-shadow: 0 0 30px rgba(242, 147, 84, 0.45);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 0 42px rgba(242, 147, 84, 0.7); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(246, 111, 20, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn-ghost:hover { border-color: rgba(246, 111, 20, 0.55); background: rgba(246, 111, 20, 0.14); }
.btn-sm { padding: 8px 13px; font-size: 14px; border-radius: 12px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--font-head); font-weight: 700; font-size: 25px; letter-spacing: 0.01em; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); margin-left: 3px; transform: translateY(-14px); }
.logo span.cell { color: var(--accent-2); }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { color: #c9c9c9; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(6, 9, 16, 0.97); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .burger { display: inline-flex; }
  .nav-cta .btn-primary { display: none; }
}

/* ---------- Карточки ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card.glow::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 111, 20, 0.35), transparent 70%);
  top: -110px; left: -60px; filter: blur(20px); pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(246, 111, 20, 0.3);
}

/* ---------- Секции ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 5vw, 47px); margin-bottom: 16px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
@media (max-width: 600px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Футер ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: #c9c9c9; } .footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Свечение за курсором ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  opacity: 0; transition: opacity .3s ease, width .3s ease, height .3s ease;
  will-change: transform;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 112, 20, 0.45), rgba(246, 112, 20, 0.15) 45%, rgba(246, 112, 20, 0) 70%);
  filter: blur(18px);
  mix-blend-mode: screen;
}
body.cursor-on .cursor-glow { opacity: 1; }
body.cursor-hot .cursor-glow { width: 340px; height: 340px; }
@media print { .cursor-glow { display: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
