/* ========================================
   国产主播汽车改装网站 - 全新原创CSS样式
   配色方案：青色(#00D9FF) + 紫色(#9D4EDD) + 橙色(#FF6B35)
   设计风格：插画风格 + 卡通元素 + 现代科技感
   ======================================== */

/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #00D9FF;
    --primary-purple: #9D4EDD;
    --primary-orange: #FF6B35;
    --dark-bg: #1A1A2E;
    --light-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --gradient-main: linear-gradient(135deg, #00D9FF 0%, #9D4EDD 50%, #FF6B35 100%);
    --gradient-card: linear-gradient(145deg, #00D9FF15, #9D4EDD15);
    --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.15);
    --shadow-md: 0 4px 16px rgba(157, 78, 221, 0.2);
    --shadow-lg: 0 8px 32px rgba(255, 107, 53, 0.25);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* ===== 导航栏样式（全新设计） ===== */
.navbar {
    background: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
    border-bottom: 3px solid var(--primary-teal);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary-teal);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: rotate(360deg) scale(1.1);
}

.nav-title {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-item a {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-item a:hover::before {
    left: 0;
}

.nav-item a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== 搜索框样式（全新设计） ===== */
.search-container {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    padding: 40px 0;
    text-align: center;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: 3px solid var(--primary-orange);
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.search-input:focus {
    transform: scale(1.02);
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.4);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-purple);
    transform: translateY(-50%) scale(1.05);
}

/* ===== Hero区域样式（全新设计） ===== */
.hero {
    background: var(--gradient-main);
    padding: 80px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: heroTitle 1s ease-out;
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 22px;
    color: white;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    display: inline-block;
    padding: 18px 45px;
    background: white;
    color: var(--primary-purple);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===== 内容区域样式 ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: var(--gradient-main);
    margin: 20px auto 0;
    border-radius: 5px;
}

/* ===== 服务卡片样式（全新设计） ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-card);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-purple);
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-size: 12px;
}

/* ===== 视频卡片样式（全新设计） ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1);
}

.play-button::after {
    content: '▶';
    margin-left: 3px;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.video-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #888;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== 专家团队样式（全新设计） ===== */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.expert-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.expert-card:hover::before {
    transform: scaleX(1);
}

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

.expert-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-teal);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
    transition: all 0.4s ease;
}

.expert-card:hover .expert-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-orange);
}

.expert-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary-purple);
}

.expert-card .role {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 15px;
}

.expert-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.expert-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
}

.expert-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== FAQ样式（全新设计） ===== */
.faq-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-teal);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-orange);
}

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

.faq-question::after {
    content: '+';
    font-size: 28px;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--primary-orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

/* ===== 页脚样式（全新设计） ===== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 30px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.qrcode-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.qrcode-item img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    border: 3px solid var(--primary-teal);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.qrcode-item img:hover {
    transform: scale(1.1);
    border-color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 加载动画 ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
