:root {
    --bg: #0d0015;
    --surface: #1a0a2e;
    --primary: #6b4d8a;
    --highlight: #a58bbe;
    --text: #e2dce8;
    --muted: #7a7085;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a:hover {
    color: var(--text);
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--surface);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wordmark {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.wordmark:hover {
    color: var(--highlight);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.btn-donate {
    background: var(--primary);
    color: var(--text);
}

.btn-donate:hover {
    background: var(--highlight);
    color: var(--bg);
}

.btn-kofi {
    background: var(--primary);
    color: var(--text);
    font-size: 1rem;
    padding: 0.8rem 2rem;
}

.btn-kofi:hover {
    background: var(--highlight);
    color: var(--bg);
}

/* Hero */
main {
    flex: 1;
}

.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tagline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 550px;
    margin: 0 auto 3rem;
}

/* Command Showcase */
.command-showcase {
    margin-top: 2rem;
}

.command-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--primary);
    padding: 1.2rem 1.6rem;
    max-width: 100%;
}

.command-text {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: var(--highlight);
    white-space: nowrap;
    overflow-x: auto;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
    flex-shrink: 0;
}

.copy-btn:hover {
    color: var(--highlight);
}

.copy-btn.copied {
    color: #4ade80;
}

.command-note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* How-to */
.how-to {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.how-to code {
    font-family: var(--font-mono);
    color: var(--highlight);
    font-size: 0.85rem;
}

kbd {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--primary);
}

/* Features */
.features {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid #2a1f3a;
    padding: 2rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Donate */
.donate-section {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.donate-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.donate-section p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--surface);
    padding: 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .command-box {
        padding: 1rem;
        gap: 0.6rem;
    }

    .features {
        padding: 4rem 1.5rem;
    }

    .donate-section {
        padding: 4rem 1.5rem;
    }
}
