/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetical Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    color: #0056b3;
}

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

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 22px;
    color: #2c3e50;
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
}

.nav a:hover,
.nav a.active {
    color: #007bff;
    background: #f0f7ff;
}

/* Button */
.btn-primary {
    display: inline-block;
    background: #28a745;
    color: #fff !important;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #218838;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-content .version {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screenshot {
    width: 100%;
    max-width: 550px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.main-screenshot { width: 100%; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,0.1); }
.screenshot-full { margin-bottom: 40px; text-align: center; }
.screenshot-caption { margin-top: 10px; font-size: 13px; color: #888; }
.feature-showcase { margin-bottom: 20px; }
.search-demo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 15px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
}

.search-icon {
    font-size: 18px;
}

.search-results {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #eee;
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item span {
    color: #888;
    font-size: 12px;
}

.result-stats {
    text-align: right;
    color: #28a745;
    font-size: 12px;
    padding: 8px 10px;
    font-weight: 600;
}

/* Advantages */
.advantages {
    padding: 70px 0;
    background: #f8f9fa;
}

.advantages h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.adv-item {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.adv-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.adv-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.adv-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.adv-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Intro */
.intro {
    padding: 70px 0;
}

.intro-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.intro-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.intro-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 12px;
    text-indent: 2em;
}

/* Versions */
.versions {
    padding: 70px 0;
    background: #f8f9fa;
}

.versions h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.version-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.version-card.featured {
    border: 2px solid #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: scale(1.02);
}

.version-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.version-card.featured:hover {
    transform: scale(1.02) translateY(-3px);
}

.version-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.version-card h4 {
    font-size: 20px;
    color: #2c3e50;
}

.badge {
    background: #667eea;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    display: inline-block;
}

.version-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.version-card li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.version-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* Screenshots */
.screenshots {
    padding: 70px 0;
}

.screenshots h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.screenshot-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.screenshot-content {
    text-align: center;
    color: #fff;
}

.screenshot-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.screenshot-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* FAQ */
.faq {
    padding: 70px 0;
    background: #f8f9fa;
}

.faq h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

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

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #667eea;
}

.faq-question {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 8px;
}

.faq-answer {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.8;
}

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

.footer-section li {
    padding: 5px 0;
    font-size: 13px;
}

.footer-section a {
    color: #bbb;
}

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

.footer-bottom {
    border-top: 1px solid #3d5166;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .adv-grid,
    .version-grid,
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav ul {
        gap: 10px;
    }
    .nav a {
        font-size: 13px;
        padding: 4px 8px;
    }
    .hero-content h2 {
        font-size: 26px;
    }
    .adv-grid,
    .version-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}
