/* ── SimplisticNode Knowledgebase Stylesheet ─────────────────── */

:root {
    --bg: #030712;
    --surface: #0f172a;
    --void-800: #1e293b;
    --void-900: #0f172a;
    --void-950: #020617;
    --border: rgba(255,255,255,0.06);
    --brand-300: #67e8f9;
    --brand-400: #22d3ee;
    --brand-500: #06b6d4;
    --brand-600: #0891b2;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 40px 0; }

.section-header { margin-bottom: 24px; }

.section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-400);
}

.dot { display: inline-block; width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

.empty-state { text-align: center; padding: 60px 0; color: var(--text-muted); }
.empty-state h2 { font-size: 20px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(3,7,18,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex; align-items: center; gap: 16px;
    height: 64px;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 18px; letter-spacing: 0.02em;
    flex-shrink: 0;
}

.nav-logo-img { height: 24px; width: auto; max-width: 160px; object-fit: contain; }

.nav-logo-badge {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    background: var(--brand-500); color: #fff; padding: 2px 8px;
    border-radius: 4px;
}

.nav-center { flex: 1; display: flex; justify-content: center; }

.nav-search {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 6px 14px;
    max-width: 400px; width: 100%;
    transition: border-color 0.2s;
}
.nav-search:focus-within { border-color: var(--brand-500); }
.nav-search svg { color: var(--text-muted); flex-shrink: 0; }
.nav-search input {
    background: none; border: none; color: var(--text); outline: none;
    font-family: var(--font-sans); font-size: 14px; width: 100%;
}
.nav-search input::placeholder { color: var(--text-muted); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-btn {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    padding: 6px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); transition: all 0.2s;
}
.nav-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.12); }

.nav-spacer { height: 64px; }

.nav-mobile-toggle {
    display: none; background: none; border: none; color: var(--text); cursor: pointer;
}

.mobile-nav {
    display: none; flex-direction: column; padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-link { padding: 10px 0; font-size: 15px; color: var(--text-secondary); }
.mobile-link.accent { color: var(--brand-400); margin-top: 8px; }
.mobile-search input {
    width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text); font-family: var(--font-sans); font-size: 14px;
    outline: none; margin-bottom: 8px;
}

@media (max-width: 768px) {
    .nav-center, .nav-right { display: none; }
    .nav-mobile-toggle { display: block; }
}

/* ── KB Hero ──────────────────────────────────────────────────── */
.kb-hero {
    position: relative; padding: 60px 0 50px;
    overflow: hidden;
}

.kb-hero-bg { position: absolute; inset: 0; z-index: 0; }

.kb-hero-grid {
    position: absolute; inset: 0;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
}

.kb-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.kb-hero-content {
    position: relative; z-index: 1;
    text-align: center;
}

.kb-hero-content h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800; margin-bottom: 10px;
}

.kb-hero-sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.kb-hero-search {
    display: flex; align-items: center; gap: 12px;
    max-width: 560px; margin: 0 auto;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.kb-hero-search:focus-within {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}
.kb-hero-search svg { color: var(--text-muted); flex-shrink: 0; }
.kb-hero-search input {
    flex: 1; background: none; border: none; color: var(--text);
    font-family: var(--font-sans); font-size: 16px; outline: none;
}
.kb-hero-search input::placeholder { color: var(--text-muted); }

/* ── Category Grid ────────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); transition: all 0.2s;
}
.category-card:hover {
    border-color: rgba(6,182,212,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(6,182,212,0.04);
}

.category-card-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(6,182,212,0.08); border-radius: 10px;
    color: var(--brand-400);
}

.category-card-body h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 4px;
}

.category-card-body p {
    font-size: 13px; color: var(--text-secondary); line-height: 1.5;
    margin-bottom: 8px;
}

.category-card-count {
    font-size: 12px; color: var(--text-muted);
}

/* ── Recent Articles Grid ─────────────────────────────────────── */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .recent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .recent-grid { grid-template-columns: 1fr; }
}

.recent-card {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
    min-height: 100px;
}

.recent-card:hover {
    border-color: rgba(6,182,212,0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(6,182,212,0.06);
}

.recent-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.recent-card-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-400);
    background: rgba(6,182,212,0.08);
    padding: 3px 10px;
    border-radius: 20px;
}

.recent-card-arrow {
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s;
    transform: translateX(-4px);
}

.recent-card:hover .recent-card-arrow {
    opacity: 1;
    color: var(--brand-400);
    transform: translateX(0);
}

.recent-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Article List ─────────────────────────────────────────────── */
.article-list { display: flex; flex-direction: column; gap: 2px; }

.article-list-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.article-list-item:hover {
    border-color: rgba(6,182,212,0.15);
    background: rgba(15,23,42,0.8);
}

.article-list-icon { flex-shrink: 0; color: var(--text-muted); }
.article-list-item:hover .article-list-icon { color: var(--brand-400); }

.article-list-body { flex: 1; min-width: 0; }

