:root {
  --bg: #eef3f9;
  --ink: #07111f;
  --muted: #64748b;
  --card: #ffffff;
  --line: #d7e0eb;
  --blue: #0057c2;
  --blue-dark: #003d8a;
  --green: #148a42;
  --soft-blue: #e8f1ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 80px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 14px 14px 16px;
  border-bottom: 1px solid rgba(215, 224, 235, 0.9);
  background: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.topbar.is-scrolled {
  box-shadow: 0 10px 30px rgba(7, 17, 31, 0.08);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.brand-name {
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 0.9;
}

.brand-line {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(100%, 380px);
}

.nav a {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: #3d4b5f;
  font-size: 0.9rem;
  font-weight: 900;
}

.hero,
.info-strip,
.section,
.contact-section,
.footer {
  width: min(100% - 24px, 1120px);
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 24px;
  padding: 26px 0 18px;
}

.hero-content {
  padding: 28px 20px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 87, 194, 0.92), rgba(7, 17, 31, 0.98)),
    var(--ink);
  color: #ffffff;
  text-align: center;
}

.label {
  margin: 0 0 10px;
  color: #6bd6ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 10vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 7vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 620px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.58;
}

.hero-actions,
.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.btn-primary {
  background: #ffffff;
  color: var(--blue-dark);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-card .btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.contact-card .btn-light {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.device-card {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 26px 18px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  overflow: hidden;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: auto -20% 0;
  height: 110px;
  background: var(--soft-blue);
}

.device-screen {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  aspect-ratio: 16 / 10;
  padding: 18px;
  border: 10px solid #111827;
  border-bottom-width: 18px;
  border-radius: 8px 8px 5px 5px;
  background:
    radial-gradient(circle at top right, rgba(107, 214, 255, 0.35), transparent 42%),
    linear-gradient(135deg, #06101e, #123769);
  box-shadow: 0 26px 46px rgba(7, 17, 31, 0.18);
}

.device-logo {
  display: block;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 900;
}

.scan-line {
  display: block;
  width: 52%;
  height: 8px;
  margin-top: 32px;
  border-radius: 99px;
  background: #6bd6ff;
}

.device-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.device-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.device-base {
  position: relative;
  z-index: 1;
  width: min(420px, 96%);
  height: 26px;
  border-radius: 4px 4px 16px 16px;
  background: linear-gradient(180deg, #dbe4ef, #aebccc);
}

.status-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(320px, 100%);
  margin-top: -6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(7, 17, 31, 0.12);
  text-align: center;
}

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

.info-strip {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.info-strip div,
.services-grid article,
.process-list div,
.models,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.info-strip div {
  padding: 16px;
  text-align: center;
}

.info-strip strong {
  display: block;
  margin-bottom: 5px;
}

.info-strip span,
.services-grid p,
.address {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 36px 0;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 18px;
  text-align: center;
}

.section-head .label,
.models .label,
.contact-card .label {
  color: var(--blue);
}

.services-grid {
  display: grid;
  gap: 10px;
}

.services-grid article {
  padding: 18px;
}

.services-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.process {
  padding-top: 16px;
}

.compact {
  margin-bottom: 14px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.process-list div {
  display: grid;
  gap: 8px;
  min-height: 90px;
  place-items: center;
  padding: 14px;
  text-align: center;
}

.process-list strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
}

.process-list span {
  font-weight: 900;
}

.models {
  display: grid;
  gap: 18px;
  padding: 22px;
  text-align: center;
}

.model-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.model-pills span {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: #334155;
  font-weight: 900;
}

.contact-section {
  padding: 10px 0 26px;
}

.contact-card {
  padding: 24px 18px;
  text-align: center;
}

.address {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  font-size: 1.05rem;
}

.footer {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.bottom-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.bottom-bar a {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.bottom-bar a:last-child {
  background: var(--green);
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .topbar {
    grid-template-columns: 1fr auto 1fr;
    padding: 16px 5%;
  }

  .brand {
    grid-column: 2;
  }

  .nav {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    align-items: stretch;
    gap: 16px;
    padding: 34px 0 20px;
  }

  .hero-content {
    display: grid;
    align-content: center;
    min-height: 520px;
    padding: 44px;
    text-align: left;
  }

  .hero-copy {
    margin-left: 0;
  }

  .hero-actions,
  .contact-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
    min-width: 160px;
  }

  .device-card {
    min-height: 520px;
  }

  .info-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .section {
    padding: 58px 0;
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .models {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    padding: 32px;
    text-align: left;
  }

  .model-pills {
    justify-content: flex-end;
  }

  .contact-card {
    padding: 40px;
  }

  .bottom-bar {
    display: none;
  }

  .footer {
    padding-bottom: 34px;
  }
}

@media (min-width: 1060px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
