/* Krate Audio Root Landing Page Styles */

:root {
    --color-bg: #0a0a0f;
    --color-surface: #12121a;
    --color-border: #2a2a3a;
    --color-text: #e8e8f0;
    --color-text-muted: #8888a0;
    --color-accent: #6366f1;
    --color-accent-hover: #818cf8;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 4rem;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .tagline {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

/* Sections */
section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: center;
}

/* Plugin Grid */
.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.plugin-card {
    display: block;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.plugin-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.plugin-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-align: left;
}

.plugin-card .description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.plugin-card .version {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

footer a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

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

footer .copyright {
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

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