/* 91 修车改装视频社区 - 原创工业风格 */
/* 设计理念：深色工业质感 + 霓虹荧光点缀 */

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

:root {
    --carbon-black: #0D0D0D;
    --steel-dark: #1A1D23;
    --steel-mid: #2A2E35;
    --neon-orange: #FF5722;
    --neon-amber: #FF9800;
    --electric-blue: #00BCD4;
    --chrome-silver: #B0BEC5;
    --text-white: #ECEFF1;
    --text-gray: #90A4AE;
    --border-dark: #37474F;
    --shadow-glow: 0 0 20px rgba(255, 87, 34, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--carbon-black);
    overflow-x: hidden;
}

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

@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

/* 头部导航 */
header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    color: var(--neon-orange);
    transition: var(--transition);
}

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

.logo:hover {
    text-shadow: var(--shadow-glow);
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--chrome-silver);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-orange);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--neon-orange);
}

.nav-menu a:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--steel-mid);
    border-radius: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border-dark);
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--neon-orange);
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.2);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 13px;
    width: 140px;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-gray);
}

.search-icon {
    color: var(--text-gray);
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
    transition: var(--transition);
}

.search-icon:hover {
    color: var(--neon-orange);
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .search-box { display: none; }
    .header-wrapper { padding: 12px 0; }
}

/* Banner英雄区 */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    color: var(--neon-orange);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--neon-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 87, 34, 0.6);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

@media (max-width: 768px) {
    .hero-banner { min-height: 380px; }
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 15px; }
}

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

.video-card {
    background: var(--steel-dark);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--neon-orange);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--steel-mid);
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 87, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

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

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}

.video-info {
    padding: 14px 16px;
}

.video-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-stats {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}

/* 分区标题 */
.section {
    padding: 70px 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-white);
}

.section-title span {
    color: var(--neon-orange);
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-alt {
    background: var(--steel-dark);
}

/* 功能卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--steel-mid);
    padding: 28px;
    border-radius: 10px;
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--neon-orange);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--neon-orange);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* FAQ区域 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--steel-mid);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--neon-orange);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-white);
    transition: var(--transition);
}

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

.faq-toggle {
    font-size: 18px;
    color: var(--neon-orange);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 14px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 评价卡片 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--steel-mid);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-dark);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--electric-blue);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.review-user {
    font-weight: 600;
    color: var(--text-white);
    font-size: 14px;
}

.review-role {
    font-size: 12px;
    color: var(--text-gray);
}

.review-rating {
    color: var(--neon-amber);
    font-size: 14px;
}

.review-text {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
    font-style: italic;
}

/* 页脚 */
footer {
    background: var(--steel-dark);
    border-top: 1px solid var(--border-dark);
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--neon-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--neon-orange);
}

.footer-section p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-gray);
}

.footer-bottom a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--neon-orange);
}

/* 面包屑 */
.breadcrumb {
    background: var(--steel-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 13px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--neon-orange);
    text-decoration: none;
}

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

.expert-card {
    background: var(--steel-mid);
    padding: 28px;
    border-radius: 10px;
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: var(--transition);
}

.expert-card:hover {
    border-color: var(--neon-orange);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-amber));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: white;
}

.expert-card h3 {
    color: var(--text-white);
    margin-bottom: 4px;
    font-size: 16px;
}

.expert-card .title {
    color: var(--neon-orange);
    font-size: 12px;
    margin-bottom: 12px;
}

.expert-card .bio {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1024px) {
    .container { max-width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 40px 16px; }
    .section-title { font-size: 24px; }
    .hero-banner { min-height: 320px; }
}

/* 打印 */
@media print {
    header, footer, .search-box { display: none; }
}
