/* 
 * 视频创作网站样式表
 * 独特配色：深紫渐变到珊瑚色
 * 移动端优先设计
 */

:root {
    --primary-purple: #6B2D9B;
    --secondary-coral: #FF6B6B;
    --accent-gold: #FFD93D;
    --dark-bg: #1A1A2E;
    --light-bg: #F8F9FA;
    --text-dark: #2D2D2D;
    --text-light: #FFFFFF;
    --gradient-main: linear-gradient(135deg, #6B2D9B 0%, #FF6B6B 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
    --shadow-soft: 0 4px 20px rgba(107, 45, 155, 0.15);
    --shadow-strong: 0 8px 32px rgba(107, 45, 155, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 导航栏 - 非固定 */
.site-header {
    background: var(--gradient-dark);
    padding: 16px 0;
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.logo-area img {
    height: 48px;
    width: auto;
}

.logo-area h1 {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 700;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-light);
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 导航菜单 */
.main-nav {
    width: 100%;
    display: none;
}

.main-nav.active {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-list li a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255, 107, 107, 0.2);
    color: var(--secondary-coral);
}

/* 英雄区域 */
.hero-section {
    background: var(--gradient-main);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(25deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.5);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 16px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E9ECEF;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
}

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

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

.breadcrumb-list a {
    color: var(--primary-purple);
    text-decoration: none;
}

.breadcrumb-list span {
    color: #6C757D;
}

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

.section-alt {
    background: #FFFFFF;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.section-title p {
    color: #6C757D;
    font-size: 1rem;
}

/* 视频卡片网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

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

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

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

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(107, 45, 155, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

.video-card:hover .play-overlay {
    background: var(--secondary-coral);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card-info {
    padding: 20px;
}

.video-card-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.video-card-info p {
    font-size: 0.875rem;
    color: #6C757D;
    line-height: 1.6;
}

.video-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}

.star {
    color: var(--accent-gold);
    font-size: 1rem;
}

.rating-text {
    font-size: 0.875rem;
    color: #6C757D;
    margin-left: 8px;
}

/* 服务模块 */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-item {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

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

.service-item p {
    font-size: 0.9375rem;
    color: #6C757D;
    line-height: 1.7;
}

/* 优势模块 */
.advantage-section {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.advantage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.advantage-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.advantage-content p {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* 招聘模块 */
.recruit-section {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 100%);
    padding: 60px 0;
}

.recruit-content {
    text-align: center;
    color: var(--text-dark);
}

.recruit-content h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.recruit-content p {
    font-size: 1rem;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.recruit-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.recruit-badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* 评论模块 */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.review-card {
    background: #FFFFFF;
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-purple);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

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

.reviewer-info span {
    font-size: 0.875rem;
    color: #6C757D;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1rem;
}

.review-text {
    font-size: 0.9375rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 12px;
}

.review-date {
    font-size: 0.8125rem;
    color: #ADB5BD;
}

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

.faq-item {
    background: #FFFFFF;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

.faq-answer p {
    color: #495057;
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    text-align: center;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.payment-icon {
    background: #FFFFFF;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.payment-icon img {
    height: 40px;
    width: auto;
}

/* 视频播放器 */
.video-player-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 32px 0;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(107, 45, 155, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 6px;
}

.video-play-btn:hover {
    background: var(--secondary-coral);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 作者信息 */
.author-box {
    display: flex;
    gap: 20px;
    background: #FFFFFF;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin: 32px 0;
    flex-wrap: wrap;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-purple);
}

.author-info h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-info .title {
    font-size: 0.875rem;
    color: var(--primary-purple);
    margin-bottom: 8px;
}

.author-info p {
    font-size: 0.9375rem;
    color: #6C757D;
    line-height: 1.7;
}

/* 页脚 */
.site-footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 60px 0 24px;
}

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

.footer-col h3 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-coral);
    border-radius: 2px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-coral);
    padding-left: 8px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-coral);
    transform: translateY(-3px);
}

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

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

.footer-payment {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-payment img {
    height: 32px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-payment img:hover {
    opacity: 1;
}

/* 内页样式 */
.page-header {
    background: var(--gradient-main);
    padding: 48px 0;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.content-section {
    padding: 48px 0;
}

.content-article {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.content-article h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 32px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-purple);
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 1.25rem;
    color: var(--primary-purple);
    margin: 24px 0 12px;
}

.content-article p {
    margin-bottom: 16px;
    color: #495057;
    line-height: 1.9;
}

.content-article ul,
.content-article ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-article li {
    margin-bottom: 8px;
    color: #495057;
    line-height: 1.8;
}

.content-image {
    width: 100%;
    border-radius: var(--radius-sm);
    margin: 24px 0;
}

/* APP下载页面 */
.app-hero {
    background: var(--gradient-main);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.app-mockup {
    max-width: 280px;
    margin: 0 auto 32px;
}

.app-mockup img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.app-btn-icon {
    font-size: 1.5rem;
}

.app-btn-text {
    text-align: left;
}

.app-btn-text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-btn-text strong {
    font-size: 1rem;
}

/* 响应式设计 - 平板 */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .main-nav {
        width: auto;
        display: block;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 4px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* 响应式设计 - 桌面 */
@media (min-width: 1024px) {
    .hero-section {
        padding: 100px 0 120px;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .advantage-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .page-header {
        padding: 72px 0;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .content-article {
        padding: 48px;
    }
}

/* 图片懒加载 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* 无障碍优化 */
.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;
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn,
    .video-play-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
