:root {
    --bg: #faf7f5;
    --bg-card: #ffffff;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(99, 102, 241, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
    padding: 2rem;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 600;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Section */
.download-section {
    text-align: center;
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.download-btn svg {
    width: 24px;
    height: 24px;
}

.download-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
}

.download-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features */
.features, .workflow, .code-example, .requirements {
    margin-bottom: 3rem;
}

.features h2, .workflow h2, .code-example h2, .requirements h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-content h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
    font-weight: 500;
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Code Example */
.code-example pre {
    background: #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-example code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Workflow */
.workflow ol {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.workflow li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.workflow li strong {
    color: var(--text);
}

.workflow li::marker {
    color: var(--accent);
    font-weight: 600;
}

/* Requirements */
.requirements ul {
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.requirements li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .intro {
        font-size: 1rem;
    }

    .download-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .feature-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
}
