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

:root {
    --bg: #0a0a0a;
    --bg-card: #131313;
    --border: #1a1a1a;
    --text: #e5e5e5;
    --text-muted: #727272;
    --accent: #00ff41;
    --accent-dim: #00aa2a;
}

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

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--text-muted);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* Articles */
#articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: var(--text-muted);
}

.article-card.featured {
    border-left: 3px solid var(--accent);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
}

.article-title:hover {
    color: var(--accent);
}

.article-source {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-summary {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-actions {
    display: flex;
    gap: 0.75rem;
}

.article-actions a,
.article-actions button {
    font-size: 0.75rem;
    color: var(--accent-dim);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.article-actions a:hover,
.article-actions button:hover {
    color: var(--accent);
}

/* Tags */
.tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: var(--bg);
    color: var(--text-muted);
}

.tag.product { color: #00d4ff; }
.tag.technical { color: #ffb000; }
.tag.business { color: #ff6b6b; }

/* Footer */
footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* Empty state */
.empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .article-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
