/* ===== 福利姬修车改装 - 原创样式 ===== */
/* 配色：深海蓝 #0a1628 / 银灰 #c0c8d4 / 钢蓝 #1a3a5c / 亮银 #e8ecf1 / 橙色强调 #e67e22 */

:root {
  --clr-bg: #0a1628;
  --clr-surface: #0f2035;
  --clr-card: #132a42;
  --clr-border: #1e3d5f;
  --clr-text: #c0c8d4;
  --clr-heading: #e8ecf1;
  --clr-accent: #e67e22;
  --clr-accent-hover: #f39c12;
  --clr-silver: #8899aa;
  --clr-steel: #1a3a5c;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.35);
  --max-w: 1200px;
  --font: 'Segoe UI','PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--clr-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-accent-hover); }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== 头部导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: background .3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-heading);
}

.nav-logo img { width: 40px; height: 40px; border-radius: 50%; }

.nav-logo em { color: var(--clr-accent); font-style: normal; }

.nav-menu { display: flex; list-style: none; gap: 6px; }

.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--clr-silver);
  font-size: .9rem;
  border-radius: var(--radius);
  transition: all .2s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--clr-heading);
  background: var(--clr-steel);
}

.nav-toggle { display: none; background: none; border: none; color: var(--clr-heading); font-size: 1.5rem; cursor: pointer; }

/* ===== 搜索框 ===== */
.search-section {
  background: var(--clr-surface);
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
  margin-top: 64px;
}

.search-box {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

.search-box input {
  flex: 1;
  padding: 10px 18px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-card);
  color: var(--clr-heading);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}

.search-box input:focus { border-color: var(--clr-accent); }

.search-box button {
  padding: 10px 24px;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s;
}

.search-box button:hover { background: var(--clr-accent-hover); }

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 20px;
}

.hero-banner h1 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-banner h1 em { color: var(--clr-accent); font-style: normal; }

.hero-banner .hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-banner .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-banner .hero-tags span {
  padding: 5px 14px;
  background: rgba(230,126,34,.2);
  border: 1px solid rgba(230,126,34,.4);
  border-radius: 20px;
  font-size: .82rem;
  color: var(--clr-accent);
}

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

.section-alt { background: var(--clr-surface); }

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

.section-title h2 {
  font-size: 1.9rem;
  color: var(--clr-heading);
  margin-bottom: 10px;
}

.section-title h2 em { color: var(--clr-accent); font-style: normal; }

.section-title p {
  color: var(--clr-silver);
  font-size: .95rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.video-card {
  background: var(--clr-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform .25s, box-shadow .25s;
}

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

.video-card .thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

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

.video-card .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .25s;
}

.video-card:hover .play-btn { opacity: 1; }

.play-btn svg {
  width: 52px;
  height: 52px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

.video-card .card-body { padding: 14px; }

.video-card .card-body h3 {
  font-size: .92rem;
  color: var(--clr-heading);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card .card-meta {
  display: flex;
  gap: 12px;
  font-size: .78rem;
  color: var(--clr-silver);
}

.video-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.video-card .card-tags span {
  padding: 2px 8px;
  background: var(--clr-steel);
  border-radius: 3px;
  font-size: .72rem;
  color: var(--clr-silver);
}

/* ===== 双栏图文板块 ===== */
.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

.feature-row.reverse { flex-direction: row-reverse; }

.feature-row .feat-img {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-row .feat-img img { border-radius: var(--radius); }

.feature-row .feat-text { flex: 1; }

.feature-row .feat-text h2 {
  font-size: 1.6rem;
  color: var(--clr-heading);
  margin-bottom: 14px;
}

.feature-row .feat-text h2 em { color: var(--clr-accent); font-style: normal; }

.feature-row .feat-text p {
  margin-bottom: 12px;
  color: var(--clr-text);
}

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

.expert-card {
  background: var(--clr-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--clr-border);
  transition: transform .2s;
}

.expert-card:hover { transform: translateY(-3px); }

.expert-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 2px solid var(--clr-accent);
}

.expert-card h4 {
  font-size: 1rem;
  color: var(--clr-heading);
  margin-bottom: 4px;
}

.expert-card .role {
  font-size: .82rem;
  color: var(--clr-accent);
  margin-bottom: 10px;
}

.expert-card p {
  font-size: .82rem;
  color: var(--clr-silver);
  line-height: 1.5;
}

.expert-card .expert-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 18px;
  border: 1px solid var(--clr-accent);
  border-radius: 20px;
  font-size: .8rem;
  color: var(--clr-accent);
  transition: all .2s;
}

.expert-card .expert-btn:hover {
  background: var(--clr-accent);
  color: #fff;
}

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

.brand-wall .brand-item {
  padding: 16px 28px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--clr-silver);
  font-weight: 600;
  transition: all .2s;
}

.brand-wall .brand-item:hover {
  border-color: var(--clr-accent);
  color: var(--clr-heading);
}

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

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item .faq-q {
  padding: 16px 20px;
  background: var(--clr-card);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--clr-heading);
  transition: background .2s;
}

