:root {
  --bg: #eef5ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(249, 252, 255, 0.96);
  --surface-dark: #081737;
  --text: #071633;
  --muted: #46607f;
  --line: rgba(31, 95, 191, 0.14);
  --primary: #0a4fd3;
  --primary-dark: #041d67;
  --secondary: #1791ff;
  --accent: #6dbbff;
  --shadow: 0 30px 90px rgba(16, 64, 145, 0.14);
  --shadow-soft: 0 14px 36px rgba(20, 76, 164, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(23, 145, 255, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(10, 79, 211, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eaf3ff 46%, #f3f8ff 100%);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(71, 131, 220, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 131, 220, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 78%);
  pointer-events: none;
  opacity: 0.7;
}

.grid-radiance {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 145, 255, 0.15), transparent 0 28%),
    radial-gradient(circle at 85% 18%, rgba(10, 79, 211, 0.12), transparent 0 24%),
    radial-gradient(circle at 70% 72%, rgba(109, 187, 255, 0.16), transparent 0 22%);
  pointer-events: none;
  animation: driftGlow 14s ease-in-out infinite alternate;
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: floatField 14s ease-in-out infinite;
}

.ambient-one {
  top: -10rem;
  left: -8rem;
  background: rgba(6, 69, 190, 0.22);
}

.ambient-two {
  right: -10rem;
  top: 18rem;
  background: rgba(23, 145, 255, 0.18);
  animation-delay: -5s;
}

.ambient-three {
  left: 24%;
  bottom: -12rem;
  background: rgba(109, 187, 255, 0.2);
  animation-delay: -9s;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 6px 6px;
  border-radius: 18px;
}

.brand-logo,
.hero-logo {
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
  filter: drop-shadow(0 16px 28px rgba(10, 79, 211, 0.2));
}

.brand-logo {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(23, 145, 255, 0.14);
  background: #fff;
}

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  border: 1px solid rgba(23, 145, 255, 0.14);
  background: #fff;
}

.brand p,
.brand span,
.eyebrow,
.hero-card,
.service-card p,
.value-card p,
.contact-card p {
  margin: 0;
}

.brand p {
  font-weight: 800;
  font-size: 1.06rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  align-items: center;
  flex: 1;
}

.eyebrow {
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.cta-banner h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  margin: 12px 0;
}

.hero-brandline {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  padding: 14px 18px 14px 14px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 145, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.hero-brandtext {
  display: grid;
  gap: 6px;
}

.hero-brandtext strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-brandtext span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span,
.cta-detail span,
.value-tag,
.service-index,
.signal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-trust span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 145, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  box-shadow: 0 20px 42px rgba(10, 79, 211, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.hero-stats div,
.hero-card,
.service-card,
.value-card,
.contact-card,
.cta-banner {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 249, 255, 0.78));
}

.hero-stats strong,
.service-card h3,
.value-card h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero-stats span,
.service-card p,
.value-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.96), rgba(255, 255, 255, 0.92)),
    #fff;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(23, 145, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(10, 79, 211, 0.14), transparent 32%);
  pointer-events: none;
}

.hero-card-top,
.hero-metrics,
.capability-list {
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hero-card-top h3 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.hero-pixels {
  position: absolute;
  top: 32px;
  right: 26px;
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 8px;
  z-index: 1;
}

.hero-pixels span {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  animation: pixelPulse 2.8s ease-in-out infinite;
}

.hero-pixels span:nth-child(2) { animation-delay: 0.25s; }
.hero-pixels span:nth-child(3) { animation-delay: 0.5s; }
.hero-pixels span:nth-child(4) { animation-delay: 0.75s; }
.hero-pixels span:nth-child(5) { animation-delay: 1s; }
.hero-pixels span:nth-child(6) { animation-delay: 1.25s; }

.card-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.signal-badge {
  padding: 10px 14px;
  background: rgba(4, 29, 103, 0.94);
  color: #eff6ff;
}

.hero-orbit {
  position: relative;
  z-index: 1;
  height: 240px;
  margin: 22px 0 12px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(237, 246, 255, 0.74) 46%, transparent 47%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 246, 255, 0.5));
  border: 1px solid rgba(23, 145, 255, 0.12);
  overflow: hidden;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(23, 145, 255, 0.16);
}

.hero-orbit::before {
  inset: 38px;
}

.hero-orbit::after {
  inset: 74px;
}

.orbit-core,
.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.orbit-core {
  inset: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  box-shadow: 0 16px 36px rgba(10, 79, 211, 0.28);
}