.article-list-title {
    display: block; font-size: 14px; font-weight: 600; color: var(--text);
}

.article-list-cat {
    display: inline-block; font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

.article-list-excerpt {
    display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.article-list-arrow { flex-shrink: 0; color: var(--text-muted); transition: transform 0.15s; }
.article-list-item:hover .article-list-arrow { transform: translateX(3px); color: var(--brand-400); }

/* ── KB Layout (sidebar + content) ────────────────────────────── */
.kb-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding-top: 24px;
    padding-bottom: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .kb-layout { grid-template-columns: 1fr; }
    .kb-sidebar { display: none; }
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.kb-sidebar {
    position: sticky; top: 88px;
}

.kb-sidebar-nav {
    display: flex; flex-direction: column; gap: 2px;
}

.kb-sidebar-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.kb-sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.kb-sidebar-link.active {
    color: var(--brand-400); background: rgba(6,182,212,0.06);
}

.kb-sidebar-icon { flex-shrink: 0; display: flex; }
.kb-sidebar-label { flex: 1; }

.kb-sidebar-count {
    font-size: 12px; color: var(--text-muted);
    background: rgba(255,255,255,0.04); padding: 1px 8px;
    border-radius: 10px;
}

.kb-sidebar-articles {
    display: flex; flex-direction: column; gap: 1px;
    padding: 4px 0 8px 44px;
}

.kb-sidebar-article {
    font-size: 13px; color: var(--text-muted);
    padding: 6px 12px; border-radius: 6px;
    border-left: 2px solid transparent;
    transition: all 0.15s;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kb-sidebar-article:hover { color: var(--text-secondary); background: rgba(255,255,255,0.02); }
.kb-sidebar-article.current {
    color: var(--brand-400); border-left-color: var(--brand-500);
    background: rgba(6,182,212,0.04);
}

/* ── Breadcrumbs ──────────────────────────────────────────────── */
.breadcrumbs {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--brand-400); }
.breadcrumbs span { color: var(--text-secondary); }
.breadcrumbs svg { flex-shrink: 0; opacity: 0.4; }

/* ── KB Content Header (category page) ────────────────────────── */
.kb-content-header {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 32px;
}

.kb-content-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(6,182,212,0.08); border-radius: 12px;
    color: var(--brand-400);
}

.kb-content-header h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.kb-content-header p { font-size: 14px; color: var(--text-secondary); }

/* ── Category Article Cards ────────────────────────────────────── */
.cat-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-article-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
    text-decoration: none;
}

.cat-article-card:hover {
    border-color: rgba(6,182,212,0.2);
    background: rgba(15,23,42,0.9);
    transform: translateX(4px);
}

.cat-article-num {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-500);
    opacity: 0.4;
    min-width: 32px;
    text-align: center;
    transition: opacity 0.2s;
}

.cat-article-card:hover .cat-article-num {
    opacity: 1;
}

.cat-article-body {
    flex: 1;
    min-width: 0;
}

.cat-article-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.cat-article-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-article-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s;
    transform: translateX(-4px);
}

.cat-article-card:hover .cat-article-arrow {
    opacity: 1;
    color: var(--brand-400);
    transform: translateX(0);
}

/* ── Article Page ─────────────────────────────────────────────── */
.kb-article h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800; margin-bottom: 12px;
}

.kb-article-meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 32px;
}

/* Table of Contents */
.kb-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
}

.kb-toc-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 12px;
}

.kb-toc-links {
    display: flex; flex-direction: column; gap: 4px;
}

.kb-toc-links a {
    font-size: 14px; color: var(--text-secondary);
    padding: 4px 0; transition: color 0.15s;
}
.kb-toc-links a:hover { color: var(--brand-400); }
.kb-toc-links a.toc-h3 { padding-left: 16px; font-size: 13px; }

/* Article Body */
.kb-article-body {
    font-size: 16px; line-height: 1.8; color: #cbd5e1;
}

.kb-article-body h2 {
    font-size: 22px; font-weight: 700; margin: 40px 0 16px;
    padding-top: 24px; border-top: 1px solid var(--border);
    color: var(--text);
}

.kb-article-body h3 {
    font-size: 18px; font-weight: 600; margin: 32px 0 12px;
    color: var(--text);
}

.kb-article-body p { margin-bottom: 16px; }

.kb-article-body a { color: var(--brand-400); text-decoration: underline; text-underline-offset: 2px; }
.kb-article-body a:hover { color: var(--brand-300); }

.kb-article-body ul, .kb-article-body ol {
    margin: 0 0 16px 24px;
}
.kb-article-body li { margin-bottom: 6px; }

.kb-article-body img {
    max-width: 100%; height: auto;
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    margin: 16px 0;
}

.kb-article-body code {
    font-family: var(--font-mono); font-size: 0.875em;
    background: rgba(255,255,255,0.06); color: var(--brand-300);
    padding: 2px 6px; border-radius: 4px;
}

.kb-article-body pre {
    background: var(--void-950); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px;
    overflow-x: auto; margin: 16px 0;
}
.kb-article-body pre code {
    background: none; padding: 0; font-size: 14px;
    color: #e2e8f0;
}

