:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0a0f1d;
  --panel: #101827;
  --panel-2: #0d1321;
  --text: #f6f8ff;
  --muted: #9da8bd;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #00e5ff;
  --blue: #5b7cfa;
  --pink: #ff3d9a;
  --lime: #9cff6e;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(91, 124, 250, 0.24), transparent 34%),
    radial-gradient(circle at 12% 4%, rgba(0, 229, 255, 0.14), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255, 61, 154, 0.12), transparent 26%),
    linear-gradient(180deg, #05070d 0%, #080c16 46%, #05070d 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 76px);
  background: rgba(5, 7, 13, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  width: max-content;
}

.brand strong {
  font-size: 18px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.text-link:hover {
  color: var(--cyan);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.42);
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 76px) 44px;
}

.hero-copy {
  max-width: 880px;
}

.hero-pill {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dfe6ff;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.22;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.signal-row span {
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dfe6ff;
  font-size: 14px;
}

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

.button {
  min-width: 136px;
  padding: 0 22px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.header-cta:hover,
.product-card a:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #02030a;
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.product-stage {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.96), rgba(5, 7, 13, 0.98));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.stage-topbar,
.stage-body,
.status-panel {
  position: relative;
  z-index: 1;
}

.stage-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.stage-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.stage-topbar span:first-child {
  background: var(--pink);
}

.stage-topbar span:nth-child(2) {
  background: #f7c948;
}

.stage-topbar span:nth-child(3) {
  background: var(--lime);
}

.stage-topbar strong {
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
}

.stage-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  min-height: 456px;
}

.stage-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.52);
}

.stage-sidebar strong {
  margin-bottom: 10px;
  color: #fff;
}

.stage-sidebar span {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
}

.stage-sidebar .active {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}

.stage-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

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

.metric-row div,
.terminal-card,
.flow-row {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.metric-row div {
  display: grid;
  gap: 6px;
  min-height: 100px;
  padding: 16px;
}

.metric-row span {
  color: var(--muted);
  font-size: 12px;
}

.metric-row strong {
  color: #fff;
  font-size: 34px;
}

.terminal-card {
  padding: 18px;
  font-family: Consolas, "Courier New", monospace;
}

.terminal-card .prompt {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
}

.terminal-card p {
  margin: 0 0 8px;
  color: #dfe6ff;
  font-size: 14px;
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 72px;
  padding: 16px;
}

.flow-row span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.flow-row i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.status-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 16px;
  background: rgba(4, 8, 17, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.status-panel small {
  grid-column: 2;
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 24px var(--lime);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.trust-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #dfe6ff;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 76px);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-title-row p {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.bento-grid article {
  min-height: 246px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-grid span,
.product-card span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--pink);
  font-weight: 900;
}

.bento-grid p,
.product-card p,
.method p,
.method li,
.contact p,
.site-footer {
  color: var(--muted);
  line-height: 1.7;
}

.mini-screen {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.mini-screen i {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(255, 255, 255, 0.08));
}

.mini-screen i:nth-child(2) {
  width: 74%;
}

.mini-screen i:nth-child(3) {
  width: 52%;
}

.products {
  background: rgba(0, 229, 255, 0.035);
}

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

.product-card {
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.98), rgba(8, 12, 22, 0.98));
  border: 1px solid var(--line);
  border-radius: 22px;
}

.product-card strong {
  margin-top: auto;
  color: var(--lime);
  font-size: 24px;
}

.product-card a {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 800;
  transition: transform 180ms ease;
}

.product-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.product-note strong {
  color: var(--cyan);
}

.product-note span {
  color: var(--muted);
}

.method {
  text-align: center;
}

.method h2 {
  max-width: 880px;
  margin-inline: auto;
  margin-bottom: 34px;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  text-align: left;
}

.method-grid article {
  min-height: 390px;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.method ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.plus {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--cyan);
  font-size: 44px;
  font-weight: 300;
}

.method-banner {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(255, 61, 154, 0.12));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 24px;
  text-align: center;
}

.method-banner strong {
  font-size: clamp(22px, 3vw, 36px);
}

.method-banner span {
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-grid figure {
  overflow: hidden;
  margin: 0;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.proof-grid img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.proof-grid figcaption {
  padding: 18px;
  font-weight: 800;
}

.quote-section {
  padding-top: 0;
  text-align: center;
}

.quote-section blockquote {
  max-width: 980px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
}

.quote-section p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  color: var(--muted);
  font-weight: 800;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 5vw, 76px) clamp(48px, 6vw, 86px);
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(91, 124, 250, 0.12)),
    var(--panel);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 30px;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  max-width: 680px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .product-stage {
    min-height: 360px;
  }

  .trust-strip,
  .bento-grid,
  .product-list,
  .method-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span,
  .bento-grid article {
    border-right: 0;
  }

  .bento-large {
    grid-column: auto;
    grid-row: auto;
  }

  .stage-body {
    grid-template-columns: 1fr;
  }

  .stage-sidebar {
    display: none;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .flow-row {
    flex-wrap: wrap;
  }

  .section-title-row,
  .contact,
  .site-footer {
    display: grid;
  }

  .plus {
    width: 100%;
  }

  .button,
  .hero-actions,
  .product-note {
    width: 100%;
  }

  .product-note {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .feature-grid article,
  .product-card,
  .method-grid article {
    padding: 24px;
  }
}
