:root {
  --bg: #02061c;
  --panel: #07154a;
  --panel2: #0a1f72;
  --blue: #0067ff;
  --blue2: #18b5ff;
  --cyan: #00aeea;
  --ochre: #d6a21f;
  --text: #fff;
  --muted: #a9b9e8;
  --line: rgba(92, 137, 255, .28);
  --green: #00a979;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.hero {
  min-height: 94vh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 76% 18%, rgba(0, 103, 255, .42), transparent 32%), linear-gradient(135deg, #06146b 0%, #02061c 58%, #00020b 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 86px, rgba(0, 70, 255, .06) 87px 88px), repeating-linear-gradient(90deg, transparent 0 180px, rgba(0, 70, 255, .04) 181px 182px);
  opacity: .65;
}

.hero:after {
  content: "<HM4AI>   <CODEX>   <FLUTTER>   <REST>";
  position: absolute;
  top: 148px;
  left: 4vw;
  right: 0;
  color: rgba(15, 83, 255, .12);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 10px;
  white-space: nowrap;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 190px;
  max-width: 34vw;
  height: auto;
  border-radius: 8px;
}

.navlinks {
  display: flex;
  gap: 28px;
  color: #d9e5ff;
  font-weight: 700;
}

.navlinks a {
  opacity: .86;
}

.navlinks a:hover {
  opacity: 1;
  color: #fff;
}

.nav-cta,
.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
}

.nav-cta {
  background: rgba(0, 103, 255, .22);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 62px 8vw 126px;
}

.eyebrow {
  display: inline-flex;
  color: #82adff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(70px, 10vw, 140px);
  line-height: .82;
  margin: 0;
  letter-spacing: -.08em;
}

.logo-two {
  color: var(--blue);
  display: inline-block;
  font-size: 1.12em;
  letter-spacing: 0;
  margin: 0 .03em;
  text-shadow: 0 0 32px rgba(0, 103, 255, .62);
}

.hero h2 {
  color: var(--ochre);
  font-size: clamp(34px, 5vw, 68px);
  line-height: .96;
  margin: 8px 0 26px;
  letter-spacing: -.06em;
}

.lead {
  font-size: 22px;
  line-height: 1.55;
  color: #dce7ff;
  max-width: 820px;
}

.lead-statement,
.lead-platform-line {
  display: block;
  color: var(--blue);
}

.lead-statement {
  margin-top: 16px;
  font-weight: 800;
}

.lead-platform-line {
  color: var(--text);
  margin-top: 8px;
  font-style: italic;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.badges span,
.mini-grid span {
  border: 1px solid rgba(24, 181, 255, .35);
  background: rgba(0, 103, 255, .16);
  color: #e7f5ff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.primary {
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  box-shadow: 0 0 34px rgba(0, 103, 255, .44);
}

.ghost {
  background: rgba(255, 255, 255, .06);
}

.hero-card {
  border: 1px solid var(--line);
  background: rgba(3, 12, 48, .74);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.terminal-title {
  color: #9fb9ff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  font-weight: 800;
}

.terminal-title span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  margin-right: 7px;
  opacity: .8;
}

.hero-card pre {
  font-size: 18px;
  line-height: 1.9;
  color: #ecf3ff;
  white-space: pre-wrap;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.strip div {
  background: #030b2b;
  padding: 34px 6vw;
}

.strip strong {
  display: block;
  font-size: 24px;
}

.strip span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}

.section {
  padding: 105px 8vw;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.reverse {
  grid-template-columns: 1.1fr .9fr;
}

.section h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -.05em;
}

.section p {
  font-size: 18px;
  line-height: 1.75;
  color: #c7d6ff;
}

.visual {
  background: linear-gradient(180deg, #02061c, #041044);
}

.section-title {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 46px;
}

.architecture-slideshow,
.architecture-slide img,
.image-panel img,
.product-shot img {
  width: 100%;
  display: block;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .36);
}

.architecture-slideshow {
  position: relative;
  aspect-ratio: 1200 / 720;
  overflow: hidden;
  background: #02061c;
}

.architecture-slide img {
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  z-index: 0;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.figma-flow-slide {
  overflow: hidden;
  background: #02061c;
}

.figma-flow-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 6, 28, .14), rgba(2, 6, 28, .4));
}

