/* ========================================
   极品探花 - 汽车改装视频社区 全新原创样式
   配色：深海蓝 + 荧光绿 + 银灰
   域名：fssx56.cn
   ======================================== */

:root {
  --deep-navy: #0b1628;
  --midnight: #111d33;
  --ocean-blue: #1a3a6b;
  --neon-green: #39e75f;
  --lime-accent: #2dd44a;
  --silver: #c8d0dc;
  --pale-silver: #e4e8ef;
  --ghost-white: #f3f5f9;
  --warm-white: #fafbfd;
  --text-main: #1e2a3a;
  --text-light: #6b7a8d;
  --text-muted: #94a3b8;
  --danger: #ef4444;
  --gold: #f59e0b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11,22,40,0.08);
  --shadow-md: 0 4px 20px rgba(11,22,40,0.12);
  --shadow-lg: 0 8px 40px rgba(11,22,40,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--warm-white);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--ocean-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--neon-green); }

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===== 头部导航 ===== */
.site-header {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--midnight) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--silver);
  letter-spacing: 2px;
}

.logo-text span { color: var(--neon-green); }

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  color: var(--silver);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--neon-green);
  background: rgba(57,231,95,0.08);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--neon-green);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== 搜索栏 ===== */
.search-bar {
  background: var(--midnight);
  padding: 14px 0;
  border-bottom: 1px solid rgba(57,231,95,0.15);
}

.search-bar-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-form {
  display: flex;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(57,231,95,0.1);
}

.search-form input {
  flex: 1;
  padding: 12px 24px;
  border: 2px solid var(--ocean-blue);
  border-right: none;
  background: var(--deep-navy);
  color: var(--silver);
  font-size: 0.95rem;
  outline: none;
  border-radius: 40px 0 0 40px;
  transition: var(--transition);
}

.search-form input:focus {
  border-color: var(--neon-green);
}

.search-form input::placeholder { color: var(--text-muted); }

.search-form button {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--neon-green), var(--lime-accent));
  color: var(--deep-navy);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0 40px 40px 0;
  transition: var(--transition);
}

.search-form button:hover { opacity: 0.9; transform: scale(1.02); }

/* ===== Hero区域 ===== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,22,40,0.85) 0%, rgba(26,58,107,0.6) 50%, rgba(11,22,40,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--neon-green);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 600px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-tags span {
  background: rgba(57,231,95,0.12);
  color: var(--neon-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(57,231,95,0.25);
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--neon-green), var(--lime-accent));
  color: var(--deep-navy);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 40px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(57,231,95,0.3);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(57,231,95,0.4);
  color: var(--deep-navy);
}

/* ===== 通用板块 ===== */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--ghost-white);
}

.section-dark {
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight) 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.section-dark .section-header h2 { color: #fff; }

.section-header h2 em {
  font-style: normal;
  color: var(--neon-green);
}

.section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-header p { color: var(--silver); }

/* ===== 视频卡片网格 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--midnight);
}

.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumb img,
.video-card:hover .video-thumb video {
  transform: scale(1.06);
}

.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,22,40,0.35);
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover .video-poster { opacity: 1; }

.play-icon {
  width: 60px;
  height: 60px;
  background: rgba(57,231,95,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(57,231,95,0.5);
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--deep-navy);
  margin-left: 3px;
}

.video-card:hover .play-icon { transform: scale(1.15); }

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.video-info {
  padding: 16px;
}

.video-info h3, .video-info h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.video-meta span { display: flex; align-items: center; gap: 4px; }

.video-tag {
  display: inline-block;
  background: rgba(57,231,95,0.1);
  color: var(--lime-accent);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-top: 8px;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0;
  background: var(--ghost-white);
  border-bottom: 1px solid var(--pale-silver);
}

.breadcrumb-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-inner a { color: var(--ocean-blue); }
.breadcrumb-inner a:hover { color: var(--neon-green); }

/* ===== 专家卡片 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expert-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.expert-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.expert-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--neon-green);
}

.expert-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-card .role {
  color: var(--neon-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.expert-card .desc {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.expert-card .contact-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.expert-btn {
  display: inline-block;
  padding: 6px 20px;
  border: 2px solid var(--neon-green);
  color: var(--neon-green);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.expert-btn:hover {
  background: var(--neon-green);
  color: var(--deep-navy);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--pale-silver);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover { color: var(--neon-green); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--neon-green);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  padding: 0 24px 18px;
  max-height: 300px;
}

/* ===== 用户评论 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--neon-green);
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.review-text {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.review-author strong { color: var(--text-main); font-style: normal; }

/* ===== 合作品牌墙 ===== */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 20px 0;
}

