:root {
  color-scheme: dark;
  --bg: #030506;
  --surface: #0a0f14;
  --surface-2: #101821;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #aeb9c5;
  --cyan: #15ecff;
  --blue: #1265ff;
  --green: #49e6b1;
  --max: 1180px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(21, 236, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 5%, rgba(73, 230, 177, 0.09), transparent 24rem),
    var(--bg);
  color: var(--text);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 250px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.64fr;
  gap: 36px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 118px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.35vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero__text {
  max-width: 710px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001018;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero__panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 15, 20, 0.82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero__panel div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.hero__panel div:last-child {
  border-bottom: 0;
}

.metric {
  color: var(--cyan);
  font-size: 28px;
  font-weight: 800;
}

.hero__panel p {
  margin: 0;
  color: #dce7f2;
  font-weight: 600;
  line-height: 1.45;
}

.hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.mesh {
  position: absolute;
  border: 1px solid rgba(21, 236, 255, 0.12);
  transform: rotate(-11deg);
}

.mesh-a {
  right: 8%;
  top: 18%;
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, rgba(18, 101, 255, 0.16), transparent 54%);
}

.mesh-b {
  left: 0;
  bottom: 8%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(73, 230, 177, 0.1), transparent 62%);
}

.signal-bars {
  position: absolute;
  right: 4%;
  top: 12%;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.18;
}

.signal-bars span {
  width: 32px;
  border-radius: 18px;
  background: linear-gradient(var(--cyan), var(--blue));
}

.signal-bars span:nth-child(1) { height: 90px; }
.signal-bars span:nth-child(2) { height: 170px; }
.signal-bars span:nth-child(3) { height: 235px; }
.signal-bars span:nth-child(4) { height: 135px; }

.section,
.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0;
}

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

.contact-section {
  padding-top: 0;
  border-top: 1px solid var(--line);
}

.contact__head {
  max-width: none;
  margin-bottom: 20px;
  padding-top: 58px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.card-index {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-weight: 800;
}

.service-card p,
.solution-item p,
.timeline p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.solution-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.solution-item:last-child {
  border-bottom: 0;
}

.partners-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners__head {
  max-width: 760px;
}

.partners__head .eyebrow {
  color: var(--cyan);
}

.partners__head p {
  color: var(--muted);
  line-height: 1.65;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 22px;
}

.logo-marquee.is-scrolling .logo-track {
  animation: logo-scroll 28s linear infinite;
}

.logo-marquee.is-static .logo-track {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.partner-logo {
  display: grid;
  place-items: center;
  flex: 0 0 190px;
  width: 190px;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
}

.partner-logo a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 145px;
  max-height: 54px;
  object-fit: contain;
}

.partner-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 30px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.process {
  padding-bottom: 70px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.timeline li {
  min-height: 210px;
  padding: 22px;
  border-top: 3px solid var(--cyan);
  background: var(--surface);
}

.timeline span {
  display: block;
  margin-bottom: 48px;
  font-size: 20px;
  font-weight: 800;
}

.contact {
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(21, 236, 255, 0.1), rgba(18, 101, 255, 0.05));
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce7f2;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font: inherit;
  padding: 14px 15px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(21, 236, 255, 0.72);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 220px;
}

.site-footer p {
  margin: 0;
}

.setup-banner,
.form-message {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.setup-banner {
  border-radius: 0;
  text-align: center;
  background: #10202a;
  color: var(--text);
}

.setup-banner a {
  color: var(--cyan);
  font-weight: 800;
}

.form-message {
  margin-top: 18px;
}

.form-message.success {
  border: 1px solid rgba(73, 230, 177, 0.35);
  background: rgba(73, 230, 177, 0.12);
  color: #c7ffe8;
}

.form-message.error {
  border: 1px solid rgba(255, 111, 111, 0.38);
  background: rgba(255, 111, 111, 0.1);
  color: #ffd0d0;
}

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

  .hero {
    min-height: auto;
  }

  .hero__panel {
    max-width: 560px;
  }

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

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .brand img {
    width: 208px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 5, 6, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .section,
  .contact,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .contact-section .contact {
    width: 100%;
  }

  .hero {
    padding-top: 58px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

  .card-index {
    margin-bottom: 24px;
  }

  .timeline span {
    margin-bottom: 34px;
  }

  .contact {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