.flow-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.flow-copy {
  position: absolute;
  bottom: 34px;
  left: 34px;
  right: 34px;
  z-index: 4;
}

.flow-kicker {
  display: inline-flex;
  border: 1px solid rgba(141, 189, 255, .45);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .08);
  color: #bcd5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-copy h3 {
  max-width: none;
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 12px 30px rgba(0, 0, 0, .46);
}

.flow-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.flow-node {
  position: absolute;
  width: 176px;
  height: 116px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  background: rgba(5, 17, 72, .86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
  text-align: center;
  z-index: 2;
}

.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node strong {
  font-size: 18px;
}

.flow-node small {
  color: #b9c9f8;
  font-weight: 800;
}

.figma-node {
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  color: #101828;
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .72);
}

.figma-node small {
  color: #526079;
}

.figma-logo {
  display: grid;
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(3, 13px);
  gap: 0;
  padding: 9px 11px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .24);
}

.figma-logo span {
  width: 13px;
  height: 13px;
}

.figma-logo span:nth-child(1) {
  background: #f24e1e;
  border-radius: 7px 0 0 7px;
}

.figma-logo span:nth-child(2) {
  background: #ff7262;
  border-radius: 0 7px 7px 0;
}

.figma-logo span:nth-child(3) {
  background: #a259ff;
  border-radius: 7px 0 0 7px;
}

.figma-logo span:nth-child(4) {
  background: #1abcfe;
  border-radius: 50%;
}

.figma-logo span:nth-child(5) {
  background: #0acf83;
  border-radius: 7px 0 7px 7px;
}

.fundstore-frame {
  position: absolute;
  left: 4%;
  top: 58px;
  z-index: 4;
  width: 258px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  background: #f4f0e8;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  opacity: 0;
}

.figma-flow-slide.is-active .fundstore-frame {
  animation: fundstoreTravel 14s ease-in-out forwards;
}

.fundstore-screen {
  display: block;
  width: 100%;
  height: 146px;
  object-fit: cover;
  object-position: left center;
}

.fundstore-mark {
  position: absolute;
  top: 34px;
  left: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .88);
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
}

.browser-bar span:nth-child(2) {
  background: #febc2e;
}

.browser-bar span:nth-child(3) {
  background: #28c840;
}

.browser-bar em {
  margin-left: 8px;
  color: #536176;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slide-dots button {
  width: 36px;
  height: 20px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.slide-dots button:before {
  content: "";
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
}

.slide-dots button.is-active:before {
  background: #fff;
}

.platform-slide {
  display: grid;
  align-items: center;
  padding: 54px;
  overflow: hidden;
  background: radial-gradient(circle at 18% 24%, rgba(24, 181, 255, .28), transparent 28%), radial-gradient(circle at 86% 18%, rgba(0, 169, 121, .22), transparent 26%), linear-gradient(135deg, #061353 0%, #02061c 52%, #01030f 100%);
}

.platform-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 78px, rgba(255, 255, 255, .055) 79px 80px), repeating-linear-gradient(90deg, transparent 0 150px, rgba(24, 181, 255, .05) 151px 152px);
  opacity: .72;
}

.platform-copy {
  position: relative;
  z-index: 2;
  max-width: 1090px;
}

.platform-copy h3 {
  max-width: 960px;
  margin: 14px 0 28px;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: .95;
}

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

.platform-points p {
  min-height: 112px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(141, 189, 255, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  color: #dce7ff;
  font-size: 15px;
  line-height: 1.46;
}

.platform-points strong {
  color: #fff;
}

@keyframes fundstoreTravel {
  0% {
    left: calc(50% - 129px);
    top: 140px;
    opacity: 0;
    transform: scale(.62);
  }

  8% {
    left: calc(50% - 129px);
    top: 140px;
    opacity: 1;
    transform: scale(.62);
  }

  42% {
    left: calc(50% - 129px);
    top: 260px;
    opacity: 1;
    transform: scale(.68);
  }

  68% {
    left: 5%;
    top: 300px;
    opacity: 1;
    transform: scale(.62);
  }

  100% {
    left: calc(93% - 258px);
    top: 300px;
    opacity: 1;
    transform: scale(.7);
  }
}

.product-shot {
  position: relative;
}

.product-shot.relations-zoom {
  overflow: hidden;
  border-radius: 34px;
}

.product-shot.relations-zoom img {
  transform: scale(1.6);
  transform-origin: center;
}

.product-shot:before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(0, 103, 255, .5), rgba(0, 255, 200, .08));
  filter: blur(18px);
  z-index: -1;
}

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  color: #e8efff;
}

