:root {
  color-scheme: dark;
  --black: #030406;
  --panel: #0a0d12;
  --panel-2: #10151d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(114, 194, 255, 0.42);
  --text: #f5f7fb;
  --muted: #9ba5b4;
  --soft: #dbe7f7;
  --blue: #1aa7ff;
  --cyan: #73d9ff;
  --silver: #c5cbd5;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--black);
  background-size: 64px 64px;
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(3, 4, 6, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 4, 6, 0.88);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 700;
}

.brand-logo-wrap {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(26, 167, 255, 0.18), 0 0 22px rgba(26, 167, 255, 0.14);
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-text span {
  color: var(--text);
  font-size: 0.98rem;
}

.brand-text small {
  color: rgba(245, 247, 251, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(245, 247, 251, 0.72);
  font-size: 0.9rem;
}

.nav-links a {
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px 24px 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.94) 0%, rgba(3, 4, 6, 0.66) 42%, rgba(3, 4, 6, 0.18) 100%),
    linear-gradient(0deg, rgba(3, 4, 6, 1) 0%, rgba(3, 4, 6, 0) 38%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 850px;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 780;
}

.hero-copy {
  max-width: 720px;
  color: rgba(245, 247, 251, 0.78);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--text);
  color: var(--black);
  border-color: var(--text);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats div {
  padding: 18px 18px 18px 0;
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.hardware-copy span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hardware-copy h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hardware-copy p {
  margin: 0;
  color: rgba(245, 247, 251, 0.66);
}

.price-line,
.product-price {
  display: block;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.25;
}

.price-line {
  margin: 0 0 14px;
}

.product-price {
  margin: 0 0 14px;
  color: var(--cyan);
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 760;
}

.lead-block p,
.section-heading p,
.join-copy p,
.final-cta p {
  color: rgba(245, 247, 251, 0.72);
  font-size: 1.05rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.compare-panel,
.product-card,
.solution-grid article,
.role-list article,
.package-grid article,
.partner-grid article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.compare-panel {
  min-height: 230px;
  padding: 28px;
}

.compare-panel span,
.product-card span,
.role-list span,
.partner-grid span,
.timeline span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
}

.compare-panel h3,
.product-card h3,
.solution-grid h3,
.role-list h3,
.package-grid h3,
.partner-grid h3,
.timeline h3 {
  margin: 16px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.compare-panel p,
.product-card p,
.solution-grid p,
.role-list p,
.package-grid p,
.partner-grid p,
.timeline p {
  margin-bottom: 0;
  color: rgba(245, 247, 251, 0.66);
}

.compare-panel.active {
  border-color: var(--line-strong);
  background: linear-gradient(140deg, rgba(26, 167, 255, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 40px rgba(26, 167, 255, 0.08);
}

.image-band {
  width: 100%;
  padding: 42px 0 72px;
}

.image-band img {
  width: min(100% - 48px, 1440px);
  height: 520px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 860px;
}

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

.hardware-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.hardware-card {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    var(--panel);
}

.hardware-card.lamp {
  border-color: rgba(255, 220, 164, 0.28);
}

.hardware-image {
  position: relative;
  height: 330px;
  min-height: 330px;
  overflow: hidden;
  background: #06080b;
}

.hardware-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 6, 0) 54%, rgba(3, 4, 6, 0.78) 100%),
    linear-gradient(90deg, rgba(26, 167, 255, 0.16), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hardware-image.lamp::after {
  background:
    linear-gradient(180deg, rgba(3, 4, 6, 0) 50%, rgba(3, 4, 6, 0.76) 100%),
    linear-gradient(90deg, rgba(255, 210, 142, 0.22), rgba(255, 255, 255, 0));
}

.hardware-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hardware-image.box img {
  object-position: center center;
  filter: saturate(0.94) contrast(1.04) brightness(1);
}

.hardware-image.lamp img {
  object-position: center 55%;
  filter: saturate(0.86) contrast(1.05) brightness(0.9);
}

.hardware-copy {
  position: relative;
  padding: 26px;
  border-top: 1px solid var(--line);
}

.product-card {
  grid-column: span 2;
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.product-card.featured {
  grid-column: span 4;
  border-color: var(--line-strong);
  background:
    linear-gradient(120deg, rgba(26, 167, 255, 0.17), rgba(255, 255, 255, 0.035)),
    var(--panel-2);
}

.dark-rail {
  width: 100%;
  max-width: none;
  padding: 112px max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(16, 21, 29, 0.86), rgba(3, 4, 6, 0.92));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-shell {
  margin-top: 42px;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.demo-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.demo-tab.active {
  border-color: rgba(115, 217, 255, 0.7);
  color: var(--text);
  background: rgba(26, 167, 255, 0.14);
}

.demo-stage {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: stretch;
}

.demo-stage img,
.store-visual img,
.join img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.terminal {
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(26, 167, 255, 0.12), rgba(255, 255, 255, 0.025)),
    #070a0e;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.terminal-label {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
}

.terminal p {
  margin: 22px 0 22px;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1.28;
  font-weight: 730;
}

.terminal ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terminal li {
  padding-left: 18px;
  color: rgba(245, 247, 251, 0.72);
  border-left: 2px solid rgba(115, 217, 255, 0.55);
}

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

.solution-grid article {
  min-height: 210px;
  padding: 24px;
}

.store-section,
.join {
  width: min(100% - 48px, 1280px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.store-copy {
  padding: 20px 0;
}

.role-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.role-list article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}

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

.package-grid article {
  padding: 24px;
  min-height: 240px;
}

.package-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 1.08rem;
}

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

.budget-bars {
  display: grid;
  gap: 18px;
}

.budget-row {
  display: grid;
  grid-template-columns: 160px 1fr 96px;
  align-items: center;
  gap: 18px;
  color: var(--soft);
}

.budget-row div {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.budget-row i {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--silver));
}

.budget-row strong {
  color: var(--text);
  text-align: right;
}

.join {
  padding-top: 56px;
}

.join-copy {
  padding: 30px 0;
}

.join-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.join-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 0.92rem;
}

.partner-section {
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

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

.partner-grid article {
  min-height: 260px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(26, 167, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.timeline article {
  min-height: 220px;
  padding: 24px;
}

.final-cta {
  position: relative;
  min-height: 68svh;
  display: grid;
  place-items: center;
  padding: 96px 24px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 6, 0.18), rgba(3, 4, 6, 1)),
    url("./assets/contact.png") center / cover;
  opacity: 0.62;
}

.final-cta > div {
  position: relative;
  max-width: 820px;
}

.final-cta h2 {
  margin-bottom: 20px;
  font-size: 3.6rem;
}

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

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 90svh;
    padding-top: 154px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2,
  .final-cta h2 {
    font-size: 2.25rem;
  }

  .split,
  .section-heading,
  .demo-stage,
  .store-section,
  .join {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-grid,
  .hardware-showcase,
  .solution-grid,
  .package-grid,
  .partner-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .product-card.featured {
    grid-column: span 1;
  }

  .image-band img,
  .demo-stage img,
  .store-visual img,
  .join img {
    min-height: 320px;
    height: 360px;
  }
}

@media (max-width: 640px) {
  .section,
  .store-section,
  .join {
    width: min(100% - 32px, var(--max));
    padding: 76px 0;
  }

  .dark-rail {
    padding: 76px 16px;
  }

  .hero {
    padding: 154px 16px 44px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 4, 6, 0.96) 0%, rgba(3, 4, 6, 0.76) 58%, rgba(3, 4, 6, 0.4) 100%),
      linear-gradient(0deg, rgba(3, 4, 6, 1) 0%, rgba(3, 4, 6, 0) 42%);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2,
  .final-cta h2 {
    font-size: 1.88rem;
  }

  .hero-copy,
  .lead-block p,
  .section-heading p,
  .join-copy p,
  .final-cta p {
    font-size: 1rem;
  }

  .hero-stats,
  .compare-grid,
  .product-grid,
  .hardware-showcase,
  .solution-grid,
  .package-grid,
  .partner-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hardware-card {
    min-height: auto;
  }

  .hardware-image {
    height: 270px;
    min-height: 270px;
  }

  .hero-stats div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .compare-panel,
  .product-card,
  .solution-grid article,
  .package-grid article,
  .partner-grid article,
  .timeline article {
    min-height: auto;
  }

  .terminal {
    min-height: 340px;
    padding: 22px;
  }

  .terminal p {
    font-size: 1.3rem;
  }

  .budget-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .budget-row strong {
    text-align: left;
  }

  .button {
    width: 100%;
  }
}
