/* 四虎 全新原创样式 - 紫色渐变主题 */
/* 域名: mzqxhh.cn */

:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary: #EC4899;
    --accent: #F472B6;
    --bg-dark: #1F1B2E;
    --bg-light: #F5F3FF;
    --text-dark: #1E1B4B;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* 顶部导航栏 - 全新设计 */
.top-nav {
    background: var(--bg-dark);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-wrap img {
    height: 42px;
    width: auto;
    border-radius: 8px;
}

.logo-wrap .brand-name {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.main-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--gradient);
    color: var(--white);
}

/* 搜索栏 - 全新设计 */
.search-section {
    background: var(--bg-light);
    padding: 100px 0 30px;
}

.search-box {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-box button {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-box button:hover {
    transform: scale(1.05);
}

/* Hero区域 - 全新布局 */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31,27,46,0.95) 0%, rgba(31,27,46,0.7) 50%, rgba(31,27,46,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--primary);
    text-decoration: none;
}

/* 视频卡片网格 - 全新设计 */
.video-section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s;
}

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

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

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

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    opacity: 0;
}

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

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--white);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.video-tags span {
    background: var(--bg-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* 特色功能区 - 全新布局 */
.features-section {
    background: var(--bg-dark);
    padding: 100px 0;
}

.features-section .section-header h2,
.features-section .section-header p {
    color: var(--white);
}

.features-section .section-header p {
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.feature-card h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
}

/* AI赋能区 - 全新设计 */
.ai-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.ai-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.4s;
}

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

.ai-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.ai-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.ai-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* 专家团队 - 全新布局 */
.experts-section {
    padding: 100px 0;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.expert-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
}

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

.expert-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.expert-info {
    padding: 28px;
    text-align: center;
}

.expert-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.expert-title {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 14px;
}

.expert-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.expert-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.expert-btn:hover {
    transform: scale(1.05);
}

/* 用户评价 - 全新设计 */
.reviews-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
}

.review-user h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.review-user span {
    font-size: 13px;
    color: var(--text-light);
}

.review-stars {
    color: #FBBF24;
    font-size: 16px;
    margin-bottom: 16px;
}

.review-text {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* FAQ区域 */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px 28px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
}

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

.faq-answer {
    padding: 0 28px 24px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    display: none;
}

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

/* 联系我们 - 全新布局 */
.contact-section {
    background: var(--bg-dark);
    padding: 100px 0;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
}

.contact-card h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-qr {
    text-align: center;
}

.contact-qr img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* 页脚 - 全新设计 */
.site-footer {
    background: #0F0D1A;
    padding: 60px 0 30px;
}

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

.footer-brand img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gradient);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

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

.footer-qr img {
    width: 120px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.footer-qr p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* 内页样式 */
.page-header {
    background: var(--gradient);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-nav .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .video-grid,
    .features-grid,
    .experts-grid,
    .reviews-grid,
    .ai-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

/* 图片懒加载 */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}
