:root {
  color-scheme: dark;
  --ink: #15161a;
  --paper: #f5f2ea;
  --paper-soft: #ebe5d8;
  --graphite: #22242a;
  --line: rgba(255, 255, 255, 0.16);
  --muted: #b8b0a2;
  --text: #fffaf0;
  --teal: #1fc7b6;
  --teal-deep: #0b7f78;
  --coral: #ff6b5c;
  --amber: #f2b84b;
  --violet: #7b6df2;
  --green: #87c95f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#capabilities,
#scenes,
#download,
#contact,
#stability {
  scroll-margin-top: 82px;
}

body {
  margin: 0;
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--ink);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: #fff;
  transition: background 0.18s ease, border-color 0.18s ease, backdrop-filter 0.18s ease;
}

.site-header[data-elevated="true"] {
  background: rgba(21, 22, 26, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 199, 182, 0.26);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 14px;
}

.nav-links a,
.site-footer a {
  transition: color 0.16s ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: #fff;
}

.header-download,
.primary-action,
.secondary-action,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-download {
  padding: 0 18px;
  color: #131417;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: 112px clamp(20px, 5vw, 72px) 68px;
  background:
    linear-gradient(100deg, rgba(21, 22, 26, 0.96) 0%, rgba(21, 22, 26, 0.78) 40%, rgba(21, 22, 26, 0.34) 100%),
    linear-gradient(145deg, #17191d 0%, #23312e 45%, #5d3d34 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(21, 22, 26, 0), var(--ink));
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.17) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(900px) rotateX(58deg) translateY(16%);
  transform-origin: bottom;
}

.real-ui-showcase {
  position: relative;
  z-index: 3;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(12, 14, 18, 0.92);
  box-shadow: var(--shadow);
}

.real-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.real-ui-head span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.real-ui-head strong {
  min-width: 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.real-ui-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: none;
}

.real-ui-tabs::-webkit-scrollbar {
  display: none;
}

.real-ui-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 250, 240, 0.72);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.real-ui-tabs button.is-active {
  color: #101214;
  background: var(--teal);
}

.real-ui-frame {
  position: relative;
  min-height: 432px;
  background: #090d15;
}

.real-ui-shot {
  display: none;
  margin: 0;
}

.real-ui-shot.is-active {
  display: block;
}

.real-ui-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #080c13;
}

