:root {
  --ink: #071020;
  --muted: #566178;
  --surface: #ffffff;
  --line: rgba(17, 29, 56, 0.09);
  --hero: #040713;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  background:
    radial-gradient(circle at 50% 30%, rgba(49, 91, 255, 0.09), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(0, 105, 255, 0.18), transparent 31%),
    radial-gradient(circle at 88% 86%, rgba(130, 51, 255, 0.18), transparent 33%),
    linear-gradient(180deg, #030610 0%, #05091a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 123, 255, 0.7), transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  min-height: 70vh;
  padding: 54px 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 17px;
  box-shadow:
    0 14px 34px rgba(48, 91, 255, 0.25),
    0 0 0 1px rgba(255,255,255,0.14);
}

.hero-copy {
  margin: auto 0;
  max-width: 1000px;
}

.hero-copy h1 {
  margin: 32px 0 20px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.hero-copy h1 span {
  background: linear-gradient(100deg, #3291ff 2%, #5f63ff 48%, #a43cff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.7vw, 1.38rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.74);
}

.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 11px;
  margin-top: 28px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.2));
  position: relative;
}

.scroll-line::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: white;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.2;
}

.ambient-one {
  width: 350px;
  height: 350px;
  left: -90px;
  bottom: -200px;
  background: #006cff;
}

.ambient-two {
  width: 340px;
  height: 340px;
  right: -100px;
  bottom: -180px;
  background: #9c31ff;
}

.digital-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -3%;
  height: 34%;
  opacity: 0.85;
  pointer-events: none;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 70%;
  height: 180%;
  bottom: -115%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(70, 109, 255, 0.9) 0 1.2px, transparent 1.7px) 0 0 / 14px 14px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 0 8px rgba(34, 91, 255, 0.85));
}

.wave-left {
  left: -20%;
}

.wave-right {
  right: -20%;
  background:
    radial-gradient(circle, rgba(157, 64, 255, 0.92) 0 1.2px, transparent 1.7px) 0 0 / 14px 14px;
  transform: rotate(7deg);
  filter: drop-shadow(0 0 8px rgba(139, 46, 255, 0.85));
}

.wave-center {
  left: 15%;
  opacity: 0.45;
  transform: rotate(1deg);
}

.capabilities {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  padding: 48px 24px 26px;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 112, 255, 0.06), transparent 35%),
    #fff;
}

.capability-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.capability {
  padding: 22px 38px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.capability:last-child {
  border-right: none;
}

.icon-shell {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #eef3ff, #fbfcff);
  box-shadow: inset 0 0 0 1px rgba(75, 104, 255, 0.04);
}

.icon-shell svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #3262ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability h2,
.mission-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.capability p,
.mission-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.mission-card {
  position: relative;
  overflow: hidden;
  width: min(1120px, 100%);
  margin: 42px auto 0;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(98, 113, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(93, 92, 255, 0.11), rgba(54, 113, 255, 0.035) 60%, rgba(132, 57, 255, 0.08));
}

.mission-logo {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(63, 76, 226, 0.14);
}

.dot-pattern {
  margin-left: auto;
  width: 110px;
  height: 48px;
  opacity: 0.8;
  background: radial-gradient(circle, #5361ff 0 1.2px, transparent 1.8px) 0 0 / 18px 16px;
}

footer {
  padding: 30px 0 4px;
  text-align: center;
  color: #687187;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .hero,
  .hero-content {
    min-height: 72vh;
  }

  .hero-content {
    padding-top: 42px;
  }

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

  .capability {
    border-bottom: 1px solid var(--line);
  }

  .capability:nth-child(2) {
    border-right: none;
  }

  .capability:nth-child(3),
  .capability:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 620px) {
  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-bottom: 48px;
  }

  .brand {
    font-size: 1.4rem;
    gap: 12px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    line-height: 1.02;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .scroll-cue {
    display: none;
  }

  .digital-wave {
    height: 28%;
  }

  .capabilities {
    padding: 28px 18px 22px;
  }

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

  .capability {
    padding: 28px 16px;
    border-right: none;
    border-bottom: 1px solid var(--line) !important;
  }

  .capability:last-child {
    border-bottom: none !important;
  }

  .mission-card {
    align-items: flex-start;
    padding: 20px;
  }

  .dot-pattern {
    display: none;
  }
}
