:root {
  color-scheme: dark;
  --bg: #07050d;
  --panel: #151020;
  --panel-strong: #211632;
  --text: #f7f2ff;
  --muted: #bfb1d7;
  --subtle: #85759d;
  --violet: #8c4dff;
  --magenta: #ff3fa4;
  --cyan: #29d7ff;
  --green: #66f2b4;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(7, 5, 13, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-header nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px clamp(22px, 7vw, 96px) 72px;
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image: url("./assets/hero-product.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 5, 13, 0.98) 0%, rgba(7, 5, 13, 0.82) 36%, rgba(7, 5, 13, 0.26) 72%),
    linear-gradient(0deg, rgba(7, 5, 13, 0.98) 0%, rgba(7, 5, 13, 0.02) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-copy,
.section-heading p,
.download-panel p {
  color: var(--muted);
  font-size: 18px;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 34px;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: white;
  box-shadow: 0 16px 48px rgba(140, 77, 255, 0.35);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(660px, 100%);
  margin: 0;
}

.hero-metrics div,
.feature-grid article,
.download-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 10, 27, 0.72);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-band,
.workflow-band,
.download-band {
  padding: 94px clamp(20px, 5vw, 72px);
}

.feature-band {
  background: #0b0713;
}

.workflow-band {
  background: #110b1c;
}

.download-band {
  background:
    linear-gradient(180deg, rgba(17, 11, 28, 0.4), rgba(7, 5, 13, 1)),
    #07050d;
}

.section-inner,
.download-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(680px, 100%);
  margin-bottom: 34px;
}

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

.feature-grid article {
  min-height: 250px;
  padding: 24px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--magenta);
  font-weight: 900;
}

.feature-grid p,
.timeline span,
.download-meta span,
.site-footer {
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 58px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 22px 22px 22px 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.timeline li::before {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(41, 215, 255, 0.13);
  color: var(--cyan);
  content: counter(step);
  counter-increment: step;
  font-weight: 900;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 48px;
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(140, 77, 255, 0.18), rgba(255, 63, 164, 0.08)),
    rgba(16, 10, 27, 0.86);
  box-shadow: var(--shadow);
}

.download-box {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.download-box img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

.download-meta {
  display: grid;
  gap: 3px;
}

.download-meta strong {
  font-size: 18px;
}

.download-button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #050308;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .hero {
    min-height: auto;
    align-items: flex-end;
    padding-top: 96px;
  }

  .hero-backdrop {
    background-size: 145% auto;
    background-position: top center;
    opacity: 0.92;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 5, 13, 0.26) 0%, rgba(7, 5, 13, 0.9) 42%, rgba(7, 5, 13, 1) 78%),
      linear-gradient(90deg, rgba(7, 5, 13, 0.86), rgba(7, 5, 13, 0.36));
  }

  .hero-content {
    padding-top: 24vh;
  }

  .hero-metrics,
  .feature-grid,
  .split-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-band,
  .workflow-band,
  .download-band {
    padding-block: 78px;
  }
}

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

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 10px;
  }

  .hero {
    min-height: 640px;
    padding: 30px 16px 54px;
  }

  .hero-backdrop {
    background-size: 190% auto;
    background-position: top center;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
    font-size: 15px;
  }

  .feature-band,
  .workflow-band,
  .download-band {
    padding: 58px 16px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 44px;
    line-height: 1.04;
  }

  h2 {
    font-size: 30px;
    line-height: 1.14;
  }

  h3 {
    font-size: 19px;
  }

  .hero-copy,
  .section-heading p,
  .download-panel p {
    font-size: 16px;
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .hero-metrics {
    gap: 10px;
  }

  .hero-metrics div {
    padding: 13px 14px;
  }

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

  .feature-grid {
    gap: 12px;
  }

  .feature-grid article {
    padding: 20px;
  }

  .feature-kicker {
    margin-bottom: 20px;
  }

  .split-layout {
    gap: 26px;
  }

  .timeline {
    gap: 10px;
  }

  .timeline li {
    min-height: 0;
    padding: 18px 18px 18px 62px;
  }

  .timeline li::before {
    left: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
  }

  .download-panel {
    gap: 24px;
    padding: 22px;
  }

  .download-box {
    grid-template-columns: 56px 1fr;
    padding: 18px;
  }

  .download-box img {
    width: 56px;
    height: 56px;
  }

  .download-meta strong {
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 10px;
    font-size: 15px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-backdrop {
    background-size: 220% auto;
  }

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

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-box img {
    justify-self: center;
  }

  .timeline li {
    padding: 58px 16px 16px;
  }

  .timeline li::before {
    left: 16px;
    top: 16px;
  }
}
