/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4A90E2;
    --dark-blue: #2C6DB5;
    --light-blue: #6BA3E6;
    --accent-orange: #FF8A00;
    --accent-green: #4CAF50;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --border-color: #E0E0E0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 背景装饰 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -200px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    bottom: 20%;
    left: -150px;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-green);
    top: 50%;
    right: -100px;
}

/* 导航栏 */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-w {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--bg-white);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

.login-btn:hover {
    background: var(--bg-light);
}

.download-btn {
    text-decoration: none;
    background: var(--primary-blue);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 4px;
    transition: all 0.3s;
}

.download-btn:hover {
    background: var(--dark-blue);
}

/* Hero 区域 */
.hero {
    margin-top: 70px;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-block;
    background: var(--bg-white);
    color: var(--primary-blue);
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--bg-white);
    text-decoration: none;
    padding: 14px 36px;
    border: 2px solid var(--bg-white);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 16px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 350px;
}

.graphic-doc {
    position: absolute;
    width: 180px;
    height: 220px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.graphic-doc:hover {
    transform: translateY(-10px);
}

.doc-1 {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
    z-index: 1;
    animation-delay: 0s;
}

.doc-2 {
    top: 20px;
    left: 110px;
    transform: rotate(5deg);
    z-index: 2;
    animation-delay: 0.5s;
}

.doc-3 {
    top: 40px;
    left: 220px;
    transform: rotate(-3deg);
    z-index: 3;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

.doc-2 {
    animation-name: float2;
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.doc-3 {
    animation-name: float3;
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
}

.doc-header {
    height: 20px;
    background: var(--primary-blue);
    border-radius: 8px 8px 0 0;
}

.doc-lines {
    padding: 20px;
}

.line {
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.line:nth-child(1) {
    width: 80%;
}

.line:nth-child(2) {
    width: 60%;
}

.line:nth-child(3) {
    width: 70%;
}

.graphic-avatars {
    position: absolute;
    bottom: -20px;
    right: 20px;
    display: flex;
    gap: -10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-green));
    border: 3px solid var(--bg-white);
    position: relative;
}

.avatar-1 {
    z-index: 3;
}

.avatar-2 {
    margin-left: -15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    z-index: 2;
}

.avatar-3 {
    margin-left: -15px;
    background: linear-gradient(135deg, var(--accent-green), #388E3C);
    z-index: 1;
}

/* 核心功能 */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    font-weight: 700;
    color: var(--bg-white);
}

.feature-icon.word {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.feature-icon.excel {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.feature-icon.ppt {
    background: linear-gradient(135deg, #FF8A00 0%, #F57C00 100%);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.feature-link:hover {
    color: var(--dark-blue);
}

/* 协作区域 */
.collaboration {
    padding: 100px 0;
    background: var(--bg-light);
}

.collaboration-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.collaboration-text {
    flex: 1;
}

.collaboration-text h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.collaboration-text > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.collaboration-list {
    list-style: none;
    margin-bottom: 30px;
}

.collaboration-list li {
    font-size: 18px;
    color: var(--text-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.collaboration-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.collab-graphic {
    position: relative;
    width: 500px;
    height: 350px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.collab-screen {
    width: 100%;
    height: 100%;
    background: #F5F7FA;
    border-radius: 8px;
    overflow: hidden;
}

.collab-toolbar {
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px 8px 0 0;
}

.collab-content {
    padding: 20px;
}

.collab-block {
    height: 30px;
    background: #E0E0E0;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
}

.block-1 {
    width: 80%;
}

.block-2 {
    width: 60%;
}

.block-3 {
    width: 70%;
}

.collab-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    animation: cursorMove 3s ease-in-out infinite;
}

.cursor-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid;
    transform: rotate(-30deg);
}

.cursor-1 {
    top: 100px;
    right: 100px;
}

.cursor-1 .cursor-arrow {
    border-bottom-color: var(--accent-orange);
}

.cursor-2 {
    top: 150px;
    right: 200px;
    animation-delay: 1.5s;
}

.cursor-2 .cursor-arrow {
    border-bottom-color: var(--primary-blue);
}

@keyframes cursorMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 10px);
    }
}

/* 多平台 */
.platforms {
    padding: 100px 0;
    background: var(--bg-white);
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.platform-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    width: 150px;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.platform-icon {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.platform-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

/* 下载区域 */
.download-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 08);
    text-decoration: none;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.download-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.download-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.download-card:hover .btn-download {
    background: var(--dark-blue);
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-text-w {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--bg-white);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text-wps {
    font-size: 22px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--bg-white);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .nav-menu {
        gap: 20px;
        margin: 15px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .stats {
        justify-content: center;
    }

    .collaboration-content {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .platform-icons {
        flex-wrap: wrap;
        gap: 30px;
    }

    .download-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
