/* Copyright (C) 2026 Jason M. Schwefel. All Rights Reserved. */

:root {
    --bg:          #0f1112;
    --surface:     #181c1e;
    --surface2:    #202528;
    --border:      #2a2e30;
    --accent:      #f0a500;
    --accent-dim:  #b07a10;
    --text:        #e8e4dc;
    --text-muted:  #9a9690;
    --error:       #c0554a;
    --radius-sm:   8px;
    --radius-md:   12px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

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

/* ── Site header ──────────────────────────────────────────────────────────── */

.site-header {
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-header .wordmark {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
}

.site-header .wordmark span { color: var(--accent); }

.site-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.site-nav a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.site-nav a:hover { color: var(--text); text-decoration: none; }

/* ── Site footer ──────────────────────────────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent); text-decoration: none; }

/* ── Hero banner ─────────────────────────────────────────────────────────── */

.hero-banner {
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

.hero-banner img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
    max-width: 720px;
    margin: 80px auto 64px;
    padding: 0 24px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero .tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero .tagline em {
    font-style: normal;
    color: var(--text);
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge-row .badge {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-cta {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    text-decoration: none;
}

.btn-cta:hover { opacity: 0.85; text-decoration: none; }

.btn-cta-primary {
    background: var(--accent);
    color: #0f1112;
    border: none;
}

.btn-cta-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: default;
    opacity: 0.7;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Callout strip ────────────────────────────────────────────────────────── */

.callout-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 48px 24px;
    text-align: center;
}

.callout-strip blockquote {
    max-width: 660px;
    margin: 0 auto;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--accent);
    line-height: 1.5;
    font-style: normal;
}

/* ── How It Works ─────────────────────────────────────────────────────────── */

.how-it-works {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 24px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.step-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--accent-dim);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Feature pillars ──────────────────────────────────────────────────────── */

.pillars {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.pillar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
}

.pillar h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
}

.pillar p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Feature list ─────────────────────────────────────────────────────────── */

.feature-list-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

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

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.feature-list li::before {
    content: '—';
    color: var(--accent-dim);
    flex-shrink: 0;
    font-size: 0.75rem;
}

.feature-list li code {
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--text);
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
}

/* ── Detail / differentiator ──────────────────────────────────────────────── */

.detail-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 24px;
    margin-bottom: 80px;
}

.detail-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.detail-inner h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.3;
}

.detail-inner p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.75;
}

.detail-inner p:last-child { margin-bottom: 0; color: var(--text); }

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.pricing-strip {
    max-width: 560px;
    margin: 0 auto 80px;
    padding: 0 24px;
    text-align: center;
}

.pricing-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.price-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.price-terms {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: left;
}

.price-terms li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-terms li:last-child { border-bottom: none; }

.price-terms li::before {
    content: '✓';
    color: var(--accent);
    flex-shrink: 0;
    font-weight: 700;
}

/* ── Coming soon teaser ───────────────────────────────────────────────────── */

.teaser-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 80px 24px;
    text-align: center;
    margin-bottom: 80px;
}

.teaser-inner {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.teaser-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}

.teaser-inner h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
}

.teaser-inner p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ── Privacy / content pages ──────────────────────────────────────────────── */

.content-page {
    max-width: 720px;
    margin: 48px auto 80px;
    padding: 0 24px;
}

.content-page h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.content-page .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.content-page h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.content-page p { margin-bottom: 12px; }

.content-page ul {
    padding-left: 22px;
    margin-bottom: 12px;
}

.content-page li { margin-bottom: 4px; }

/* ── Feedback board & form ────────────────────────────────────────────────── */

.feedback-page {
    max-width: 860px;
    margin: 48px auto 80px;
    padding: 0 24px;
}

.feedback-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.feedback-header-text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feedback-header-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.alert {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.alert-success {
    background: #1a2e1a;
    border: 1px solid #2a5a2a;
    color: #6ecf6e;
}

.alert-error {
    background: #2e1a1a;
    border: 1px solid #5a2a2a;
    color: var(--error);
}

/* ── Category tabs & sort ─────────────────────────────────────────────────── */

.board-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.category-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tab {
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.tab:hover { color: var(--text); text-decoration: none; }

.tab-active {
    color: var(--accent);
    border-color: var(--accent-dim);
    background: var(--surface);
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sort-control select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* ── Feedback cards ───────────────────────────────────────────────────────── */

.feedback-list { display: flex; flex-direction: column; gap: 12px; }

.feedback-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    transition: border-color 0.15s;
}

.feedback-card:hover { border-color: var(--accent-dim); }

.feedback-card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.category-bug         { background: #3a1a1a; color: #e07070; border: 1px solid #6a3030; }
.category-enhancement { background: #1a2a3a; color: #70a0e0; border: 1px solid #305070; }
.category-general     { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-open        { background: #1a2e1a; color: #6ecf6e; border: 1px solid #2a5a2a; }
.status-in_progress { background: #2e2210; color: var(--accent); border: 1px solid var(--accent-dim); }
.status-resolved    { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); }
.status-closed      { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); opacity: 0.6; }

.feedback-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.feedback-card-body {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.feedback-card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feedback-date,
.feedback-comments {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.vote-btn:hover:not(:disabled) {
    color: var(--accent);
    border-color: var(--accent-dim);
}

.vote-btn.voted {
    color: var(--accent);
    border-color: var(--accent-dim);
    background: #2e2210;
}

.vote-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.vote-arrow { font-size: 0.65rem; }

/* ── Pagination ───────────────────────────────────────────────────────────── */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.page-link {
    font-size: 0.875rem;
    color: var(--accent);
}

.page-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Feedback form ────────────────────────────────────────────────────────── */

.feedback-form {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.required { color: var(--accent); }

.optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    padding: 10px 14px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-dim);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group-error input,
.form-group-error select,
.form-group-error textarea {
    border-color: var(--error);
}

.field-error {
    font-size: 0.8rem;
    color: var(--error);
}

.field-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.btn-link {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.btn-link:hover { color: var(--text); }

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
