:root {
  --blue: #0c5bff;
  --blue-dark: #073bb0;
  --blue-soft: #eaf1ff;
  --green: #13a76b;
  --green-soft: #e9f8f1;
  --orange: #f59f24;
  --orange-soft: #fff5e7;
  --red: #e34d59;
  --ink: #162033;
  --muted: #667085;
  --line: #dfe7f3;
  --soft: #f5f8ff;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 35, 74, 0.12);
  --shadow-light: 0 12px 32px rgba(15, 35, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 231, 243, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--blue);
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(12, 91, 255, 0.22);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-cta {
  min-width: max-content;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
}

.section {
  padding: 84px clamp(20px, 5vw, 72px);
}

.section-label {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 740px;
}

.section-heading h2,
.support-band h2,
.cta-box h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.section-heading p:last-child,
.support-band p,
.cta-box p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding-top: 58px;
  padding-bottom: 48px;
  background:
    linear-gradient(180deg, rgba(245, 248, 255, 0.88), rgba(255, 255, 255, 0.2) 46%, #fff 100%),
    radial-gradient(circle at 85% 16%, rgba(12, 91, 255, 0.12), transparent 30%);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.05;
}

.hero-lede {
  max-width: 670px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.75;
}

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

.button {
  min-width: 168px;
  padding: 0 22px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 28px rgba(12, 91, 255, 0.24);
}

.button-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 36px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-light);
}

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

.hero-metrics dd {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
}

.app-board {
  position: relative;
  min-height: 590px;
  border: 1px solid rgba(223, 231, 243, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.95)),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(12, 91, 255, 0.05) 40px 41px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-shell {
  position: absolute;
  left: 9%;
  top: 48px;
  width: min(360px, 72%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #f7faff;
  box-shadow: 0 22px 46px rgba(15, 35, 74, 0.16);
}

.phone-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 18px;
  color: var(--muted);
  font-size: 13px;
}

.phone-shell > header strong {
  color: var(--ink);
}

.phone-card,
.floating-card,
.feature-card,
.mode-card,
.flow-grid article,
.device-points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.phone-card {
  padding: 18px;
}

.phone-card + .phone-card {
  margin-top: 14px;
}

.phone-card h2 {
  margin-top: 14px;
  font-size: 23px;
  line-height: 1.25;
}

.phone-card h3 {
  margin-top: 12px;
  font-size: 18px;
}

.phone-card p,
.floating-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.status-live {
  color: var(--green);
  background: var(--green-soft);
}

.status-warn {
  color: #ad6500;
  background: var(--orange-soft);
}

.sop-row,
.phone-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.orange-text {
  color: var(--orange);
}

.progress {
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eefc;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #34c38f);
}

.mini-steps {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
}

.mini-steps li {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
}

.mini-steps .done {
  color: var(--green);
  background: var(--green-soft);
}

.mini-steps .active {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.floating-card {
  position: absolute;
  right: 8%;
  width: min(300px, 58%);
  padding: 20px;
  box-shadow: var(--shadow-light);
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.device-card {
  top: 130px;
}

.income-card {
  bottom: 96px;
}

.green-dot {
  color: var(--green);
}

.green-dot::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.scene-grid,
.assurance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  box-shadow: var(--shadow-light);
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 20px;
}

.feature-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.card-index {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  font-weight: 800;
  background: var(--blue-soft);
}

.flow {
  background: var(--soft);
}

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

.flow-grid article {
  min-height: 178px;
  padding: 18px;
}

.flow-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  background: var(--blue);
}

.flow-grid h3 {
  margin-top: 18px;
  font-size: 18px;
}

.flow-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.mode-card {
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-light);
}

.mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mode-card h3 {
  font-size: clamp(22px, 3vw, 30px);
}

.mode-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.check-list li {
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 700;
}

.lock-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.lock-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.lock-list strong {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.lock-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.devices {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.device-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: stretch;
}

.device-visual {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-light);
}

.node {
  padding: 18px 20px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.app-node {
  background: var(--blue);
}

.api-node {
  background: var(--green);
}

.vendor-node {
  background: var(--ink);
}

.connector {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: var(--line);
}

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

.device-points article {
  padding: 22px;
}

.device-points h3 {
  font-size: 19px;
}

.device-points p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.compact-card h3 {
  margin-top: 0;
}

.support {
  padding-top: 40px;
  padding-bottom: 40px;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.support-band .section-label,
.support-band h2 {
  color: var(--white);
}

.support-band p {
  color: rgba(255, 255, 255, 0.72);
}

.support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.support-list span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.final-cta {
  padding-top: 48px;
}

.cta-box {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(180deg, #fff, var(--soft));
  box-shadow: var(--shadow-light);
}

.cta-box .hero-actions {
  justify-content: center;
}

@media (max-width: 1120px) {
  .scene-grid,
  .assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero,
  .device-panel,
  .support-band {
    grid-template-columns: 1fr;
  }

  .support-list {
    justify-content: flex-start;
  }

  .app-board {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .site-header {
    padding: 14px 18px;
  }

  .section {
    padding: 62px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero-metrics,
  .card-grid,
  .flow-grid,
  .split-grid,
  .device-points {
    grid-template-columns: 1fr;
  }

  .app-board {
    min-height: 480px;
  }

  .phone-shell {
    left: 18px;
    top: 28px;
    width: calc(100% - 36px);
  }

  .floating-card {
    right: 18px;
    width: calc(100% - 76px);
  }

  .device-card {
    top: auto;
    bottom: 104px;
  }

  .income-card {
    bottom: 24px;
  }

  .mode-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lock-list li {
    grid-template-columns: 32px 1fr;
  }

  .lock-list em {
    grid-column: 2;
  }

  .support-band {
    padding: 28px 20px;
  }

  .support-list span {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 0 14px;
  }

  .section-heading h2,
  .support-band h2,
  .cta-box h2 {
    font-size: 27px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .phone-card,
  .floating-card,
  .feature-card,
  .mode-card,
  .device-points article {
    padding: 18px;
  }
}
