/* =====================================================
   樱花动漫 - 主样式文件 | dkayb.cn
   原创设计，版权所有 © 2025 樱花动漫
   ===================================================== */

/* ---- CSS变量 ---- */
:root {
    --primary: #FF6B9D;
    --primary-dark: #e85585;
    --secondary: #6B4C9A;
    --secondary-dark: #4a3070;
    --accent: #FFD700;
    --bg-dark: #0d0b1a;
    --bg-card: #1a1630;
    --bg-light: #f8f5ff;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #666688;
    --text-light: #999bb8;
    --border: #e8e0f5;
    --shadow: 0 4px 20px rgba(107,76,154,0.12);
    --shadow-hover: 0 8px 40px rgba(255,107,157,0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', sans-serif;
}

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

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

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* ---- 容器 ---- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- 间距工具 ---- */
.py-80 { padding: 80px 0; }
.py-60 { padding: 60px 0; }
.py-40 { padding: 40px 0; }
.text-center { text-align: center; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-white); }

/* ---- 按钮 ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,107,157,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,157,0.5);
    color: #fff;
}

.btn-white {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-white:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ---- 标签 ---- */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,107,157,0.1);
    color: var(--primary);
    border: 1px solid rgba(255,107,157,0.2);
}

.tag-hot {
    background: linear-gradient(135deg, #FF6B9D, #FF4757);
    color: #fff;
    border: none;
}

.tag-new {
    background: linear-gradient(135deg, #2ED573, #1E90FF);
    color: #fff;
    border: none;
}

.tag-live {
    background: linear-gradient(135deg, #FF4757, #FF6B9D);
    color: #fff;
    border: none;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ---- 顶部公告栏 ---- */
.top-bar {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-dark));
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 13px;
    overflow: hidden;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-scroll {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.top-bar-links {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.top-bar-links a {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    white-space: nowrap;
}

.top-bar-links a:hover {
    color: var(--primary);
}

/* ---- 导航栏 ---- */
.navbar {
    background: rgba(13,11,26,0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,107,157,0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,107,157,0.4);
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    line-height: 1;
}

/* 导航菜单 */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(255,107,157,0.1);
}

.nav-link .arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link .arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(20,16,40,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,107,157,0.2);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(255,107,157,0.15);
    color: var(--primary);
}

.dropdown-item .icon {
    font-size: 16px;
}

/* 搜索框 */
.navbar-search {
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary);
    background: rgba(255,107,157,0.08);
}

.search-form input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    width: 200px;
    font-family: var(--font);
}

.search-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    font-size: 16px;
    transition: var(--transition);
    color: rgba(255,255,255,0.6);
}

.search-btn:hover {
    color: var(--primary);
}

/* 移动端菜单按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- 搜索栏 ---- */
.search-bar-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--bg-dark));
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,107,157,0.1);
}

.search-bar-form {
    width: 100%;
}

.search-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar-main {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,107,157,0.3);
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    gap: 10px;
    transition: var(--transition);
}

.search-bar-main:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,157,0.15);
}

.search-bar-main input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 12px 0;
    font-size: 15px;
    font-family: var(--font);
}

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

.search-bar-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-family: var(--font);
}

.search-bar-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(255,107,157,0.4);
}

.search-hot-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.search-hot-tags a {
    color: rgba(255,255,255,0.65);
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    font-size: 12px;
}

.search-hot-tags a:hover {
    background: rgba(255,107,157,0.15);
    color: var(--primary);
    border-color: rgba(255,107,157,0.3);
}

/* ---- 移动端导航 ---- */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-dark);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.open .mobile-nav-inner {
    transform: translateX(0);
}

.mobile-nav-close {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    background: rgba(255,107,157,0.15);
    color: var(--primary);
}

/* ---- Hero Banner ---- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,11,26,0.85) 0%, rgba(107,76,154,0.5) 50%, rgba(255,107,157,0.3) 100%);
    z-index: 1;
}

.sakura-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    top: -30px;
    animation: sakuraFall linear infinite;
    opacity: 0.7;
}

@keyframes sakuraFall {
    0% { transform: translateY(-30px) rotate(0deg); opacity: 0.7; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,157,0.15);
    border: 1px solid rgba(255,107,157,0.35);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat .num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

/* ---- 数据统计 ---- */
.stats-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--bg-dark));
    padding: 40px 0;
    border-top: 1px solid rgba(255,107,157,0.15);
    border-bottom: 1px solid rgba(255,107,157,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item .num {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-item .label {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-top: 6px;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,107,157,0.08);
    border: 1px solid rgba(255,107,157,0.2);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- 网格布局 ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- 视频卡片 ---- */
.video-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,107,157,0.3);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-dark);
}

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

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

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: var(--transition);
}

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

