:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #65728a;
  --line: #dce3ed;
  --paper: #f7f9fc;
  --white: #ffffff;
  --teal: #117c7a;
  --teal-dark: #075b5a;
  --coral: #e45d4f;
  --lime: #b9d86b;
  --blue: #2c64d8;
  --shadow: 0 18px 50px rgba(22, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(220, 227, 237, 0.9);
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.nav-links {
  gap: clamp(16px, 4vw, 36px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
}

.header-action {
  padding: 0 18px;
  background: var(--white);
  border-color: var(--line);
}

.button {
  padding: 0 22px;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(34px, 6vw, 72px);
  min-height: calc(100vh - 74px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 64px) 56px;
  background:
    linear-gradient(115deg, rgba(185, 216, 107, 0.2), transparent 30%),
    linear-gradient(160deg, rgba(228, 93, 79, 0.12), transparent 38%),
    var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 148px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-stats dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.study-card {
  position: absolute;
  right: clamp(14px, 4vw, 28px);
  bottom: clamp(14px, 4vw, 28px);
  width: min(240px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(22, 32, 51, 0.18);
  backdrop-filter: blur(14px);
}

.study-card p,
.study-card span {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.study-card strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.browser-shell {
  overflow: hidden;
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.browser-top span:nth-child(2) {
  background: #e3bd44;
}

.browser-top span:nth-child(3) {
  background: var(--teal);
}

.browser-top p {
  margin: 0 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(rgba(17, 124, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 124, 122, 0.08) 1px, transparent 1px),
    #fbfcfe;
  background-size: 28px 28px;
}

.preview-panel {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.preview-panel.wide {
  grid-row: span 2;
}

.preview-panel p,
.preview-panel span {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-panel strong {
  display: block;
  margin: 4px 0 16px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.preview-panel.accent {
  background: #fff7ed;
  border-color: #f4c7a0;
}

.preview-panel.accent strong {
  color: var(--coral);
  font-size: 2.6rem;
}

.preview-panel.dark {
  background: var(--ink);
  color: var(--white);
}

.preview-panel.dark p,
.preview-panel.dark span {
  color: #b9c3d4;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: var(--ink);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
}

.status-dot.warn {
  background: #e3bd44;
}

.section {
  padding: 74px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.demo-surface {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 32, 51, 0.08);
}

.demo-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #edf3f4;
}

.demo-tab {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.demo-tab.active,
.demo-tab:hover,
.demo-tab:focus-visible {
  border-color: rgba(17, 124, 122, 0.25);
  background: var(--white);
  color: var(--ink);
}

.demo-content {
  display: grid;
  align-content: center;
  padding: clamp(24px, 6vw, 66px);
}

.screen-label {
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.demo-content h3 {
  max-width: 720px;
  font-size: clamp(1.8rem, 4vw, 3.45rem);
}

.demo-content p {
  max-width: 680px;
  color: var(--muted);
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.4rem;
  line-height: 1.15;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  background: var(--white);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.timeline h3,
.timeline p {
  margin: 0;
}

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

.contact-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  background: #f0f6ee;
}

.contact-band > div {
  max-width: 620px;
}

.contact-band p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #cbdcc7;
  border-radius: 8px;
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(17, 124, 122, 0.14);
}

.form-note {
  min-height: 28px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 720px;
  }

  .demo-surface {
    grid-template-columns: 1fr;
  }

  .demo-side {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .demo-tab {
    text-align: center;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .preview-grid,
  .metric-list {
    grid-template-columns: 1fr;
  }

  .preview-panel.wide {
    grid-row: auto;
  }

  .demo-side {
    overflow-x: auto;
  }

  .demo-tab {
    min-width: 92px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
  }

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