:root {
  --bg: #090b17;
  --bg2: #0f1324;
  --card: #151a2d;
  --card2: #1a2036;
  --line: rgba(100, 130, 255, 0.16);
  --text: #eef4ff;
  --muted: #9eabc7;
  --blue: #55b8ff;
  --cyan: #4dd5ff;
  --violet: #7a2cff;
  --radius: 22px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#neural-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.top-line,
.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(122, 44, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #090b17 0%, #060811 100%);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.top-line {
  height: 8px;
  background: linear-gradient(90deg, #6f19ff 0%, #812cff 40%, #55b8ff 100%);
  box-shadow: 0 0 22px rgba(122, 44, 255, 0.35);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 11, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(85, 184, 255, 0.28);
}

.brand-icon-image {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(85, 184, 255, 0.18);
}

@media (max-width: 420px) {
  .brand-icon-image {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}


.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  color: var(--text);
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  color: var(--muted);
  font-weight: 500;
}

.menu a:hover {
  color: var(--text);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #8fdcff;
  background: rgba(85, 184, 255, 0.08);
  border: 1px solid rgba(85, 184, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 100%;
}

.hero h1,
.section-head h2,
.cta h2 {
  color: var(--text);
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 760px;
}

.hero-text {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
  box-shadow: 0 12px 30px rgba(85, 184, 255, 0.18);
}

.menu .btn-primary {
  color: #ffffff !important;
}

.btn-primary:hover {
  color: #ffffff !important;
  transform: scale(1.06);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: #d7e0f5;
  font-size: 14px;
}

.card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-shot {
  padding: 14px;
}

.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
}

.section {
  padding: 44px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.info-grid,
.features-grid,
.screens-grid,
.contacts-grid {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screens-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.contacts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.feature-card,
.contact-card {
  padding: 22px;
}

.info-card h3,
.feature-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.info-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
}

.num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(77,213,255,0.18), rgba(122,44,255,0.18));
  border: 1px solid rgba(85, 184, 255, 0.18);
  color: #93dcff;
  font-weight: 800;
}

.screen-card {
  padding: 14px;
  overflow: hidden;
}

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  background: #0b0e18;
}

.screen-caption {
  padding: 14px 4px 4px;
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.cta {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, rgba(85,184,255,0.12), rgba(122,44,255,0.16));
}

.cta-content {
  min-width: 0;
}

.cta p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.cta-button {
  flex-shrink: 0;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-card strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.3;
  word-break: break-word;
}

.footer {
  padding: 18px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--muted);
}

.footer-logo {
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

/* tablet */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-shot {
    max-width: 560px;
    margin: 0 auto;
  }

  .info-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* mobile */
@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .nav {
    min-height: 72px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .burger {
    display: inline-block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 14px;
    background: rgba(9, 11, 23, 0.98);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
  }

  .menu .btn {
    width: 100%;
  }

  .hero {
    padding: 36px 0 24px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-content {
    order: 1;
  }

  .hero-shot {
    order: 2;
    padding: 10px;
  }

  .chip {
    font-size: 11px;
    letter-spacing: 0.04em;
    min-height: 34px;
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.04;
    margin: 16px 0 14px;
  }

  .hero-text,
  .section-head p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .section {
    padding: 32px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: 30px;
    margin: 14px 0 10px;
  }

  .info-grid,
  .features-grid,
  .screens-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .feature-card,
  .contact-card {
    padding: 18px;
  }

  .info-card h3,
  .feature-card h3 {
    font-size: 20px;
  }

  .screen-card {
    padding: 10px;
  }

  .screen-caption {
    padding: 12px 4px 2px;
    font-size: 15px;
  }

  .cta {
    padding: 20px;
    gap: 18px;
  }

  .cta h2 {
    font-size: 28px;
    line-height: 1.1;
    margin: 14px 0 10px;
  }

  .cta-button {
    width: 100%;
  }

  .contact-card strong {
    font-size: 18px;
  }

  .footer {
    padding: 12px 0 30px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 12px;
  }
}

/* small mobile */
@media (max-width: 420px) {
  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text span {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .screen-caption {
    font-size: 14px;
  }
}