/* ===== 灰灰测试 · 备案展示站 ===== */

:root {
  --primary: #0057c2;
  --primary-light: #3d7fd4;
  --primary-dark: #004494;
  --accent: #00b4d8;
  --bg: #f5f7fa;
  --bg-alt: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #5a6478;
  --text-muted: #8c95a6;
  --border: #e4e8ef;
  --shadow: 0 4px 24px rgba(0, 40, 100, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 40, 100, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-h: 64px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 背景装饰 ===== */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 87, 194, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 194, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(0, 87, 194, 0.12);
}

.bg-glow--2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: rgba(0, 180, 216, 0.1);
}

/* ===== Header ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
}

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

.logo__icon {
  font-size: 24px;
  line-height: 1;
}

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

.nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

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

/* ===== Hero ===== */

.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 80px) 0 100px;
}

.hero__inner {
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 87, 194, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 87, 194, 0.35);
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 87, 194, 0.4);
}

.btn--ghost {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat__value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat__label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Section ===== */

.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

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

.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__head h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section__head p {
  color: var(--text-secondary);
  font-size: 16px;
}

.section__head strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== About Cards ===== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
}

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

.card:hover {
  border-color: rgba(0, 87, 194, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== Features ===== */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
}

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

.feature:hover {
  border-color: rgba(0, 87, 194, 0.2);
  box-shadow: var(--shadow);
}

.feature__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.feature__body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature__body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== Status ===== */

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.status-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s;
}

.status-card:hover {
  box-shadow: var(--shadow);
}

.status-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--ok {
  background: #52c41a;
  box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.2);
}

.status-dot--warn {
  background: #faad14;
  box-shadow: 0 0 0 3px rgba(250, 173, 20, 0.2);
}

.status-card__value {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.status-card__meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Footer ===== */

.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer__icp a {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ===== Responsive ===== */

@media (max-width: 640px) {
  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 13px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 64px;
  }

  .hero__stats {
    gap: 32px;
    padding: 24px;
  }

  .feature {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .section {
    padding: 56px 0;
  }
}
