/* ==========================================
   国产传媒 · 如影随形
   Style: 东方叙事 / 赤陶余韵
   ========================================== */

:root {
  --primary: #C4504A;
  --primary-dark: #A93D38;
  --primary-soft: #F3DDD8;
  --secondary: #6E8B77;
  --secondary-soft: #E4EDE4;
  --accent: #DBA85E;
  --accent-soft: #F7ECD8;
  --bg: #F9F6F0;
  --bg-alt: #F0EBE1;
  --card: #FEFDFB;
  --text: #2B2825;
  --text-muted: rgba(43, 40, 37, 0.72);
  --text-faint: rgba(43, 40, 37, 0.55);
  --border: rgba(43, 40, 37, 0.1);
  --shadow-sm: 0 2px 12px rgba(43, 40, 37, 0.06);
  --shadow-md: 0 4px 22px rgba(43, 40, 37, 0.09);
  --shadow-lg: 0 8px 36px rgba(43, 40, 37, 0.12);
  --radius: 16px;
  --radius-lg: 28px;
  --transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-soft);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(249, 246, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43, 40, 37, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(43, 40, 37, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(196, 80, 74, 0.28);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 24px;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(196, 80, 74, 0.22);
  transition: var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(196, 80, 74, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 0 70px;
}

.hero::before {
  content: '影';
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 280px;
  font-weight: 900;
  line-height: 1;
  color: rgba(43, 40, 37, 0.035);
  z-index: 0;
  font-family: 'KaiTi', 'STKaiti', 'SimSun', serif;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 6%;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(110, 139, 119, 0.25);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.5px;
}

.hero h1 .text-accent {
  color: var(--primary);
  position: relative;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-image {
  border-radius: 12px 40px 12px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  transform: rotate(1.5deg);
  transition: var(--transition);
  background: linear-gradient(135deg, var(--secondary-soft), var(--primary-soft));
  animation: heroImageIn 0.9s ease 0.4s both;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(196, 80, 74, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 28px rgba(196, 80, 74, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

/* ---------- 标签/标题 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 16px;
  background: var(--primary-soft);
  border-radius: 24px;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 80, 74, 0.2);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.category-card:nth-child(2n) .card-icon {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.category-card:nth-child(3n) .card-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  margin-top: 16px;
  transition: var(--transition);
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
  transform: rotate(-1.2deg);
  transition: var(--transition);
  background: var(--secondary-soft);
}

.feature-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-text .section-title {
  margin-bottom: 14px;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  margin-top: 22px;
}

.feature-list li {
  padding: 11px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(43, 40, 37, 0.08);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 34px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 8px;
  letter-spacing: 1px;
  color: var(--text);
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
}

.content-wall-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--secondary-soft);
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(196, 80, 74, 0.25);
}

.faq-item.open {
  border-color: rgba(196, 80, 74, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  opacity: 0.72;
  font-size: 0.9rem;
  line-height: 1.75;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #C4504A 0%, #B84A44 55%, #C45A4E 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.site-footer .container {
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-faint);
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.5deg);
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 12px 32px rgba(43, 40, 37, 0.08);
    border-bottom: 1px solid var(--border);
  }

  .main-nav a {
    width: 100%;
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero::before {
    font-size: 180px;
    right: -20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .cta-banner {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .section {
    padding: 70px 0;
  }

  .hero-image {
    border-radius: 10px 28px 10px 28px;
  }

  .hero::before {
    font-size: 120px;
  }
}