/* 国产 - 外部样式表 */
/* 品牌主色调：粉色渐变 #FF6B9D -> #FF8E53 */

/* 基础重置 */
* {
    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: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

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

.nav-menu a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    opacity: 0.9;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

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

/* 搜索框 */
.search-bar {
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #FF6B9D;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #FF8E53;
}

.search-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,157,0.4);
}

/* 轮播区域 */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,157,0.5);
}

/* 板块标题 */
.section {
    padding: 60px 0;
}

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

.section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: 15px;
}

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

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

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

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

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

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 13px;
}

.video-stats {
    display: flex;
    gap: 15px;
}

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

/* 分类标签 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-tag {
    padding: 8px 20px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tag:hover,
.category-tag.active {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
}

/* 专家展示 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.expert-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.expert-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #FF6B9D;
}

.expert-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.expert-title {
    color: #FF6B9D;
    font-size: 14px;
    margin-bottom: 15px;
}

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

.expert-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

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

/* 合作品牌 */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    height: 50px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* 用户评价 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

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

.review-user {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: #333;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-stars {
    color: #FFB800;
    font-size: 14px;
}

.review-content {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* 联系我们 */
.contact-section {
    background: #f9f9f9;
}

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

.contact-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.contact-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact-info {
    color: #666;
    font-size: 14px;
}

/* 二维码区域 */
.qrcode-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

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

.qrcode-item img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode-label {
    font-size: 14px;
    color: #666;
}

/* 页脚 */
.footer {
    background: #2a2a2a;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-desc {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FF6B9D;
}

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

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

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B9D;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.footer-bottom a {
    color: #FF6B9D;
}

/* 社交分享 */
.social-share {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-wechat { background: #07C160; }
.social-weibo { background: #E6162D; }
.social-douyin { background: #000; }
.social-bilibili { background: #FB7299; }

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: #f5f5f5;
}

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

.breadcrumb-list li::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

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

.breadcrumb-list a {
    color: #666;
}

.breadcrumb-list a:hover {
    color: #FF6B9D;
}

/* 内页样式 */
.page-header {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 工具卡片 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.tool-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.tool-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.tool-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 社区帖子 */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.post-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author {
    font-weight: 600;
    color: #333;
}

.post-time {
    font-size: 12px;
    color: #999;
}

.post-content {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.post-stats {
    display: flex;
    gap: 25px;
    color: #999;
    font-size: 14px;
}

.post-stats span {
    cursor: pointer;
    transition: color 0.3s ease;
}

.post-stats span:hover {
    color: #FF6B9D;
}

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

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-answer {
    padding: 0 25px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    display: none;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .qrcode-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 懒加载占位 */
.lazy-load {
    background: #f0f0f0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 40px;
    background: transparent;
    border: 2px solid #FF6B9D;
    color: #FF6B9D;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
    border-color: transparent;
}

/* 直播标签 */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 弹幕效果 */
.danmaku-container {
    position: relative;
    overflow: hidden;
}

.danmaku {
    position: absolute;
    white-space: nowrap;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: danmaku-scroll 10s linear infinite;
}

@keyframes danmaku-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}


/* 新增样式 - EEAT优化 */

/* 时效性标签 */
.update-notice {
    background: linear-gradient(90deg, #fff5f7 0%, #fff0e6 100%);
    padding: 10px 0;
    border-bottom: 1px solid #ffe0e6;
}

.update-notice .container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.update-tag {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.update-text {
    color: #666;
    font-size: 13px;
}

.update-time {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

/* 视频标签 */
.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.video-desc {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 专家资质标签 */
.expert-credentials {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.credential-tag {
    background: #f0f7ff;
    color: #1890ff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.expert-works {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
    text-align: left;
}

.expert-works strong {
    color: #333;
}

/* 合作伙伴 */
.partner-item {
    background: #f9f9f9;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
}

.partner-item:hover .partner-name {
    color: #fff;
}

.partner-name {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

/* 媒体报道 */
.media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.media-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

/* 企业资质 */
.credential-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.credential-badge {
    background: #f0f7ff;
    color: #1890ff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #d6e8ff;
}

/* 页脚法律链接 */
.footer-legal {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* 屏幕阅读器专用 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 直播标签 */
.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
