/* =========================================================
   澳宏科技 — 紫色潮流设计系统
   主色:#7c3aed(紫) | 强调:#ec4899(粉) #06b6d4(青) #f59e0b(暖)
   ========================================================= */
:root {
  /* 主色阶 */
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --primary-soft: #ede9fe;
  --primary-50: #f5f3ff;

  /* 强调色 */
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --cyan: #06b6d4;
  --cyan-soft: #cffafe;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --green: #10b981;
  --green-soft: #d1fae5;

  /* 渐变 */
  --grad-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-cool: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, #f5f3ff 0%, #fce7f3 50%, #ecfeff 100%);
  --grad-hero: linear-gradient(135deg, #ede9fe 0%, #fce7f3 50%, #cffafe 100%);

  /* 背景 */
  --bg: #ffffff;
  --bg-alt: #faf7ff;
  --bg-soft: #f5f3ff;
  --bg-card: #ffffff;

  /* 文字 */
  --text: #1e1b4b;
  --text-2: #4b5563;
  --text-muted: #9ca3af;

  /* 边框 */
  --border: #ede9fe;
  --border-soft: #f3f0ff;

  /* 圆角 */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 20px 50px -8px rgba(124, 58, 237, 0.22);
  --shadow-glow: 0 0 50px rgba(124, 58, 237, 0.25);

  /* 尺寸 */
  --max-w: 1200px;
  --nav-h: 72px;
}

/* === 全局 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; outline: none; background: none; }
input, textarea { font: inherit; }

/* === 容器 === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
}
.section-subtitle {
  font-size: 1.08rem;
  text-align: center;
  color: var(--text-2);
  margin-bottom: 56px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* === 导航栏 === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all .3s;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar .logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.navbar .logo .icon {
  width: 38px; height: 38px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: all .3s;
  transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  top: -120px; right: -100px;
  animation: float 12s ease-in-out infinite;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  bottom: -100px; left: -80px;
  animation: float 14s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
}
.hero .hero-desc {
  font-size: 1.18rem;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.98rem;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(124, 58, 237, 0.5);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* === 服务卡片 === */
#services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 36px 30px;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .card-icon {
  width: 64px; height: 64px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  position: relative;
}
.service-card .card-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-sm);
  background: inherit;
  opacity: 0.5;
  filter: blur(8px);
  z-index: -1;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card .card-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-card .card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card .card-features li {
  font-size: 0.88rem;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
}
.service-card .card-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  top: 1px;
}

