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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
}

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

/* 头部导航 */
.header {
    background: #0f172a;
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

/* 搜索框区域 */
.search-section {
    background: #f8fafc;
    padding: 20px 0;
    margin-top: 70px;
    border-bottom: 1px solid #e2e8f0;
}

.search-box-large {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-box-large input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-box-large input:focus {
    outline: none;
    border-color: #3b82f6;
}

.search-box-large button {
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box-large button:hover {
    background: #2563eb;
}

/* Hero区域 */
.hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
}

.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* 面包屑 */
.breadcrumb {
    background: #f8fafc;
    padding: 12px 0;
    font-size: 14px;
    color: #64748b;
}

/* 通用区块 */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: #0f172a;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 40px;
}

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

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    background: #f1f5f9;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

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

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #64748b;
}

/* 服务网格 */
.services-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.services-section h2,
.services-section .section-desc {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* AI区块 */
.ai-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.ai-section h2,
.ai-section .section-desc {
    color: white;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.ai-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

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

.ai-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.ai-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* 专家网格 */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.expert-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.expert-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.expert-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #0f172a;
}

.expert-title {
    color: #3b82f6;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.expert-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 15px;
}

.expert-achievements {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.expert-achievements span {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #475569;
}

/* 合作品牌 */
.partners-logo {
    text-align: center;
}

.partners-logo img {
    max-width: 100%;
    height: auto;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

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

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    font-size: 16px;
    color: #0f172a;
}

.review-header p {
    font-size: 14px;
    color: #64748b;
}

.review-rating {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 10px;
}

.review-date {
    font-size: 13px;
    color: #94a3b8;
}

/* FAQ */
.faq-section {
    background: #f8fafc;
}

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

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
}

/* 公司信息 */
.company-section {
    background: #f8fafc;
}

.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.company-images {
    display: grid;
    gap: 20px;
}

.company-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.company-details h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0f172a;
}

.company-details p,
.company-details ul {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-details ul {
    list-style: none;
    padding-left: 0;
}

.company-details li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

/* 社交分享 */
.share-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.share-section h2,
.share-section .section-desc {
    color: white;
}

.share-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border: 2px solid white;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 底部 */
.footer {
    background: #0f172a;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 2;
    text-decoration: none;
}

.footer-section a:hover {
    color: #3b82f6;
}

.qr-codes {
    display: flex;
    gap: 20px;
}

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

.qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.qr-code p {
    margin-top: 8px;
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 14px;
    color: #94a3b8;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .ai-grid,
    .experts-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .company-info {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
}
