/* 购来惠门户 — 备案展示站 */
:root {
  --brand: #00b357;
  --brand-dark: #00994a;
  --text: #1a1a1a;
  --muted: #5c6370;
  --bg: #f7f9fc;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(15, 35, 52, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #00a050 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand-dark);
}

/* hero */
.hero {
  padding: 56px 0 48px;
  background: linear-gradient(165deg, #0c1e35 0%, #123a52 45%, #0d2838 100%);
  color: #fff;
}

.hero-inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 20px;
  opacity: 0.9;
  font-size: 1.05rem;
  max-width: 36em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.hero-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1em;
  opacity: 0.92;
  font-size: 0.92rem;
}

/* sections */
section {
  padding: 48px 0;
}

section:nth-child(even) .section-bg {
  background: #fff;
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-desc {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 52em;
}

.grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  padding: 8px 14px;
  background: #eef8f2;
  color: var(--brand-dark);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf9 100%);
  border: 1px solid #d1fae5;
  border-radius: var(--radius);
  padding: 24px;
}

.contact-box p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

/* footer */
.site-footer {
  padding: 28px 0 36px;
  background: #0f1724;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.site-footer .shell {
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.footer-brand {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px !important;
}
