:root {
  --bg: #08111d;
  --bg-soft: #0d1d31;
  --card: #11233a;
  --card-2: #152b46;
  --text: #e9f2ff;
  --muted: #9db1c9;
  --accent: #2fd1ff;
  --accent-2: #88f0ff;
  --line: rgba(157, 177, 201, 0.2);
  --shadow: 0 12px 30px rgba(2, 10, 18, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background-color: #07121f;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='62.352' viewBox='0 0 72 62.352'%3E%3Cg fill='none' stroke='rgba(136%2C240%2C255%2C0.11)' stroke-width='0.7'%3E%3Cpath d='M18 0 L36 10.392 L36 31.176 L18 41.568 L0 31.176 L0 10.392 Z'/%3E%3Cpath d='M54 20.784 L72 31.176 L72 51.96 L54 62.352 L36 51.96 L36 31.176 Z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 0%, rgba(31, 74, 118, 0.5) 0%, rgba(31, 74, 118, 0) 45%),
    radial-gradient(circle at 50% 100%, rgba(31, 74, 118, 0.45) 0%, rgba(31, 74, 118, 0) 42%),
    linear-gradient(to bottom, #173658 0%, #050d18 48%, #153657 100%);
  background-size: 72px 62.352px, auto, auto, auto;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 120;
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 35, 58, 0.55);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand span {
  font-size: 1.3rem;
}

.brand img {
  width: clamp(52px, 6vw, 58px);
  height: clamp(52px, 6vw, 58px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--accent-2);
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 36px;
  padding: 0;
  position: relative;
}

.burger span {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 17px; }
.burger span:nth-child(3) { top: 24px; }

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 6vw, 6rem) 0 3.2rem;
  min-height: 82vh;
  display: grid;
  align-items: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.85rem;
}

.hero-title {
  position: relative;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  animation: pulseScale 3.6s ease-in-out infinite;
  text-shadow: 0 0 14px rgba(47, 209, 255, 0.36), 0 0 30px rgba(47, 209, 255, 0.2);
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: transparent;
  border-right: 2px solid rgba(136, 240, 255, 0.9);
  text-shadow: 0 0 20px rgba(136, 240, 255, 0.75);
  animation: neonTrail 4.8s steps(28, end) infinite;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.hero-subtitle {
  color: var(--muted);
  margin: 1.2rem 0 2rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  color: #05121e;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(47, 209, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 28px rgba(47, 209, 255, 0.35);
}

.cta-small {
  min-height: 40px;
  border: 0;
  cursor: pointer;
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 35, 58, 0.55);
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  padding: 0.8rem 0;
  min-width: 100%;
  animation: tickerMove 28s linear infinite;
}

.ticker-track span {
  color: var(--accent-2);
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
}

.ticker-track span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  line-height: 1.15;
}

.section-head p,
.muted {
  margin: 0;
  color: var(--muted);
}

.about-grid,
.grid-benefits,
.products-grid {
  display: grid;
  gap: 1rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.product-card,
.panel,
.contact-card {
  background: linear-gradient(150deg, rgba(21, 43, 70, 0.94), rgba(13, 29, 49, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  box-shadow:
    0 14px 30px rgba(2, 10, 18, 0.42),
    0 0 0 1px rgba(196, 232, 255, 0.08),
    0 0 20px rgba(196, 232, 255, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.product-card:hover,
.panel:hover,
.contact-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(136, 240, 255, 0.48);
  box-shadow:
    0 22px 36px rgba(4, 16, 30, 0.55),
    0 0 0 1px rgba(136, 240, 255, 0.48),
    0 0 26px rgba(47, 209, 255, 0.45),
    0 0 50px rgba(47, 209, 255, 0.22);
}

.card h3,
.panel h3,
.product-card h3,
.contact-card h3,
.contact-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p,
.panel p,
.product-card p,
.product-card li,
.contact-card li {
  color: var(--muted);
}

.panel {
  margin-top: 1rem;
}

.section-benefits {
  background: linear-gradient(180deg, rgba(8, 17, 29, 0), rgba(20, 41, 66, 0.48), rgba(8, 17, 29, 0));
}

.product-card ul {
  margin: 0;
  padding-left: 1rem;
}

.tech-panel {
  margin-top: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.tech-table th,
.tech-table td {
  border: 1px solid rgba(157, 177, 201, 0.25);
  padding: 0.65rem 0.6rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.92rem;
}

.tech-table th {
  color: var(--text);
  background: rgba(6, 13, 22, 0.55);
}

.areas-list {
  margin: 0;
  padding-left: 1rem;
}

.areas-list li {
  color: var(--muted);
}

.areas-list li + li {
  margin-top: 0.45rem;
}

.contacts-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li + li {
  margin-top: 0.55rem;
}

.contact-list a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-shadow 0.2s ease;
}

.contact-list a:hover {
  color: #c8f7ff;
  text-decoration-color: currentColor;
  text-shadow: 0 0 10px rgba(47, 209, 255, 0.45);
}

.contact-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(157, 177, 201, 0.4);
  border-radius: 12px;
  background: rgba(7, 16, 27, 0.7);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 209, 255, 0.2);
}

.form-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.map-wrap {
  width: min(1140px, calc(100% - 2rem));
  margin: 1rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 330px;
  border: 0;
  filter: grayscale(1) saturate(0.55) hue-rotate(165deg) contrast(0.9) brightness(0.82);
}

.neon-sweep {
  position: relative;
  display: inline-block;
  animation: pulseScale 3.6s ease-in-out infinite;
  text-shadow: 0 0 14px rgba(47, 209, 255, 0.36), 0 0 30px rgba(47, 209, 255, 0.2);
}

.neon-sweep::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: transparent;
  border-right: 2px solid rgba(136, 240, 255, 0.9);
  text-shadow: 0 0 20px rgba(136, 240, 255, 0.75);
  animation: neonTrail 4.8s steps(28, end) infinite;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.footer {
  padding: 1.1rem 0 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes neonTrail {
  0% { width: 0; opacity: 0.9; }
  35% { width: 100%; opacity: 1; }
  50% { width: 100%; opacity: 0; }
  100% { width: 0; opacity: 0; }
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@media (max-width: 1024px) {
  .about-grid,
  .grid-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid,
  .contacts-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 1rem;
    left: 1rem;
    background: rgba(6, 13, 22, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem;
    display: grid;
    gap: 0.2rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3.4rem;
  }

  .hero-title::after {
    display: none;
  }

  .neon-sweep::after {
    display: none;
  }

  .about-grid,
  .grid-benefits {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
