/* =========================================================
   91漫画 - 漫画网站全局样式表
   日韩漫画平台主题：现代、清新、富有设计感
   ========================================================= */

:root {
  --color-primary: #ff4e6a;
  --color-primary-dark: #e63e5a;
  --color-secondary: #6c5ce7;
  --color-accent: #ffb86b;
  --color-bg: #f8f6ff;
  --color-surface: #ffffff;
  --color-text: #2d2a3a;
  --color-text-light: #6f6b82;
  --color-border: #e8e4f2;
  --color-dark: #1b1830;
  --color-dark-2: #262243;
  --gradient-main: linear-gradient(135deg, #ff4e6a 0%, #6c5ce7 100%);
  --shadow-sm: 0 2px 12px rgba(108, 92, 231, 0.08);
  --shadow-md: 0 8px 28px rgba(108, 92, 231, 0.14);
  --shadow-lg: 0 16px 48px rgba(255, 78, 106, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: 1200px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

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

section {
  padding: 90px 0;
}

/* ---------- 动画关键帧 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 78, 106, 0.45);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(255, 78, 106, 0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }

/* 滚动渐入（JS 触发） */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--color-dark);
  color: #c9c5dd;
  font-size: 13px;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-links {
  display: flex;
  gap: 18px;
}

.topbar-links a:hover {
  color: var(--color-accent);
}

/* ---------- 导航栏 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--color-primary);
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  animation: pulseGlow 3s infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background: rgba(255, 78, 106, 0.08);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  color: var(--color-text);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-light {
  background: #fff;
  color: var(--color-primary);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ---------- 章节标题 ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 78, 106, 0.1);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-dark);
}

.section-title .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  color: var(--color-text-light);
  font-size: 16px;
  margin-top: 16px;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 15% 20%, rgba(108, 92, 231, 0.16), transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(255, 78, 106, 0.14), transparent 45%),
    linear-gradient(160deg, #fff 0%, #f2eeff 55%, #ffeef2 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 3px dashed rgba(108, 92, 231, 0.25);
  animation: spinSlow 30s linear infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulseGlow 2s infinite;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  position: relative;
  padding-left: 18px;
}

.stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient-main);
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-dark);
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hero-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hero-card:nth-child(1) {
  animation: floatY 6s ease-in-out infinite;
}

.hero-card:nth-child(2) {
  animation: floatY 7s ease-in-out 1s infinite;
}

.hero-card:nth-child(3) {
  animation: floatY 8s ease-in-out 0.5s infinite;
}

.hero-card:nth-child(4) {
  animation: floatY 6.5s ease-in-out 1.5s infinite;
}

.hero-card:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---------- 滚动横幅 ---------- */
.marquee {
  background: var(--color-dark);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.marquee-track span {
  padding: 0 40px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
}

.marquee-track span em {
  color: var(--color-accent);
  font-style: normal;
}

/* ---------- 特性区 ---------- */
.features {
  background: var(--color-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: var(--gradient-main);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #00c897, #00a3ff);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #ffb86b, #ff6b6b);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 15px;
}

/* ---------- 服务区 ---------- */
.services {
  background:
    linear-gradient(rgba(27, 24, 48, 0.94), rgba(38, 34, 67, 0.94)),
    url("https://picsum.photos/seed/91manga-bg/1600/900") center/cover fixed;
  color: #fff;
}

.services .section-title {
  color: #fff;
}

.services .section-sub {
  color: #c9c5dd;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 184, 107, 0.6);
}

.service-num {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: #c9c5dd;
  font-size: 15px;
}

/* ---------- 作品/内容区 ---------- */
.works {
  background: var(--color-surface);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.work-cover {
  position: relative;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-cover img {
  transform: scale(1.08);
}

.work-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.work-tag.tag-new {
  background: var(--color-secondary);
}

.work-tag.tag-hot {
  background: var(--color-accent);
  color: var(--color-dark);
}

.work-body {
  padding: 20px;
}

.work-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.work-meta {
  display: flex;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 10px;
}

.work-rating {
  color: var(--color-accent);
  font-weight: 700;
}

/* ---------- 详情/双栏区 ---------- */
.detail {
  background: var(--color-bg);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.detail-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.detail-content h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.detail-content p {
  color: var(--color-text-light);
  margin-bottom: 18px;
  font-size: 16px;
}

.detail-list {
  margin: 20px 0 28px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 15px;
}

.detail-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 200, 151, 0.15);
  color: #00a884;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* ---------- 新闻卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.news-thumb {
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.07);
}

.news-body {
  padding: 24px;
}

.news-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255, 78, 106, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.news-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-body h3 a:hover {
  color: var(--color-primary);
}

.news-body p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-light);
  font-size: 13px;
}

.news-meta time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--color-surface);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  font-family: var(--font-sans);
}

