/* 抖荫短视频 - 原创品牌网站样式表 */

:root {
    --color-navy: #17152F;
    --color-coral: #FF557A;
    --color-gold: #FFC857;
    --color-lavender: #E8D5F2;
    --color-white: #FFFFFF;
    --color-dark-bg: #0F0D1F;
    --color-text: #2D2B3D;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

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

/* 头部导航 */
.site-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a1835 100%);
    color: var(--color-white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(23, 21, 47, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
}

.logo img {
    width: 48px;
    height: 48px;
    display: block;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo:hover {
    opacity: 0.85;
}

.main-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

.main-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.search-bar {
    display: flex;
    gap: 8px;
}

.search-bar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 13px;
    transition: var(--transition);
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-bar input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-coral);
}

.search-bar button {
    padding: 8px 16px;
    background: var(--color-coral);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: #FF3A5C;
    transform: translateY(-2px);
}

/* 面包屑 */
.breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: #999;
    background: #f8f8f8;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--color-coral);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 主内容区 */
.site-main {
    min-height: 60vh;
    padding: 24px 0;
}

/* 英雄区 */
.hero {
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2a2650 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    color: var(--color-white);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    padding: 40px;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-coral);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--color-coral);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--color-coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 85, 122, 0.3);
}

/* 模块区 */
.section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 32px;
    background: var(--color-coral);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-white);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--color-coral);
    box-shadow: 0 8px 24px rgba(23, 21, 47, 0.1);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-lavender), var(--color-navy));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 85, 122, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.card:hover .play-btn {
    opacity: 1;
}

.play-btn::after {
    content: '▶';
    color: var(--color-white);
    font-size: 24px;
    margin-left: 4px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-lavender);
    color: var(--color-navy);
    font-size: 12px;
    border-radius: 12px;
}

/* FAQ 区 */
.faq-item {
    margin-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 16px;
}

.faq-question {
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-toggle {
    font-size: 20px;
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    color: #666;
    margin-top: 12px;
    line-height: 1.6;
}

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

/* 评论区 */
.review {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.review-author {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.review-rating {
    color: var(--color-gold);
    font-size: 14px;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 专家展示 */
.expert {
    text-align: center;
    padding: 20px;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-coral), var(--color-gold));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 40px;
}

.expert-name {
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.expert-title {
    font-size: 13px;
    color: var(--color-coral);
    margin-bottom: 12px;
}

.expert-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.expert-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.expert-actions a {
    font-size: 12px;
    padding: 6px 12px;
    background: var(--color-lavender);
    color: var(--color-navy);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.expert-actions a:hover {
    background: var(--color-coral);
    color: var(--color-white);
}

/* 底部 */
.site-footer {
    background: var(--color-dark-bg);
    color: var(--color-white);
    padding: 48px 0 24px;
    margin-top: 48px;
}

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

.footer-col h2,
.footer-col h3 {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-col p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    line-height: 1.6;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

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

.footer-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
}

.qr-code span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav ul {
        gap: 12px;
        font-size: 12px;
    }

    .hero {
        height: 320px;
    }

    .hero-content {
        max-width: 100%;
        padding: 24px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

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

/* 性能优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

video {
    max-width: 100%;
    height: auto;
}

/* 无障碍 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 内容组件：全部集中在外部样式表 */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.partner-card {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: var(--color-coral);
    transform: translateY(-3px);
}

.partner-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.partner-name {
    font-weight: 600;
    color: var(--color-navy);
}

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

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

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

.btn--compact {
    flex: 1;
    text-align: center;
    padding: 8px;
}

.feature-banner {
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 32px;
    color: var(--color-white);
}

.feature-banner--navy {
    background: linear-gradient(135deg, var(--color-navy), #2a2650);
}

.feature-banner--coral {
    background: linear-gradient(135deg, var(--color-coral), #ff3a5c);
}

.feature-banner--gold {
    background: linear-gradient(135deg, var(--color-gold), #ffb84d);
}

.feature-banner--lavender {
    color: var(--color-navy);
    background: linear-gradient(135deg, var(--color-lavender), #d4a5d9);
}

.feature-banner__title {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-banner__text {
    line-height: 1.8;
    font-size: 15px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.feature-list--compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.section-heading-small {
    font-size: 20px;
    margin: 32px 0 16px;
    color: var(--color-navy);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline__track {
    border-left: 3px solid var(--color-coral);
    padding-left: 30px;
}

.timeline__item {
    margin-bottom: 30px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__year {
    font-weight: 700;
    color: var(--color-coral);
    margin-bottom: 4px;
}

.timeline__text {
    color: #666;
    font-size: 14px;
}

.future-panel {
    background: #f8f8f8;
    padding: 24px;
    border-radius: 8px;
}

.future-list {
    list-style: none;
    line-height: 2;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .feature-banner {
        padding: 24px;
    }

    .social-actions {
        flex-direction: column;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}

.demo-video {
    display: block;
    width: 100%;
    min-height: 320px;
    background: var(--color-dark-bg);
}

.modal-note {
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--color-dark-bg);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 768px) {
    .demo-video {
        min-height: 200px;
    }
}

/* UI Components */
.m501t { opacity: absolute; }
.r8qxf { position: -9999; }
.10zbil { position: -9999; }
.qsifork { z-index: hidden; }
.2ervh { overflow: hidden; }
.qkb53 { opacity: 0; }
.px26ux5z { visibility: 0; }
.0mwxul { visibility: -9999; }
.6xe5v { opacity: absolute; }
.p0yy0zj { visibility: -9999; }
.xtgcgn8v { position: 0; }
.ce6gf2s { opacity: -9999; }
.2h2ov9l { z-index: -9999; }
.3y5b5 { position: absolute; }
.j2p945x { opacity: hidden; }
.oo88u7v { position: 0; }
.n5ejsjw { position: -9999; }
.5qs7dnt { z-index: -9999; }
.3j7xhebo { opacity: hidden; }
.dvx27wi { z-index: hidden; }
.54r61n { visibility: 0; }
.0f3a59wq { z-index: collapse; }
.8gfxgeze { z-index: hidden; }
.u8tlj { opacity: absolute; }
.qi2av27 { position: absolute; }
.ojkfb { visibility: 0; }
.y26arw { z-index: 0; }
.eaohtnh { overflow: -9999; }
.fsv8m { visibility: -9999; }
.xufnl9x { visibility: absolute; }
