:root {
  --bg: #0b1220;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e8edf7;
  --muted: #9aa8c0;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --dms: #6366f1;
  --wcs: #10b981;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.bg-glow-a {
  top: -120px;
  left: -80px;
  background: #3b82f6;
}

.bg-glow-b {
  bottom: -160px;
  right: -60px;
  background: #10b981;
}

.header {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.header-links {
  display: flex;
  gap: 20px;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.header-links a:hover {
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.hero {
  text-align: center;
  padding: 36px 0 56px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 0%, #b8c7e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  color: #c7d4ea;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.card-dms .card-icon {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
}

.card-wcs .card-icon {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.card h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  min-height: 4.8em;
}

.card-features {
  list-style: none;
  margin-bottom: 24px;
}

.card-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #c5d0e4;
  font-size: 0.9rem;
}

.card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}

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

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

.card-wcs .btn-primary {
  background: linear-gradient(135deg, var(--wcs), #059669);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.flow {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.flow h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-steps li {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.flow-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.flow-steps span {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px 36px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-sub {
  margin-top: 6px;
  opacity: 0.7;
}

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

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

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

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .card-desc {
    min-height: auto;
  }
}
