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

:root {
    --primary: #00875a;
    --primary-dark: #006644;
    --secondary: #f5f5f5;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --border: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo-img {
    width: 32px;
    height: 32px;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f8fdf9 0%, var(--bg) 100%);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.hero .description {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: var(--border);
}

.btn-download {
    background: var(--primary);
    color: white;
    flex-direction: column;
    padding: 16px 32px;
}

.btn-download:hover {
    background: var(--primary-dark);
}

.btn-download .download-version {
    font-size: 0.85rem;
    opacity: 0.8;
}

.version-info {
    display: flex;
    gap: 16px;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.version {
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: monospace;
}

/* Features */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.feature-card {
    padding: 32px;
    background: var(--secondary);
    border-radius: 12px;
    text-align: center;
}

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

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

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

/* Install */
.install {
    padding: 80px 0;
    background: var(--secondary);
}

.install h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.install-steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.step-content p {
    color: var(--text-light);
}

.step-content code {
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary);
}

/* Changelog */
.changelog {
    padding: 80px 0;
}

.changelog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.changelog-list {
    max-width: 700px;
    margin: 0 auto;
}

.changelog-entry {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
    margin-bottom: 32px;
}

.changelog-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.changelog-version {
    font-family: monospace;
    font-weight: 600;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
}

.changelog-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.changelog-changes {
    list-style: none;
}

.changelog-changes li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.changelog-changes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.change-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
}

.change-type.new {
    background: #e3f2fd;
    color: #1976d2;
}

.change-type.fix {
    background: #fff3e0;
    color: #f57c00;
}

.change-type.improve {
    background: #e8f5e9;
    color: #388e3c;
}

/* Footer */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }

    .nav {
        margin-top: 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .step-number {
        margin: 0 auto;
    }
}