.checklist li:before {
  content: "\2713";
  color: #66a2ff;
  font-weight: 900;
  margin-right: 10px;
}

.mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-grid article,
.deploy-card {
  background: linear-gradient(180deg, rgba(10, 31, 114, .9), rgba(4, 11, 42, .9));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.feature-grid h3,
.deploy-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.dark {
  background: radial-gradient(circle at top left, rgba(0, 103, 255, .28), transparent 36%), #02061c;
}

.deploy-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.deploy-card.big {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta {
  text-align: center;
  padding: 120px 8vw;
  background: linear-gradient(135deg, #06146b, #02061c);
}

.cta h2 {
  font-size: clamp(48px, 8vw, 104px);
  max-width: 1000px;
  margin: 0 auto 22px;
  letter-spacing: -.07em;
  line-height: .9;
}

.cta p {
  font-size: 20px;
  color: #dce7ff;
  max-width: 800px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 34px 8vw;
  background: #01030f;
  color: #b8c8fa;
  border-top: 1px solid var(--line);
}

.site-footer img {
  display: block;
  width: 150px;
  max-width: 30vw;
  height: auto;
  border-radius: 6px;
}

.site-footer p {
  margin: 0;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .navlinks {
    display: none;
  }

  .hero-grid,
  .split,
  .reverse {
    grid-template-columns: 1fr;
  }

  .strip,
  .feature-grid,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 30px;
  }

  .section {
    padding: 76px 6vw;
  }

  .brand img {
    width: 155px;
    max-width: 44vw;
  }

  .hero-card pre {
    font-size: 15px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .architecture-slideshow {
    aspect-ratio: auto;
    min-height: 620px;
    border-radius: 24px;
  }

  .architecture-slide img {
    object-fit: contain;
    background: #07165b;
  }

  .figma-flow-slide {
    padding: 0;
  }

  .flow-base {
    object-fit: cover;
    opacity: .64;
  }

  .flow-copy {
    bottom: 18px;
    left: 18px;
    right: 18px;
  }

  .flow-kicker {
    font-size: 10px;
  }

  .flow-copy h3 {
    max-width: 310px;
    font-size: 15px;
    white-space: nowrap;
  }

  .flow-stage {
    min-height: 0;
  }

  .flow-node {
    width: 138px;
    height: 92px;
    border-radius: 18px;
  }

  .flow-node strong {
    font-size: 15px;
  }

  .flow-node small {
    font-size: 11px;
  }

  .figma-node {
    top: 104px;
    left: 50%;
    transform: translateX(-50%);
  }

  .figma-logo {
    padding: 7px 9px;
  }

  .fundstore-frame {
    width: 180px;
  }

  .fundstore-screen {
    height: 102px;
  }

  .platform-slide {
    align-items: start;
    padding: 26px 18px 52px;
  }

  .platform-copy h3 {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .platform-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .platform-points p {
    min-height: 0;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.38;
  }

  @keyframes fundstoreTravel {
    0% {
      left: calc(50% - 90px);
      top: 168px;
      opacity: 0;
      transform: scale(.72);
    }

    8% {
      left: calc(50% - 90px);
      top: 168px;
      opacity: 1;
      transform: scale(.72);
    }

    42% {
      left: calc(50% - 90px);
      top: 294px;
      opacity: 1;
      transform: scale(.7);
    }

    68% {
      left: calc(50% - 90px);
      top: 404px;
      opacity: 1;
      transform: scale(.72);
    }

    100% {
      left: calc(50% - 90px);
      top: 438px;
      opacity: 1;
      transform: scale(.76);
    }
  }

  .site-footer {
    display: grid;
    gap: 16px;
    justify-items: start;
  }

  .site-footer img {
    width: 130px;
    max-width: 48vw;
  }

  .site-footer p {
    text-align: left;
  }
}