.video-play-btn svg {
    width: 60px;
    height: 60px;
    fill: #fff;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
    background: rgba(255,107,157,0.85);
    border-radius: 50%;
    padding: 14px;
    transition: transform 0.2s;
}

.video-card:hover .video-play-btn svg {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-gray);
}

.video-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.video-stats {
    display: flex;
    gap: 10px;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ---- 视频弹窗 ---- */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-inner {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    border: 1px solid rgba(255,107,157,0.2);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: var(--primary);
}

.video-placeholder {
    padding: 40px 20px;
}

.video-placeholder .play-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.video-placeholder p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 8px;
}

/* ---- AI模块 ---- */
.ai-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-dark) 50%, var(--bg-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,107,157,0.08) 0%, transparent 60%);
    animation: aiGlow 8s ease-in-out infinite;
}

@keyframes aiGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.ai-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,107,157,0.2);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.ai-card:hover {
    background: rgba(255,107,157,0.1);
    border-color: rgba(255,107,157,0.4);
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(255,107,157,0.2);
}

.ai-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.ai-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.ai-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ---- 功能卡片 ---- */
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,107,157,0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ---- 弹幕 ---- */
.danmaku-container {
    position: relative;
    height: 120px;
    background: rgba(0,0,0,0.05);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.danmaku-item {
    position: absolute;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    animation: danmakuMove linear infinite;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@keyframes danmakuMove {
    0% { transform: translateX(110vw); }
    100% { transform: translateX(-100%); }
}

/* ---- 专家卡片 ---- */
.expert-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,107,157,0.3);
}

.expert-avatar-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.expert-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

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

.expert-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.expert-awards {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}

.award-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(255,215,0,0.1);
    color: #b8860b;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    font-weight: 600;
}

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

/* ---- 合作品牌 ---- */
.brands-section {
    background: var(--bg-white);
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.brand-logo-item {
    padding: 14px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    transition: var(--transition);
    cursor: default;
}

.brand-logo-item:hover {
    background: rgba(255,107,157,0.08);
    border-color: rgba(255,107,157,0.3);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ---- 步骤卡片 ---- */
.step-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,107,157,0.3);
}

.step-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ---- FAQ ---- */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(255,107,157,0.3);
    box-shadow: 0 4px 20px rgba(255,107,157,0.1);
}

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

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

.faq-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,107,157,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}

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

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

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ---- 用户评价 ---- */
.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,107,157,0.3);
}

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

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

.review-user-info .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.review-user-info .meta {
    font-size: 12px;
    color: var(--text-light);
}

.review-stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.review-tag {
    font-size: 11px;
    color: var(--primary);
    background: rgba(255,107,157,0.08);
    border: 1px solid rgba(255,107,157,0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* ---- 联系我们 ---- */
.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,107,157,0.2);
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.contact-text .label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.contact-text .value {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ---- 分享区 ---- */
.share-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--bg-dark));
    padding: 40px 0;
    text-align: center;
}

.share-title {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-family: var(--font);
}

.share-btn:hover {
    background: rgba(255,107,157,0.2);
    border-color: rgba(255,107,157,0.4);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ---- 页脚 ---- */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-brand .logo-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.footer-qrcodes {
    display: flex;
    gap: 16px;
}

.footer-qr-item {
    text-align: center;
}

.footer-qr-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-qr-item span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,107,157,0.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    transition: var(--transition);
}

.social-icon:hover {
    background: rgba(255,107,157,0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-inner a {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.footer-bottom-inner a:hover {
    color: var(--primary);
}

/* ---- 回到顶部 ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255,107,157,0.4);
    z-index: 500;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255,107,157,0.6);
}

/* ---- 面包屑 ---- */
.breadcrumb {
    padding: 14px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.breadcrumb-list a {
    color: var(--text-gray);
    transition: var(--transition);
}

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

.breadcrumb-list .sep {
    color: var(--text-light);
}

.breadcrumb-list .current {
    color: var(--primary);
    font-weight: 600;
}

/* ---- 页面标题区 ---- */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-dark));
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,107,157,0.1) 0%, transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.page-hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- 内页文章 ---- */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 32px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.article-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 16px;
}

.article-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.article-content ul li {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 6px;
}

/* ---- 响应式 ---- */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .navbar-nav, .navbar-search { display: none; }
    .navbar-toggle { display: flex; }
    .hero-content { padding: 60px 0; }
    .hero-stats { gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .top-bar-links { display: none; }
    .hero-title { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { gap: 16px; }
    .hero-stat .num { font-size: 22px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .py-80 { padding: 50px 0; }
    .search-bar-submit { padding: 10px 16px; font-size: 13px; }
    .share-buttons { gap: 8px; }
    .share-btn { padding: 8px 14px; font-size: 13px; }
}

/* ---- 打印样式 ---- */
@media print {
    .navbar, .top-bar, .search-bar-section, .back-to-top, .share-section { display: none; }
    body { color: #000; }
}
