/* Вариант D (ss4) — «неоновый хай-тек»: плотный, контрастный, с градиентными панелями.
   Не минимализм: много цвета, свечения, слоёв. Только CSS, без JS. */

:root {
  --void: #05060F;
  --void-2: #0A0B1A;
  --panel-solid: #101228;
  --panel: rgba(18, 20, 42, .72);
  --line: rgba(140, 170, 255, .16);
  --fg: #EAEDF7;
  --fg-soft: #A9B2CC;
  --fg-muted: #6C7597;
  --neon-a: #7C5CFF;
  --neon-b: #00E5FF;
  --neon-c: #FF4FD8;
  --wrap: 1200px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--fg);
  background:
    radial-gradient(1100px 560px at 10% -6%, rgba(124, 92, 255, .28), transparent 62%),
    radial-gradient(900px 480px at 94% 2%, rgba(0, 229, 255, .20), transparent 64%),
    var(--void);
  background-attachment: scroll;
  font: 400 16.5px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon-b); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 750; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--neon-b); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--neon-b); color: #000; padding: 10px 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 6, 15, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand-mark { width: 46px; height: 46px; filter: drop-shadow(0 0 10px rgba(0, 229, 255, .5)); }
.brand-name {
  font-weight: 800; font-size: 34px; letter-spacing: -.03em; text-transform: lowercase;
}
.brand-accent {
  background: linear-gradient(100deg, var(--neon-b), var(--neon-a) 60%, var(--neon-c));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--fg-soft); }
.nav a:hover { color: var(--neon-b); }
.phone {
  font-family: var(--mono); font-size: 13px; color: #04070E; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(100deg, var(--neon-b), var(--neon-a));
  box-shadow: 0 0 24px rgba(0, 229, 255, .35);
}
.phone:hover { color: #04070E; box-shadow: 0 0 32px rgba(0, 229, 255, .6); }

/* Hero */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(140, 170, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, .07) 1px, transparent 1px);
  background-size: 68px 68px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  background: linear-gradient(180deg, #fff 20%, #B9C6FF 70%, #7C8CFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 24px; font-size: 18px; color: var(--fg-soft); max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; border: 1px solid transparent; transition: transform .14s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--neon-a), var(--neon-b)); color: #05060F;
  box-shadow: 0 10px 30px -10px rgba(0, 229, 255, .8);
}
.btn-primary:hover { box-shadow: 0 14px 42px -10px rgba(0, 229, 255, 1); }
.btn-ghost { color: var(--fg); border-color: rgba(140, 170, 255, .4); background: rgba(18, 20, 42, .5); }
.btn-ghost:hover { border-color: var(--neon-b); color: var(--neon-b); }

.hero-facts { display: flex; gap: 44px; margin: 46px 0 0; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-facts dt {
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--neon-b), var(--neon-a));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-facts dd { margin: 3px 0 0; font-size: 13.5px; color: var(--fg-muted); }

.hero-media { margin: 0; position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: -14px; border-radius: 22px; z-index: -1;
  background: linear-gradient(120deg, rgba(124, 92, 255, .38), rgba(0, 229, 255, .24), rgba(255, 79, 216, .3));
  filter: blur(18px);
}
.hero-media img { border-radius: 16px; border: 1px solid rgba(180, 200, 255, .22); }

/* Секции */
.section { position: relative; padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, rgba(10, 11, 26, .9), rgba(5, 6, 15, .9)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 64ch; margin-bottom: 46px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--neon-b); margin-bottom: 16px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .3);
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 42px); }
.section-sub { margin-top: 16px; color: var(--fg-soft); }

/* Панели-стекло */
.glass, .dev-card, .info-card, .product, .contact-form, .about-list li {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.dev-card::before, .info-card::before, .product::before, .contact-form::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 229, 255, .75), rgba(124, 92, 255, .35) 50%, rgba(255, 79, 216, .6));
  opacity: .9;
}

/* О компании */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-text p { color: var(--fg-soft); }
.about-text p + p { margin-top: 16px; }
.about-list { display: grid; gap: 12px; }
.about-list li { padding: 16px 18px; color: var(--fg-soft); font-size: 15px; }
.about-list strong { color: #fff; }

/* Разработка */
.dev-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.dev-media { margin: 0; }
.dev-media img { border-radius: 16px; border: 1px solid rgba(180, 200, 255, .22); box-shadow: 0 30px 80px -40px rgba(0, 229, 255, .55); }
.dev-media figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--fg-muted); }
.dev-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dev-card { padding: 22px; }
.dev-card h3 { font-size: 17px; margin-bottom: 8px; }
.dev-card p { color: var(--fg-soft); font-size: 14.5px; }

/* Каталог */
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.product { padding: 16px 18px 20px; transition: transform .16s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-3px); border-color: rgba(0, 229, 255, .45); }
.product img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; margin-bottom: 14px;
  background: rgba(255, 255, 255, .03);
}
.product h3 { font-size: 17px; margin-bottom: 7px; color: #fff; }
.product p { color: var(--fg-soft); font-size: 14.5px; }
.specs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-muted);
}
.specs li { background: rgba(0, 229, 255, .07); border: 1px solid rgba(0, 229, 255, .18); border-radius: 6px; padding: 3px 8px; }

/* Доставка */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 26px; }
.info-card h3 { font-size: 17px; margin-bottom: 10px; }
.info-card p { color: var(--fg-soft); font-size: 14.5px; }

/* Контакты */
.contacts-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.requisites { display: grid; gap: 18px; margin: 0; }
.requisites dt { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--neon-b); }
.requisites dd { margin: 5px 0 0; color: var(--fg); }

.contact-form { padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.hint { text-transform: none; letter-spacing: 0; color: var(--fg-muted); }
.field input, .field textarea {
  font: inherit; color: var(--fg); background: rgba(5, 6, 15, .8);
  border: 1px solid rgba(140, 170, 255, .22); border-radius: 10px; padding: 12px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: #545D7A; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--neon-b);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .18), 0 0 24px -6px rgba(0, 229, 255, .7);
}
.field textarea { min-height: 112px; resize: vertical; }
.checkbox { display: flex; gap: 10px; font-size: 13.5px; color: var(--fg-soft); }
.checkbox input { width: 17px; height: 17px; accent-color: var(--neon-b); margin-top: 3px; }
.form-note { font-family: var(--mono); font-size: 11.5px; color: var(--fg-muted); }

/* Подвал */
.site-footer {
  padding: 56px 0 44px;
  border-top: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(5, 6, 15, .6), rgba(5, 6, 15, .95)) padding-box,
    linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c)) border-box;
  border-image: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c)) 1;
}
.footer-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; }
.footer-brand .brand-name { color: #fff; font-size: 20px; }
.footer-brand p { margin-top: 10px; color: var(--fg-soft); font-size: 14.5px; }
.footer-legal p { font-size: 13.5px; color: var(--fg-muted); }
.footer-legal a { color: var(--fg-soft); }
.copyright { margin-top: 14px; }

@media (max-width: 980px) {
  .hero { padding: 62px 0 58px; }
  .hero-inner, .about-grid, .dev-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .cards-3 { grid-template-columns: 1fr; }
  .dev-cards { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 22px; }
  .phone { font-size: 11.5px; padding: 6px 10px; }
  .dev-cards { grid-template-columns: 1fr; }
  .hero-facts { gap: 26px; }
  .contact-form { padding: 18px; }
  .section { padding: 52px 0; }
}
