/* ========================================
   传媒公司网站 - 全局样式
   配色方案：深紫渐变 + 珊瑚橙点缀
   移动端优先设计
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a0e2e;
    --primary-mid: #2d1b4e;
    --primary-light: #4a2d7a;
    --accent-coral: #e85d3a;
    --accent-gold: #d4a843;
    --accent-teal: #2ec4b6;
    --text-white: #f0edf5;
    --text-light: #c4b8d9;
    --text-muted: #8a7ba3;
    --bg-card: rgba(45, 27, 78, 0.7);
    --bg-overlay: rgba(26, 14, 46, 0.85);
    --border-subtle: rgba(200, 180, 240, 0.15);
    --shadow-glow: 0 4px 30px rgba(232, 93, 58, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(170deg, var(--primary-dark) 0%, #0d0618 100%);
    color: var(--text-white);
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-coral);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--accent-gold);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
}

h1 { font-size: 1.8rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ========================================
   Layout Container
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-block {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-coral), var(--accent-gold));
    border-radius: 2px;
}

/* ========================================
   Header & Navigation (Non-Sticky)
   ======================================== */
.site-header {
    background: var(--bg-overlay);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.8rem 0;
    position: relative;
    z-index: 100;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo img {
    height: 36px;
    width: auto;
}

.site-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.main-nav.active {
    max-height: 500px;
}

.nav-list {
    list-style: none;
    padding: 0.5rem 0;
}

.nav-list li {
    border-bottom: 1px solid var(--border-subtle);
}

.nav-list li:last-child {
    border-bottom: none;
}

.nav-list a {
    display: block;
    padding: 0.7rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.nav-list a:hover,
.nav-list a.current {
    color: var(--accent-coral);
    padding-left: 0.5rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-banner {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.hero-overlay {
    position: relative;
}

.hero-text {
    text-align: center;
    padding: 1.5rem 0;
}

.hero-text h1 {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--text-white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ========================================
   Video Player Module
   ======================================== */
.video-player-wrap {
    position: relative;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(232, 93, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    z-index: 5;
}

.video-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 22px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

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

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

/* ========================================
   Card Grid System
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-coral);
}

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

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

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

.card-body {
    padding: 1rem;
}

.card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--accent-coral);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

/* ========================================
   Creator Profile
   ======================================== */
.creator-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.creator-avatar {
    width: 160px;
    height: 200px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.3);
}

.creator-info h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.creator-info .title-badge {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
    color: #fff;
    font-size: 0.8rem;
    border-radius: 20px;
    margin: 0.5rem 0;
}

/* ========================================
   Star Collaboration
   ======================================== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.star-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5 / 6;
}

.star-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.star-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

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

.star-overlay p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   Service Module
   ======================================== */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-coral);
    transition: var(--transition-base);
}

.service-item:hover {
    border-left-color: var(--accent-gold);
    background: rgba(74, 45, 122, 0.5);
}

.service-item h3 {
    color: var(--accent-coral);
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.8rem;
}

/* ========================================
   Consultation CTA
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-coral), #c0392b);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: #fff;
    color: var(--accent-coral);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    color: #c0392b;
}

/* ========================================
   Reviews / Testimonials
   ======================================== */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    border: 1px solid var(--border-subtle);
}

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

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-coral));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.review-meta .reviewer-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-meta .reviewer-city {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-align: right;
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--accent-coral);
}

.faq-question .faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

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

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

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

.faq-answer-inner {
    padding: 0 1.2rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Payment Methods
   ======================================== */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-base);
}

.payment-item:hover {
    border-color: var(--accent-teal);
}

.payment-item img {
    width: 80px;
    height: auto;
    margin: 0 auto 0.5rem;
}

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

/* ========================================
   About Section
   ======================================== */
.about-content {
    line-height: 1.9;
}

.about-content p {
    text-indent: 2em;
    margin-bottom: 1.2rem;
}

.about-image {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-glow);
}

/* ========================================
   License / Certification
   ======================================== */
.license-section {
    text-align: center;
}

.license-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.license-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Customer Support
   ======================================== */
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border-subtle);
}

.support-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
    padding: 0.8rem 0;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-coral);
}

.breadcrumb .separator {
    margin: 0 0.4rem;
    color: var(--text-muted);
}

.breadcrumb .current-page {
    color: var(--text-light);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: rgba(10, 5, 20, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

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

.footer-col h4 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent-coral);
    display: inline-block;
}

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

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--accent-coral);
    padding-left: 0.3rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.footer-social img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition-base);
}

.footer-social img:hover {
    transform: scale(1.15);
}

.footer-payment {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-payment img {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    color: var(--accent-coral);
}

.age-badge {
    width: 40px;
    height: 40px;
    margin: 0.5rem auto 0;
}

/* ========================================
   App Download Page
   ======================================== */
.app-hero {
    text-align: center;
    padding: 2rem 0;
}

.app-mockup {
    max-width: 280px;
    margin: 1.5rem auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.download-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-coral), #c0392b);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition-base);
    min-width: 220px;
    justify-content: center;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 58, 0.4);
    color: #fff;
}

.btn-download.android {
    background: linear-gradient(135deg, var(--accent-teal), #1a9e8f);
}

.qr-section {
    text-align: center;
    margin: 2rem 0;
}

.qr-code {
    width: 160px;
    height: 160px;
    margin: 1rem auto;
    border: 4px solid var(--text-white);
    border-radius: var(--radius-sm);
}

/* ========================================
   Inner Page Specific
   ======================================== */
.page-banner {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.page-banner img {
    width: 100%;
    height: auto;
}

.content-article {
    line-height: 1.9;
}

.content-article p {
    text-indent: 2em;
    margin-bottom: 1.2rem;
}

.content-article h2 {
    margin-top: 2rem;
    padding-left: 0.8rem;
    border-left: 4px solid var(--accent-coral);
}

.content-article h3 {
    margin-top: 1.5rem;
    color: var(--accent-gold);
}

.content-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.content-gallery img {
    border-radius: var(--radius-md);
    width: 100%;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 4px 12px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
}

/* ========================================
   Responsible Content Section
   ======================================== */
.responsible-section {
    background: rgba(46, 196, 182, 0.1);
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.responsible-section h3 {
    color: var(--accent-teal);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ========================================
   Tablet (min-width: 600px)
   ======================================== */
@media (min-width: 600px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .star-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .creator-profile {
        flex-direction: row;
        text-align: left;
    }
    
    .download-btns {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   Desktop (min-width: 960px)
   ======================================== */
@media (min-width: 960px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    
    .container {
        padding: 0 2rem;
    }
    
    .section-block {
        padding: 3.5rem 0;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .main-nav {
        width: auto;
        max-height: none;
        overflow: visible;
    }
    
    .nav-list {
        display: flex;
        gap: 0;
        padding: 0;
    }
    
    .nav-list li {
        border-bottom: none;
    }
    
    .nav-list a {
        padding: 0.5rem 1rem;
    }
    
    .nav-list a:hover,
    .nav-list a.current {
        padding-left: 1rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .star-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .review-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .content-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
