/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* 按钮样式 */
.btn-primary {
    background: #377dff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(55, 125, 255, 0.2);
}

.btn-primary:hover {
    background: #2c6eeb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 125, 255, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: all 0.3s ease;
    color: var(--navbar-text);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--navbar-text);
}

.nav-logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navbar-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* 语言切换器 */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--hover-color);
    color: var(--hover-color);
    background-color: var(--hover-bg);
}

.lang-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lang-btn.active i:last-child {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    margin: 0;
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: var(--hover-bg);
    color: var(--hover-color);
}

.lang-option.active {
    background-color: var(--primary-color);
    color: white;
}

.lang-option.active:hover {
    background-color: var(--primary-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: var(--hover-bg);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navbar-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单样式 */
.mobile-theme-toggle,
.mobile-lang-section {
    display: none;
}

.mobile-theme-toggle {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
}

.mobile-theme-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 0;
    border: none;
    background: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}

/* 仅在支持hover的设备上启用hover效果 */
@media (hover: hover) {
    .mobile-theme-btn:hover {
        color: var(--primary-color);
    }
}

.mobile-lang-section {
    border-top: 1px solid #e5e7eb;
    padding: 28px 0 24px 0;
    margin: 24px 0 20px 0;
}

.mobile-lang-title {
    display: block;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-lang-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.mobile-lang-list li {
    margin: 0;
}

.mobile-lang-option {
    display: block;
    padding: 14px 0;
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

/* 仅在支持hover的设备上启用hover效果 */
@media (hover: hover) {
    .mobile-lang-option:hover {
        color: var(--primary-color);
    }
}

.mobile-lang-option.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-lang-option.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #333333;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.highlight {
    color: #377dff !important;
    text-decoration: underline;
    text-decoration-color: #fbe8c1;
    text-decoration-thickness: 8px;
    text-underline-offset: 4px;
}

.pricing-highlight {
    color: #3498db !important;
    font-weight: 700;
}

.pricing-highlight.speed-value {
    margin-right: 4px;
}

.pricing-highlight.unlock-text {
    margin-right: 4px;
}

/* 价格悬停效果 */
.first-year-badge:hover ~ .price-amount,
.first-year-badge:hover + * .price-amount {
    transition: all 0.3s ease;
}

/* 打字机特效 */
.typewriter {
    display: inline;
    border-right: 2px solid #377dff;
    animation: blink-caret 0.75s step-end infinite;
    vertical-align: baseline;
}

.typewriter.typing-complete {
    border-right: none;
    animation: none;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 文件展示区域 */
.files-showcase {
    position: relative;
    height: 400px;
    animation: fadeInRight 1s ease-out 0.5s both;
    padding: 20px;
    overflow: hidden;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
    position: relative;
}

.file-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    min-height: 70px;
}

.file-item:nth-child(1) {
    transform: rotate(-2deg);
    animation: floatDiagonal1 6s ease-in-out infinite;
}

.file-item:nth-child(2) {
    transform: rotate(1deg);
    animation: floatDiagonal2 7s ease-in-out infinite;
}

.file-item:nth-child(3) {
    transform: rotate(-1deg);
    animation: floatDiagonal3 8s ease-in-out infinite;
}

.file-item:nth-child(4) {
    transform: rotate(2deg);
    animation: floatDiagonal4 6.5s ease-in-out infinite;
}

.file-item:nth-child(5) {
    transform: rotate(-1.5deg);
    animation: floatDiagonal5 7.5s ease-in-out infinite;
}

.file-item:nth-child(6) {
    transform: rotate(1.5deg);
    animation: floatDiagonal6 8.5s ease-in-out infinite;
}

.file-item:hover {
    transform: translateY(-5px) scale(1.02) rotate(0deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.file-excel .file-icon {
    background: #1d6f42;
}

.file-word .file-icon {
    background: #2b579a;
}

.file-pdf .file-icon {
    background: #dc3545;
}

.file-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.preview-placeholder {
    color: white;
    font-size: 16px;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    word-break: break-word;
    white-space: normal;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.file-tag {
    background: #ffc107;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    width: fit-content;
}

/* 节区标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们 */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 60px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3498db 0%, #1abc9c 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 产品优势 */
.features {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 2rem 0 6rem;
    overflow: hidden;
    position: relative;
}

.features .container {
    width: 100%;
    padding-top: 0;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #e8f4fd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #3498db;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 价格方案 */
.pricing {
    min-height: 120vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    margin: 0;
    position: relative;
    background: #0f0f0f;
    color: #e0e0e0;
}

[data-theme="light"] .pricing {
    background: #f8fafc;
    color: #1f2937;
}

.pricing .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing .section-header {
    text-align: center;
    margin-bottom: 5rem;
    width: 100%;
}

.pricing .section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

[data-theme="light"] .pricing .section-header h2 {
    color: #1f2937;
}

.pricing .section-header p {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

[data-theme="light"] .pricing .section-header p {
    color: #6b7280;
}

/* 计费周期切换 */
.billing-toggle {
    display: inline-flex;
    background: #1f2937;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

[data-theme="light"] .billing-toggle {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.billing-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .billing-btn {
    color: #6b7280;
}

.billing-btn.active {
    background: #3498db;
    color: white;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.billing-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.billing-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.discount-badge {
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.tbc-badge {
    background: #95a5a6;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.pricing-card {
    background: #1f2937;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #374151;
}

[data-theme="light"] .pricing-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .pricing-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.free-plan {
    border: none;
}

[data-theme="light"] .free-plan {
    border: none;
}

.pro-plan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.pro-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1f2937;
    z-index: 1;
    border-radius: 18px;
    margin: 2px;
}

[data-theme="light"] .pro-plan::before {
    background: #ffffff;
}

.pro-plan > * {
    position: relative;
    z-index: 2;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

[data-theme="light"] .card-header h3 {
    color: #1f2937;
}

.pro-plan h3 {
    color: #ffffff;
}

[data-theme="light"] .pro-plan h3 {
    color: #1f2937;
}

.price-display {
    margin-bottom: 1rem;
    position: relative;
}

.price-symbol {
    font-size: 1.5rem;
    color: #9ca3af;
    vertical-align: top;
    margin-right: 4px;
}

[data-theme="light"] .price-symbol {
    color: #6b7280;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

[data-theme="light"] .price-amount {
    color: #1f2937;
}

.first-month-badge {
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -20px;
    transform: rotate(15deg);
}

.first-year-badge {
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -20px;
    transform: rotate(15deg);
}

.price-period {
    font-size: 1.2rem;
    color: #9ca3af;
    font-weight: 500;
    margin-left: 4px;
}

[data-theme="light"] .price-period {
    color: #6b7280;
}

.price-description {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

[data-theme="light"] .price-description {
    color: #6b7280;
}

.cta-button {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3498db 0%, #1abc9c 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.cta-button.secondary:hover {
    background: #3498db;
    color: white;
}

.cta-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.cta-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: 1.5rem;
    color: #6b7280;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

.features-section {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
}

[data-theme="light"] .features-section {
    border-color: #e5e7eb;
}

.features-section h4 {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .features-section h4 {
    color: #6b7280;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #e5e7eb;
    font-size: 0.9rem;
}

[data-theme="light"] .features-list li {
    color: #374151;
}

.feature-number {
    font-weight: 700;
    color: #3498db;
    margin-right: 8px;
    min-width: fit-content;
}

.feature-check {
    font-weight: 700;
    color: #1abc9c;
    margin-right: 8px;
    min-width: fit-content;
}

.route-location {
    color: #3498db;
    font-weight: 600;
}

/* 联系我们 */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #666;
    margin: 0;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section:last-child {
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.back-to-top.show {
    display: flex;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 响应式设计 */
/* 手机排版 - 1000px以下 */
@media (max-width: 1000px) {
    /* Hero区域垂直布局 */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .hero-text {
        order: 1;
    }
    
    .files-showcase {
        order: 2;
        height: min(400px, 45vh);
        padding: min(20px, 3vw);
        margin: 0;
        max-width: min(500px, 92vw);
        width: 100%;
        align-self: flex-start;
    }
    
    .files-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: min(16px, 3vw);
    }
    
    .file-item {
        padding: min(16px, 3vw);
        gap: min(14px, 2.5vw);
        min-height: min(80px, 12vw);
        border-radius: min(16px, 3vw);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }
    
    .file-icon, .file-preview {
        width: min(50px, 9vw);
        height: min(50px, 9vw);
        min-width: 35px;
        min-height: 35px;
        border-radius: min(12px, 2vw);
    }
    
    .file-name {
        font-size: clamp(12px, 3vw, 18px);
        font-weight: 500;
    }
    
    .file-tag {
        font-size: clamp(9px, 2.2vw, 13px);
        padding: min(3px, 0.5vw) min(8px, 1.5vw);
        border-radius: min(6px, 1.2vw);
        font-weight: 600;
    }
    
    .file-icon i {
        font-size: min(24px, 5vw);
    }
    
    .preview-placeholder i {
        font-size: min(22px, 4.5vw);
    }
    
    /* 标题和按钮调整 */
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .hero-buttons .btn-primary {
        align-self: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    /* 其他区块调整 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* 导航栏手机模式 */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--navbar-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-sizing: border-box;
        z-index: 1000;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                   opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                   visibility 0.4s;
        display: flex;
        padding-top: 100px;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
        text-align: center;
        transform: translateY(30px);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                   opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .nav-menu.show {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu.show li {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu.show li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.show li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.show li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.show li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.show li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-menu a:not(.mobile-theme-btn):not(.mobile-lang-option) {
        padding: 20px 0;
        font-size: 24px;
        font-weight: 500;
        display: block;
        text-decoration: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    /* 移动端菜单显示时的样式 */
    .nav-menu.show .mobile-theme-toggle,
    .nav-menu.show .mobile-lang-section {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* 确保导航栏在全屏菜单时可见 */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1002 !important;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-actions {
        display: none;
    }
    
    /* 全屏菜单时确保导航栏元素可见 */
    .nav-menu.show {
        z-index: 1000;
    }
    
    .nav-menu.show ~ .nav-container {
        position: relative !important;
        z-index: 1003 !important;
        background: transparent !important;
    }
    
    .nav-menu.show ~ .nav-container .nav-logo,
    .nav-menu.show ~ .nav-container .hamburger {
        position: relative !important;
        z-index: 1004 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu.show ~ .nav-container .nav-logo {
        color: var(--text-color) !important;
    }
    
    .nav-menu.show ~ .nav-container .hamburger span {
        background: var(--text-color) !important;
    }
}

/* 平板和小屏设备优化 */
@media (max-width: 768px) {
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .hero-buttons .btn-primary {
        align-self: flex-start;
    }
    
    /* 768px以下文件展示进一步优化 */
    .files-showcase {
        height: min(350px, 40vh);
        max-width: min(450px, 95vw);
        padding: min(18px, 2.8vw);
        margin: 0;
        margin-left: 0;
        align-self: flex-start;
    }
    
    .files-grid {
        gap: min(14px, 2.5vw);
    }
    
    .file-item {
        padding: min(14px, 2.5vw);
        gap: min(12px, 2.2vw);
        min-height: min(80px, 12vw);
        border-radius: min(14px, 2.5vw);
        align-items: flex-start;
    }
    
    .file-icon, .file-preview {
        width: min(45px, 8vw);
        height: min(45px, 8vw);
        min-width: 32px;
        min-height: 32px;
        border-radius: min(10px, 1.8vw);
        flex-shrink: 0;
        margin-top: min(2px, 0.5vw);
    }
    
    .file-name {
        font-size: clamp(11px, 2.8vw, 16px);
        max-width: 100%;
        word-break: break-word;
        white-space: normal;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .file-tag {
        font-size: clamp(8px, 2vw, 12px);
        padding: min(2px, 0.4vw) min(7px, 1.3vw);
        border-radius: min(5px, 1vw);
    }
    
    .file-icon i {
        font-size: min(22px, 4.5vw);
    }
    
    .preview-placeholder i {
        font-size: min(20px, 4vw);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing .container {
        padding: 0 1rem;
    }
    
    .billing-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .billing-btn {
        width: 100%;
        justify-content: center;
    }
    
    .payment-methods {
        gap: 8px;
    }
    
    .payment-methods i {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section:last-child {
        text-align: left;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .stat {
        text-align: left;
        flex: 0 1 auto;
        min-width: 80px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1.2rem;
    }

    .pricing .section-header h2 {
        font-size: 2rem;
    }

    .amount {
        font-size: 3rem;
    }

    .pricing .container {
        padding: 0 1rem;
    }

    .pricing-grid {
        gap: 1rem;
    }
    
    /* 480px以下超小屏设备优化 */
    .files-showcase {
        height: min(300px, 35vh);
        max-width: min(400px, 98vw);
        padding: min(15px, 2vw);
        margin: 0;
        margin-left: 0;
        align-self: flex-start;
    }
    
    .files-grid {
        gap: min(12px, 2vw);
    }
    
    .file-item {
        padding: min(12px, 2vw);
        gap: min(10px, 1.8vw);
        min-height: min(75px, 10vw);
        border-radius: min(12px, 2.2vw);
        align-items: flex-start;
    }
    
    .file-icon, .file-preview {
        width: min(40px, 7vw);
        height: min(40px, 7vw);
        min-width: 28px;
        min-height: 28px;
        border-radius: min(8px, 1.5vw);
        flex-shrink: 0;
        margin-top: min(2px, 0.3vw);
    }
    
    .file-name {
        font-size: clamp(10px, 2.5vw, 14px);
        max-width: 100%;
        word-break: break-word;
        white-space: normal;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .file-tag {
        font-size: clamp(7px, 1.8vw, 11px);
        padding: min(2px, 0.3vw) min(6px, 1vw);
        border-radius: min(4px, 0.8vw);
    }
    
    .file-icon i {
        font-size: min(20px, 4vw);
    }
    
    .preview-placeholder i {
        font-size: min(18px, 3.5vw);
    }
}

/* 主题切换按钮 */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.theme-toggle:hover {
    background-color: var(--hover-bg);
    color: var(--hover-color);
}

/* 主题配色变量 - 仿 Cloudreve 风格 */
:root {
    --bg-color: #ffffff;
    --text-color: #2c3e50;
    --navbar-bg: rgba(255, 255, 255, 1.0);
    --navbar-text: #000000;
    --card-bg: #ffffff;
    --border-color: #e1e8ed;
    --hover-bg: #f7fafc;
    --hover-color: #3498db;
    --shadow: rgba(0, 0, 0, 0.08);
    --primary-color: #3498db;
    --primary-hover: #2980b9;
    --secondary-color: #ecf0f1;
    --accent-color: #1abc9c;
    --accent-hover: #16a085;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --muted-color: #7f8c8d;
}

[data-theme="dark"] {
    --bg-color: #0f0f0f;
    --text-color: #e0e0e0;
    --navbar-bg: #000000;
    --navbar-text: #ffffff;
    --card-bg: #1a1a1a;
    --border-color: #404040;
    --hover-bg: #2d2d2d;
    --hover-color: #90caf9;
    --shadow: rgba(0, 0, 0, 0.5);
    --primary-color: #90caf9;
    --primary-hover: #64b5f6;
    --secondary-color: #2d2d2d;
    --accent-color: #4fc3f7;
    --accent-hover: #29b6f6;
    --success-color: #81c784;
    --warning-color: #ffb74d;
    --error-color: #ef5350;
    --muted-color: #9e9e9e;
}

/* 基础样式更新 */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 导航栏暗色模式 */
.navbar {
    background: var(--navbar-bg);
    color: var(--navbar-text);
}

.nav-logo {
    color: var(--navbar-text);
}

.nav-menu a {
    color: var(--navbar-text);
}

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

[data-theme="dark"] .theme-toggle {
    color: #ffffff;
}

[data-theme="dark"] .navbar {
    background: #000000;
    color: #ffffff;
}

[data-theme="dark"] .nav-logo {
    color: #ffffff;
}

[data-theme="dark"] .nav-menu a {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: var(--hover-bg);
    color: var(--hover-color);
}

/* 按钮暗色模式 */
[data-theme="dark"] .btn-primary {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

[data-theme="dark"] .btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--hover-bg);
    border-color: var(--hover-color);
    color: var(--hover-color);
}

/* 语言切换器暗色模式 */
[data-theme="dark"] .lang-btn {
    color: #ffffff;
    border-color: var(--border-color);
}

[data-theme="dark"] .lang-btn:hover {
    background-color: var(--hover-bg);
    border-color: var(--hover-color);
    color: var(--hover-color);
}

[data-theme="dark"] .lang-menu {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 12px var(--shadow);
}

[data-theme="dark"] .lang-option {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .lang-option:hover {
    background-color: var(--hover-bg);
    color: var(--hover-color);
}

[data-theme="dark"] .lang-option.active {
    background-color: var(--primary-color);
    color: #0f0f0f;
}

/* 移动端菜单暗色模式 */
[data-theme="dark"] .mobile-theme-btn {
    color: var(--text-color);
}

@media (hover: hover) {
    [data-theme="dark"] .mobile-theme-btn:hover {
        color: var(--primary-color);
    }
}

[data-theme="dark"] .mobile-theme-toggle {
    border-top-color: #374151;
}

[data-theme="dark"] .mobile-lang-section {
    border-top-color: #374151;
}

[data-theme="dark"] .mobile-lang-title {
    color: #9ca3af;
}

[data-theme="dark"] .mobile-lang-option {
    color: var(--text-color);
}

@media (hover: hover) {
    [data-theme="dark"] .mobile-lang-option:hover {
        color: var(--primary-color);
    }
}

[data-theme="dark"] .mobile-lang-option.active {
    color: var(--primary-color);
}

/* 卡片和区块暗色模式 */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .pricing-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 15px var(--shadow);
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .pricing-card:hover {
    box-shadow: 0 8px 25px var(--shadow);
}

[data-theme="dark"] .pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(144, 202, 249, 0.2);
}

/* 关于我们区块暗色模式 */
[data-theme="dark"] .about {
    background: var(--bg-color);
}

[data-theme="dark"] .image-placeholder {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* 联系我们区块暗色模式 */
[data-theme="dark"] .contact {
    background: var(--card-bg);
}

[data-theme="dark"] .contact-item {
    background: var(--bg-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-icon {
    background: var(--primary-color);
    color: #121212;
}

/* 页脚暗色模式 */
[data-theme="dark"] .footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-section ul li a {
    color: var(--text-color);
}

[data-theme="dark"] .footer-section ul li a:hover {
    color: var(--hover-color);
}

[data-theme="dark"] .footer-links a {
    color: var(--text-color);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--hover-color);
}

[data-theme="dark"] .social-links a {
    background: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .social-links a:hover {
    background: var(--primary-color);
    color: #0f0f0f;
}

/* 返回顶部按钮暗色模式 */
[data-theme="dark"] .back-to-top {
    background: var(--primary-color);
    color: #0f0f0f;
}

[data-theme="dark"] .back-to-top:hover {
    background: var(--primary-hover);
}

/* 英雄区域暗色模式纯色背景 */
[data-theme="dark"] .hero {
    background: var(--bg-color);
    color: var(--text-color);
}

/* 汉堡菜单暗色模式 */
[data-theme="dark"] .hamburger span {
    background: #ffffff;
}

/* 表单元素暗色模式（如果有的话）*/
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(144, 202, 249, 0.2);
}

/* 通知组件暗色模式 */
[data-theme="dark"] .notification {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

/* 滚动条暗色模式 */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--card-bg);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 暗色模式优化 - 增强文字对比度 */
[data-theme="dark"] .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-description {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .pricing-header h3,
[data-theme="dark"] .about-text h3,
[data-theme="dark"] .contact-details h4 {
    color: #ffffff;
}

[data-theme="dark"] .feature-card p,
[data-theme="dark"] .about-text p,
[data-theme="dark"] .contact-details p {
    color: var(--muted-color);
}

[data-theme="dark"] .section-header h2 {
    color: #ffffff;
}

[data-theme="dark"] .section-header p {
    color: var(--muted-color);
}

/* 统一暗色模式hover效果 */
[data-theme="dark"] .nav-menu a:hover {
    color: var(--hover-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: var(--hover-bg);
    color: var(--hover-color);
}

[data-theme="dark"] .lang-btn:hover {
    background-color: var(--hover-bg);
    border-color: var(--hover-color);
    color: var(--hover-color);
}

[data-theme="dark"] .lang-option:hover {
    background-color: var(--hover-bg);
    color: var(--hover-color);
}

[data-theme="dark"] .lang-option.active {
    background-color: var(--primary-color);
    color: #0f0f0f;
}

[data-theme="dark"] .btn-primary {
    background: var(--primary-color);
    color: #0f0f0f;
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--hover-bg);
    border-color: var(--hover-color);
    color: var(--hover-color);
}

[data-theme="dark"] .footer-section ul li a:hover {
    color: var(--hover-color);
}

[data-theme="dark"] .footer-section ul li i {
    color: var(--hover-color);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--hover-color);
}

[data-theme="dark"] .social-links a:hover {
    background: var(--primary-color);
    color: #0f0f0f;
}

[data-theme="dark"] .back-to-top:hover {
    background: var(--primary-hover);
}

/* 更多暗色模式文字对比度优化 */
[data-theme="dark"] .stat-number {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .stat-label {
    color: var(--muted-color);
}

[data-theme="dark"] .price .amount {
    color: #ffffff;
}

[data-theme="dark"] .price .currency,
[data-theme="dark"] .price .period {
    color: var(--muted-color);
}

[data-theme="dark"] .pricing-features li {
    color: var(--text-color);
}

[data-theme="dark"] .footer-section h4 {
    color: white;
}

[data-theme="dark"] .footer-logo {
    color: #ffffff;
}

[data-theme="dark"] .footer-section p {
    color: var(--muted-color);
}

/* 暗色模式highlight样式 */
[data-theme="dark"] .highlight {
    color: #377dff !important;
    text-decoration: underline;
    text-decoration-color: #fbe8c1;
    text-decoration-thickness: 8px;
    text-underline-offset: 4px;
}

[data-theme="dark"] .pricing-highlight {
    color: #3498db !important;
    font-weight: 700;
}

/* 暗色模式打字机特效 */
[data-theme="dark"] .typewriter {
    border-right-color: #377dff;
}

/* 暗色模式文件展示 */
[data-theme="dark"] .file-item {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .file-name {
    color: #e0e0e0;
}

[data-theme="dark"] .feature-icon {
    background: rgba(52, 152, 219, 0.15);
    color: #90caf9;
}

[data-theme="dark"] .feature-check {
    color: #4fc3f7;
}

[data-theme="dark"] .route-location {
    color: #90caf9;
}

/* 打字机动画 */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #377dff }
}

/* 斜向漂浮动画 */
@keyframes floatDiagonal1 {
    0%, 100% { transform: rotate(-2deg) translateY(0px) translateX(0px); }
    50% { transform: rotate(-2deg) translateY(-8px) translateX(3px); }
}

@keyframes floatDiagonal2 {
    0%, 100% { transform: rotate(1deg) translateY(0px) translateX(0px); }
    50% { transform: rotate(1deg) translateY(-6px) translateX(-2px); }
}

@keyframes floatDiagonal3 {
    0%, 100% { transform: rotate(-1deg) translateY(0px) translateX(0px); }
    50% { transform: rotate(-1deg) translateY(-10px) translateX(4px); }
}

@keyframes floatDiagonal4 {
    0%, 100% { transform: rotate(2deg) translateY(0px) translateX(0px); }
    50% { transform: rotate(2deg) translateY(-7px) translateX(-3px); }
}

@keyframes floatDiagonal5 {
    0%, 100% { transform: rotate(-1.5deg) translateY(0px) translateX(0px); }
    50% { transform: rotate(-1.5deg) translateY(-9px) translateX(2px); }
}

@keyframes floatDiagonal6 {
    0%, 100% { transform: rotate(1.5deg) translateY(0px) translateX(0px); }
    50% { transform: rotate(1.5deg) translateY(-5px) translateX(-4px); }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 24px 32px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #374151;
}

.modal-body {
    padding: 24px 32px;
    overflow-y: auto;
    flex-grow: 1;
    line-height: 1.6;
}

.modal-body .effective-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-style: italic;
}

.modal-body .intro {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 24px;
    font-weight: 500;
}

.modal-body .section {
    margin-bottom: 24px;
}

.modal-body .section h3 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-body .section p {
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}

.modal-footer {
    padding: 16px 32px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.modal-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-btn:hover {
    background: #2980b9;
}

/* 暗色主题弹窗 */
[data-theme="dark"] .modal-content {
    background-color: #1f2937;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: #374151;
}

[data-theme="dark"] .modal-header h2 {
    color: #f9fafb;
}

[data-theme="dark"] .modal-close {
    color: #9ca3af;
}

[data-theme="dark"] .modal-close:hover {
    color: #d1d5db;
}

[data-theme="dark"] .modal-body .effective-date {
    color: #9ca3af;
}

[data-theme="dark"] .modal-body .intro {
    color: #d1d5db;
}

[data-theme="dark"] .modal-body .section h3 {
    color: #f3f4f6;
}

[data-theme="dark"] .modal-body .section p {
    color: #d1d5db;
}

[data-theme="dark"] .modal-footer {
    border-top-color: #374151;
}

[data-theme="dark"] .modal-btn {
    background: #3498db;
}

[data-theme="dark"] .modal-btn:hover {
    background: #2980b9;
}

/* 响应式弹窗 */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 80vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body .section h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        width: 98%;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .modal-header {
        padding-top: 20px;
    }
    
    .modal-body {
        padding-top: 20px;
    }
    
    .modal-footer {
        padding-bottom: 20px;
    }
}

/* ICP备案样式 */
.icp-beian {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.icp-beian a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-beian a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 适配暗色模式 */
[data-theme="dark"] .icp-beian {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .icp-beian a {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .icp-beian a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 适配浅色模式 */
[data-theme="light"] .icp-beian {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .icp-beian a {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .icp-beian a:hover {
    color: rgba(0, 0, 0, 0.8);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .icp-beian {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

.footer-bottom .copyright .separator {
    margin: 0 0.5rem;
    color: inherit;
}

/* 小屏幕手机优化 (4英寸屏幕等) */
@media (max-width: 375px) {
    /* 导航栏优化 */
    .nav-logo span {
        font-size: 0.9rem;
    }
    
    .nav-logo i {
        font-size: 1rem;
        margin-right: 0.3rem;
    }
    
    /* 英雄区域优化 */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-large {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* 文件展示区域优化 */
    .files-grid {
        grid-template-columns: 1fr;
    }
    
    .file-item {
        margin-bottom: 0.75rem;
    }
    
    /* 服务特色优化 */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* 服务套餐优化 */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* 页脚优化 */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        margin: 0.3rem 0;
        padding: 0.3rem;
    }
    
    /* 弹窗优化 */
    .modal-content {
        width: 90%;
        max-width: 90%;
        padding: 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    /* 通用间距优化 */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
}

/* 超小屏幕手机优化 (iPhone SE等) */
@media (max-width: 320px) {
    /* 导航栏进一步优化 */
    .nav-logo span {
        font-size: 0.8rem;
    }
    
    .nav-logo i {
        font-size: 0.9rem;
    }
    
    /* 移动端菜单优化 */
    .nav-menu {
        padding: 1rem 0;
    }
    
    .nav-menu li a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-lang-title {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .mobile-lang-option {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .mobile-theme-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    /* 英雄区域进一步优化 */
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    /* 按钮优化 */
    .btn-primary, .btn-secondary, .cta-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* 弹窗进一步优化 */
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .modal-footer button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* 优化小屏幕上的文件展示区域 */
@media (max-width: 375px) {
    .files-showcase {
        margin-top: 1.5rem;
    }
    
    .file-item {
        height: auto;
        min-height: 60px;
    }
    
    .file-icon {
        font-size: 1.2rem;
        width: 30px;
        height: 30px;
    }
    
    .file-info {
        padding: 0.3rem;
    }
    
    .file-name {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    .file-tag {
        font-size: 0.7rem;
        padding: 0.1rem 0.3rem;
    }
    
    .file-preview {
        height: 60px;
    }
    
    .preview-placeholder {
        font-size: 1.2rem;
    }
}

/* 修复移动端文件名溢出问题 */
@media (max-width: 480px) {
    .file-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }
}

 