/* ============================================================
   活宝桌宠工坊 — 公安联网备案审核展示站
   极简 · 现代 · 干净 · 科技感 · 轻松可爱
   纯静态：无外部依赖、无 API、无 JS
   ============================================================ */

:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --accent: #f472b6;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -12px rgba(79, 70, 229, .22);
  --radius: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ---- 顶部导航 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .5px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color .18s ease;
}

.nav a:hover {
  color: var(--primary);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(99, 102, 241, .16), transparent 60%),
    radial-gradient(1000px 500px at 88% 0%, rgba(244, 114, 182, .14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
  padding: 96px 24px 88px;
}

.hero-text h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, var(--primary), var(--primary-2) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-desc {
  margin: 0 0 30px;
  font-size: 17px;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(79, 70, 229, .38);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(79, 70, 229, .35);
}

/* ---- 通用 section ---- */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: 1px;
}

/* ---- 项目介绍 ---- */
.intro-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.intro-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 16px;
}

.intro-card .lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.intro-card p:last-child {
  margin-bottom: 0;
}

/* ---- 产品特点 ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- 项目展示 ---- */
.showcase {
  text-align: center;
}

.showcase-frame {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.showcase-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.showcase-caption {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- 关于 ---- */
.about-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-list {
  margin: 0;
}

.about-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.about-row:last-child {
  border-bottom: none;
}

.about-row dt {
  flex: 0 0 56px;
  color: var(--text-muted);
  font-size: 14px;
}

.about-row dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* ---- 页脚：备案信息纯文本可见 ---- */
.site-footer {
  padding: 34px 0;
  background: var(--text);
  color: #e2e8f0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: .5px;
}

.footer-inner div:nth-child(2) {
  color: #cbd5e1;
}

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 64px 24px 56px;
    gap: 36px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: min(200px, 100%);
  }

  .nav {
    display: none;
  }

  .intro-card {
    padding: 28px 24px;
  }
}

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