/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-gray: rgba(255, 255, 255, 0.7);
    --accent-orange: #FF8A00;
    --accent-green: #4CAF50;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow-x: hidden;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.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%;
    backdrop-filter: blur(1px);
    animation: floatBubble 8s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.2) 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.4) 0%, rgba(245, 87, 108, 0.2) 100%);
    bottom: 20%;
    left: -150px;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.4) 0%, rgba(0, 242, 254, 0.2) 100%);
    top: 50%;
    right: -100px;
    animation-delay: 4s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* 玻璃拟态卡片基础样式 */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-w {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    color: var(--text-white);
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    text-decoration: none;
    color: var(--text-white);
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.download-btn {
    text-decoration: none;
    background: var(--accent-gradient);
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 25px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

/* Hero 区域 */
.hero {
    margin-top: 80px;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 80px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 45px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 25px;
    margin-bottom: 60px;
}

.btn-primary {
    display: inline-block;
    background: var(--text-white);
    color: #667eea;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    text-decoration: none;
    padding: 16px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.stats {
    display: flex;
    gap: 70px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 16px;
    color: var(--text-gray);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 450px;
    height: 400px;
}

.graphic-doc {
    position: absolute;
    width: 200px;
    height: 250px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

.graphic-doc:hover {
    transform: translateY(-15px) scale(1.02);
}

.doc-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 1;
    animation-delay: 0s;
}

.doc-2 {
    top: 30px;
    left: 130px;
    transform: rotate(8deg);
    z-index: 2;
    animation-delay: 0.8s;
}

.doc-3 {
    top: 60px;
    left: 260px;
    transform: rotate(-4deg);
    z-index: 3;
    animation-delay: 1.6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }
    50% {
        transform: translateY(-15px) rotate(-8deg);
    }
}

.doc-2 {
    animation-name: float2;
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) rotate(8deg);
    }
    50% {
        transform: translateY(-15px) rotate(8deg);
    }
}

.doc-3 {
    animation-name: float3;
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) rotate(-4deg);
    }
    50% {
        transform: translateY(-15px) rotate(-4deg);
    }
}

.doc-header {
    height: 25px;
    background: var(--primary-gradient);
    border-radius: 16px 16px 0 0;
}

.doc-lines {
    padding: 25px;
}

.line {
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin-bottom: 15px;
}

.line:nth-child(1) {
    width: 85%;
}

.line:nth-child(2) {
    width: 65%;
}

.line:nth-child(3) {
    width: 75%;
}

.graphic-avatars {
    position: absolute;
    bottom: -25px;
    right: 30px;
    display: flex;
    gap: -12px;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.avatar-1 {
    z-index: 3;
}

.avatar-2 {
    margin-left: -18px;
    background: var(--primary-gradient);
    z-index: 2;
}

.avatar-3 {
    margin-left: -18px;
    background: var(--accent-gradient);
    z-index: 1;
}

/* 核心功能 */
.features {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 70px;
}

.feature-item {
    text-align: center;
    padding: 50px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon.word {
    background: var(--primary-gradient);
}

.feature-icon.excel {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.feature-icon.ppt {
    background: var(--secondary-gradient);
}

.feature-item h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--text-white);
    font-weight: 600;
}

.feature-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.feature-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.feature-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 协作区域 */
.collaboration {
    padding: 120px 0;
}

.collaboration-content {
    display: flex;
    align-items: center;
    gap: 90px;
}

.collaboration-text {
    flex: 1;
}

.collaboration-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.collaboration-text > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.collaboration-list {
    list-style: none;
    margin-bottom: 35px;
}

.collaboration-list li {
    font-size: 18px;
    color: var(--text-white);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.collaboration-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.collab-graphic {
    position: relative;
    width: 550px;
    height: 380px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    padding: 25px;
}

.collab-screen {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.collab-toolbar {
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 12px 12px 0 0;
}

.collab-content {
    padding: 25px;
}

.collab-block {
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 18px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.block-1 {
    width: 85%;
}

.block-2 {
    width: 65%;
}

.block-3 {
    width: 75%;
}

.collab-cursor {
    position: absolute;
    width: 25px;
    height: 25px;
    animation: cursorMove 3.5s ease-in-out infinite;
}

.cursor-arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 18px solid;
    transform: rotate(-30deg);
}

.cursor-1 {
    top: 110px;
    right: 110px;
}

.cursor-1 .cursor-arrow {
    border-bottom-color: var(--accent-orange);
}

.cursor-2 {
    top: 170px;
    right: 220px;
    animation-delay: 1.8s;
}

.cursor-2 .cursor-arrow {
    border-bottom-color: var(--text-white);
}

@keyframes cursorMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(25px, 15px);
    }
}

/* 多平台 */
.platforms {
    padding: 120px 0;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 70px;
}

.platform-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    width: 160px;
}

.platform-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    margin-bottom: 18px;
    color: var(--text-white);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.platform-item h4 {
    font-size: 18px;
    color: var(--text-white);
    font-weight: 600;
}

/* 下载区域 */
.download-section {
    padding: 120px 0;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 70px;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 52px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.download-card h3 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 600;
}

.download-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.btn-download {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.download-card:hover .btn-download {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

/* 页脚 */
.footer {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 70px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.logo-text-w {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    color: var(--text-white);
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.logo-text-wps {
    font-size: 24px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.social-links a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-section ul a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    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: 46px;
    }

    .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: 20px;
    }

    .nav-menu {
        gap: 25px;
        margin: 20px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .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: 38px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
