:root {
  color-scheme: dark;
  --ink: #f7f5ea;
  --muted: #b8c1bd;
  --dim: #7f8b87;
  --bg: #07100f;
  --bg-2: #0c1714;
  --panel: rgba(17, 31, 27, 0.86);
  --panel-strong: #12221f;
  --line: rgba(188, 219, 205, 0.18);
  --line-bright: rgba(95, 244, 200, 0.34);
  --jade: #40f2bf;
  --jade-dark: #0aa87f;
  --amber: #ffb457;
  --blue: #70b8ff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(64, 242, 191, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 180, 87, 0.04) 1px, transparent 1px),
    #07100f;
  background-size: 56px 56px, 56px 56px, auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 15, 0.78);
  backdrop-filter: blur(18px);
}

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

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

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.header-cta {
  padding: 0 18px;
  border: 1px solid var(--line-bright);
  color: var(--jade);
}

.button {
  padding: 12px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  border: 1px solid rgba(64, 242, 191, 0.9);
  background: var(--jade);
  color: #06110f;
  box-shadow: 0 14px 34px rgba(64, 242, 191, 0.22);
}

.button-secondary {
  border: 1px solid var(--line-bright);
  background: rgba(12, 23, 20, 0.72);
  color: var(--ink);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-content: center;
  gap: 44px;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px) 48px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 18%, rgba(112, 184, 255, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(64, 242, 191, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(7, 16, 15, 0.25), #07100f 92%);
}

.signal-grid {
  position: absolute;
  inset: 18% 0 auto;
  height: 260px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  padding: 0 clamp(18px, 5vw, 80px);
  opacity: 0.42;
  pointer-events: none;
}

.signal-grid span {
  align-self: center;
  height: 34%;
  border: 1px solid rgba(64, 242, 191, 0.26);
  background: linear-gradient(180deg, rgba(64, 242, 191, 0.22), rgba(255, 180, 87, 0.1));
  animation: signal-rise 2.8s ease-in-out infinite;
}

.signal-grid span:nth-child(2n) {
  animation-delay: -0.7s;
}

.signal-grid span:nth-child(3n) {
  animation-delay: -1.3s;
}

.hero-copy {
  width: min(1040px, 100%);
  display: grid;
  gap: 22px;
}

.eyebrow {
  color: var(--jade);
  font-size: 13px;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 960px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 20, 17, 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-console {
  width: min(980px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: rgba(8, 21, 18, 0.84);
  box-shadow: var(--shadow);
}

.console-top,
.meter-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-top {
  justify-content: space-between;
  color: var(--muted);
}

.console-top strong {
  margin-right: auto;
  color: var(--ink);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--jade);
  box-shadow: 0 0 0 8px rgba(64, 242, 191, 0.12);
}

.meter-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  color: var(--muted);
  font-size: 14px;
}

.meter-row i {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jade) var(--level), rgba(255, 255, 255, 0.1) var(--level));
}

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

.transcript-grid article,
.feature-grid article,
.flow-board article,
.pricing-grid article,
.scenario-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.transcript-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.transcript-grid b {
  color: var(--amber);
  font-size: 13px;
}

.transcript-grid p {
  color: var(--muted);
}

.transcript-grid strong {
  color: var(--jade);
}

.section {
  padding: 86px clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(760px, 100%);
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

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

.section-heading h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

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

.feature-grid article,
.flow-board article,
.scenario-grid article {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.feature-grid span,
.flow-board b {
  width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(64, 242, 191, 0.13);
  color: var(--jade);
  font-weight: 900;
}

.feature-grid h3,
.flow-board h3,
.scenario-grid h3 {
  font-size: 21px;
}

.feature-grid p,
.flow-board p,
.scenario-grid p,
.faq-list p,
.pricing-grid li {
  color: var(--muted);
}

.workflow-section,
.pricing-section {
  background: linear-gradient(180deg, rgba(18, 34, 31, 0.72), rgba(7, 16, 15, 0));
}

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

.install-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 36px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(64, 242, 191, 0.13), transparent 35%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.install-panel .section-heading {
  margin: 0;
}

.install-steps {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.install-steps li {
  padding: 8px 0 8px 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 18px;
}

.pricing-grid article {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.pricing-grid p {
  color: var(--jade);
  font-weight: 900;
}

.pricing-grid h3 {
  font-size: 54px;
  line-height: 1;
}

.pricing-grid span {
  color: var(--dim);
}

.pricing-grid ul {
  display: grid;
  gap: 8px;
  margin: 8px 0;
  padding-left: 18px;
}

.featured-plan {
  border-color: var(--line-bright) !important;
  background:
    linear-gradient(160deg, rgba(64, 242, 191, 0.16), rgba(255, 180, 87, 0.09)),
    var(--panel) !important;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050b0a;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.footer-contact {
  display: grid;
  gap: 6px;
  text-align: right;
}

.floating-contact {
  position: fixed;
  top: 56%;
  right: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 180, 87, 0.62);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: var(--amber);
  color: #160f06;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  transform: translateY(-50%);
}

@keyframes signal-rise {
  0%,
  100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

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

  .feature-grid,
  .flow-board,
  .scenario-grid,
  .install-panel {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-cta {
    display: none;
  }

  .floating-contact {
    display: none;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

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

  .transcript-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    display: grid;
  }

  .footer-contact {
    text-align: left;
  }
}
