:root {
  --page-bg: #ffffff;
  --page-soft: #f5f8fd;
  --card-bg: #ffffff;
  --card-soft: #f1f6ff;
  --text-strong: #10284f;
  --text-body: #2f466c;
  --text-muted: #637996;
  --line: rgba(16, 40, 79, 0.12);
  --line-strong: rgba(25, 91, 184, 0.2);
  --accent: #1f63c6;
  --accent-soft: rgba(31, 99, 198, 0.1);
  --shadow: 0 18px 40px rgba(16, 40, 79, 0.08);
  --shadow-soft: 0 10px 24px rgba(16, 40, 79, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(180deg, rgba(241, 246, 255, 0.65) 0%, rgba(255, 255, 255, 0) 240px),
    var(--page-bg);
  color: var(--text-body);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
li,
span,
label,
input,
textarea,
button,
a {
  word-break: normal;
  overflow-wrap: break-word;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(245, 248, 253, 0.85), rgba(255, 255, 255, 0.96));
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section-kicker,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-head h2,
.hero-copy h1,
.hero-panel-head h2,
.feature-card h3,
.scenario-card h3,
.flow-step h3,
.deployment-card h3,
.contact-list h3,
.release-card h3,
.faq-card h3 {
  margin: 0;
  color: var(--text-strong);
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
}

.section-head p,
.hero-lead,
.feature-card p,
.scenario-top p,
.flow-step p,
.deployment-card p,
.contact-list p,
.release-summary,
.release-card li,
.faq-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.section-head p,
.hero-lead {
  margin: 16px 0 0;
  font-size: 17px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav-bar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.brand-image {
  display: block;
}

.brand-image {
  width: 208px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav-links a,
.footer-nav a {
  color: var(--text-body);
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-strong);
  background: var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.btn[aria-disabled="true"] {
  opacity: 0.82;
  box-shadow: none;
}

.btn[aria-disabled="true"]:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 99, 198, 0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-strong);
  border-color: var(--line-strong);
}

.btn-block {
  width: 100%;
}

.hero-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.14;
}

.hero-short {
  margin: 20px 0 0;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 600;
}

.hero-positioning {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.hero-panel,
.feature-card,
.scenario-card,
.flow-step,
.deployment-card,
.contact-form-card,
.contact-info-card,
.release-card,
.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 16px;
  align-self: center;
}

.hero-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hero-panel-head h2 {
  font-size: 20px;
  line-height: 1.3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.cad-preview-card {
  position: relative;
  margin-top: 14px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, #e8eef8, #f7f9fc);
  border: 1px solid rgba(16, 40, 79, 0.08);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 280px;
}

.cad-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(16, 40, 79, 0.08);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.cad-pin {
  position: absolute;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 40, 79, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pin-a {
  left: 10%;
  top: 14%;
}

.pin-b {
  right: 14%;
  top: 18%;
}

.pin-c {
  left: 14%;
  bottom: 16%;
}

.pin-d {
  right: 8%;
  bottom: 20%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.metric-card {
  padding: 10px;
  border-radius: 14px;
  background: var(--card-soft);
  min-width: 0;
}

.metric-value {
  display: block;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.metric-label {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.feature-card,
.scenario-card,
.flow-step,
.deployment-card,
.contact-form-card,
.contact-info-card,
.release-card,
.faq-card {
  padding: 26px;
}

.card-index,
.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.feature-card h3,
.scenario-card h3,
.flow-step h3,
.deployment-card h3,
.contact-list h3,
.faq-card h3 {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.35;
}

.feature-card p,
.scenario-top p,
.flow-step p,
.deployment-card p,
.contact-list p,
.faq-card p {
  margin: 14px 0 0;
}

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

.scenario-card {
  display: grid;
  grid-template-rows: minmax(168px, auto) 1fr auto;
  gap: 20px;
  align-items: start;
}

.scenario-body li {
  margin-top: 10px;
  color: var(--text-body);
  line-height: 1.7;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--card-soft);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

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

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

.release-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.release-status {
  display: none;
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.release-card {
  width: 100%;
  border-radius: 22px;
}

.release-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.release-card h3 {
  font-size: 21px;
  line-height: 1.4;
}

.release-meta time {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.release-summary {
  margin: 14px 0 0;
}

.release-card li {
  margin-top: 10px;
}

.release-empty {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

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

.deployment-card-strong {
  background: linear-gradient(180deg, #f7fbff, #edf4ff);
  border-color: rgba(31, 99, 198, 0.18);
}

.deployment-card {
  display: flex;
  flex-direction: column;
}

.deployment-card .btn {
  margin-top: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.trial-form {
  display: grid;
  gap: 16px;
}

.trial-form label {
  display: grid;
  gap: 8px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 600;
}

.trial-form input,
.trial-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text-body);
}

.trial-form textarea {
  min-height: 124px;
  resize: vertical;
}

.trial-form input:focus,
.trial-form textarea:focus {
  outline: none;
  border-color: rgba(31, 99, 198, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 99, 198, 0.08);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.form-feedback[data-state="success"] {
  color: #1d7a46;
}

.form-feedback[data-state="error"] {
  color: #ba3a3a;
}

.contact-info-card {
  display: grid;
  align-content: start;
  gap: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.qr-block {
  width: min(240px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  color: var(--text-strong);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-list h3,
.contact-list p {
  margin: 0;
}

.scenario-top,
.scenario-body {
  min-width: 0;
}

.scenario-top {
  display: grid;
  align-content: start;
}

.scenario-body {
  width: 100%;
}

.scenario-card .btn {
  margin-top: auto;
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) minmax(160px, auto);
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 54px;
}

.footer-brand p,
.footer-records {
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: center;
}

.footer-qr {
  justify-self: end;
}

.footer-qr img {
  width: 128px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-records a {
  color: var(--text-body);
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .value-grid,
  .scenario-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-card {
    grid-template-rows: minmax(148px, auto) 1fr auto;
  }

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 74px 0;
  }

  .hero-grid,
  .deployment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .nav-links {
    display: none;
  }

  .nav-bar {
    min-height: 72px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 0;
    row-gap: 12px;
  }

  .brand-image {
    width: 170px;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .nav-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 16px;
  }

  .hero-section {
    padding-top: 56px;
  }

  .value-grid,
  .scenario-grid,
  .faq-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .scenario-card {
    grid-template-rows: auto auto auto;
  }

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

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

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-qr {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .section-head h2 {
    font-size: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-lead,
  .section-head p {
    font-size: 16px;
  }

  .hero-actions,
  .nav-actions {
    flex-wrap: nowrap;
  }

  .hero-actions .btn,
  .nav-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .deployment-card .btn,
  .trial-form .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cad-preview-card {
    max-height: 260px;
  }

  .release-meta {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand-image {
    width: 148px;
  }

  .btn {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.18;
  }

  .hero-panel,
  .feature-card,
  .scenario-card,
  .flow-step,
  .deployment-card,
  .contact-form-card,
  .contact-info-card,
  .release-card,
  .faq-card {
    padding: 22px;
    border-radius: 22px;
  }

  .cad-pin {
    font-size: 11px;
    padding: 5px 8px;
  }

  .cad-preview-card {
    max-height: 240px;
  }

  .footer-records {
    flex-direction: column;
    align-items: flex-start;
  }
}
