:root {
  color-scheme: dark;
  --bg: #020713;
  --bg-deep: #00040d;
  --panel: rgba(8, 19, 37, 0.86);
  --panel-strong: rgba(12, 27, 51, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(134, 177, 255, 0.22);
  --line-strong: rgba(63, 132, 255, 0.5);
  --text: #f8fbff;
  --muted: #93a4bf;
  --muted-2: #60738f;
  --blue: #2563eb;
  --blue-2: #4d8cff;
  --cyan: #00d4ff;
  --orange: #ff7a45;
  --green: #8bd450;
  --radius: 8px;
  --shadow: 0 28px 90px rgba(0, 15, 48, 0.72);
  --font: "Aptos", "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(36, 101, 255, 0.42), transparent 32rem),
    radial-gradient(circle at 92% 24%, rgba(0, 212, 255, 0.15), transparent 24rem),
    linear-gradient(180deg, #020713 0%, #00040d 100%);
  color: var(--text);
  font-family: var(--font);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 82%);
}

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-frame {
  position: relative;
  width: min(1450px, calc(100% - 40px));
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(1, 8, 20, 0.96), rgba(2, 9, 20, 0.96)),
    radial-gradient(circle at 70% 18%, rgba(37, 99, 235, 0.2), transparent 36rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 0 8px rgba(13, 31, 63, 0.18),
    var(--shadow);
}

.site-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(37, 99, 235, 0.06), transparent 64%),
    linear-gradient(180deg, transparent 0 72%, rgba(255, 255, 255, 0.03));
}

.topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 64px;
  padding: 0 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 148px;
}

.brand img {
  width: 124px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a:nth-child(2)::after,
.main-nav a:nth-child(3)::after,
.main-nav a:nth-child(4)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: 0.8;
}

.main-nav a:hover {
  color: white;
}

.nav-actions,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 12px;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-icon {
  width: 21px;
  height: 21px;
  object-fit: contain;
  opacity: 0.96;
}

.ghost-button,
.solid-button,
.outline-button,
.view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.ghost-button {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.solid-button {
  gap: 12px;
  border: 1px solid rgba(117, 172, 255, 0.85);
  background:
    linear-gradient(180deg, #4b8cff 0%, #1758f3 100%),
    #2563eb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 34px rgba(37, 99, 235, 0.38),
    0 0 24px rgba(0, 212, 255, 0.16);
}

.solid-button:hover,
.outline-button:hover,
.ghost-button:hover,
.view-button:hover {
  transform: translateY(-1px);
}

.solid-button.small {
  min-height: 42px;
  padding: 0 22px;
  font-size: 0.88rem;
}

.solid-button.large,
.outline-button.large {
  min-width: 224px;
  min-height: 48px;
  padding: 0 28px;
}

.outline-button {
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #edf5ff;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #edf5ff;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 18px;
  align-items: start;
  padding: 30px 42px 16px;
}

.hero::before {
  content: "";
  position: absolute;
  right: 56px;
  top: 8px;
  width: 680px;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(38, 116, 255, 0.34), transparent 58%),
    repeating-radial-gradient(circle, rgba(72, 140, 255, 0.26) 0 1px, transparent 1px 25px);
  opacity: 0.55;
  filter: blur(0.2px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(40, 155, 255, 0.28);
  border-radius: 999px;
  background: rgba(3, 19, 42, 0.78);
  color: #bde9ff;
  box-shadow: inset 0 0 18px rgba(0, 212, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 800;
}

.spark {
  position: relative;
  width: 14px;
  height: 14px;
}

.spark::before,
.spark::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
}

.spark::after {
  transform: rotate(90deg);
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  color: #f8fbff;
  font-size: clamp(2.85rem, 3.25vw, 3.08rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue-2);
  text-shadow: 0 0 24px rgba(37, 99, 235, 0.55);
}

.hero-text {
  max-width: 520px;
  margin: 18px 0 0;
  color: #a9b8d0;
  font-size: 1rem;
  line-height: 1.54;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 0;
  width: min(510px, 100%);
  margin-top: 14px;
  border: 1px solid rgba(120, 168, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(2, 12, 26, 0.82);
}

.trust-row span {
  display: inline-flex;
  flex: 1 1 155px;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 16px;
  color: #a9b6c8;
  font-size: 0.82rem;
}

.trust-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  place-items: start center;
  min-height: 380px;
}

.hero-visual img {
  width: min(630px, 100%);
  transform: translateX(0);
  filter:
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.54))
    drop-shadow(0 0 34px rgba(37, 99, 235, 0.28));
}

