/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #F3F4F6;
    --accent-color: #EC4899;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --white: #FFFFFF;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 暗黑模式变量 */
[data-theme="dark"] {
    --primary-color: #A78BFA;
    --primary-dark: #8B5CF6;
    --primary-light: #C4B5FD;
    --secondary-color: #1F2937;
    --accent-color: #F472B6;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-light: #9CA3AF;
    --white: #111827;
    --black: #F9FAFB;
    --gradient-primary: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
    --gradient-secondary: linear-gradient(135deg, #C4B5FD 0%, #FBBF24 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

/* 暗黑模式特殊样式 */
[data-theme="dark"] body {
    background-color: var(--white);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95) !important;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1) !important;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .nav-logo {
    color: var(--primary-color);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .lang-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

[data-theme="dark"] .nav-menu {
    background-color: #1F2937 !important;
}

[data-theme="dark"] .nav-menu.active {
    background-color: #1F2937 !important;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

[data-theme="dark"] .features {
    background: var(--white);
}

[data-theme="dark"] .about {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

[data-theme="dark"] .contact {
    background: var(--white);
}

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

[data-theme="dark"] .help-hero {
    background: var(--gradient-primary);
}

[data-theme="dark"] .faq-section {
    background: var(--white);
}

[data-theme="dark"] .contact-support {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .contact-option {
    background: #1F2937;
    border-color: rgba(167, 139, 250, 0.2);
}

[data-theme="dark"] .answer-content {
    background: #374151;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #374151;
    border-color: #4B5563;
    color: var(--text-primary);
}

[data-theme="dark"] .search-box input {
    background: var(--white);
    color: var(--text-primary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle, .lang-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.theme-toggle:hover, .lang-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.theme-toggle i {
    font-size: 16px;
}

.lang-text {
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238B5CF6" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23EC4899" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23A78BFA" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23F472B6" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

/* 手机模拟器样式 */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--black);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: var(--text-light);
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--gradient-primary);
    padding: 20px;
    color: var(--white);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.status-icons {
    display: flex;
    gap: 8px;
}

.app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.file-icon.video {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E, #FFB3B3);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.file-icon.image {
    background: linear-gradient(135deg, #4ECDC4, #44A08D, #26A69A);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.file-icon.archive {
    background: linear-gradient(135deg, #FFA726, #FFB74D, #FFCC80);
    box-shadow: 0 4px 12px rgba(255, 167, 38, 0.3);
}

.file-icon.pdf {
    background: linear-gradient(135deg, #EF5350, #E57373, #FFCDD2);
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
}

.file-icon.audio {
    background: linear-gradient(135deg, #AB47BC, #BA68C8, #CE93D8);
    box-shadow: 0 4px 12px rgba(171, 71, 188, 0.3);
}

.file-icon.text {
    background: linear-gradient(135deg, #66BB6A, #81C784, #A5D6A7);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

.file-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 功能特性区域样式 */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 关于我们区域样式 */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.card {
    position: absolute;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.card i {
    font-size: 24px;
    color: var(--primary-color);
}

.card span {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

/* 联系区域样式 */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--secondary-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateX(10px);
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.contact-item:hover i {
    color: var(--white);
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚样式 */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.footer-logo i {
    margin-right: 8px;
    font-size: 28px;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

/* 动画效果 */
@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);
    }
}


/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-controls {
        display: none;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .file-item {
        padding: 8px 12px;
    }
    
    .file-name {
        font-size: 12px;
    }
    
    .file-size {
        font-size: 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .about-text h2 {
        font-size: 2rem;
    }

    /* 视频模态框样式 */
    .video-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .video-container {
        padding: 20px;
    }
    
    .demo-phone {
        width: 150px;
        height: 300px;
    }

    /* 帮助中心样式 */
    .help-header h1 {
        font-size: 2.5rem;
    }

    .help-header p {
        font-size: 1rem;
    }

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

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.125rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .answer-content {
        padding: 16px;
    }

    .support-content h2 {
        font-size: 2rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-option {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .file-item {
        padding: 6px 10px;
    }
    
    .file-name {
        font-size: 11px;
    }
    
    .file-size {
        font-size: 9px;
    }
    
    .file-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .contact-item {
        padding: 20px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

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

/* 选择文本样式 */
::selection {
    background: var(--primary-light);
    color: var(--white);
}

/* 焦点样式 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 加载动画 */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 视频演示模态框样式 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

.video-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

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

.video-container {
    padding: 40px;
    text-align: center;
}

.demo-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-phone {
    width: 200px;
    height: 400px;
    background: var(--black);
    border-radius: 25px;
    padding: 15px;
    box-shadow: var(--shadow-xl);
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.demo-header {
    background: var(--gradient-primary);
    padding: 15px;
    color: var(--white);
}

.demo-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.demo-status-icons {
    display: flex;
    gap: 6px;
}

.demo-content {
    padding: 20px;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.demo-url-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 10px;
    color: var(--text-secondary);
}

.demo-download-animation {
    text-align: center;
}

.download-progress {
    margin-bottom: 20px;
}

.progress-bar {
    width: 120px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 10px;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: progressAnimation 3s ease-in-out infinite;
}

.progress-text {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

.download-complete {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 12px;
    font-weight: 600;
}

.download-complete i {
    font-size: 16px;
}

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

@keyframes progressAnimation {
    0% {
        left: -100%;
    }
    50% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

/* 帮助中心样式 */
.help-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
}

.help-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.help-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.help-header p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-box {
    position: relative;
    margin: 0 auto;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow: var(--shadow-xl);
}

.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.faq-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--white);
}

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

.faq-question.active {
    background: var(--primary-light);
    color: var(--white);
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.faq-question.active h3 {
    color: var(--white);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    color: var(--white);
}

.faq-answer {
    display: none;
    padding: 0 30px 30px;
    background: var(--secondary-color);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.answer-content {
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.answer-content p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.answer-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.answer-content ul, .answer-content ol {
    margin: 16px 0 16px 30px;
    line-height: 1.6;
}

.answer-content li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.answer-content li i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
}

.tip, .warning {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.tip {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border-left: 4px solid #10B981;
}

.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #B45309;
    border-left: 4px solid #F59E0B;
}

.tip i, .warning i {
    font-size: 18px;
}

.contact-support {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
}

.support-content {
    text-align: center;
    margin-bottom: 60px;
}

.support-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.support-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-option {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 32px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-info .btn {
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .video-container {
        padding: 20px;
    }
    
    .demo-phone {
        width: 150px;
        height: 300px;
    }

    .help-header h1 {
        font-size: 2.5rem;
    }

    .help-header p {
        font-size: 1rem;
    }

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

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.125rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .answer-content {
        padding: 16px;
    }

    .support-content h2 {
        font-size: 2rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-option {
        padding: 30px 20px;
    }
}

