/* 
 * 自媒体视频创作网站样式表
 * 独特配色：深紫色 #2D1B4E + 金色 #D4AF37 + 渐变
 * 移动端优先设计
 */

/* CSS变量定义 */
:root {
    --primary-color: #2D1B4E;
    --secondary-color: #D4AF37;
    --accent-color: #8B5CF6;
    --bg-dark: #1A1025;
    --bg-light: #F8F5FF;
    --text-primary: #1F1F1F;
    --text-secondary: #6B7280;
    --text-light: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #2D1B4E 0%, #5B3A8C 50%, #8B5CF6 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    --shadow-soft: 0 4px 20px rgba(45, 27, 78, 0.15);
    --shadow-medium: 0 8px 30px rgba(45, 27, 78, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

/* 头部导航 - 非sticky */
.site-header {
    background: var(--gradient-primary);
    padding: 16px 0;
    position: relative;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

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

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.nav-item a {
    display: block;
    padding: 8px 16px;
    color: var(--text-light);
    font-size: 0.9rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(45, 27, 78, 0.7) 0%, rgba(26, 16, 37, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gradient-gold);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

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

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

.section-gradient {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* 视频卡片网格 */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.video-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

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

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--primary-color);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.video-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.stars {
    color: var(--secondary-color);
    font-size: 1rem;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 明星合作模块 */
.celebrity-section {
    background: linear-gradient(135deg, #1A1025 0%, #2D1B4E 100%);
}

.celebrity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.celebrity-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.celebrity-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.celebrity-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

/* 咨询模块 */
.consult-section {
    background: var(--gradient-gold);
    text-align: center;
}

.consult-section .section-title {
    color: var(--primary-color);
}

.consult-section .section-title::after {
    background: var(--primary-color);
}

.consult-section .section-desc {
    color: rgba(45, 27, 78, 0.8);
}

.consult-btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
}

.consult-btn:hover {
    background: var(--bg-dark);
    color: var(--secondary-color);
}

/* 海外公关模块 */
.overseas-section {
    background: linear-gradient(180deg, #F8F5FF 0%, #EDE9FE 100%);
}

.overseas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.overseas-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

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

.overseas-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--text-light);
}

.overseas-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.overseas-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 案例模块 */
.case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.case-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.case-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 24px;
}

.case-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.case-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 关于我们 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 30px 0 16px;
}

/* 支付方式 */
.payment-section {
    background: var(--bg-dark);
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 120px;
}

.payment-item img {
    height: 40px;
    margin: 0 auto 10px;
}

.payment-item span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pix-highlight {
    background: var(--gradient-gold);
}

.pix-highlight span {
    color: var(--primary-color);
    font-weight: 600;
}

/* 授权信息 */
.license-section {
    background: linear-gradient(180deg, #2D1B4E 0%, #1A1025 100%);
}

.license-content {
    text-align: center;
}

.license-badge {
    max-width: 200px;
    margin: 0 auto 24px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.license-info h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.license-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

/* 客户支持 */
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.support-card {
    background: var(--text-light);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.support-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.support-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

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

.faq-question {
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
}

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

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

.review-card {
    background: var(--text-light);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.review-meta h4 {
    font-size: 1rem;
    color: var(--primary-color);
}

.review-meta span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-stars {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.review-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 12px;
    text-align: right;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 16px 0;
    background: rgba(45, 27, 78, 0.05);
}

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

.breadcrumb-list li::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-secondary);
}

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

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

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

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

.video-player {
    width: 100%;
    height: 100%;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-pause-btn {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 30%;
    background: var(--secondary-color);
    border-radius: 3px;
}

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

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

.footer-section h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

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

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

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

.footer-payment img {
    height: 30px;
    opacity: 0.7;
    transition: var(--transition);
}

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

/* 响应式设计 - 平板 */
@media (min-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .celebrity-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .overseas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 - 桌面 */
@media (min-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .overseas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .support-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 {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.page-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 30px 0 16px;
}

.content-wrapper p {
    margin-bottom: 20px;
    text-align: justify;
}

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

.content-wrapper li {
    margin-bottom: 10px;
}

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

.app-preview {
    max-width: 300px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

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

.download-btn-icon {
    font-size: 1.8rem;
}

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

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

.download-btn-text span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 负责任影视 */
.responsible-section {
    background: linear-gradient(180deg, #FEF3C7 0%, #FDE68A 100%);
}

.responsible-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsible-content p {
    color: var(--primary-color);
    margin-bottom: 16px;
}

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

.responsible-links a {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.9rem;
}

.responsible-links a:hover {
    background: var(--bg-dark);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 懒加载占位 */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 视觉稳定性 - 预留空间 */
.img-placeholder {
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}
