/* ===== 千万影视 - 企业官网 | 完整样式表 ===== */
/* ===== 设计风格：影视工业 · 深色质感 · 琥珀金点缀 ===== */
/* ===== 兼容暗色模式、响应式布局、滚动动画 ===== */

/* ========== CSS Reset & 基础变量 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 明色模式 */
    --bg-light: #ffffff;
    --bg-soft: #f4f7fb;
    --bg-deep: #0f172a;
    --bg-gradient: linear-gradient(145deg, #0f172a 0%, #1a2639 100%);
    --text-primary: #1f2937;
    --text-secondary: #3a4a5f;
    --text-heading: #0b1525;
    --text-link: #1e4f8a;
    --text-on-dark: #e2e8f0;
    --text-on-dark-heading: #ffffff;
    --border-light: #d1d9e6;
    --accent: #b45309;
    --accent-light: #d97706;
    --accent-dark: #92400e;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #0b1525;
    --footer-text: #cbd5e1;
    --footer-text-light: #93a5bd;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --hero-text: #ffffff;
    --hero-text-secondary: #e0e7ff;
    --hero-btn-outline-border: rgba(255, 255, 255, 0.6);
    --hero-btn-outline-hover-bg: rgba(255, 255, 255, 0.1);
    --faq-bg: #f8fafc;
    --table-header-bg: #0f172a;
    --table-header-text: #ffffff;
    --code-bg: #f1f5f9;
    --scrollbar-thumb: #cbd5e1;
    --scrollbar-track: #f1f5f9;
    --backdrop-blur: blur(8px);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 30px;
    --border-radius-full: 60px;
}

[data-theme="dark"] {
    --bg-light: #0f172a;
    --bg-soft: #1e293b;
    --bg-deep: #020617;
    --bg-gradient: linear-gradient(145deg, #020617 0%, #1e293b 100%);
    --text-primary: #e2e8f0;
    --text-secondary: #b4c2d4;
    --text-heading: #f8fafc;
    --text-link: #6ea8fe;
    --text-on-dark: #e2e8f0;
    --text-on-dark-heading: #ffffff;
    --border-light: #334155;
    --accent: #fbbf24;
    --accent-light: #fcd34d;
    --accent-dark: #f59e0b;
    --card-bg: #1e293b;
    --card-border: #2d3a4f;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(15, 23, 42, 0.9);
    --footer-bg: #020617;
    --footer-text: #b0c4de;
    --footer-text-light: #7c8ea5;
    --glass-bg: rgba(30, 41, 59, 0.75);
    --glass-border: rgba(51, 65, 85, 0.5);
    --hero-text: #ffffff;
    --hero-text-secondary: #cbd5e1;
    --hero-btn-outline-border: rgba(255, 255, 255, 0.4);
    --hero-btn-outline-hover-bg: rgba(255, 255, 255, 0.08);
    --faq-bg: #16213a;
    --table-header-bg: #1e293b;
    --table-header-text: #f8fafc;
    --code-bg: #1e293b;
    --scrollbar-thumb: #334155;
    --scrollbar-track: #1e293b;
}

/* ========== 全局基础样式 ========== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1em;
}

::selection {
    background-color: var(--accent);
    color: #ffffff;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ========== 工具类 ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-3 { margin-top: 30px; }
.mb-3 { margin-bottom: 30px; }
.text-secondary { color: var(--text-secondary); }
.text-heading { color: var(--text-heading); }
.text-center { text-align: center; }

.anchor-offset {
    scroll-margin-top: 90px;
}

/* ========== 站点头部 & 导航 ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.02);
    color: var(--accent);
}

.logo svg {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

.logo-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.theme-toggle,
.search-toggle,
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-primary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.theme-toggle:hover,
.search-toggle:hover,
.mobile-menu-btn:hover {
    background: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle:active,
.search-toggle:active,
.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn {
    display: none;
}

/* 移动端导航 */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 15px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
    padding: 12px 0;
    color: var(--text-heading);
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    padding-left: 8px;
}

