/* 糖心vlog网站样式表 - 原创配色方案 */
/* 主色调：珊瑚橙(#FF7F50)到深洋红(#C71585)渐变 */

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 8px;
}

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

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.search-box {
    display: flex;
    gap: 5px;
}

.search-box input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    width: 200px;
}

.search-box button {
    padding: 8px 20px;
    background: #fff;
    color: #FF7F50;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

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

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #FF7F50 0%, #C71585 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-banner.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #FF7F50;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: #FF7F50;
}

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

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

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

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

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #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;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255,127,80,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-card h4 {
    padding: 15px;
    font-size: 18px;
    color: #333;
}

.video-card p {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

.video-stats {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #999;
}

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

/* 功能网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

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

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

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

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #FF7F50;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 专家团队 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

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

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

.expert-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.expert-info {
    padding: 20px;
}

.expert-info h4 {
    font-size: 20px;
    color: #FF7F50;
    margin-bottom: 5px;
}

.expert-info .role {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-info .credentials {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.expert-info .achievements {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.expert-social {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.expert-social a {
    color: #FF7F50;
    text-decoration: none;
    font-size: 13px;
}

.expert-actions {
    display: flex;
    gap: 10px;
}

.expert-actions button {
    flex: 1;
    padding: 8px;
    border: 1px solid #FF7F50;
    background: #fff;
    color: #FF7F50;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.expert-actions button:hover {
    background: #FF7F50;
    color: #fff;
}

/* FAQ区域 */
.faq-section {
    background: #f9f9f9;
    padding: 60px 0;
}

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

.faq-item h4 {
    color: #FF7F50;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 用户评价 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

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

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7F50, #C71585);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    margin-right: 15px;
}

.testimonial-info h5 {
    color: #333;
    font-size: 16px;
}

.testimonial-info .date {
    color: #999;
    font-size: 13px;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 合作伙伴 */
.partners-section {
    text-align: center;
    padding: 60px 0;
    background: #f9f9f9;
}

.partners-logo {
    max-width: 800px;
    margin: 0 auto;
}

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

/* How-To指南 */
.howto-section {
    padding: 60px 0;
}

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

.howto-step {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF7F50, #C71585);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.howto-step h4 {
    color: #FF7F50;
    margin-bottom: 10px;
}

.howto-step p {
    color: #666;
    font-size: 14px;
}

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

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

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

.contact-card h4 {
    color: #FF7F50;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.company-photo {
    width: 100%;
    border-radius: 8px;
    margin-top: 15px;
}

.qrcode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

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

.qrcode-item img {
    width: 100%;
    max-width: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qrcode-item p {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/* 社交分享 */
.share-section {
    text-align: center;
    padding: 40px 0;
}

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

.share-button {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.3s;
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-wechat {
    background: #07C160;
    color: #fff;
}

.share-weibo {
    background: #E6162D;
    color: #fff;
}

.share-douyin {
    background: #000;
    color: #fff;
}

.share-bilibili {
    background: #00A1D6;
    color: #fff;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #FF7F50 0%, #C71585 100%);
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p,
.footer-section li {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .video-grid,
    .feature-grid,
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-grid {
        grid-template-columns: 1fr;
    }
}
