/* ============================================
   母狗园 - 修车改装视频社区 外部样式表
   域名: 5anepom.cn
   风格: 奥迪银蓝科技感
   ============================================ */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #e0e0e0; background: #0a0a12; line-height: 1.8; }
a { color: #4da6ff; text-decoration: none; transition: color 0.3s; }
a:hover { color: #80c4ff; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.wr { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.hd-main { background: linear-gradient(180deg, #0d1117 0%, #161b22 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 30px rgba(0,102,204,0.15); border-bottom: 1px solid rgba(77,166,255,0.1); }
.hd-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.lg-wrap { display: flex; align-items: center; gap: 14px; }
.lg-wrap img { height: 48px; width: auto; }
.lg-wrap .bd-name { color: #fff; font-size: 1.6rem; font-weight: 700; letter-spacing: 3px; }
.lg-wrap .bd-name em { color: #4da6ff; font-style: normal; }
.hd-slogan { color: #8b949e; font-size: 0.85rem; }

/* Navigation */
.nv-bar { background: rgba(0,0,0,0.3); border-top: 1px solid rgba(77,166,255,0.08); }
.nv-bar ul { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.nv-bar li { position: relative; }
.nv-bar a { display: block; padding: 13px 26px; color: #c9d1d9; font-size: 0.95rem; font-weight: 500; transition: all 0.3s; border-bottom: 2px solid transparent; }
.nv-bar a:hover, .nv-bar a.cur { color: #fff; background: rgba(77,166,255,0.1); border-bottom-color: #4da6ff; }

/* Search */
.sr-box { padding: 14px 0; background: rgba(0,0,0,0.2); }
.sr-box form { display: flex; max-width: 620px; margin: 0 auto; }
.sr-box input[type="text"] { flex: 1; padding: 11px 22px; border: 1px solid rgba(77,166,255,0.3); border-right: none; border-radius: 24px 0 0 24px; background: rgba(255,255,255,0.05); color: #fff; font-size: 0.95rem; outline: none; transition: border-color 0.3s; }
.sr-box input[type="text"]::placeholder { color: rgba(255,255,255,0.35); }
.sr-box input[type="text"]:focus { border-color: #4da6ff; }
.sr-box button { padding: 11px 28px; background: linear-gradient(135deg, #0066cc, #4da6ff); color: #fff; border: none; border-radius: 0 24px 24px 0; cursor: pointer; font-size: 0.95rem; transition: opacity 0.3s; }
.sr-box button:hover { opacity: 0.85; }

/* Hero Banner */
.hero { position: relative; height: 520px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero .bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.hero-inner { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 850px; padding: 0 20px; }
.hero-inner h1 { font-size: 2.6rem; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,102,204,0.5); line-height: 1.3; }
.hero-inner h1 em { color: #4da6ff; font-style: normal; }
.hero-inner p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.92; }
.hero-inner .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 12px 32px; border-radius: 24px; font-size: 1rem; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; }
.btn-blue { background: linear-gradient(135deg, #0066cc, #4da6ff); color: #fff; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,102,204,0.4); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Section */
.sec { padding: 65px 0; }
.sec-dark { background: #0d1117; }
.sec-alt { background: #161b22; }
.sec-hd { text-align: center; margin-bottom: 48px; }
.sec-hd h2 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.sec-hd h2 em { color: #4da6ff; font-style: normal; }
.sec-hd p { color: #8b949e; font-size: 1.05rem; max-width: 700px; margin: 0 auto; }

/* Stats Bar */
.st-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.st-item { text-align: center; padding: 25px 15px; background: rgba(77,166,255,0.05); border: 1px solid rgba(77,166,255,0.12); border-radius: 12px; }
.st-item .num { font-size: 2.2rem; font-weight: 800; color: #4da6ff; }
.st-item .lbl { color: #8b949e; font-size: 0.9rem; margin-top: 6px; }

/* Video Grid */
.vd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vd-card { background: #161b22; border: 1px solid rgba(77,166,255,0.08); border-radius: 12px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.vd-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,204,0.2); }
.vd-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vd-card:hover .vd-thumb img { transform: scale(1.05); }
.vd-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; background: rgba(0,102,204,0.85); border-radius: 50%; opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; }
.vd-play::after { content: ""; display: block; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.vd-card:hover .vd-play { opacity: 1; }
.vd-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,0.6)); }
.vd-dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; z-index: 2; }
.vd-body { padding: 16px; }
.vd-body h3 { font-size: 1rem; color: #e0e0e0; margin-bottom: 8px; line-height: 1.5; }
.vd-body h3 a { color: #e0e0e0; }
.vd-body h3 a:hover { color: #4da6ff; }
.vd-meta { display: flex; justify-content: space-between; color: #8b949e; font-size: 0.82rem; margin-bottom: 8px; }
.vd-tags span { display: inline-block; padding: 3px 10px; background: rgba(77,166,255,0.1); color: #4da6ff; border-radius: 12px; font-size: 0.78rem; margin-right: 6px; }

/* Tab Navigation */
.tab-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 8px 22px; background: rgba(77,166,255,0.08); color: #8b949e; border: 1px solid rgba(77,166,255,0.15); border-radius: 20px; cursor: pointer; font-size: 0.9rem; transition: all 0.3s; }
.tab-btn:hover, .tab-btn.on { background: linear-gradient(135deg, #0066cc, #4da6ff); color: #fff; border-color: transparent; }

/* AI Feature Cards */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ai-box { padding: 30px; background: rgba(77,166,255,0.04); border: 1px solid rgba(77,166,255,0.1); border-radius: 14px; transition: border-color 0.3s; }
.ai-box:hover { border-color: rgba(77,166,255,0.3); }
.ai-box h4 { color: #4da6ff; font-size: 1.15rem; margin-bottom: 12px; }
.ai-box p { color: #8b949e; font-size: 0.95rem; }

/* Team Grid */
.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tm-card { text-align: center; padding: 28px 18px; background: #161b22; border: 1px solid rgba(77,166,255,0.08); border-radius: 14px; transition: transform 0.3s; }
.tm-card:hover { transform: translateY(-4px); }
.tm-card .av { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden; border: 2px solid rgba(77,166,255,0.3); }
.tm-card .av img { width: 100%; height: 100%; object-fit: cover; }
.tm-card h4 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.tm-card .rl { color: #4da6ff; font-size: 0.85rem; margin-bottom: 10px; }
.tm-card p { color: #8b949e; font-size: 0.88rem; }
.tm-links a { display: inline-block; margin: 8px 6px 0; padding: 5px 14px; border: 1px solid rgba(77,166,255,0.2); border-radius: 14px; color: #4da6ff; font-size: 0.82rem; }
.tm-links a:hover { background: rgba(77,166,255,0.1); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(77,166,255,0.1); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 16px 20px; background: rgba(77,166,255,0.04); color: #e0e0e0; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.faq-q:hover { background: rgba(77,166,255,0.08); }
.faq-q::after { content: "+"; font-size: 1.4rem; color: #4da6ff; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: #8b949e; }
.faq-item.open .faq-a { max-height: 300px; padding: 16px 20px; }

/* Reviews */
.rv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rv-card { padding: 22px; background: rgba(77,166,255,0.04); border: 1px solid rgba(77,166,255,0.1); border-radius: 12px; }
.rv-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 8px; }
.rv-card .txt { color: #c9d1d9; font-size: 0.95rem; margin-bottom: 10px; font-style: italic; }
.rv-card .usr { color: #8b949e; font-size: 0.85rem; }

/* Contact Grid */
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ct-box { padding: 28px; background: #161b22; border: 1px solid rgba(77,166,255,0.08); border-radius: 14px; text-align: center; }
.ct-box h4 { color: #4da6ff; margin-bottom: 12px; }
.ct-box p { color: #8b949e; font-size: 0.92rem; margin-bottom: 6px; }
.ct-box img { max-width: 150px; margin: 10px auto; border-radius: 8px; }

/* Footer */
.ft-main { background: #0d1117; border-top: 1px solid rgba(77,166,255,0.1); padding: 40px 0 20px; }
.ft-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.ft-col h5 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.ft-col p, .ft-col a { color: #8b949e; font-size: 0.88rem; display: block; margin-bottom: 6px; }
.ft-col a:hover { color: #4da6ff; }
.ft-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(77,166,255,0.08); color: #8b949e; font-size: 0.85rem; }
.ft-bottom a { color: #4da6ff; }

/* Breadcrumb */
.bc-nav { padding: 14px 0; color: #8b949e; font-size: 0.88rem; }
.bc-nav a { color: #4da6ff; }
.bc-nav span { margin: 0 8px; }

/* Share Buttons */
.sh-row { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.sh-btn { padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; color: #fff; cursor: pointer; border: none; transition: opacity 0.3s; }
.sh-btn:hover { opacity: 0.8; }
.sh-wx { background: #07c160; }
.sh-wb { background: #e6162d; }
.sh-dy { background: #161823; border: 1px solid #444; }
.sh-bl { background: #00a1d6; }

/* Brand Wall */
.bw-row { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; align-items: center; padding: 20px 0; }
.bw-row span { color: #8b949e; font-size: 1.1rem; font-weight: 600; padding: 12px 20px; border: 1px solid rgba(77,166,255,0.1); border-radius: 8px; }

/* Page Content */
.pg-content { padding: 40px 0; }
.pg-content h2 { color: #fff; font-size: 1.8rem; margin-bottom: 20px; }
.pg-content h3 { color: #4da6ff; font-size: 1.3rem; margin: 25px 0 12px; }
.pg-content p { color: #c9d1d9; margin-bottom: 14px; }

/* Responsive */
@media (max-width: 992px) {
  .vd-grid, .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .st-bar { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { height: 400px; }
  .hero-inner h1 { font-size: 1.8rem; }
  .nv-bar ul { flex-wrap: wrap; justify-content: center; }
  .nv-bar a { padding: 10px 16px; font-size: 0.88rem; }
  .vd-grid, .ai-grid { grid-template-columns: 1fr; }
  .tm-grid { grid-template-columns: 1fr; }
  .rv-grid { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .sec { padding: 40px 0; }
}