.mobile-nav a:hover {
    color: var(--accent);
    padding-left: 16px;
    background: var(--bg-soft);
    border-radius: 8px;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav.show {
    display: flex;
}

/* ========== Hero 区域 ========== */
.hero {
    background: linear-gradient(145deg, var(--bg-deep) 0%, #1a2639 100%);
    color: var(--hero-text);
    padding: 80px 0 100px;
    margin-bottom: 40px;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(180, 83, 9, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: heroPulse 10s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hero-text);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    color: var(--accent-light);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineReveal 1s 0.5s forwards;
}

@keyframes underlineReveal {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero p {
    font-size: 1.2rem;
    color: var(--hero-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-full);
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover {
    background: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--hero-text);
    border-color: var(--hero-btn-outline-border);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--hero-text);
    background: var(--hero-btn-outline-hover-bg);
    color: var(--hero-text);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 12px 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.2;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--hero-text-secondary);
    margin-top: 4px;
}

/* ========== 区块标题 ========== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.section-sub {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
}

/* ========== 卡片网格 ========== */
.grid-3,
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ========== 卡片组件 ========== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 28px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.card .card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card .card-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.icon-badge {
    width: 52px;
    height: 52px;
    background: var(--bg-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card:hover .icon-badge {
    background: var(--accent);
    color: #ffffff;
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.3);
}

/* ========== 文章卡片 ========== */
.article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-light);
}

.article-card:hover::after {
    transform: scaleX(1);
}

.article-card .meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 10px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.meta-tag {
    background: var(--bg-soft);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.article-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.article-card:hover h3 {
    color: var(--accent);
}

.article-card p {
    color: var(--text-primary);
    font-size: 0.92rem;
    margin-bottom: 15px;
    line-height: 1.7;
    flex-grow: 1;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    gap: 4px;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--accent-dark);
    text-decoration: none;
    gap: 8px;
}

/* ========== FAQ 组件 ========== */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-heading);
    background: var(--bg-soft);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-soft);
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--accent);
    display: inline-block;
}

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

.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 18px 22px;
    max-height: 300px;
    opacity: 1;
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 25px;
    margin-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col a,
