:root {
  --bg: #030713;
  --bg-soft: #07101f;
  --panel: rgba(10, 20, 37, 0.8);
  --panel-strong: rgba(13, 28, 50, 0.95);
  --text: #f2f5f9;
  --muted: #bac3d1;
  --metal: #e7ebf1;
  --line: rgba(116, 171, 236, 0.2);
  --line-strong: rgba(47, 154, 255, 0.48);
  --cyan: #45cfff;
  --cyan-dark: #087bb8;
  --blue: #1456d9;
  --green: #52e5a6;
  --amber: #ffc75f;
  --violet: #a9a0ff;
  --danger: #ff8a8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(48, 129, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 20%, rgba(69, 207, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #030611 0%, var(--bg) 42%, #060b14 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

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

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  min-width: 0;
  max-width: 214px;
}

.brand-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(56, 217, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 68px));
  padding: 42px 0 58px;
  display: flex;
  align-items: flex-start;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(120, 190, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: start;
  gap: 48px;
}

.hero-copy {
  padding-top: 12px;
}

.eyebrow {
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  font-weight: 850;
}

.hero-logo-wrap {
  width: min(100%, 430px);
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-slogan {
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-lead {
  margin-top: 20px;
  max-width: 650px;
  color: var(--metal);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.35;
}

.hero-support {
  margin-top: 18px;
  max-width: 690px;
  font-size: 1.03rem;
}

.hero-actions,
.cta-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 750;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #124fc8 0%, #087bb8 48%, #0aa4d8 100%);
  border-color: rgba(110, 214, 255, 0.68);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0 14px 32px rgba(20, 86, 217, 0.24);
}

.btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1a61e4 0%, #0a88c8 50%, #0db8e8 100%);
  border-color: rgba(159, 231, 255, 0.82);
}

.btn-secondary {
  color: var(--text);
  background: rgba(231, 235, 241, 0.07);
  border-color: rgba(231, 235, 241, 0.22);
}

.btn-secondary:hover {
  color: #ffffff;
  background: rgba(69, 207, 255, 0.1);
  border-color: rgba(116, 171, 236, 0.52);
}

.tech-panel {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(56, 217, 255, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(11, 25, 43, 0.88), rgba(5, 12, 24, 0.74));
  box-shadow: var(--shadow);
}

.tech-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 220, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 220, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.panel-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 18px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
}

.panel-topline span:last-child {
  color: var(--green);
}

