:root {
  --ink: #07111f;
  --ink-2: #0c2038;
  --blue: #006dff;
  --blue-2: #1aa8ff;
  --line: rgba(129, 178, 255, 0.22);
  --text: #dce9ff;
  --muted: #9fb5d1;
  --white: #ffffff;
  --panel: rgba(8, 22, 39, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(21, 95, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 95, 214, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(0, 109, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #040914 0%, #09182b 48%, #020711 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  min-height: 100vh;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #f7fbff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-panel {
  position: relative;
  width: min(420px, calc(100% - 32px));
  padding: 34px;
  overflow: hidden;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(0, 109, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 24, 72, 0.18);
}

.loader-logo {
  width: min(260px, 78vw);
  display: block;
  margin: 0 auto 18px;
}

.loader-panel p {
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scan 1.8s ease-in-out infinite;
}

.progress {
  height: 5px;
  overflow: hidden;
  background: #dce8f8;
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--ink), var(--blue));
  border-radius: inherit;
  animation: load 1.25s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(0, 109, 255, 0.16);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 58px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 9vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 18px 34px rgba(0, 109, 255, 0.28);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(3, 13, 28, 0.74);
  box-shadow: inset 0 0 70px rgba(0, 109, 255, 0.12);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  border-color: var(--blue);
  opacity: 0.8;
}

.hero-visual::before {
  top: 16px;
  left: 16px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.hero-visual::after {
  right: 16px;
  bottom: 16px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero-visual img {
  width: min(360px, 78vw);
  border-radius: 8px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.38));
}

.status-strip {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(26, 168, 255, 0.4);
  border-radius: 6px;
  background: rgba(2, 10, 22, 0.78);
  color: var(--muted);
}

.status-strip strong {
  color: #62ffb8;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band span {
  padding: 20px 12px;
  text-align: center;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.trust-band span + span {
  border-left: 1px solid var(--line);
}

.section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  width: min(740px, 100%);
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

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

.about-grid p,
.contact-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border: 1px solid rgba(26, 168, 255, 0.36);
  border-radius: 6px;
  color: var(--blue-2);
  font-weight: 800;
}

h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.08rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-content p {
  margin-top: 16px;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(26, 168, 255, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 109, 255, 0.2), rgba(7, 17, 31, 0.92));
}

.contact-card a {
  padding: 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
}

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

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes scan {
  0%, 100% { transform: translateY(-46px); opacity: 0; }
  20%, 80% { opacity: 1; }
  50% { transform: translateY(156px); }
}

@keyframes load {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

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

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

  .brand span {
    max-width: 145px;
    line-height: 1.1;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(3, 13, 28, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

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

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

  .hero {
    padding-top: 38px;
    gap: 28px;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
    padding: 18px;
  }

  .status-strip {
    right: 16px;
    bottom: 16px;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-band span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .section,
  .contact-section {
    padding: 64px 0;
  }
}
