:root {
    --bg: #14151a;
    --surface: #1a1c24;
    --surface-hi: #333a4a;
    --border: #4d4533;
    --text: #e0d7bf;
    --text-dim: #736b61;
    --accent: #f2a61a;
    --blue: #598cc0;
    --green: #40bf59;
    --purple: #8c66bf;
    --cyan: #4dccda;
    --red: #e64033;
    --toolbar: #1a1f2b;
    --btn-fg: #f2e6c7;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: var(--toolbar);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 52px;
}
nav .logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.1em; color: var(--btn-fg);
}
nav .logo img { width: 28px; height: 28px; }
nav .links { display: flex; gap: 20px; }
nav .links a {
    color: var(--text-dim); font-size: 0.9em; font-weight: 500;
    transition: color 0.2s;
}
nav .links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 80px 24px 60px;
    background: radial-gradient(ellipse at 50% 40%, #1f2233 0%, var(--bg) 70%);
}
.hero img { width: 120px; height: 120px; margin-bottom: 24px; }
.hero h1 {
    font-size: 2.8em; font-weight: 800;
    background: linear-gradient(135deg, var(--btn-fg), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .tagline {
    font-size: 1.2em; color: var(--text-dim); margin: 12px 0 32px;
    max-width: 500px;
}
.hero .cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #111; font-weight: 700;
    padding: 14px 32px; border-radius: 8px; font-size: 1em;
    transition: transform 0.15s, box-shadow 0.15s;
}
.hero .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(242, 166, 26, 0.3);
    text-decoration: none;
}

/* Screenshot */
#preview {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px 40px; text-align: center;
}
.screenshot {
    width: 100%; max-width: 1060px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* Sections */
section {
    max-width: 900px; margin: 0 auto;
    padding: 80px 24px;
}
section h2 {
    font-size: 1.8em; font-weight: 700; margin-bottom: 32px;
    color: var(--btn-fg);
}

/* Features */
.features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px; padding: 24px;
}
.feature .tag {
    display: inline-block; padding: 3px 10px; border-radius: 4px;
    font-size: 0.75em; font-weight: 700; margin-bottom: 10px;
    color: #111;
}
.feature h3 { font-size: 1.1em; margin-bottom: 6px; color: var(--btn-fg); }
.feature p { font-size: 0.9em; color: var(--text-dim); }

/* Tutorial */
.steps { counter-reset: step; }
.step {
    counter-increment: step;
    display: flex; gap: 20px; align-items: flex-start;
    margin-bottom: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px; padding: 24px;
}
.step::before {
    content: counter(step);
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: var(--accent); color: #111;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95em;
}
.step h3 { font-size: 1em; margin-bottom: 4px; color: var(--btn-fg); }
.step p { font-size: 0.9em; color: var(--text-dim); }
.step kbd {
    display: inline-block; background: var(--surface-hi);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 1px 6px; font-size: 0.85em; font-family: monospace;
    color: var(--accent);
}

/* Footer */
footer {
    text-align: center; padding: 40px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: 0.85em;
}
footer a { color: var(--text-dim); }

@media (max-width: 600px) {
    .hero h1 { font-size: 2em; }
    .hero .tagline { font-size: 1em; }
    section h2 { font-size: 1.4em; }
}