.brand-wall-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(57,231,95,0.15);
  border-radius: var(--radius-md);
  padding: 18px 32px;
  color: var(--silver);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.brand-wall-item:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(57,231,95,0.06);
}

/* ===== How-To指南 ===== */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.howto-step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--neon-green), var(--lime-accent));
  color: var(--deep-navy);
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.howto-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.howto-step p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}

.share-btn:hover { transform: translateY(-2px); color: #fff; opacity: 0.9; }
.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00a1d6; }

/* ===== 页脚 ===== */
.site-footer {
  background: linear-gradient(180deg, var(--deep-navy) 0%, #060d18 100%);
  color: var(--silver);
  padding: 56px 0 0;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-qr {
  display: flex;
  gap: 16px;
}

.footer-qr figure {
  text-align: center;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 2px solid rgba(57,231,95,0.2);
}

.footer-qr figcaption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-col h5 {
  color: var(--neon-green);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--neon-green); padding-left: 4px; }

.footer-mcp {
  max-width: 1240px;
  margin: 0 auto 32px;
  padding: 0 20px;
}

.mcp-box {
  background: rgba(57,231,95,0.05);
  border: 1px solid rgba(57,231,95,0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.mcp-box h5 { color: var(--neon-green); margin-bottom: 8px; }

.mcp-status {
  display: inline-block;
  background: rgba(57,231,95,0.15);
  color: var(--neon-green);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--neon-green);
  color: var(--deep-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(57,231,95,0.3);
  z-index: 999;
}

.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ===== 社区模块 ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.community-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 3px solid var(--neon-green);
}

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

.community-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.community-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.community-card .stats {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.community-card .stats strong { color: var(--neon-green); }

/* ===== AI赋能 ===== */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(57,231,95,0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.ai-card:hover {
  border-color: var(--neon-green);
  background: rgba(57,231,95,0.04);
}

.ai-card .icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--neon-green), var(--lime-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.ai-card h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ai-card p {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-info-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-info-box h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--ocean-blue);
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-item .label {
  font-weight: 700;
  min-width: 80px;
  color: var(--text-main);
}

.contact-item .value {
  color: var(--text-light);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .ai-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .menu-toggle { display: flex; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-section { min-height: 400px; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .share-bar { flex-wrap: wrap; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header h3 { font-size: 1rem; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .search-form input { font-size: 14px; }
  .hero-tags { gap: 6px; }
  .hero-tags span { font-size: 0.75rem; padding: 4px 10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: 0.85rem; }
  .hero-section { min-height: 320px; }
  .section { padding: 28px 0; }
  .section-header h2 { font-size: 1.2rem; }
  .video-info h4 { font-size: 0.85rem; }
  .video-meta { font-size: 0.72rem; }
  .expert-card { padding: 16px; }
  .faq-question { font-size: 0.9rem; padding: 12px 16px; }
  .faq-answer { padding: 12px 16px; font-size: 0.85rem; }
  .review-card { padding: 16px; }
  .footer-bottom p { font-size: 0.72rem; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .brand-wall-item { font-size: 0.8rem; padding: 10px; }
  .share-btn { font-size: 0.8rem; padding: 8px 16px; }
}
