/* =====================================================
   北京尧图科技 - 电竞少女风全局样式库
   版本：V3.0 (终极修复版)
   风格：浅粉 + 浅紫 + 纯白 | 非对称布局 | 锯齿分割
   ===================================================== */

:root {
  --primary-pink: #FFD1DC;       /* 浅粉 */
  --deep-pink: #FF69B4;          /* 深粉点缀 */
  --primary-purple: #E0B0FF;     /* 浅紫 */
  --deep-purple: #9370DB;        /* 深紫文字 */
  --pure-white: #FFFFFF;
  --text-dark: #4A4A4A;
  --text-light: #888888;
  --bg-gradient: linear-gradient(135deg, #FFF5F8 0%, #F3E5F5 100%);
  --card-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
  --hover-shadow: 0 15px 40px rgba(147, 112, 219, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* =====================================================
   1. 顶部导航 (固定 + 滚动变色)
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(233, 30, 99, 0.1);
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-purple);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
  font-size: 16px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--deep-pink);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--deep-pink);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--deep-purple);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* =====================================================
   2. 通用布局组件
   ===================================================== */
.main-content {
  padding-top: 80px;
  min-height: calc(100vh - 200px);
}

.section {
  padding: 80px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   通用板块标题 (强制全宽居中)
   ===================================================== */
.section-title {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  text-align: center !important;
  margin: 0 auto 60px auto !important;
  position: relative;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-title h2 {
  font-size: 36px;
  color: var(--deep-purple);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-pink), var(--deep-purple));
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 卡片基础样式 */
.card {
  background: var(--pure-white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-pink), var(--deep-purple));
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(90deg, var(--deep-pink), var(--deep-purple));
  color: white;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--deep-purple);
  color: var(--deep-purple);
}

.btn-outline:hover {
  background: var(--deep-purple);
  color: white;
}

/* =====================================================
   3. Services 页面专用
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--deep-pink), var(--deep-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
  color: white;
  box-shadow: 0 10px 25px rgba(233, 30, 99, 0.25);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 22px;
  color: var(--deep-purple);
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
  flex-grow: 1;
}

/* =====================================================
   4. Pricing 页面专用
   ===================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  text-align: center;
  padding: 40px 30px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--deep-pink);
  transform: scale(1.05);
  z-index: 2;
  background: linear-gradient(135deg, #FFF5F8 0%, #F3E5F5 100%);
}

.pricing-header h3 {
  font-size: 24px;
  color: var(--deep-purple);
  margin-bottom: 10px;
  font-weight: 700;
}

.pricing-header .subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-pink);
  margin: 20px 0;
  line-height: 1;
}

.price span {
  font-size: 16px;
  color: var(--text-light);
  font-weight: normal;
}

.pricing-features {
  margin: 30px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '✓';
  color: var(--deep-pink);
  font-weight: bold;
  margin-right: 12px;
  font-size: 18px;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* =====================================================
   5. Cases 页面专用
   ===================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.case-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-img {
  transform: scale(1.1);
}

.case-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-tag {
  display: inline-block;
  padding: 6px 15px;
  background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple));
  color: var(--deep-purple);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
  align-self: flex-start;
}

.case-info h3 {
  font-size: 20px;
  color: var(--deep-purple);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.case-info p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-link {
  color: var(--deep-pink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-link:hover {
  gap: 12px;
}

/* =====================================================
   6. Team 页面专用
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.team-card {
  text-align: center;
  padding: 40px 25px;
}

.team-img-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 25px;
  position: relative;
}

.team-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-pink);
  padding: 5px;
  background: white;
  box-shadow: 0 5px 20px rgba(233, 30, 99, 0.15);
}

.team-card h3 {
  font-size: 20px;
  color: var(--deep-purple);
  margin-bottom: 8px;
  font-weight: 700;
}

.team-role {
  color: var(--deep-pink);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* =====================================================
   7. Contact 页面专用 (重点修复)
   ===================================================== */
.contact-section {
  background: white;
  border-radius: 25px;
  padding: 50px;
  box-shadow: var(--card-shadow);
  margin: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--deep-purple);
  margin-bottom: 25px;
  font-weight: 700;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(233, 30, 99, 0.2);
}

.contact-text h4 {
  font-size: 18px;
  color: var(--deep-purple);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-text p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form h3 {
  font-size: 28px;
  color: var(--deep-purple);
  margin-bottom: 25px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-purple);
  font-weight: 600;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  background: #FAFAFA;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--deep-purple);
  background: white;
  box-shadow: 0 0 0 4px rgba(224, 176, 255, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
}

/* =====================================================
   8. Solutions 页面专用
   ===================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.solution-card {
  display: flex;
  flex-direction: column;
}

.solution-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--deep-pink), var(--deep-purple));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.2);
  flex-shrink: 0;
}

.solution-card h3 {
  font-size: 22px;
  color: var(--deep-purple);
  margin-bottom: 15px;
  font-weight: 700;
}

.solution-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.solution-features {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #eee;
}

.solution-features li {
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-features li::before {
  content: '•';
  color: var(--deep-pink);
  font-size: 20px;
  line-height: 1;
}

/* =====================================================
   9. 页脚
   ===================================================== */
.footer {
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
  color: white;
  padding: 70px 0 30px;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L1200,30 L1200,15 L1150,30 L1100,15 L1050,30 L1000,15 L950,30 L900,15 L850,30 L800,15 L750,30 L700,15 L650,30 L600,15 L550,30 L500,15 L450,30 L400,15 L350,30 L300,15 L250,30 L200,15 L150,30 L100,15 L50,30 L0,15 Z' fill='%232D2D2D'/%3E%3C/svg%3E");
  background-size: cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #aaa;
  line-height: 1.8;
  margin-top: 15px;
  font-size: 14px;
}

.footer h4 {
  color: var(--primary-pink);
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--deep-pink);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
  font-size: 14px;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-pink);
  transform: translateX(5px);
}

