:root { --primary: #f38020; --primary-hover: #ea580c; --bg: #0f172a; --card: #1e293b; --border: #334155; --text: #f8fafc; --muted: #94a3b8; }
* { box-sizing: border-box; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
.site-header { background: #0b1120; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-wrap { max-width: 1140px; margin: 0 auto; padding: 0.85rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.brand { font-size: 1.25rem; font-weight: 800; color: #fff; }
.brand span { color: var(--primary); }
.main-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.main-nav a { color: #cbd5e1; font-size: 0.85rem; padding: 0.35rem 0.65rem; border-radius: 6px; font-weight: 500; transition: 0.15s; }
.main-nav a:hover, .main-nav a.active { background: var(--primary); color: #fff; }
.install-btn { background: #10b981; color: #fff; border: none; padding: 0.4rem 0.8rem; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.85rem; }
.container { max-width: 1020px; margin: 0 auto; padding: 2rem 1rem; }
.hero { text-align: center; margin-bottom: 1.75rem; }
.hero h1 { font-size: 2rem; margin: 0 0 0.5rem; }
.hero p { color: var(--muted); max-width: 680px; margin: 0 auto; }
.tool-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.controls-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.ctrl { flex: 1; min-width: 160px; }
.ctrl label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.ctrl select, .ctrl input { width: 100%; padding: 0.55rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: #fff; }
.drop-zone { border: 2px dashed #475569; border-radius: 12px; padding: 2.75rem 1rem; text-align: center; cursor: pointer; transition: 0.2s; background: rgba(15,23,42,0.5); }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--primary); background: rgba(243,128,32,0.08); }
.drop-zone strong { display: block; font-size: 1.1rem; margin-bottom: 0.35rem; }
.drop-zone span { font-size: 0.85rem; color: var(--muted); }
.batch-bar { display: none; justify-content: space-between; align-items: center; margin-top: 1.25rem; padding: 0.75rem 1rem; background: #0b1120; border-radius: 8px; border: 1px solid var(--border); }
.btn { background: var(--primary); color: #fff; border: none; padding: 0.55rem 1.1rem; border-radius: 7px; font-weight: 600; cursor: pointer; display: inline-block; font-size: 0.9rem; }
.btn:hover { background: var(--primary-hover); }
.btn-zip { background: #10b981; }
.results-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.65rem; }
.res-row { background: var(--bg); border: 1px solid var(--border); padding: 0.75rem 1rem; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.res-meta { font-size: 0.8rem; color: var(--muted); }
.tools-directory { margin-top: 3.5rem; }
.tools-directory h2 { text-align: center; margin-bottom: 0.35rem; }
.dir-sub { text-align: center; color: var(--muted); margin-top: 0; margin-bottom: 1.5rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.tool-link-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.15rem; color: var(--text); transition: 0.2s; display: flex; flex-direction: column; justify-content: space-between; }
.tool-link-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }
.tool-link-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.badge-open { font-size: 0.75rem; color: var(--primary); white-space: nowrap; font-weight: 600; }
.badge-current { font-size: 0.72rem; background: rgba(16,185,129,0.18); color: #34d399; padding: 0.15rem 0.45rem; border-radius: 4px; white-space: nowrap; }
.article-box { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; margin-top: 2.5rem; }
.article-box h2 { margin-top: 1.5rem; color: #fff; }
.article-box h2:first-child { margin-top: 0; }
.article-box p, .article-box li { color: #cbd5e1; }
table.comp { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
table.comp th, table.comp td { border: 1px solid var(--border); padding: 0.65rem; text-align: left; font-size: 0.9rem; }
table.comp th { background: #0b1120; }
.site-footer { background: #0b1120; border-top: 1px solid var(--border); margin-top: 4rem; padding: 3rem 1rem 1.5rem; }
.footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }
.footer-grid h4 { margin: 0 0 0.75rem; color: #fff; }
.footer-grid p { color: var(--muted); font-size: 0.88rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.45rem; font-size: 0.88rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { max-width: 1140px; margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid #1e293b; text-align: center; color: #64748b; font-size: 0.82rem; }