/* CSS for WPS Office SEO Optimized Site */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #d82c2c; /* WPS Red */
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d82c2c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d82c2c 0%, #ff6b6b 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons .btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background-color: #fff;
    color: #d82c2c;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Content Blocks */
.content-block {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 40px 0;
}

.content-block h2 {
    color: #d82c2c;
    margin-bottom: 20px;
}

/* Features Grid */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

/* Download Section */
.download {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

.download h2 {
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-card {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    width: 300px;
    border: 1px solid #eee;
}

.download-card h3 {
    margin-bottom: 15px;
}

.download-note {
    margin-top: 30px;
    color: #999;
    font-size: 14px;
}

/* FAQ & About */
.about, .faq {
    padding: 80px 0;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #d82c2c;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #bbb;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .nav-links {
        display: none; /* Mobile menu can be added later */
    }
}
