/* ============================================================
   黄果短剧官网 - 主样式表 style.css
   爱情 / 轻喜 / 职场 / 奇幻 四题材短剧内容平台
   ============================================================ */

/* ---------- CSS 变量与重置 ---------- */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --love: #ec4899;
  --comedy: #f59e0b;
  --work: #3b82f6;
  --fantasy: #8b5cf6;
  --dark: #1e1b2e;
  --dark-2: #2a2540;
  --text: #33324a;
  --text-light: #6b6a80;
  --bg: #faf9ff;
  --bg-alt: #f3f1ff;
  --white: #ffffff;
  --border: #e5e0f5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 20px 48px rgba(91, 33, 182, 0.18);
  --transition: all 0.35s ease;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul, ol { list-style: none; }

button { font-family: var(--font); cursor: pointer; border: none; background: none; }

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

.section-pad { padding: 96px 0; }

/* ---------- 通用动画 ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); }
}

.anim-in { opacity: 0; }
.anim-in.visible { animation: fadeInUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

/* ---------- 标题与徽标 ---------- */
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

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

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

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

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

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.08);
}

.nav-menu a.active { font-weight: 700; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
  font-size: 22px;
  line-height: 44px;
  text-align: center;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 12% 18%, rgba(236, 72, 153, 0.16), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.22), transparent 44%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.14), transparent 46%),
    linear-gradient(135deg, #f6f2ff 0%, #fdf3fa 45%, #eef6ff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.hero-copy h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.22;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-copy h1 .gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--love), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.42);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
}

.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.06);
  transform: translateY(-3px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.45);
}

.hero-visual {
  position: relative;
}

.hero-visual .hero-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  animation: floatUp 4s ease-in-out infinite;
}

.hero-stat .stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

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

.stat-1 { top: 8%; left: -6%; }
.stat-2 { bottom: 10%; right: -5%; animation-delay: 1.6s; }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ---------- 题材分类条 ---------- */
.categories {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cat-love .cat-icon { background: rgba(236, 72, 153, 0.12); }
.cat-comedy .cat-icon { background: rgba(245, 158, 11, 0.14); }
.cat-work .cat-icon { background: rgba(59, 130, 246, 0.12); }
.cat-fantasy .cat-icon { background: rgba(139, 92, 246, 0.13); }

.cat-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); }

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

/* ---------- 核心特性 ---------- */
.features {
  background: var(--bg-alt);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

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

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.12));
}

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

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

/* ---------- 服务介绍 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-item {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.09);
}

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

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

/* ---------- 精选短剧 ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.drama-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

.drama-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.drama-card:hover .drama-cover img { transform: scale(1.06); }

.drama-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.tag-love { background: linear-gradient(135deg, var(--love), #be185d); }
.tag-comedy { background: linear-gradient(135deg, var(--comedy), var(--accent-dark)); }
.tag-work { background: linear-gradient(135deg, var(--work), #1d4ed8); }
.tag-fantasy { background: linear-gradient(135deg, var(--fantasy), var(--primary-dark)); }

.drama-status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
}

.drama-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drama-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.drama-body p {
  font-size: 14.5px;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
}

.drama-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.drama-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drama-link:hover { color: var(--accent-dark); gap: 10px; }

/* ---------- 常见问题 FAQ ---------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer-inner p { margin-bottom: 8px; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.22), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.26), transparent 44%),
    linear-gradient(135deg, var(--primary-dark), var(--dark-2));
  color: #fff;
  text-align: center;
  padding: 96px 24px;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 18px;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
  animation: pulseGlow 2.4s ease-in-out infinite;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-badge {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

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

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer-desc { font-size: 14.5px; max-width: 320px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 内页通用 Hero ---------- */
.page-hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.18), transparent 40%),
    linear-gradient(135deg, #f6f2ff, #fdf3fa);
  text-align: center;
}

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

.page-hero p {
  font-size: 16.5px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- 关于页 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.about-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15.5px;
  color: var(--text-light);
  margin-bottom: 14px;
}

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

.mission-list li span {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

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

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

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

.value-card .feature-icon { margin: 0 auto 18px; }

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

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

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

.filter-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

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

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card .drama-cover img { height: 200px; }

.product-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
  flex: 1;
}

.product-relations {
  font-size: 13.5px;
  color: var(--text);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.product-relations strong { color: var(--primary); }

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 新闻页 ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.news-list { display: flex; flex-direction: column; gap: 28px; }

.news-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.news-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

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

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

.news-date {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-alt);
}

.sidebar-widget ul li { margin-bottom: 12px; }

.sidebar-widget ul a {
  font-size: 14.5px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-widget ul a:hover { color: var(--primary); }

.sidebar-widget ul a span { color: var(--text-light); font-size: 13px; flex-shrink: 0; }

/* ---------- 资讯详情页 ---------- */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

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

.article-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.35;
  margin: 18px 0 14px;
}

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

.article-cover {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.article-body p {
  font-size: 16.5px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 22px;
}

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

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);
}

.article-body img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.article-tags {
  display: flex;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.article-tags .meta-chip { background: var(--bg-alt); }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  font-size: 14.5px;
  color: var(--primary);
  font-weight: 600;
}

.article-nav a:hover { color: var(--accent-dark); }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-info-list .service-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.contact-info-list h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-list p { font-size: 14.5px; color: var(--text-light); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
  background: #fff;
}

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

.form-tip { font-size: 13px; color: var(--text-light); margin-top: 6px; }

.form-success {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---------- 侧边栏（aside） ---------- */
.related-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.related-list img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.related-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
}

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

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 90;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover { transform: translateY(-4px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu a { display: block; padding: 13px 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .featured-grid, .products-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stat { display: none; }
  .stat-1, .stat-2 { display: flex; }
  .article-nav { flex-direction: column; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-btn { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero { padding: 72px 0 88px; }
  .hero-actions .btn { width: 100%; }
  .faq-question { padding: 18px 20px; font-size: 15px; }
  .contact-form { padding: 26px 20px; }
}

/* ---------- 无障碍与减少动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.3s ease;
}

.skip-link:focus { top: 0; }

/* ---------- 通用窄容器 ---------- */
.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 联系页布局 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-list strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-list p {
  font-size: 14.5px;
  color: var(--text-light);
}

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

/* ---------- 资讯详情页补充 ---------- */
.article-section {
  background: var(--bg);
}

.article-head {
  text-align: center;
  margin-bottom: 36px;
}

.article-head .news-date {
  display: inline-block;
  margin-bottom: 14px;
}

.article-head h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-lead {
  font-size: 16.5px;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.9;
}

.article-figure {
  margin: 0 0 36px;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-light);
  margin-top: 12px;
}

.article-quote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

.article-quote p {
  font-style: italic;
  color: var(--text);
}

.article-quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

.article-list {
  margin: 20px 0 28px;
  padding-left: 22px;
}

.article-list li {
  list-style: disc;
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}

.article-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ---------- 联系页 / 表单响应式 ---------- */
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container-narrow { padding: 0 18px; }
  .contact-form-wrap { padding: 26px 20px; }
  .contact-info { padding: 26px 20px; }
}
