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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    line-height: 1.6;
}

/* Navigation */
nav {
    background: #1B4D3E;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #fff;
}

/* Main content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero section (homepage) */
.hero {
    text-align: center;
    padding: 80px 0 48px;
}

.hero h1 {
    font-size: 3rem;
    color: #1B4D3E;
    margin-bottom: 12px;
}

.tagline {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    background: #2E7D32;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #1B5E20;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 48px 0;
}

.feature {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.feature h3 {
    color: #1B4D3E;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature p {
    color: #555;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 64px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    color: #1B4D3E;
    margin-bottom: 40px;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #2E7D32;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step h3 {
    color: #1B4D3E;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step p {
    color: #555;
    font-size: 0.95rem;
}

/* Screenshots */
.screenshots {
    padding: 64px 0;
    text-align: center;
}

.screenshots h2 {
    font-size: 2rem;
    color: #1B4D3E;
    margin-bottom: 32px;
}

.screenshot-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-placeholder {
    background: #e8e8e8;
    border-radius: 12px;
    padding: 80px 40px;
    color: #888;
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 64px 0;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2rem;
    color: #1B4D3E;
    margin-bottom: 20px;
}

.about p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 64px 0;
    background: #f0f7f0;
    border-radius: 16px;
    margin: 32px 0;
}

.cta-section h2 {
    font-size: 1.6rem;
    color: #1B4D3E;
    margin-bottom: 24px;
}

/* Page header (for sub-pages) */
.page-header {
    text-align: center;
    padding: 64px 0 48px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1B4D3E;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: #555;
}

/* Feature detail sections (features page) */
.feature-detail {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.feature-detail:last-of-type {
    border-bottom: none;
}

.feature-detail h2 {
    font-size: 1.5rem;
    color: #1B4D3E;
    margin-bottom: 12px;
}

.feature-detail p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.feature-detail ul {
    margin: 16px 0 8px 24px;
    color: #444;
}

.feature-detail ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Guide steps (how-it-works page) */
.guide-step {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.guide-step:last-of-type {
    border-bottom: none;
}

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

.guide-step-header h2 {
    font-size: 1.5rem;
    color: #1B4D3E;
}

.guide-step p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.guide-step ul {
    margin: 16px 0 8px 24px;
    color: #444;
}

.guide-step ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* About content sections */
.about-content {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.about-content:last-of-type {
    border-bottom: none;
}

.about-content h2 {
    font-size: 1.5rem;
    color: #1B4D3E;
    margin-bottom: 12px;
}

.about-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-content ul {
    margin: 16px 0 8px 24px;
    color: #444;
}

.about-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Species grid (about page) */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.species-group {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.species-group h3 {
    color: #1B4D3E;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.species-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.species-group ul li {
    color: #555;
    padding: 4px 0;
    font-size: 0.95rem;
}

/* Section links (homepage "See all features ->") */
.features-link,
.section-link {
    text-align: center;
    margin-bottom: 24px;
}

.features-link a,
.section-link a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.features-link a:hover,
.section-link a:hover {
    text-decoration: underline;
}

/* Legal pages */
.legal-header {
    padding: 48px 0 16px;
}

.legal-header h1 {
    font-size: 2rem;
    color: #1B4D3E;
}

.legal-header .date {
    color: #777;
    font-size: 0.9rem;
    margin-top: 4px;
}

.legal-content {
    padding: 16px 0 64px;
}

.legal-content h2 {
    font-size: 1.2rem;
    color: #1B4D3E;
    margin-top: 32px;
    margin-bottom: 8px;
}

.legal-content p {
    margin-bottom: 12px;
    color: #333;
}

.legal-content ul {
    margin: 8px 0 12px 24px;
    color: #333;
}

.legal-content ul li {
    margin-bottom: 4px;
}

.legal-content ol {
    margin: 8px 0 12px 24px;
    color: #333;
}

.legal-content ol li {
    margin-bottom: 4px;
}

/* Legal links on homepage */
.legal-links {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.legal-links a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 0;
    color: #777;
    font-size: 0.85rem;
}

footer a {
    color: #2E7D32;
    text-decoration: none;
}

footer p {
    margin-bottom: 4px;
}

/* Mobile */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}
