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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

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

.header-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand { display:flex; flex-direction:column; align-items:flex-start; }
.controls { display:flex; align-items:center; gap:0.75rem; }
.btn.small { padding:0.4rem 0.8rem; font-size:0.9rem; }
.visually-hidden { position:absolute; left:-9999px; }

header {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
}

main {
    padding: 2rem 0;
}

section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

h3 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.hero {
    text-align: center;
    padding: 3rem 2rem;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
    transform: translateY(-5px);
}

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

.how-it-works ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.how-it-works li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.how-it-works li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #4CAF50;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.faq details {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 1rem;
}

.faq summary {
    font-weight: bold;
    cursor: pointer;
    color: #2E7D32;
}

.faq summary:hover {
    color: #4CAF50;
}

.faq details[open] summary {
    margin-bottom: 1rem;
}

.news-controls { display:flex; gap:0.5rem; align-items:center; margin-bottom:1rem; }
.news-list { display:flex; flex-direction:column; gap:1rem; }
.news-card { padding:1rem; border-radius:8px; border:1px solid #e8e8e8; background:#fff; }
.news-card h4 { margin-bottom:0.25rem; }
.news-card .meta { color:#777; font-size:0.9rem; margin-bottom:0.5rem; }
.news-form { margin-top:1rem; padding:1rem; border:1px dashed #ddd; border-radius:8px; background:#fafafa; }
.news-form.hidden { display:none; }
.news-form label { display:block; margin-bottom:0.5rem; }
.news-form input, .news-form select { width:100%; padding:0.5rem; margin-top:0.25rem; border-radius:4px; border:1px solid #ddd; }
.form-actions { display:flex; gap:0.5rem; margin-top:0.75rem; }
.muted { color:#666; }

.contact {
    text-align: center;
}

.contact a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

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

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}
