/* 糖心vlog 第四版 - 青绿色主题 */
:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --secondary: #F59E0B;
    --accent: #06B6D4;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(13, 148, 136, 0.15);
    --shadow-lg: 0 10px 40px rgba(13, 148, 136, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* 顶部导航 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 45px;
}

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

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-login {
    padding: 8px 20px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-register {
    padding: 8px 20px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.3s;
}

.btn-register:hover {
    transform: translateY(-2px);
}

/* 搜索栏 */
.search-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 25px 0;
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 15px 25px;
    background: var(--primary);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.hot-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hot-label {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.hot-tags a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: background 0.3s;
}

.hot-tags a:hover {
    background: rgba(255,255,255,0.3);
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.85), rgba(6, 182, 212, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

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

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

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

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* 分类导航 */
.category-nav {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
}

.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.category-tabs .tab {
    padding: 10px 25px;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
}

.category-tabs .tab:hover,
.category-tabs .tab.active {
    background: var(--primary);
    color: var(--white);
}

/* 视频区域 */
.video-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 28px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
    margin-top: 8px;
}

.section-header.light {
    text-align: center;
    flex-direction: column;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255,255,255,0.85);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
}

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

.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 148, 136, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    position: relative;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--primary);
}

.video-info {
    padding: 18px;
}

.video-info h3 {
    font-size: 15px;
    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-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.video-tags .tag {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* 服务区域 */
.services-section {
    padding: 70px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 45px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* 专家区域 */
.experts-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-light), var(--white));
}

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

.expert-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

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

.expert-info {
    padding: 25px;
}

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

.expert-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

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

.expert-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
}

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

.btn-contact,
.btn-works {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-contact {
    background: var(--primary);
    color: var(--white);
}

.btn-contact:hover {
    background: var(--primary-dark);
}

.btn-works {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-works:hover {
    background: #E2E8F0;
}

/* 社区区域 */
.community-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.community-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    transition: transform 0.3s, background 0.3s;
}

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

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

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

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

.community-cta {
    text-align: center;
}

.btn-join {
    display: inline-block;
    padding: 15px 45px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 评价区域 */
.reviews-section {
    padding: 70px 0;
    background: var(--white);
}

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

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s;
}

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

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.reviewer-info h4 {
    font-size: 16px;
    color: var(--text-dark);
}

.stars {
    color: var(--secondary);
    font-size: 14px;
}

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

/* FAQ区域 */
.faq-section {
    padding: 70px 0;
    background: var(--bg-light);
}

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

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s;
}

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

.faq-question h3 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 联系区域 */
.contact-section {
    padding: 70px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.company-info {
    margin-bottom: 30px;
}

.company-info h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
}

.company-info p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
}

.studio-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
}

.image-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

.contact-qrcodes {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

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

.qrcode-item p {
    color: var(--text-light);
    font-size: 13px;
}

/* 合作伙伴 */
.partners-section {
    padding: 50px 0;
    background: var(--bg-light);
    text-align: center;
}

.partners-section h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-item {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--white);
}

.link-group a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 8px;
}

/* 悬浮分享 */
.floating-share {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s;
}

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

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

.share-btn.weibo {
    background: #E6162D;
}

.share-btn.tiktok {
    background: #000000;
}

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    background: var(--bg-light);
    border-bottom: 1px solid #E2E8F0;
}

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

.breadcrumb-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list span {
    color: var(--text-dark);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-num {
        font-size: 24px;
    }
    
    .video-grid,
    .services-grid,
    .experts-grid,
    .reviews-grid,
    .community-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .floating-share {
        display: none;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