/* === 核心优势 === */
#advantages { background: var(--bg-alt); position: relative; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.advantage-card {
  text-align: center;
  padding: 40px 24px 32px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  transition: all .35s;
  position: relative;
}
.advantage-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.advantage-card .adv-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  background: var(--grad-soft);
  border-radius: var(--r-md);
}
.advantage-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* === 新闻预览 === */
#news-preview { background: var(--bg); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.news-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: var(--grad-soft);
  z-index: 0;
  transition: all .4s;
}
.news-card:nth-child(4n+1)::before { background: linear-gradient(135deg, #ede9fe 0%, #cffafe 100%); }
.news-card:nth-child(4n+2)::before { background: linear-gradient(135deg, #fce7f3 0%, #fef3c7 100%); }
.news-card:nth-child(4n+3)::before { background: linear-gradient(135deg, #cffafe 0%, #d1fae5 100%); }
.news-card:nth-child(4n+4)::before { background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%); }
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-card:hover::before { height: 160px; }
.news-card-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  margin-top: 70px;
  background: var(--bg-card);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.news-card .news-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-soft);
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.news-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}
.news-card h3 a { color: inherit; transition: color .2s; }
.news-card h3 a:hover { color: var(--primary); }
.news-card .news-summary {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.news-card .news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-footer { text-align: center; }

/* === 关于我们 === */
#about { background: var(--bg-alt); position: relative; overflow: hidden; }
#about::before {
  content: "";
  position: absolute;
  top: -150px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
}
.about-content p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 32px;
}
.about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-info .info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border-radius: var(--r-sm);
  border: 1px solid var(--border-soft);
  transition: all .25s;
}
.about-info .info-item:hover {
  border-color: var(--primary-soft);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.about-info .info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.about-info .info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.about-image {
  background: var(--grad-primary);
  border-radius: var(--r-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}
.about-image::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -20%;
  width: 320px; height: 320px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* === 页脚 === */
.site-footer {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #6d28d9 100%);
  color: #c7d2fe;
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}
.footer-brand .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #c7d2fe;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: #a5b4fc;
  margin-bottom: 10px;
  transition: color .2s, transform .2s;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #a5b4fc;
  position: relative;
}

/* === 新闻列表页 === */
.page-header {
  padding: 140px 0 56px;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
  position: relative;
}
.page-header p {
  color: var(--text-2);
  font-size: 1.05rem;
  position: relative;
}
.news-list-section { padding: 56px 0 96px; }
.news-list-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  transition: all .3s;
  align-items: center;
}
.news-list-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-md);
}
.news-list-item .news-date-box {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 18px -4px rgba(124, 58, 237, 0.4);
}
.news-list-item .news-date-box .day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.news-list-item .news-date-box .month { font-size: 0.78rem; font-weight: 500; margin-top: 4px; opacity: 0.95; }
.news-list-item .news-info { flex: 1; min-width: 0; }
.news-list-item .news-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-list-item .news-info h3 a { color: var(--text); transition: color .2s; }
.news-list-item .news-info h3 a:hover { color: var(--primary); }
.news-list-item .news-info .summary {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-item .news-info .meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}
.news-list-item .news-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--primary);
  font-size: 1.4rem;
  width: 40px; height: 40px;
  background: var(--primary-soft);
  border-radius: var(--r-pill);
  transition: all .25s;
}
.news-list-item:hover .news-arrow {
  background: var(--grad-primary);
  color: #fff;
  transform: translateX(4px);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination button, .pagination .page-num {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-2);
  transition: all .25s;
  cursor: pointer;
}
.pagination button:hover:not(:disabled), .pagination .page-num:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.pagination .page-num.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px -4px rgba(124, 58, 237, 0.4);
}
.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* === 新闻详情页 === */
.article-section { padding: 132px 0 96px; background: var(--bg-alt); min-height: 80vh; }
.article-container { max-width: 800px; margin: 0 auto; }
.article-header {
  background: var(--bg-card);
  padding: 40px 44px;
  border-radius: var(--r-md);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.article-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-body {
  background: var(--bg-card);
  padding: 40px 44px;
  border-radius: var(--r-md);
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.article-body p { margin-bottom: 20px; }
.article-body img { border-radius: var(--r-sm); margin: 16px 0; }
.article-back { margin-top: 28px; text-align: center; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: var(--bg-card);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid var(--primary-soft);
  transition: all .25s;
}
.back-link:hover {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(124, 58, 237, 0.4);
}

/* 加载 & 错误 */
.loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}
.error-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--amber);
}
.error-msg h2 { font-size: 1.5rem; margin-bottom: 8px; }
.not-found { text-align: center; padding: 80px 20px; }
.not-found h2 {
  font-size: 4rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
  margin-bottom: 12px;
}
.not-found p { color: var(--text-2); margin-bottom: 28px; font-size: 1.05rem; }

/* === 响应式:平板 === */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
    width: 100%;
  }
  .nav-links a:last-child { border-bottom: none; }

  .hero { padding: 110px 0 64px; }
  .hero h1 { font-size: 2.2rem; }
  .hero .hero-desc { font-size: 1.02rem; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { height: 220px; font-size: 4rem; }
  .about-content h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .news-list-item { padding: 20px; }
  .news-list-item .news-date-box { width: 60px; height: 60px; }
  .news-list-item .news-date-box .day { font-size: 1.3rem; }
  .article-section { padding: 96px 0 64px; }
  .article-header { padding: 28px 24px; }
  .article-body { padding: 28px 24px; }
  .article-header h1 { font-size: 1.6rem; }
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: 2rem; }
}

/* === 响应式:手机 === */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 56px; }
  .hero h1 { font-size: 1.85rem; }
  .hero .hero-desc { font-size: 0.95rem; }
  .hero .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.55rem; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 28px 22px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-info { grid-template-columns: 1fr; }
  .about-content h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-header { padding: 90px 0 32px; }
  .page-header h1 { font-size: 1.6rem; }
  .news-list-item { gap: 14px; padding: 16px; }
  .news-list-item .news-date-box { width: 54px; height: 54px; }
  .news-list-item .news-date-box .day { font-size: 1.15rem; }
  .news-list-item .news-date-box .month { font-size: 0.7rem; }
  .news-list-item .news-arrow { display: none; }
  .pagination button, .pagination .page-num { min-width: 38px; height: 38px; font-size: 0.85rem; }
  .article-header { padding: 22px 18px; }
  .article-body { padding: 22px 18px; }
  .article-header h1 { font-size: 1.4rem; }
}
