:root {
    --light-bg-top: #FFEAD1;
    --light-bg-bottom: #D4B999;
    --dark-bg-top: #3D2920;
    --dark-bg-bottom: #290B00;
    --text-light: #333;
    --text-dark: #f0f0f0;
    --card-bg-light: rgba(255, 255, 255, 0.9);
    --card-bg-dark: rgba(0, 0, 0, 0.3);
    --border-light: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(180deg, var(--light-bg-top) 0%, var(--light-bg-bottom) 100%);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    background-color: var(--card-bg-light);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

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

.tagline {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Screenshots */
.screenshots {
    padding: 3rem 0;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: translateY(-5px);
}

/* Features */
.features {
    padding: 3rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--card-bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Benefits */
.benefits {
    padding: 3rem 0;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    background: var(--card-bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
}

/* Download Section */
.download {
    padding: 4rem 0;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--card-bg-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 180px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.download-btn span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-btn strong {
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

/* Contact Page */
.contact-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.contact-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-light);
}

.submit-btn {
    background: var(--text-light);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.8;
}

.form-note {
    background: var(--card-bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px dashed var(--border-light);
}

.form-note ol {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.form-note a {
    color: var(--text-light);
}

/* Privacy Page */
.privacy-section {
    padding: 3rem 0;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.effective-date {
    color: var(--text-light);
    opacity: 0.7;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-block {
    background: var(--card-bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-block h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.privacy-block h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.privacy-block ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.privacy-block li {
    margin-bottom: 0.5rem;
}

.negative-list {
    list-style: none;
    margin-left: 0;
}

.negative-list li:before {
    content: "❌ ";
    color: #ff4444;
    font-weight: bold;
    margin-right: 0.5rem;
}

.highlight-box {
    background: rgba(255, 235, 209, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.info-box {
    background: rgba(66, 135, 245, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #4287f5;
}

.error-example {
    margin-top: 1rem;
}

.error-example summary {
    cursor: pointer;
    color: #4287f5;
    font-weight: 500;
}

.error-example pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.contact-email a {
    color: #4287f5;
    text-decoration: none;
    font-weight: 500;
}

.footer-note {
    text-align: center;
    opacity: 0.7;
    font-style: italic;
    margin-top: 3rem;
}

/* Footer */
footer {
    background: var(--card-bg-light);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        color: var(--text-dark);
        background: linear-gradient(180deg, var(--dark-bg-top) 0%, var(--dark-bg-bottom) 100%);
    }
    
    .navbar {
        background-color: var(--card-bg-dark);
    }
    
    .nav-links a {
        color: var(--text-dark);
    }
    
    .feature-card,
    .benefit-item,
    .download-btn,
    .contact-form,
    .form-note,
    .privacy-block,
    footer {
        background: var(--card-bg-dark);
        backdrop-filter: blur(10px);
    }
    
    .form-group input,
    .form-group textarea {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--border-dark);
        color: var(--text-dark);
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--text-dark);
    }
    
    .submit-btn {
        background: var(--text-dark);
        color: var(--dark-bg-top);
    }
    
    .form-note {
        border-color: var(--border-dark);
    }
    
    .form-note a,
    .contact-email a {
        color: #6bb6ff;
    }
    
    .highlight-box {
        background: rgba(77, 41, 32, 0.5);
    }
    
    .info-box {
        background: rgba(66, 135, 245, 0.2);
    }
    
    .error-example pre {
        background: rgba(0, 0, 0, 0.3);
        color: var(--text-dark);
    }
    
    .footer-links a {
        color: var(--text-dark);
    }
    
    .effective-date {
        color: var(--text-dark);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1rem;
    }
}