/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --bg-light: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo span {
    font-size: 14px;
    color: var(--text-light);
    margin-left: 5px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
}

.nav a.active, .nav a:hover {
    color: var(--primary-color);
}

.cta-btn .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.cta-btn .btn-primary:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-primary.large {
    font-size: 18px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.btn-secondary {
    font-size: 18px;
    padding: 15px 30px;
    background: var(--white);
    color: var(--text-color);
    border: 1px solid #ddd;
    border-radius: 8px;
}

.small-text {
    font-size: 12px;
    color: #888;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Content SEO */
.content-seo {
    padding: 60px 0;
    background: #f9f9f9;
}

.content-seo article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.content-seo h2, .content-seo h3 {
    color: #2c3e50;
}

/* News */
.news {
    padding: 60px 0;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.news-list span {
    color: #999;
    font-size: 14px;
    margin-right: 15px;
}

/* FAQ */
.faq {
    padding: 60px 0;
    background: var(--bg-light);
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--primary-color);
}

/* Download Page Specific */
.download-hero {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.download-options {
    padding: 60px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.download-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: var(--white);
    transition: all 0.3s;
}

.download-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.os-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.btn-download {
    display: block;
    background: #28a745;
    color: var(--white);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
}

.link-store {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: underline;
}

.version-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.version-table th, .version-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.version-table th {
    background: var(--bg-light);
}

/* Tutorial Page */
.tutorial-page {
    padding: 60px 0;
}

.tutorial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.tutorial-card h2 {
    color: var(--secondary-color);
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.tutorial-card ol, .tutorial-card ul {
    margin-left: 20px;
    list-style: decimal;
}

.tutorial-card ul {
    list-style: disc;
}

/* Footer */
.footer {
    background: #333;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
}

.seo-text {
    font-size: 12px;
    color: #555;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid, .download-grid {
        grid-template-columns: 1fr;
    }
}
