:root {
    --primary-color: #0078d4;
    --secondary-color: #2b88d8;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --code-bg: #f8f9fa;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

section h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Quick Start Guide */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.quick-start-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quick-start-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.quick-start-item h4 {
    color: var(--secondary-color);
    margin: 15px 0;
    font-size: 1.2em;
}

.step-box {
    margin: 20px 0;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 6px;
}

/* Lists */
ol, ul {
    padding-left: 20px;
    margin: 15px 0;
}

li {
    margin: 8px 0;
}

/* Code Blocks */
pre {
    background: var(--code-bg);
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 15px 0;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

/* Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Download Buttons */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.download-button {
    display: block;
    padding: 20px;
    text-align: center;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
}

.download-button:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
}

.version, .size {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
    opacity: 0.9;
}

/* GitHub Info */
.github-info {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.github-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.github-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    background: var(--light-gray);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .quick-start-grid,
    .tips-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto;
    }
    
    pre {
        font-size: 0.85em;
    }
}

/* Print Styles */
@media print {
    .download-grid,
    .github-info {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    pre {
        white-space: pre-wrap;
        border: 1px solid #ccc;
    }
}

/* Features Section */
.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.features-image {
    text-align: center;
}

.feature-screenshot {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Download Buttons */
.download-button.disabled {
    background: #cccccc;
    cursor: not-allowed;
    pointer-events: none;
}

.download-button.disabled:hover {
    transform: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .features-image {
        order: -1;
    }
}

/* Use Cases Section */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.use-case-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.testimonial-item {
    padding: 25px;
    background: var(--light-gray);
    border-radius: 8px;
    font-style: italic;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
}

/* Related Articles */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.article-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
}