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

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand .logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff6b35;
}

/* 语言选择器 */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    color: #333;
}

.language-btn:hover {
    background: #e9ecef;
    border-color: #ff6b35;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
}

.language-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.language-option {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f8f9fa;
}

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

.language-option:hover {
    background: #f8f9fa;
    color: #ff6b35;
}

.language-option.selected {
    background: #fff3e0;
    color: #ff6b35;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    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 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 V600 H0 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
    background-size: cover;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
}

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

/* 按钮样式 */
.cta-button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.cta-button.secondary {
    background: #4CAF50;
}

.cta-button.secondary:hover {
    background: #45a049;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

/* 链接包裹按钮样式 */
a {
    text-decoration: none;
}

a .cta-button {
    display: inline-block;
    margin: 0;
    text-decoration: none;
}

/* 特色服务 */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-column ul {
    list-style: none;
}

.feature-column li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.feature-column li::before {
    content: '•';
    color: #ff6b35;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* 流程步骤 */
.process {
    padding: 80px 0;
    background: white;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 200px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: #ccc;
    margin: 0 20px;
}

/* 统计数据 */
.stats-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b35;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: #666;
    font-size: 1rem;
}

/* 工具支持 */
.tools {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.tools h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.tools p {
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tool-icon.word { background: #2B579A; }
.tool-icon.excel { background: #217346; }
.tool-icon.ppt { background: #D24726; }
.tool-icon.browser { background: #4285F4; }
.tool-icon.mobile { background: #34A853; }
.tool-icon.pdf { background: #FF5722; }

.tool-item span {
    font-weight: 600;
    color: #333;
}

/* 详细统计 */
.detailed-stats {
    padding: 60px 0;
    background: #2c3e50;
    color: white;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stats-row .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-row .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stats-row .stat-label {
    color: #bdc3c7;
    font-size: 1rem;
}

/* 格式支持 */
.formats {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.formats h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.formats p {
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.format-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.format-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.format-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

.format-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}

.format-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}

.format-link:hover {
    text-decoration: none;
    color: inherit;
}

.format-item:hover .format-link h4 {
    color: #ff6b35;
    transition: color 0.3s ease;
}

.format-item:hover .format-link .format-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.faq-item {
    margin-bottom: 2rem;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

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

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #3498db;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

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

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

.contact-label {
    font-size: 0.8rem;
    color: #bdc3c7;
}

.copyright {
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* 移动端语言选择器 */
    .language-selector {
        margin-top: 20px;
        width: 100%;
    }
    
    .language-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .language-dropdown {
        right: auto;
        left: 0;
        width: 100%;
        min-width: auto;
    }
    
    .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);
    }

    /* Hero区域 */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    /* 流程步骤 */
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    /* 统计数据 */
    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

    /* 页脚 */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features h2, 
    .process h2, 
    .tools h2, 
    .formats h2, 
    .faq h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tool-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

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

.format-item,
.stat-box,
.step {
    animation: fadeInUp 0.6s ease forwards;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