.orbit-node {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  animation: bob 5.6s ease-in-out infinite;
}

.orbit-node-one {
  top: 30px;
  left: 50%;
  margin-left: -29px;
}

.orbit-node-two {
  bottom: 44px;
  left: 46px;
}

.orbit-node-three {
  bottom: 44px;
  right: 46px;
}

.orbit-node-two {
  animation-delay: -1.8s;
}

.orbit-node-three {
  animation-delay: -3s;
}

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

.hero-metrics div,
.capability-list article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 145, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.hero-metrics span,
.capability-list span {
  color: var(--muted);
  line-height: 1.6;
}

.capability-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.capability-list strong {
  display: block;
  margin-bottom: 8px;
}

.card-pulse {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef6ff;
}

.card-pulse span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f6ff0;
  box-shadow: 0 0 0 10px rgba(15, 111, 240, 0.14);
}

.card-pulse p {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 52px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

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

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

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

.service-card,
.value-card,
.contact-card,
.cta-banner {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.service-card,
.value-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(34, 24, 17, 0.14);
}

.service-card:hover::before,
.value-card:hover::before {
  transform: scaleX(1);
}

.service-index,
.value-tag {
  margin: 0 0 18px;
  padding: 8px 12px;
  width: fit-content;
  color: var(--primary-dark);
  background: rgba(10, 79, 211, 0.08);
  border: 1px solid rgba(10, 79, 211, 0.14);
}

.value-tag {
  color: var(--secondary);
  background: rgba(23, 145, 255, 0.08);
  border-color: rgba(23, 145, 255, 0.14);
}

.section-accent .value-card {
  background: rgba(247, 251, 255, 0.9);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 145, 255, 0.14), rgba(10, 79, 211, 0.08));
  border: 1px solid rgba(23, 145, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

.code-icon::before {
  inset: 18px 14px;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg);
}

.code-icon::after {
  inset: 18px 14px;
  border-right: 3px solid var(--secondary);
  border-top: 3px solid var(--secondary);
  transform: rotate(45deg);
}

.ai-icon::before {
  width: 12px;
  height: 12px;
  top: 12px;
  left: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    -10px 16px 0 -1px rgba(10, 79, 211, 0.9),
    10px 16px 0 -1px rgba(23, 145, 255, 0.9),
    0 26px 0 -1px rgba(4, 29, 103, 0.9);
}

.ai-icon::after {
  inset: 17px;
  border: 2px solid rgba(23, 145, 255, 0.5);
  border-radius: 50%;
}

.cloud-icon::before {
  left: 11px;
  top: 22px;
  width: 30px;
  height: 14px;
  border: 3px solid var(--secondary);
  border-top: none;
  border-radius: 0 0 14px 14px;
}

.cloud-icon::after {
  left: 13px;
  top: 12px;
  width: 26px;
  height: 18px;
  border: 3px solid var(--primary);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
}

.shield-icon::before {
  left: 15px;
  top: 10px;
  width: 22px;
  height: 28px;
  border: 3px solid var(--primary-dark);
  border-radius: 14px 14px 10px 10px;
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}

.shield-icon::after {
  left: 24px;
  top: 22px;
  width: 5px;
  height: 11px;
  background: var(--secondary);
  border-radius: 999px;
  box-shadow: 0 -8px 0 0 var(--secondary);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(10, 79, 211, 0.12), rgba(23, 145, 255, 0.16)),
    var(--surface-strong);
}

.cta-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-detail span {
  padding: 10px 14px;
  color: #eef6ff;
  background: rgba(4, 29, 103, 0.92);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(160deg, rgba(249, 252, 255, 0.92), rgba(255, 255, 255, 0.74)),
    var(--surface);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
}

.contact-address {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.contact-form {
  min-width: min(100%, 440px);
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 145, 255, 0.12);
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(23, 145, 255, 0.18);
  border-color: rgba(23, 145, 255, 0.5);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--secondary);
  font-weight: 700;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 20;
  min-width: 86px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(10, 79, 211, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -1.5%, 0) scale(1.04);
  }
}

@keyframes floatField {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-22px) translateX(12px);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pixelPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-4px) scale(1.12);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-content,
  .grid-four,
  .grid-three,
  .contact-card,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .contact-card,
  .cta-banner {
    justify-content: stretch;
  }

  .hero-card-top {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

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

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-brandline {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-logo {
    width: 112px;
    height: 112px;
  }

  .hero-orbit {
    height: 220px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .scroll-top {
    right: 14px;
    bottom: 16px;
    min-width: 78px;
  }
}