.footer-col p {
    color: var(--footer-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    line-height: 1.6;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 8px;
    text-decoration: none;
}

.footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-col .contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.copyright {
    border-top: 1px solid #253247;
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    color: var(--footer-text-light);
    font-size: 0.88rem;
    line-height: 1.8;
}

.copyright a {
    color: var(--footer-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ========== 面包屑 ========== */
.breadcrumb {
    background: var(--bg-soft);
    padding: 10px 20px;
    border-radius: var(--border-radius-full);
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.breadcrumb a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* ========== 搜索框 ========== */
.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    padding: 8px 15px;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    width: 220px;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
    width: 280px;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 8px 10px;
    color: var(--text-primary);
    outline: none;
    width: 100%;
    font-size: 0.9rem;
}

.search-box input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    padding: 4px;
}

.search-box button:hover {
    color: var(--accent);
}

/* ========== 图片占位 ========== */
.img-svg {
    background: var(--bg-soft);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.img-svg:hover {
    box-shadow: var(--shadow-hover);
    transform: scale(1.01);
}

.svg-text {
    fill: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
}

/* ========== 数据表格 ========== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.data-table th {
    background: var(--table-header-bg);
    color: var(--table-header-text);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: var(--bg-soft);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== 列表 ========== */
.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.check-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.7;
    transition: padding-left 0.2s ease;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
    background: var(--bg-soft);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.check-list li:hover {
    padding-left: 36px;
}

.check-list li:hover::before {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* ========== 引用块 ========== */
blockquote {
    background: var(--bg-soft);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

blockquote:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

blockquote p {
    color: var(--text-primary);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

blockquote footer {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
}

/* ========== 分隔线 ========== */
hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 40px 0;
    position: relative;
    overflow: visible;
}

/* ========== 返回顶部按钮 ========== */
#backToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
}

#backToTop.show {
    opacity: 1;
    display: flex;
}

#backToTop:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.4);
}

#backToTop:active {
    transform: translateY(-1px);
}

/* ========== 联系区域 ========== */
.contact-section {
    background: var(--bg-soft);
    padding: 40px;
    border-radius: var(--border-radius-2xl);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.contact-info {
    flex: 1;
    min-width: 220px;
    padding: 10px;
}

.contact-info h4 {
    color: var(--text-heading);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-primary);
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-info p strong {
    font-weight: 600;
    color: var(--text-heading);
}

.contact-info .contact-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== HowTo 区块 ========== */
.howto-section {
    background: var(--bg-soft);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease;
}

.howto-section:hover {
    box-shadow: var(--shadow-hover);
}

.howto-section p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.howto-section strong {
    color: var(--text-heading);
}

/* ========== 客户评价 ========== */
.testimonial-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.testimonial {
    background: var(--bg-soft);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    flex: 1;
    min-width: 260px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial p {
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial footer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
}

/* ========== 动画效果 ========== */
/* 滚动进入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 磁性悬浮效果 */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magnetic-hover:hover {
    transform: translateY(-5px) scale(1.02);
}

/* 玻璃拟态效果 */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 渐变边框 */
.gradient-border {
    border: 1px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                linear-gradient(135deg, var(--accent), var(--accent-light)) border-box;
}

/* 脉冲效果 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* 浮动效果 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* 旋转效果 */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 10s linear infinite;
}

/* 闪烁效果 */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer-text {
    background: linear-gradient(90deg, var(--text-heading) 25%, var(--accent) 50%, var(--text-heading) 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* 悬停卡片高亮 */
.hover-glow {
    position: relative;
    transition: all 0.3s ease;
}

.hover-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(180, 83, 9, 0.2);
}

.hover-glow:hover::before {
    opacity: 0.3;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1280px) {
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 1120px) {
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

@media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 860px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav.show {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 80px;
        border-radius: 0 0 30px 30px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-sub {
        font-size: 1rem;
    }
    
    .grid-2-responsive {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
        width: 100%;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 24px 20px;
    }
    
    .contact-section {
        padding: 30px 20px;
    }
    
    .testimonial-grid {
        flex-direction: column;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .search-box {
        display: none;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-sub {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-wrap {
        height: 60px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo svg {
        width: 28px;
        height: 28px;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 16px 18px;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 50px 0 70px;
    }
    
    .btn {
        padding: 11px 24px;
        font-size: 0.95rem;
    }
    
    .card h3 {
        font-size: 1.15rem;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    blockquote {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-sub {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .container {
        padding: 0 14px;
    }
    
    .grid-3,
    .grid-4 {
        gap: 15px;
    }
    
    .card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .icon-badge {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .footer-col a,
    .footer-col p {
        font-size: 0.85rem;
    }
    
    #backToTop {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
        font-size: 18px;
    }
    
    .contact-section {
        padding: 25px 15px;
        border-radius: 20px;
    }
}

/* 深色模式下的特殊调整 */
[data-theme="dark"] .glass-effect {
    background: rgba(30, 41, 59, 0.8);
}

[data-theme="dark"] .card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .data-table th {
    background: #1e293b;
}

[data-theme="dark"] .data-table tbody tr:hover {
    background: #2d3a4f;
}

[data-theme="dark"] .faq-question {
    background: var(--bg-soft);
}

[data-theme="dark"] .faq-item.active .faq-answer {
    background: var(--bg-light);
}

[data-theme="dark"] .site-footer {
    background: #020617;
}

[data-theme="dark"] .copyright {
    border-top-color: #1e293b;
}

[data-theme="dark"] .logo-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-scale {
        opacity: 1;
        transform: none;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .mobile-nav,
    .mobile-menu-btn,
    .theme-toggle,
    .search-toggle,
    #backToTop,
    .btn-group,
    .site-footer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    .hero {
        background: white;
        color: black;
        padding: 20px 0;
        border-radius: 0;
    }
    
    .hero h1,
    .hero p {
        color: black;
    }
    
    .card,
    .article-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .section-title::after {
        background: black;
    }
    
    .stat-number {
        color: black;
    }
    
    blockquote,
    .testimonial,
    .howto-section,
    .contact-section {
        background: #f9f9f9;
        border: 1px solid #ddd;
        box-shadow: none;
    }
}