/* ========================================
   偷拍传媒 - 樱花青春主题样式表
   品牌：偷拍 | 域名：bitjun.cn
   原创配色：樱花粉 + 典雅紫 + 活力金
   ======================================== */

/* --- CSS Variables --- */
:root {
    --xh-primary: #E8527C;
    --xh-primary-dark: #C7365E;
    --xh-secondary: #6C3483;
    --xh-accent: #F39C12;
    --xh-bg-light: #FDF2F8;
    --xh-bg-dark: #1A1A2E;
    --xh-bg-card: #FFFFFF;
    --xh-text: #2D2D3A;
    --xh-text-light: #6B7280;
    --xh-text-white: #F8F9FA;
    --xh-border: #F3D5E0;
    --xh-shadow: rgba(232, 82, 124, 0.12);
    --xh-gradient: linear-gradient(135deg, #E8527C 0%, #6C3483 100%);
    --xh-gradient-gold: linear-gradient(135deg, #F39C12 0%, #E8527C 100%);
    --xh-radius: 12px;
    --xh-radius-sm: 8px;
    --xh-transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--xh-text);
    background: var(--xh-bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--xh-primary); text-decoration: none; transition: var(--xh-transition); }
a:hover { color: var(--xh-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Header --- */
.site-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--xh-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.main-nav { display: flex; gap: 6px; }
.main-nav a {
    color: var(--xh-text-white);
    padding: 8px 16px;
    border-radius: var(--xh-radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--xh-transition);
}
.main-nav a:hover, .main-nav a.active {
    background: var(--xh-primary);
    color: #fff;
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--xh-text-white);
    border-radius: 2px;
    transition: var(--xh-transition);
}

/* --- Search Bar --- */
.search-bar {
    background: var(--xh-bg-dark);
    padding: 12px 0;
    border-bottom: 1px solid rgba(232, 82, 124, 0.2);
    margin-top: 68px;
}
.search-inner {
    display: flex;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}
.search-inner input {
    flex: 1;
    padding: 10px 18px;
    border: 2px solid var(--xh-primary);
    border-right: none;
    border-radius: var(--xh-radius-sm) 0 0 var(--xh-radius-sm);
    font-size: 0.95rem;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: var(--xh-text-white);
}
.search-inner input::placeholder { color: rgba(255,255,255,0.4); }
.search-inner button {
    padding: 10px 24px;
    background: var(--xh-gradient);
    color: #fff;
    border: none;
    border-radius: 0 var(--xh-radius-sm) var(--xh-radius-sm) 0;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--xh-transition);
}
.search-inner button:hover { opacity: 0.9; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-content h1 em {
    font-style: normal;
    background: var(--xh-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--xh-gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--xh-transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--xh-shadow); color: #fff; }
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--xh-transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* --- Section Common --- */
.section { padding: 72px 0; }
.section-dark { background: var(--xh-bg-dark); color: var(--xh-text-white); }
.section-alt { background: #FFF; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--xh-text);
}
.section-dark .section-header h2 { color: var(--xh-text-white); }
.section-header h2 em {
    font-style: normal;
    color: var(--xh-primary);
}
.section-dark .section-header h2 em { color: var(--xh-accent); }
.section-header p {
    font-size: 1.05rem;
    color: var(--xh-text-light);
    max-width: 680px;
    margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* --- Video Card Grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.video-card {
    background: var(--xh-bg-card);
    border-radius: var(--xh-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: var(--xh-transition);
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px var(--xh-shadow); }
.video-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}
.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(232, 82, 124, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--xh-transition);
    z-index: 3;
}
.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 3;
}
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.video-info h3 a { color: var(--xh-text); }
.video-info h3 a:hover { color: var(--xh-primary); }
.video-meta { display: flex; gap: 12px; font-size: 0.82rem; color: var(--xh-text-light); }
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--xh-bg-card);
    border-radius: var(--xh-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: var(--xh-transition);
    border: 1px solid var(--xh-border);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--xh-primary); box-shadow: 0 8px 28px var(--xh-shadow); }
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: var(--xh-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--xh-text-light); line-height: 1.7; }

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.two-col-img { border-radius: var(--xh-radius); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.two-col-img img { width: 100%; display: block; }
.two-col-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; }
.two-col-text h2 em { font-style: normal; color: var(--xh-primary); }
.two-col-text p { color: var(--xh-text-light); margin-bottom: 12px; line-height: 1.8; }
.two-col-text .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.two-col-text .tag-list span {
    padding: 4px 14px;
    background: var(--xh-bg-light);
    color: var(--xh-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Expert Grid --- */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.expert-card {
    background: var(--xh-bg-card);
    border-radius: var(--xh-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: var(--xh-transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--xh-shadow); }
.expert-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--xh-primary);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.expert-card .role { color: var(--xh-primary); font-size: 0.88rem; font-weight: 500; margin-bottom: 10px; }
.expert-card p { font-size: 0.85rem; color: var(--xh-text-light); line-height: 1.6; margin-bottom: 14px; }
.expert-card .btn-sm {
    display: inline-block;
    padding: 6px 18px;
    background: var(--xh-gradient);
    color: #fff;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}
.expert-card .btn-sm:hover { opacity: 0.9; color: #fff; }

/* --- Brand Wall --- */
.brand-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
}
.brand-item {
    padding: 16px 28px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--xh-radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--xh-transition);
}
.brand-item:hover { border-color: var(--xh-accent); color: var(--xh-accent); }

/* --- How-To Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--xh-bg-card);
    border-radius: var(--xh-radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    position: relative;
}
.step-num {
    width: 48px;
    height: 48px;
    background: var(--xh-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--xh-text-light); }

/* --- Reviews --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--xh-bg-card);
    border-radius: var(--xh-radius);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border-left: 4px solid var(--xh-primary);
}
.review-stars { color: var(--xh-accent); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 0.92rem; color: var(--xh-text); line-height: 1.7; margin-bottom: 12px; font-style: italic; }
.review-author { font-size: 0.85rem; color: var(--xh-text-light); font-weight: 500; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--xh-bg-card);
    border-radius: var(--xh-radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--xh-transition);
}
.faq-question:hover { color: var(--xh-primary); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--xh-primary); transition: var(--xh-transition); }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 18px; }
.faq-answer p { font-size: 0.92rem; color: var(--xh-text-light); line-height: 1.7; }

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.contact-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--xh-radius);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; color: var(--xh-accent); }
.contact-card p { font-size: 0.92rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.contact-card img { max-width: 160px; margin: 12px auto 0; border-radius: 8px; }

/* --- Footer --- */
.site-footer {
    background: #111122;
    padding: 48px 0 24px;
    color: rgba(255,255,255,0.6);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
    color: var(--xh-text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    padding: 4px 0;
    transition: var(--xh-transition);
}
.footer-col a:hover { color: var(--xh-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
}
.footer-bottom a { color: var(--xh-primary); }
.share-links { display: flex; gap: 12px; justify-content: center; margin-top: 12px; }
.share-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--xh-transition);
}
.share-links a:hover { background: var(--xh-primary); color: #fff; }

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 14px 0;
    margin-top: 68px;
    background: #fff;
    border-bottom: 1px solid var(--xh-border);
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--xh-text-light);
}
.breadcrumb-inner a { color: var(--xh-primary); }
.breadcrumb-inner span { color: var(--xh-text-light); }

/* --- Page Hero --- */
.page-hero {
    padding: 60px 0;
    background: var(--xh-bg-dark);
    text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.7); }

/* --- Animate --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: var(--xh-bg-dark);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }
    .main-nav.active { display: flex; }
    .hero-section { height: 420px; }
    .hero-content h1 { font-size: 1.8rem; }
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .feature-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 28px; }
    .expert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.5rem; }
    .search-inner { flex-direction: column; gap: 8px; }
    .search-inner input, .search-inner button { border-radius: var(--xh-radius-sm); width: 100%; border: 2px solid var(--xh-primary); }
}
