/* ============================================
   每日大赛 - 主样式文件
   品牌色彩体系：
   主色: #FF6B35 (活力橙红)
   辅色: #004E89 (深蓝)
   强调色: #F7B801 (金黄)
   背景色: #F5F7FA (浅灰蓝)
   文字色: #2C3E50 (深灰)
============================================ */

/* === 基础重置 === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #FF6B35;
  --secondary: #004E89;
  --accent: #F7B801;
  --bg: #F5F7FA;
  --text: #2C3E50;
  --text-light: #6B7280;
  --white: #FFFFFF;
  --dark: #1A1A2E;
  --card-bg: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(255,107,53,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-main: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* === 通用工具类 === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--dark);
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 12px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FF8C5A);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #003d6e;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
}

/* === 顶部公告栏 === */
.top-bar {
  background: linear-gradient(90deg, var(--secondary), var(--dark));
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  padding: 8px 0;
  text-align: center;
}

.top-bar a {
  color: var(--accent);
  font-weight: 600;
}

/* === 导航栏 === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-brand .brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.navbar-brand .brand-text span {
  color: var(--primary);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
  background: rgba(255,107,53,0.08);
}

/* 搜索框 */
.navbar-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  gap: 8px;
  min-width: 200px;
  transition: var(--transition);
}

.navbar-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.navbar-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  color: var(--text);
  width: 100%;
  font-family: var(--font-main);
}

.navbar-search input::placeholder {
  color: var(--text-light);
}

.navbar-search button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-search button:hover {
  color: var(--primary);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* === Hero 区域 === */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0a2540 50%, #1a1a2e 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,78,137,0.85) 0%, rgba(26,26,46,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,53,0.4);
}

.hero-card:first-child {
  grid-column: 1 / -1;
}

.hero-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hero-card:first-child img {
  height: 200px;
}

.hero-card-info {
  padding: 12px;
}

.hero-card-info h4 {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-card-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* === 视频卡片 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .video-play-btn {
  opacity: 1;
}

.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,107,53,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transform: scale(0.8);
  transition: var(--transition);
}

.video-card:hover .play-icon {
  transform: scale(1);
}

.play-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 3px;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === 功能模块卡片 === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,184,1,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === 专家卡片 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.expert-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.expert-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.expert-card:hover .expert-photo img {
  transform: scale(1.05);
}

.expert-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.expert-info {
  padding: 20px;
}

.expert-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.expert-title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.expert-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.expert-awards span {
  font-size: 0.72rem;
  background: rgba(247,184,1,0.1);
  color: #B8860B;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(247,184,1,0.3);
}

.expert-btns {
  display: flex;
  gap: 8px;
}

.expert-btns a {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.expert-btns .btn-contact {
  background: var(--primary);
  color: white;
}

.expert-btns .btn-works {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.expert-btns a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* === 合作品牌 === */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.partner-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}

.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(255,107,53,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--text-light);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* === 用户评价 === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.review-quote {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.review-author-info .name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.review-author-info .role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,184,1,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text .label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-item-text .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.qr-item {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
}

.qr-item img {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border-radius: 8px;
}

.qr-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === 社区入口 === */
.community-entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.community-entry {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.community-entry:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.community-entry .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.community-entry h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.community-entry p {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* === 分享按钮 === */
.share-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #000000; }
.share-bilibili { background: #00A1D6; }

/* === 面包屑 === */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb-inner a {
  color: var(--text-light);
}

.breadcrumb-inner a:hover {
  color: var(--primary);
}

.breadcrumb-inner .sep {
  color: var(--border);
}

.breadcrumb-inner .current {
  color: var(--primary);
  font-weight: 600;
}

/* === 页面头部 === */
.page-hero {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* === 分页 === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === 页脚 === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item .qr-code {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-qr-item .qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-qr-item p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-update {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* === 弹幕效果 === */
.danmu-bar {
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.danmu-track {
  display: flex;
  gap: 60px;
  animation: danmu-scroll 30s linear infinite;
  white-space: nowrap;
}

.danmu-track span {
  font-size: 0.85rem;
  opacity: 0.8;
}

@keyframes danmu-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === How-To 步骤 === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === AI功能展示 === */
.ai-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ai-showcase img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.ai-feature-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ai-feature-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.ai-feature-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === 统计数据 === */
.stats-bar {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-item .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* === 图片展示网格 === */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay span {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

/* === 搜索结果提示 === */
.search-tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  z-index: 100;
}

.navbar-search:focus-within .search-tip {
  display: block;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .ai-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
    gap: 4px;
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav a {
    width: 100%;
    padding: 10px 16px;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-search {
    display: none;
  }

  .navbar-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .num {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* === 动画 === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* === 懒加载占位 === */
img[data-src] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === 视频模态框 === */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: black;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal video {
  width: 100%;
  aspect-ratio: 16/9;
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* === 选中文字颜色 === */
::selection {
  background: rgba(255,107,53,0.2);
  color: var(--primary);
}
