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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

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

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

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255,255,255,0.2);
}

/* 搜索框 */
.search-section {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ff6b9d;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b8b 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,157,0.3);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #ff6b9d;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 主横幅 */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
}

.hero-section h1 {
    font-size: 36px;
    color: #c94b8b;
    text-align: center;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.hero-banner {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 页面标题 */
.page-header {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
}

.page-header h1 {
    font-size: 32px;
    color: #c94b8b;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    color: #666;
}

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

section h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background-color: #f0f0f0;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-card:hover .play-overlay {
    background-color: rgba(0,0,0,0.3);
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(255,107,157,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.video-card:hover .play-button {
    opacity: 1;
    transform: scale(1);
}

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

.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b8b 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-stats {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.video-date {
    font-size: 12px;
    color: #bbb;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-item h3 {
    font-size: 20px;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

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

.expert-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.expert-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.expert-card h3 {
    font-size: 20px;
    color: #333;
    padding: 20px 20px 10px;
}

.expert-title {
    font-size: 14px;
    color: #ff6b9d;
    padding: 0 20px;
    margin-bottom: 10px;
}

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

.expert-contact {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.expert-contact button {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b8b 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.expert-contact button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,157,0.3);
}

/* 社区功能 */
.community-banner {
    max-width: 900px;
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.community-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.feature-item h3 {
    font-size: 20px;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.review-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.review-rating {
    font-size: 18px;
    color: #ffc107;
}

/* 合作品牌 */
.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.partner-logo {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    font-size: 18px;
    color: #666;
    font-weight: bold;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-info h3 {
    font-size: 22px;
    color: #ff6b9d;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 15px;
    color: #666;
    line-height: 2;
    margin-bottom: 10px;
}

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

.qr-item {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.qr-item img {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

.qr-item p {
    font-size: 14px;
    color: #666;
}

/* 页脚 */
.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo p {
    font-size: 14px;
    color: #aaa;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-social button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-social button:hover {
    background-color: #ff6b9d;
}

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

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-card h3 {
    font-size: 42px;
    color: #ff6b9d;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    color: #666;
}

/* 功能按钮 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.feature-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b8b 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,157,0.3);
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background: white;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b8b 100%);
    color: white;
    border-color: #ff6b9d;
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.tool-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.tool-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tool-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b8b 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,157,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .video-grid,
    .services-grid,
    .experts-grid,
    .features-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
