:root {
    --primary: #3b82f6;
    --bg: #f8fafc;
    --text: #334155;
    --card-bg: #ffffff;
    --header-bg: #1e293b;
    --header-text: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    margin: 0;
    padding: 0;
}

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

header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 60px 0;
    text-align: center;
}

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

.tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-top: 10px;
}

main {
    padding: 40px 20px;
}

section {
    margin-bottom: 60px;
}

.lead {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    color: var(--header-bg);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary);
    margin-top: 0;
}

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

.how-it-works li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
}

.how-it-works li:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #2563eb;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
}

.cloudron p {
    max-width: 720px;
}

.powered-by {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
}

.meili-logo {
    height: 20px;
    width: auto;
    opacity: 0.9;
}

.filetypes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
}

.filetypes-table th,
.filetypes-table td {
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    text-align: left;
}

.filetypes-table thead {
    background-color: #f1f5f9;
}

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

.screenshot {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}