.real-ui-shot figcaption {
  padding: 12px 16px 14px;
  color: rgba(255, 250, 240, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  line-height: 1.6;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-heading p {
  margin: 0 0 18px;
  color: var(--amber);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-subtitle {
  width: min(610px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.8);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-action,
.download-button {
  padding: 0 26px;
  color: #101214;
  background: var(--teal);
  box-shadow: 0 18px 44px rgba(31, 199, 182, 0.28);
}

.secondary-action {
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro-band {
  padding-top: 36px;
  padding-bottom: 36px;
  background: var(--paper);
  color: #18191d;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(24, 25, 29, 0.14);
}

.metric-strip div {
  min-height: 118px;
  padding: 24px;
  background: var(--paper);
}

.metric-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 800;
}

.metric-strip strong {
  display: block;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.3;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.security-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-grid article {
  min-height: 278px;
  padding: 24px;
}

.feature-token {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.feature-token.mass { background: var(--teal); }
.feature-token.dm { background: var(--amber); }
.feature-token.listen { background: var(--coral); }
.feature-token.collect { background: var(--violet); }
.feature-token.account { background: var(--green); }
.feature-token.performance { background: var(--paper-soft); }
.feature-token.log { background: #d8dcff; }
.feature-token.task { background: #9adfcb; }
.feature-token.verify { background: #f29f67; }
.feature-token.group { background: #61b7ff; }
.feature-token.reply { background: #b7ef8a; }
.feature-token.proxy { background: #e5d56a; }
.feature-token.template { background: #f7a7c4; }
.feature-token.check { background: #72d6e9; }
.feature-token.ai { background: #8fd0ff; }
.feature-token.chat { background: #f4a261; }

.feature-grid.expanded article {
  min-height: 248px;
}

.feature-grid h3,
.workflow-step h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.feature-grid p,
.workflow-step p,
.security-copy p,
.download-copy p {
  margin: 0;
  color: rgba(255, 250, 240, 0.66);
  line-height: 1.75;
  font-size: 15px;
}

.workflow-section {
  background: #202018;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
}

.workflow-step {
  min-height: 238px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.06);
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 46px;
  color: #111;
  background: var(--amber);
  font-weight: 900;
}

.security-section {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  background: var(--paper);
  color: #17181b;
}

.security-copy p:not(.eyebrow),
.download-copy p {
  color: rgba(23, 24, 27, 0.68);
  margin-top: 22px;
}

.security-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(23, 24, 27, 0.18);
  box-shadow: 0 26px 70px rgba(23, 24, 27, 0.16);
}

.security-panel div {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 22px;
  background: #fffaf0;
}

.security-panel span {
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
}

.security-panel strong {
  font-size: 20px;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 540px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  background: #f2b84b;
  color: #141517;
}

.download-card {
  padding: 28px;
  color: #fffaf0;
  background: #191a1d;
  box-shadow: 0 28px 80px rgba(20, 21, 23, 0.28);
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.download-card-head img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.download-card-head strong,
.download-card-head span {
  display: block;
}

.download-card-head strong {
  font-size: 22px;
}

.download-card-head span {
  margin-top: 5px;
  color: var(--muted);
}

.release-meta {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.release-meta div {
  min-width: 0;
}

.release-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.release-meta dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.download-button {
  width: 100%;
  min-height: 54px;
}

.release-notes {
  margin: 22px 0 0;
  padding-left: 18px;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.8;
}

.contact-section {
  background: #171b21;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-grid article {
  min-width: 0;
  min-height: 244px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-grid span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.contact-grid strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.contact-grid p {
  margin: 18px 0 24px;
  color: rgba(255, 250, 240, 0.68);
  line-height: 1.75;
}

.contact-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  border-radius: 8px;
  color: #101214;
  background: var(--amber);
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #101113;
  color: rgba(255, 250, 240, 0.72);
}

.site-footer a {
  margin-left: 18px;
}

.poster-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #111214;
}

.poster-canvas {
  position: relative;
  width: min(1600px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(17, 18, 20, 0.98) 0%, rgba(17, 18, 20, 0.78) 46%, rgba(17, 18, 20, 0.18) 100%),
    linear-gradient(135deg, #15161a, #284039 43%, #9a5547 100%);
  box-shadow: var(--shadow);
}

.poster-mark,
.poster-download {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fffaf0;
  font-weight: 900;
}

.poster-mark {
  left: 60px;
  top: 52px;
  font-size: 28px;
}

.poster-mark img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.poster-copy {
  position: absolute;
  z-index: 2;
  left: 64px;
  top: 190px;
  width: 730px;
}

.poster-copy p {
  margin: 0 0 28px;
  color: var(--amber);
  font-weight: 900;
  font-size: 28px;
}

.poster-copy h1 {
  margin: 0;
  font-size: clamp(54px, 6.4vw, 110px);
  line-height: 1.02;
  letter-spacing: 0;
}

.poster-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.poster-points span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  color: #101113;
  background: var(--paper);
  font-weight: 900;
}

.poster-product {
  position: absolute;
  right: -38px;
  top: 145px;
  width: 780px;
  aspect-ratio: 1.45;
  transform: rotate(-2deg);
}

.poster-ui {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 86px 1fr;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
  background: rgba(255, 250, 240, 0.08);
}

.poster-ui-left {
  background:
    linear-gradient(var(--teal), var(--teal)) 22px 28px / 42px 42px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 22px 94px / 42px 42px no-repeat,
    linear-gradient(var(--coral), var(--coral)) 22px 160px / 42px 42px no-repeat,
    rgba(8, 9, 11, 0.76);
}

.poster-ui-main {
  padding: 26px;
  background: rgba(23, 24, 27, 0.92);
}

.poster-ui-top {
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.poster-ui-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.poster-ui-cards span {
  height: 124px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.poster-ui-cards span:nth-child(1) {
  background: rgba(31, 199, 182, 0.38);
}

.poster-ui-cards span:nth-child(2) {
  background: rgba(242, 184, 75, 0.34);
}

.poster-ui-cards span:nth-child(3) {
  background: rgba(255, 107, 92, 0.34);
}

.poster-ui-table {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.poster-ui-table i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.poster-ui-table i:nth-child(1) { width: 92%; }
.poster-ui-table i:nth-child(2) { width: 72%; }
.poster-ui-table i:nth-child(3) { width: 86%; }
.poster-ui-table i:nth-child(4) { width: 62%; }
.poster-ui-table i:nth-child(5) { width: 78%; }

.poster-download {
  left: 64px;
  bottom: 54px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  color: #111214;
  background: var(--teal);
  font-size: 22px;
}

@media (max-width: 1180px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 112px;
  }

  .real-ui-showcase {
    margin-top: 28px;
  }

  .real-ui-frame {
    min-height: auto;
  }

  .metric-strip,
  .workflow,
  .security-section,
  .download-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .security-panel,
  .download-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    font-size: 15px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .header-download {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 84vh;
    padding: 106px 18px 56px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .real-ui-head {
    display: grid;
    gap: 6px;
  }

  .real-ui-head strong {
    white-space: normal;
  }

  .real-ui-tabs {
    padding: 10px;
  }

  .real-ui-tabs button {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .real-ui-shot figcaption {
    font-size: 12px;
  }

  .metric-strip div,
  .feature-grid article,
  .workflow-step,
  .download-card {
    padding: 22px;
  }

  .security-panel div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin: 12px 18px 0 0;
  }

  .poster-body {
    padding: 12px;
  }

  .poster-canvas {
    min-width: 960px;
  }
}