.faq-question .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--color-text-light);
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--gradient-main);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  width: 300px;
  height: 300px;
  animation: spinSlow 40s linear infinite;
}

.cta::before {
  top: -120px;
  left: -100px;
}

.cta::after {
  bottom: -140px;
  right: -80px;
  animation-direction: reverse;
}

.cta .section-title {
  color: #fff;
}

.cta .section-sub {
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--color-dark);
  color: #b9b5d0;
  padding: 70px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 50px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-4px);
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ---------- 页面头部（内页） ---------- */
.page-hero {
  position: relative;
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 78, 106, 0.16), transparent 45%),
    linear-gradient(150deg, #fff, #f2eeff);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.page-hero .crumb {
  color: var(--color-text-light);
  font-size: 14px;
}

.page-hero .crumb a:hover {
  color: var(--color-primary);
}

/* ---------- 产品页筛选 ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

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

.filter-btn.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}

/* ---------- 新闻详情页 ---------- */
.article-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--color-text-light);
  font-size: 14px;
}

.article-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 34px;
  box-shadow: var(--shadow-md);
}

.article-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-body {
  font-size: 16px;
  color: var(--color-text);
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 24px;
  color: var(--color-dark);
  margin: 34px 0 16px;
  font-weight: 800;
}

.article-body h3 {
  font-size: 19px;
  color: var(--color-dark);
  margin: 28px 0 12px;
  font-weight: 700;
}

.article-body blockquote {
  border-left: 4px solid var(--color-primary);
  background: rgba(255, 78, 106, 0.06);
  padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--color-text-light);
}

.article-body ul,
.article-body ol {
  margin: 18px 0 22px 22px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 10px;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 24px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.article-share span {
  font-weight: 700;
  color: var(--color-dark);
}

.share-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.share-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-info-card {
  background: var(--color-dark);
  color: #c9c5dd;
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card h2 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info-item h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
}

.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h2 {
  font-size: 24px;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 78, 106, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-success {
  display: none;
  background: rgba(0, 200, 151, 0.12);
  color: #00856a;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-weight: 600;
}

/* ---------- 关于页 ---------- */
.mission {
  background: var(--color-surface);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.mission-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mission-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 34px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.value-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 14px;
}

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-main);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(255, 78, 106, 0.25);
}

.timeline-item h3 {
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.timeline-item .year {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.timeline-item p {
  color: var(--color-text-light);
  font-size: 15px;
}

/* ---------- 面包屑/侧边 ---------- */
.breadcrumb {
  padding: 18px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-light);
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner,
  .detail-grid,
  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .features-grid,
  .services-grid,
  .works-grid,
  .news-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .detail-media img,
  .mission-media img {
    height: 300px;
  }

  .topbar-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-form-wrap,
  .contact-info-card {
    padding: 28px 22px;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

/* ---------- 打印辅助 ---------- */
@media print {
  .header,
  .topbar,
  .marquee,
  .cta,
  .footer,
  .filter-bar {
    display: none;
  }
}