.faq-item .faq-q:hover { background: var(--clr-steel); }

.faq-item .faq-q .arrow {
  transition: transform .3s;
  font-size: 1.2rem;
  color: var(--clr-accent);
}

.faq-item.open .faq-q .arrow { transform: rotate(180deg); }

.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 20px;
  color: var(--clr-text);
  font-size: .9rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 16px 20px;
}

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

.review-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px;
}

.review-card .stars {
  color: var(--clr-accent);
  font-size: 1rem;
  margin-bottom: 10px;
}

.review-card p {
  font-size: .88rem;
  color: var(--clr-text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.review-card .reviewer {
  font-size: .82rem;
  color: var(--clr-silver);
  font-weight: 600;
}

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

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--clr-card);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--clr-steel);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent);
  font-size: 1.1rem;
}

.contact-item h5 {
  font-size: .9rem;
  color: var(--clr-heading);
  margin-bottom: 2px;
}

.contact-item span {
  font-size: .82rem;
  color: var(--clr-silver);
}

.qrcode-group {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.qrcode-group .qr-item { text-align: center; }

.qrcode-group .qr-item img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  margin-bottom: 8px;
}

.qrcode-group .qr-item span {
  font-size: .82rem;
  color: var(--clr-silver);
}

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

.share-bar a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-silver);
  font-size: .85rem;
  font-weight: 700;
  transition: all .2s;
}

.share-bar a:hover {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}

/* ===== 页脚 ===== */
.site-footer {
  background: #060e1a;
  border-top: 1px solid var(--clr-border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h5 {
  font-size: .95rem;
  color: var(--clr-heading);
  margin-bottom: 14px;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-heading);
}

.footer-about .footer-logo img { width: 36px; height: 36px; border-radius: 50%; }

.footer-about .footer-logo em { color: var(--clr-accent); font-style: normal; }

.footer-about p {
  font-size: .82rem;
  color: var(--clr-silver);
  line-height: 1.6;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: .82rem;
  color: var(--clr-silver);
  transition: color .2s;
}

.footer-links a:hover { color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 20px;
  text-align: center;
  font-size: .78rem;
  color: var(--clr-silver);
}

.footer-bottom a { color: var(--clr-silver); }

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: .82rem;
  color: var(--clr-silver);
  margin-top: 64px;
}

.breadcrumb a { color: var(--clr-silver); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { margin: 0 6px; }

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

.howto-step {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  counter-increment: step;
  position: relative;
}

.howto-step::before {
  content: counter(step);
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: var(--clr-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 12px;
}

.howto-step h4 {
  font-size: .92rem;
  color: var(--clr-heading);
  margin-bottom: 8px;
}

.howto-step p {
  font-size: .8rem;
  color: var(--clr-silver);
}

/* ===== 内页通用 ===== */
.page-hero {
  padding: 100px 0 48px;
  text-align: center;
  background: var(--clr-surface);
}

.page-hero h1 {
  font-size: 2rem;
  color: var(--clr-heading);
  margin-bottom: 12px;
}

.page-hero h1 em { color: var(--clr-accent); font-style: normal; }

.page-hero p {
  color: var(--clr-silver);
  max-width: 600px;
  margin: 0 auto;
}

.page-content { padding: 48px 0; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 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); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--clr-surface); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--clr-border); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .hero-banner { min-height: 400px; }
  .hero-banner h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-banner h1 { font-size: 1.5rem; }
}
