* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    min-height: 100vh;
    color: #fff;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #f39c12 100%);
    overflow-x: hidden;
    position: relative;
}

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.doc-floating span {
    position: absolute;
    font-size: 40px;
    opacity: 0.1;
    animation: float-doc 20s infinite;
}

.doc-floating span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.doc-floating span:nth-child(2) { top: 60%; right: 15%; animation-delay: -7s; }
.doc-floating span:nth-child(3) { bottom: 30%; left: 30%; animation-delay: -14s; }

@keyframes float-doc {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(10px, -10px) rotate(3deg); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(192, 57, 43, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fff 0%, #f39c12 100%);
    color: #c0392b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-section h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: #fff;
    color: #c0392b;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.office-suite {
    display: flex;
    gap: 20px;
}

.office-app {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.office-app:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
}

.office-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.office-name {
    font-size: 14px;
    opacity: 0.9;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-features li {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    opacity: 0.75;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.85;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

/* Download Page */
.download-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
}

.app-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fff 0%, #f39c12 100%);
    color: #c0392b;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.download-card h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.tagline {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 32px;
}

.download-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    opacity: 0.7;
}

.info-value {
    font-weight: 600;
}

.btn-download {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 18px 32px;
}

.platform-support {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-badge {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.back-link:hover {
    color: #fff;
}

/* Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-visual {
    position: relative;
    margin-bottom: 30px;
}

.broken-doc {
    position: relative;
}

.doc-icon {
    font-size: 120px;
    position: relative;
    z-index: 2;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-10px) rotate(-5deg); }
    75% { transform: translateX(10px) rotate(5deg); }
}

.broken-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}

.broken-lines .line {
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 8px 0;
    border-radius: 2px;
    animation: flicker 0.5s infinite;
}

.broken-lines .line:nth-child(2) { width: 70%; margin-left: 15%; }
.broken-lines .line:nth-child(3) { width: 50%; margin-left: 25%; }

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.doc-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ring-rotate 10s linear infinite;
}

@keyframes ring-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.error-code {
    font-size: 100px;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0.9;
}

.error-page h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.error-page p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 40px 24px;
    }
    
    .error-code {
        font-size: 72px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}