.footer-contact li {
  margin-bottom: 15px;
  color: #aaa;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #777;
  font-size: 14px;
}

/* =====================================================
   10. 首页专属样式 (Hero/Features/Quick Links)
   ===================================================== */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 209, 220, 0.3) 0%, rgba(224, 176, 255, 0.2) 100%);
  z-index: -1;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-purple);
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  animation: slideInRight 1s ease-out;
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(147, 112, 219, 0.25);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* 锯齿分割线 */
.sawtooth-divider {
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L1200,40 L1200,20 L1150,40 L1100,20 L1050,40 L1000,20 L950,40 L900,20 L850,40 L800,20 L750,40 L700,20 L650,40 L600,20 L550,40 L500,20 L450,40 L400,20 L350,40 L300,20 L250,40 L200,20 L150,40 L100,20 L50,40 L0,20 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-size: cover;
  margin: 0;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: white;
}

.section-header {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  margin-bottom: 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-title {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  text-align: center !important;
  font-size: 36px;
  font-weight: 800;
  color: var(--deep-purple);
  margin-bottom: 15px;
  position: relative;
  padding: 0;
  box-sizing: border-box;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-pink), var(--deep-purple));
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--pure-white);
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-pink), var(--deep-purple));
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.2);
}

.feature-icon img {
  width: 40px;
  height: 40px;
}

.feature-card h3 {
  font-size: 20px;
  color: var(--deep-purple);
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 14px;
}

/* Quick Links Section */
.quick-links-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFF5F8 0%, #F3E5F5 100%);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.quick-link-card {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-pink), var(--deep-purple));
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.quick-link-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--deep-pink), var(--deep-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-weight: 800;
  font-size: 20px;
}

.quick-link-card h4 {
  color: var(--deep-purple);
  font-size: 16px;
  font-weight: 600;
}

/* News Section */
.news-section {
  padding: 80px 0;
  background: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Page Banner (for news.html and other pages) */
.page-banner {
  background: linear-gradient(135deg, rgba(255, 209, 220, 0.4) 0%, rgba(224, 176, 255, 0.3) 100%);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 20' preserveAspectRatio='none'%3E%3Cpath d='M0,20 L1200,20 L1200,5 L1150,20 L1100,5 L1050,20 L1000,5 L950,20 L900,5 L850,20 L800,5 L750,20 L700,5 L650,20 L600,5 L550,20 L500,5 L450,20 L400,5 L350,20 L300,5 L250,20 L200,5 L150,20 L100,5 L50,20 L0,5 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-size: cover;
}

.page-banner h1 {
  font-size: 42px;
  color: var(--deep-purple);
  margin-bottom: 15px;
  font-weight: 800;
}

.page-banner p {
  color: var(--text-light);
  font-size: 18px;
}

/* News List Section */
.news-list-section {
  padding: 60px 0 80px;
  background: white;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Show Article Page */
.show-article {
  padding: 60px 0 80px;
  background: white;
}

.article-container {
  background: white;
  border-radius: 20px;
  overflow: hidden;
}

.article-header {
  text-align: center;
  padding: 40px 20px;
  border-bottom: 2px dashed #f0f0f0;
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 36px;
  color: var(--deep-purple);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.article-meta {
  color: var(--text-light);
  font-size: 14px;
}

.article-content {
  padding: 0 20px 40px;
  line-height: 1.8;
  color: var(--text-dark);
  font-size: 16px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 20px 0;
  box-shadow: 0 5px 20px rgba(147, 112, 219, 0.15);
}

/* Related News in Show Page */
.related-news {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px dashed #f0f0f0;
}

.related-news h3 {
  font-size: 24px;
  color: var(--deep-purple);
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.news-card a {
  display: block;
  color: inherit;
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 25px;
}

.news-date {
  color: var(--deep-pink);
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

.news-content h3 {
  font-size: 18px;
  color: var(--deep-purple);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
  color: white;
  padding: 70px 0 30px;
  margin-top: 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L1200,30 L1200,15 L1150,30 L1100,15 L1050,30 L1000,15 L950,30 L900,15 L850,30 L800,15 L750,30 L700,15 L650,30 L600,15 L550,30 L500,15 L450,30 L400,15 L350,30 L300,15 L250,30 L200,15 L150,30 L100,15 L50,30 L0,15 Z' fill='%232D2D2D'/%3E%3C/svg%3E");
  background-size: cover;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: var(--primary-pink);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--deep-pink);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
  font-size: 14px;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-pink);
  transform: translateX(5px);
}

.contact-info p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  color: #777;
  font-size: 14px;
}

/* 动画关键帧 */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
  }
  
  .features-grid,
  .quick-links-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}
