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

:root {
    --primary: #8B4513;
    --primary-dark: #5D2E0C;
    --accent: #D4A574;
    --bg: #FAF8F5;
    --bg-alt: #F0EBE3;
    --text: #2C2416;
    --text-light: #5A4A3A;
    --border: #D4CFC5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg) url('feature.png') center top no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(250,248,245,0.75) 0%, rgba(250,248,245,0.88) 50%, rgba(250,248,245,0.95) 100%);
    z-index: -1;
    pointer-events: none;
}

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

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

/* Header */
header {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--text-light);
}

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

/* Main */
main {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

/* Hero */
.hero {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.cta-button img {
    height: 50px;
}

.hero-screenshots {
    display: flex;
    gap: 0.75rem;
}

.screenshot {
    width: 140px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.feature {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.feature h3 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Support */
.support {
    background: rgba(240,235,227,0.85);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 1rem;
}

.support h2 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.support p {
    font-size: 0.9rem;
}

/* Legal pages */
.legal-content {
    max-width: 700px;
}

.legal-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.legal-content section {
    margin-bottom: 1.5rem;
}

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

.legal-content h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.legal-content p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-content ul {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-content li {
    margin-bottom: 0.35rem;
}

.legal-content strong {
    color: var(--text);
}

/* Footer */
footer {
    background: rgba(93,46,12,0.95);
    backdrop-filter: blur(4px);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--accent);
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-screenshots {
        justify-content: center;
    }

    .screenshot {
        width: 100px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .screenshot {
        width: 80px;
    }

    .features {
        grid-template-columns: 1fr;
    }
}
