:root {
  --primary: #1d4ed8;
  --primary-2: #2563eb;
  --accent: #38bdf8;
  --bg: #f4f8ff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(37, 99, 235, 0.2);
  --card: #ffffff;
  --hero: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 58%);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

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

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

.brand strong {
  display: block;
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.menu {
  display: flex;
  gap: 18px;
}

.menu a {
  font-size: 14px;
  color: #1e293b;
  padding: 6px 10px;
  border-radius: 8px;
}

.menu a:hover,
.menu a.active {
  background: #dbeafe;
  color: var(--primary);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

.hero {
  padding: 54px 0 56px;
}

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

.tag {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--primary);
  font-size: 12px;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}

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

.btn-primary,
.btn-ghost {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.btn-ghost {
  color: var(--primary);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 36px rgba(30, 64, 175, 0.12);
}

.hero-card {
  padding: 22px;
  background: var(--hero);
}

.hero-card h3 {
  margin: 0 0 10px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.section {
  padding: 0 0 58px;
}

.section-soft {
  padding-bottom: 72px;
}

.section-head {
  text-align: center;
  margin-bottom: 20px;
}

.section-head.left {
  text-align: left;
}

.section-head h2,
.section-head h1 {
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  padding: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.75;
}

.two-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.contact-item {
  border: 1px solid var(--line);
  background: #f8fbff;
  border-radius: 12px;
  padding: 12px 14px;
}

.contact-item + .contact-item {
  margin-top: 10px;
}

.contact-item span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.sub-page {
  padding-top: 22px;
}

.contact-form-card {
  margin-top: 16px;
}

.form-tip {
  margin: 0 0 12px;
}

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

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 13px;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.form-submit {
  border: none;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin: 0;
  color: #166534;
  font-size: 13px;
}

.form-status.error {
  color: #b91c1c;
}

.stats {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats strong {
  display: block;
  color: var(--primary);
  font-size: 28px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.product-showcase {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(30, 64, 175, 0.1);
  overflow: hidden;
}

.product-main {
  padding: 24px;
  background: var(--hero);
  border-bottom: 1px solid var(--line);
}

.product-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.product-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}

.product-tag {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--primary);
}

.product-main h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.product-sub {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.product-brief {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.product-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-details {
  padding: 22px 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.detail-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--primary);
}

.detail-block p,
.detail-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.product-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.product-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.product-list-muted li {
  color: #64748b;
}

.product-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.meta-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8fbff;
}

.meta-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta-item strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero-grid,
  .cards,
  .two-cols,
  .stats,
  .product-details,
  .product-meta {
    grid-template-columns: 1fr;
  }

  .product-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-brief {
    max-width: none;
  }

  .product-actions {
    justify-content: center;
  }

  .menu-btn {
    display: block;
  }

  .menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    display: none;
    flex-direction: column;
  }

  .menu.open {
    display: flex;
  }
}
