/* Излучатель BRG — Deep Blue Neon
   Токены из приложения: primary #3b63b8, tertiary #1265b8,
   neon cyan #28C2D1, blue #3E8EED */

:root {
  --bg: #0a1128;
  --bg-deep: #060b1d;
  --surface: #101b3c;
  --surface-2: #0d1730;
  --primary: #3b63b8;
  --primary-deep: #27437e;
  --neon: #28c2d1;
  --neon-soft: #7bddef;
  --neon-pale: #a7cbf6;
  --text: #edf2ff;
  --muted: #a7cbf6;
  --line: rgba(123, 221, 239, 0.16);
  --radius: 14px;
  --focus: #7bddef;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -80px, rgba(59, 99, 184, 0.35), transparent 60%),
    radial-gradient(900px 480px at 8% 12%, rgba(40, 194, 209, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 780px; }

/* Доступность */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--neon); color: #062a30;
  padding: 0.75rem 1.25rem; font-weight: 700; z-index: 9999;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 29, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45); }

.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text); text-decoration: none; font-weight: 800;
  margin-right: auto;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 34px; padding: 0 0.6rem;
  background: linear-gradient(135deg, var(--primary), #27437e);
  border: 1px solid rgba(123, 221, 239, 0.5);
  border-radius: 9px;
  font-size: 0.95rem; letter-spacing: 1px;
  box-shadow: 0 0 14px rgba(40, 194, 209, 0.35);
}

.primary-nav { display: flex; align-items: center; gap: 1.1rem; }
.primary-nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
}
.primary-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: 9px;
  padding: 0.65rem 0.7rem; cursor: pointer; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.8rem 1.6rem;
  border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-small { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.9rem; }
.btn-large { font-size: 1.1rem; padding: 1rem 2.2rem; }

.btn-glow {
  background: var(--neon); color: #062a30;
  box-shadow: 0 0 22px rgba(40, 194, 209, 0.55), 0 6px 24px rgba(0, 0, 0, 0.4);
}
.btn-glow:hover { background: var(--neon-soft); box-shadow: 0 0 30px rgba(40, 194, 209, 0.75); }
.primary-nav .btn-glow, .primary-nav .btn-small {
  background: rgba(40, 194, 209, 0.14); color: var(--neon-soft);
  border-color: rgba(40, 194, 209, 0.55); box-shadow: none;
}

.btn-ghost {
  border-color: rgba(167, 203, 246, 0.4); color: var(--text);
  background: rgba(59, 99, 184, 0.18);
}
.btn-ghost:hover { border-color: var(--neon-soft); }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; position: relative; overflow: clip; }
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.12; letter-spacing: -0.5px;
  margin: 0 0 1rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.6rem 0 1.4rem; }

.trust-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 0; padding: 0;
}
.trust-chips li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.95rem; font-size: 0.9rem; color: var(--neon-soft);
  background: rgba(40, 194, 209, 0.08);
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img {
  position: relative; z-index: 2;
  width: min(440px, 100%);
  border-radius: 22px;
  box-shadow: 0 0 60px rgba(40, 194, 209, 0.4), 0 24px 80px rgba(0, 0, 0, 0.55);
  animation: hero-in 0.9s ease-out both;
}
.field-ring {
  position: absolute; inset: 6% 4%; z-index: 1;
  border: 1px solid rgba(40, 194, 209, 0.5); border-radius: 50%;
  animation: ring-pulse 5s ease-in-out infinite;
}
.ring-2 { inset: -2% -6%; opacity: 0.55; animation-delay: 1.2s; }
.ring-3 { inset: -10% -14%; opacity: 0.3; animation-delay: 2.4s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.03); opacity: 0.9; }
}

/* Секции */
.section { padding: 3.5rem 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(59, 99, 184, 0.1), transparent);
  border-block: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.3px; margin: 0 0 1.2rem;
}
.section h3 { margin: 1.6rem 0 0.6rem; font-size: 1.2rem; }
.section p { margin: 0 0 1rem; }
.section strong { color: #fff; }
.note {
  border-left: 3px solid var(--neon);
  padding: 0.7rem 1rem; background: rgba(40, 194, 209, 0.08);
  border-radius: 0 10px 10px 0;
}

.split { display: grid; gap: 2.5rem; grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.about-photo { margin: 0; }
.about-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5), 0 0 34px rgba(59, 99, 184, 0.35);
}
.about-photo figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }

/* Преимущества */
.benefits {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.benefit {
  background: rgba(16, 27, 60, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.benefit:hover { border-color: rgba(40, 194, 209, 0.5); }
.benefit h3 { margin: 0 0 0.4rem; font-size: 1.08rem; color: var(--neon-soft); }
.benefit p { margin: 0; color: var(--muted); }
.benefit-wide { grid-column: 1 / -1; }
.section p.section-cta { margin: 2rem 0 0; }

/* Шаги */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.6rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2);
  margin-bottom: 0.8rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(40, 194, 209, 0.15); color: var(--neon);
  font-weight: 800; border: 1px solid rgba(40, 194, 209, 0.5);
}

/* Таблица */
.specs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.specs th, .specs td {
  text-align: left; padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.specs th { color: var(--neon-soft); font-weight: 600; width: 42%; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: none; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2); margin-bottom: 0.7rem; overflow: clip;
}
.faq details[open] { border-color: rgba(40, 194, 209, 0.5); }
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 700;
  list-style: none; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: var(--neon); font-size: 1.3rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin-inline: 1.2rem; }
.faq details > :last-child { margin-bottom: 1.2rem; }
.faq ul { padding-left: 1.2rem; color: var(--muted); }
.faq p { color: var(--muted); }
.faq strong { color: var(--text); }

/* Покупка */
.buy-card {
  text-align: center;
  background: radial-gradient(600px 260px at 50% 0%, rgba(40, 194, 209, 0.16), transparent 70%), var(--surface);
  border: 1px solid rgba(40, 194, 209, 0.4); border-radius: 22px;
  padding: 3rem 2rem;
  box-shadow: 0 0 50px rgba(40, 194, 209, 0.18);
}
.buy-card .disclaimer {
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Подвал */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.4rem; color: var(--muted); font-size: 0.92rem;
  background: var(--bg-deep);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  justify-content: space-between;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--neon-soft); }

/* Адаптив */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-visual img { width: min(360px, 92%); }
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0a1230; border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1rem;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 0.8rem 0.25rem; border-top: 1px solid var(--line); }
  .primary-nav a:first-child { border-top: none; }
  .primary-nav .btn { margin-top: 0.6rem; }
  .section { padding: 2.5rem 0; }
}

/* Уважение к reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