.kb-article-body blockquote {
    border-left: 3px solid var(--brand-500);
    padding: 12px 20px; margin: 16px 0;
    background: rgba(6,182,212,0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}

.kb-article-body table {
    width: 100%; border-collapse: collapse; margin: 16px 0;
}
.kb-article-body th, .kb-article-body td {
    padding: 10px 14px; border: 1px solid var(--border);
    text-align: left; font-size: 14px;
}
.kb-article-body th {
    background: var(--surface); font-weight: 600;
}

/* Callout / Alert Boxes */
.kb-article-body .kb-callout {
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    border-left: 4px solid;
    font-size: 15px;
    line-height: 1.7;
}
.kb-article-body .kb-callout p { margin: 0; }

.kb-article-body .kb-callout-info {
    background: rgba(96,165,250,0.06);
    border-left-color: #60a5fa;
    color: #bfdbfe;
}
.kb-article-body .kb-callout-tip {
    background: rgba(52,211,153,0.06);
    border-left-color: #34d399;
    color: #a7f3d0;
}
.kb-article-body .kb-callout-warning {
    background: rgba(251,191,36,0.06);
    border-left-color: #fbbf24;
    color: #fde68a;
}
.kb-article-body .kb-callout-danger {
    background: rgba(248,113,113,0.06);
    border-left-color: #f87171;
    color: #fecaca;
}

/* ── Helpful Vote ─────────────────────────────────────────────── */
.kb-helpful {
    margin-top: 48px; padding: 32px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); text-align: center;
}

.kb-helpful-question {
    font-size: 16px; font-weight: 600; margin-bottom: 16px;
}

.kb-helpful-buttons { display: flex; gap: 12px; justify-content: center; }

.kb-helpful-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: none;
    color: var(--text-secondary); font-family: var(--font-sans);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.2s;
}

.kb-helpful-btn .vote-count {
    font-size: 12px; opacity: 0.6;
}

.kb-helpful-btn.yes:hover {
    color: #34d399; border-color: rgba(52,211,153,0.3);
    background: rgba(52,211,153,0.06);
}

.kb-helpful-btn.no:hover {
    color: #f87171; border-color: rgba(248,113,113,0.3);
    background: rgba(248,113,113,0.06);
}

.kb-helpful-btn.voted {
    pointer-events: none;
}
.kb-helpful-btn.voted.yes {
    color: #34d399; border-color: rgba(52,211,153,0.3);
    background: rgba(52,211,153,0.08);
}
.kb-helpful-btn.voted.no {
    color: #f87171; border-color: rgba(248,113,113,0.3);
    background: rgba(248,113,113,0.08);
}

.kb-helpful-thanks {
    font-size: 14px; color: var(--brand-400); margin-top: 16px;
}

/* ── Related Articles ─────────────────────────────────────────── */
.kb-related {
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--border);
}

.kb-related h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 16px;
}

/* ── Search Page ───────────────────────────────────────────────── */
.search-hero {
    padding: 40px 0 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.search-hero-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-secondary);
}
.search-hero-title span { color: var(--text); }

.search-hero-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-hero-form:focus-within {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}
.search-hero-form svg { color: var(--text-muted); flex-shrink: 0; }
.search-hero-form input {
    flex: 1; background: none; border: none; color: var(--text);
    font-family: var(--font-sans); font-size: 16px; outline: none;
}
.search-hero-form input::placeholder { color: var(--text-muted); }

.search-clear {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 6px;
    color: var(--text-muted); transition: all 0.15s;
    flex-shrink: 0;
}
.search-clear:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.search-hero-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 14px;
}

/* Search Results */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-card {
    display: block;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.search-result-card:hover {
    border-color: rgba(6,182,212,0.25);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(6,182,212,0.04);
}

.search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.search-result-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-400);
    background: rgba(6,182,212,0.08);
    padding: 3px 10px;
    border-radius: 20px;
}

.search-result-arrow {
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s;
    transform: translateX(-4px);
}
.search-result-card:hover .search-result-arrow {
    opacity: 1;
    color: var(--brand-400);
    transform: translateX(0);
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
}

.search-result-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Search Empty State */
.search-empty {
    text-align: center;
    padding: 48px 0;
}

.search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    margin-bottom: 20px;
}

.search-empty h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.search-empty p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 24px;
}

.search-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--bg);
    background: var(--brand-500);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.search-empty-btn:hover {
    background: var(--brand-400);
    box-shadow: 0 0 20px rgba(6,182,212,0.3);
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border); margin-top: 40px;
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px; margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-img { height: 20px; width: auto; max-width: 140px; object-fit: contain; }

.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.footer-col h4 {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-secondary); margin-bottom: 16px;
}

.footer-col a {
    display: block; font-size: 14px; color: var(--text-muted);
    padding: 4px 0; transition: color 0.15s;
}
.footer-col a:hover { color: var(--brand-400); }

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