/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #37474F;
    --primary-light: #B0BEC5;
    --secondary: #F4511E;
    --background: #ECEFF1;
    --surface: #FFFFFF;
    --text-primary: #212121;
    --text-secondary: #757575;
    --border: #E0E0E0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* Header */
header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo {
    width: 48px;
    height: 48px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 500;
}

header nav {
    display: flex;
    gap: 2rem;
}

header nav a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: white;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #455A64 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--primary-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(244, 81, 30, 0.3);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* Feature grid */
.features-overview {
    padding: 4rem 0;
    background-color: var(--surface);
}

.features-overview h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Download section */
.download-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.download-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.version-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.version-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

.version-card.featured {
    border: 3px solid var(--secondary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.version-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.version-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.version-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.version-card ul li:last-child {
    border-bottom: none;
}

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

/* Screenshots */
.screenshots {
    padding: 4rem 0;
    background-color: var(--surface);
}

.screenshots h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background-color: var(--background);
}

.faq h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
}

.faq-item a {
    color: var(--secondary);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Content pages (privacy, features) */
.content {
    padding: 4rem 0;
    background-color: var(--surface);
}

.content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content ul li {
    margin-bottom: 0.5rem;
}

.content a {
    color: var(--secondary);
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.updated {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Comparison table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: var(--background);
}

.cta-section {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
}

.cta-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer nav {
    display: flex;
    gap: 2rem;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .version-card.featured {
        transform: scale(1);
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}