.platform-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  width: calc(100% - 84px);
  min-height: 50px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid rgba(120, 168, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(7, 17, 34, 0.86);
}

.platform-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  color: #d9e6ff;
  font-weight: 760;
  font-size: 0.9rem;
}

.platform-icon {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.section {
  position: relative;
  z-index: 1;
  padding: 18px 42px 24px;
  border-top: 1px solid rgba(91, 134, 209, 0.12);
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
  color: #8ea0ba;
  font-size: 0.93rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  height: 142px;
  overflow: hidden;
  padding: 13px 14px 12px;
  border: 1px solid rgba(120, 168, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
    rgba(9, 22, 42, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tool-card h3 {
  margin: 8px 0 1px;
  font-size: 0.9rem;
}

.tool-card small {
  display: block;
  min-height: 1.1rem;
  color: #7f91ab;
  font-size: 0.66rem;
  font-weight: 700;
}

.tool-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #9aaabe;
  font-size: 0.68rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-icon-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.view-button {
  width: 150px;
  min-height: 40px;
  margin: 10px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: #d9e6ff;
  font-size: 0.88rem;
  gap: 10px;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr 22px 1fr 22px 1fr;
  gap: 10px;
  align-items: center;
}

.workflow article {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  min-height: 94px;
  padding: 12px;
  border: 1px solid rgba(120, 168, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(12, 27, 51, 0.78);
}

.workflow strong {
  align-self: end;
  font-size: 0.88rem;
}

.workflow p {
  grid-column: 2;
  align-self: start;
  margin: 3px 0 0;
  color: #8fa0b8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.step-arrow {
  color: #dce8ff;
  font-size: 1.8rem;
  text-align: center;
}

.step-icon-img {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.trusted {
  position: relative;
  z-index: 1;
  padding: 18px 42px 26px;
  border-top: 1px solid rgba(91, 134, 209, 0.12);
}

.trusted img {
  width: min(1040px, 100%);
  height: auto;
  margin: 0;
  object-fit: contain;
}

.cta {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 42px 24px;
  padding: 26px 34px;
  border: 1px solid rgba(60, 134, 255, 0.56);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0, rgba(0, 212, 255, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(18, 66, 147, 0.92), rgba(5, 23, 58, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 38px rgba(37, 99, 235, 0.26);
}

.cta h2 {
  margin: 0;
  font-size: 1.8rem;
}

.cta p {
  margin: 8px 0 0;
  color: #bdd0ee;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(1450px, calc(100% - 40px));
  margin: 16px auto 22px;
  color: rgba(218, 231, 255, 0.56);
  font-size: 0.88rem;
}

@media (max-width: 1320px) {
  .site-frame,
  .footer {
    width: calc(100% - 32px);
  }

  .topbar,
  .hero,
  .section,
  .trusted {
    padding-left: 32px;
    padding-right: 32px;
  }

  .topbar {
    gap: 18px;
  }

  .main-nav {
    gap: 24px;
    font-size: 0.84rem;
  }

  .hero {
    grid-template-columns: minmax(430px, 0.9fr) minmax(500px, 1.1fr);
    gap: 16px;
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 3.8vw, 3rem);
  }

  .hero-text {
    font-size: 0.94rem;
  }

  .hero-visual img {
    width: 100%;
  }

  .platform-strip {
    width: calc(100% - 64px);
  }
}

@media (max-width: 1180px) {
  .topbar,
  .hero,
  .section,
  .trusted {
    padding-left: 32px;
    padding-right: 32px;
  }

  .platform-strip {
    width: calc(100% - 64px);
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(390px, 0.9fr) minmax(340px, 1.1fr);
    gap: 14px;
    padding-top: 28px;
  }

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

  .hero h1 {
    font-size: clamp(2.45rem, 4.5vw, 3.05rem);
  }

  .hero-text {
    max-width: none;
    font-size: 0.92rem;
  }

  .solid-button.large,
  .outline-button.large {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0 18px;
  }

  .trust-row {
    width: 100%;
  }

  .trust-row span {
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .hero-visual {
    min-height: 300px;
    margin-top: 0;
  }

  .hero-visual img {
    width: 100%;
    transform: none;
  }

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

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

  .step-arrow {
    display: none;
  }

  .trusted {
    overflow-x: auto;
  }
}

@media (max-width: 980px) {
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 860px) {
  .site-frame,
  .footer {
    width: min(100% - 24px, 560px);
  }

  .site-frame {
    margin-top: 12px;
    border-radius: 16px;
  }

  .topbar {
    display: flex;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 18px;
  }

  .brand {
    width: 128px;
  }

  .brand img {
    width: 118px;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 12px 18px 10px;
  }

  .pill {
    max-width: 100%;
    margin-bottom: 12px;
    padding: 7px 12px;
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.32rem);
    line-height: 1.08;
  }

  .hero-text {
    margin-top: 12px;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .solid-button.large,
  .outline-button.large {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    font-size: 0.9rem;
  }

  .trust-row {
    margin-top: 10px;
  }

  .trust-row span {
    flex-basis: 33.333%;
    min-width: 0;
    justify-content: center;
    padding: 0 6px;
    text-align: center;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .trust-icon {
    width: 16px;
    height: 16px;
  }

  .hero-visual {
    min-height: auto;
    margin-top: -12px;
  }

  .hero-visual img {
    width: 100%;
    border-radius: 8px;
  }

  .platform-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - 36px);
    min-height: 78px;
    margin-bottom: 12px;
  }

  .platform-strip span {
    gap: 7px;
    font-size: 0.76rem;
  }

  .platform-icon {
    width: 20px;
    height: 20px;
  }

  .section {
    padding: 18px 18px 24px;
  }

  .section-heading h2 {
    font-size: 1.18rem;
  }

  .section-heading p {
    font-size: 0.82rem;
    line-height: 1.48;
  }

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

  .tool-card {
    height: auto;
    min-height: 98px;
    padding: 12px;
  }

  .tool-card h3 {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .tool-card small {
    font-size: 0.62rem;
  }

  .tool-card p {
    display: none;
  }

  .tool-icon-img,
  .step-icon-img {
    width: 30px;
    height: 30px;
  }

  .view-button {
    width: 134px;
    min-height: 36px;
  }

  .workflow {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(98px, 1fr);
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .workflow article {
    display: block;
    min-height: 108px;
    padding: 11px;
    scroll-snap-align: start;
  }

  .workflow strong {
    display: block;
    margin-top: 8px;
    font-size: 0.72rem;
  }

  .workflow p {
    margin-top: 5px;
    font-size: 0.64rem;
  }

  .trusted {
    padding: 20px 18px 26px;
  }

  .trusted img {
    min-width: 720px;
  }

  .cta {
    display: grid;
    margin: 0 18px 18px;
    padding: 24px 18px;
    text-align: center;
  }

  .cta h2 {
    font-size: 1.28rem;
  }

  .cta p {
    font-size: 0.84rem;
  }

  .footer {
    margin-top: 12px;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .platform-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .solid-button:hover,
  .outline-button:hover,
  .ghost-button:hover,
  .view-button:hover {
    transform: none;
  }
}