.panel-orbit {
  position: absolute;
  inset: 104px 76px;
  border: 1px solid rgba(56, 217, 255, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(56, 217, 255, 0.08), 0 0 60px rgba(56, 217, 255, 0.08);
}

.panel-orbit::before,
.panel-orbit::after {
  content: "";
  position: absolute;
  inset: 38px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.panel-orbit::after {
  inset: 92px;
  background: radial-gradient(circle, rgba(56, 217, 255, 0.55), transparent 60%);
  border-style: solid;
}

.mini-card {
  position: absolute;
  z-index: 3;
  width: min(220px, 42%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(12px);
}

.mini-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.mini-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.card-groups { top: 78px; left: 34px; }
.card-flow { top: 158px; right: 30px; }
.card-scanner { bottom: 116px; left: 48px; }
.card-electric { right: 42px; bottom: 48px; }

.section {
  padding: 86px 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta-box h2,
.content-block h2,
.contact-info h2,
.legal-content h2 {
  margin-top: 10px;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}

.grid {
  display: grid;
  gap: 18px;
}

.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.feature-card,
.project-card,
.value-card,
.solution-card,
.project-detail-card,
.content-block,
.contact-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.feature-card,
.project-card,
.project-detail-card,
.content-block,
.contact-info,
.contact-form {
  padding: 24px;
}

.feature-card,
.project-card,
.project-detail-card,
.solution-card {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover,
.project-card:hover,
.project-detail-card:hover,
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--panel-strong);
}

.feature-card h3,
.project-card h3,
.project-detail-card h2,
.solution-card h2 {
  color: var(--text);
  font-size: 1.18rem;
}

.feature-card p,
.project-card p,
.project-detail-card p,
.solution-card p {
  margin-top: 12px;
}

.value-card {
  min-height: 116px;
  display: flex;
  align-items: center;
  padding: 22px;
  color: var(--text);
  font-weight: 750;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-dev {
  color: var(--green);
  border-color: rgba(82, 229, 166, 0.42);
  background: rgba(82, 229, 166, 0.09);
}

.status-planned {
  color: var(--cyan);
  border-color: rgba(56, 217, 255, 0.38);
  background: rgba(56, 217, 255, 0.09);
}

.status-idea {
  color: var(--violet);
  border-color: rgba(169, 160, 255, 0.38);
  background: rgba(169, 160, 255, 0.09);
}

.status-test {
  color: var(--amber);
  border-color: rgba(255, 199, 95, 0.42);
  background: rgba(255, 199, 95, 0.09);
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 44px);
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 217, 255, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(12, 24, 42, 0.94), rgba(7, 14, 27, 0.96));
  box-shadow: var(--shadow);
}

.cta-box > div {
  max-width: 720px;
}

.cta-box p {
  margin-top: 12px;
}

.page-hero {
  position: relative;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero p:last-child {
  margin-top: 18px;
  font-size: 1.1rem;
}

.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.content-block p + p {
  margin-top: 14px;
}

.solution-list {
  display: grid;
  gap: 22px;
}

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

.solution-card {
  position: relative;
  min-height: 100%;
  padding: clamp(22px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--panel);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--cyan), rgba(20, 86, 217, 0.18));
}

.solution-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.solution-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.clean-list {
  display: grid;
  gap: 8px;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(56, 217, 255, 0.5);
}

.note,
.category {
  border-left: 3px solid var(--cyan);
  padding-left: 14px;
}

.note {
  margin-top: 16px;
  color: #d4dce8;
}

.roadmap-grid {
  align-items: stretch;
}

.project-detail-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-color: rgba(116, 171, 236, 0.24);
  background:
    linear-gradient(135deg, rgba(20, 86, 217, 0.13), transparent 38%),
    rgba(8, 17, 32, 0.86);
}

.project-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(20, 86, 217, 0.25), transparent);
}

.project-detail-card h2 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.project-detail-card .clean-list {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.project-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.project-meta .category {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(116, 171, 236, 0.28);
  border-left: 3px solid var(--cyan);
  border-radius: 999px;
  padding: 0 12px;
  color: #dbe4f1;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-info {
  align-self: start;
}

.contact-info p {
  margin-top: 14px;
}

.contact-info .btn {
  margin-top: 24px;
  color: #ffffff;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(56, 217, 255, 0.42);
  border-color: transparent;
}

.form-message {
  min-height: 28px;
  color: var(--green);
  font-weight: 700;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-top: 10px;
}

.legal-content a,
.contact-info a {
  color: var(--cyan);
}

.contact-info a.btn {
  color: #ffffff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030711;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 1fr;
  gap: 32px;
  padding: 54px 0 36px;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-brand {
  margin-bottom: 14px;
  max-width: 210px;
}

.footer-brand img {
  height: 46px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .three,
  .four,
  .five,
  .two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .tech-panel {
    min-height: 420px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 9, 18, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: var(--radius);
    justify-content: center;
  }

  .hero,
  .section,
  .page-hero {
    padding-block: 56px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-logo-wrap {
    width: min(100%, 292px);
    padding: 0;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 1.12rem;
  }

  .hero-support {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .three,
  .four,
  .five,
  .two {
    grid-template-columns: 1fr;
  }

  .tech-panel {
    min-height: 300px;
  }

  .panel-orbit {
    inset: 82px 48px;
  }

  .panel-orbit::before {
    inset: 28px;
  }

  .panel-orbit::after {
    inset: 66px;
  }

  .mini-card {
    width: 44%;
    padding: 10px;
  }

  .card-groups { top: 58px; left: 16px; }
  .card-flow { top: 116px; right: 14px; }
  .card-scanner { bottom: 72px; left: 16px; }
  .card-electric { right: 14px; bottom: 22px; }

  .cta-box {
    align-items: flex-start;
  }

  .project-detail-card .clean-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    max-width: 170px;
  }

  .brand-logo img {
    height: 40px;
  }

  .hero-actions,
  .cta-box {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .tech-panel {
    min-height: 280px;
  }

  .mini-card {
    width: 47%;
    font-size: 0.82rem;
  }

  .mini-card span {
    font-size: 0.68rem;
  }
}
