
:root {
  --bg: #0f1117;
  --surface: #1a1c23;
  --elev: #1f2430;
  --edge: rgba(255,255,255,.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #6366f1;  /* indigo-500 */
  --accent: #14b8a6;   /* teal-500 */
  --danger: #ef4444;   /* red-500 */
}

* { box-sizing: border-box; }
html, body {
  margin:0; padding:0;
  background: var(--bg); color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

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

header {
  position: sticky; top:0; z-index:50;
  background: rgba(15,17,23,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.nav {
  max-width: 1200px; margin:0 auto; padding:12px 16px;
  display:flex; align-items:center; gap:16px;
}
.nav img { height:44px; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,.4); }
.nav .brand { font-weight:800; letter-spacing:.2px; }
.nav .grow { flex:1; }
.nav a { color:#e5e7eb; margin-right:14px; }
.nav a:hover { color:#fff; }

.container { max-width:1200px; margin:0 auto; padding:24px 16px; }
.hero {
  border-bottom:1px solid var(--edge);
  background: radial-gradient(1200px 500px at 20% -10%, #171a2a 0, transparent 60%),
              radial-gradient(1000px 400px at 90% 0%, #1b2238 0, transparent 55%);
}
.hero-inner {
  max-width:1200px; margin:0 auto; padding:70px 16px 40px;
  display:grid; grid-template-columns:1.1fr 1fr; gap:24px; align-items:center;
}
.hero h1 { font-size:52px; margin:0 0 12px; line-height:1.05; }
.hero p { color: var(--muted); font-size:18px; }

.btn {
  display:inline-block; padding:12px 18px; border-radius:14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color:white; box-shadow: 0 12px 35px rgba(99,102,241,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(99,102,241,.45); }

.section-title { font-size:22px; margin:10px 0 6px; }

.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap:20px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--elev));
  border:1px solid var(--edge);
  border-radius:16px; overflow:hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.35); box-shadow: 0 16px 44px rgba(0,0,0,.4); }
.card img.thumb { width:100%; height:170px; object-fit:cover; display:block; }
.card .body { padding:14px 14px 16px; }
.card .title { font-weight:700; font-size:18px; }
.card .meta { color: var(--muted); font-size:13px; margin-top:6px; }
.tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.tag { font-size:12px; border:1px solid var(--edge); background:#161a28; color:#cbd5e1; border-radius:9999px; padding:4px 8px; }

.tool-hero img { width:100%; border-radius:14px; border:1px solid var(--edge); }

.small { font-size:13px; color: var(--muted); }
ul.clean { line-height:1.7; padding-left:18px; }
ul.clean li { list-style: disc; margin:6px 0; }

.searchbar { display:flex; gap:10px; margin:16px 0 24px; }
.searchbar input {
  flex:1; padding:12px 14px; border-radius:12px;
  border:1px solid var(--edge); background:#151a28; color:#e2e8f0;
  outline:none; box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

hr.sep { border:0; border-top:1px solid var(--edge); margin:20px 0; }

footer { border-top:1px solid var(--edge); margin-top:40px; }
.footer-inner { max-width:1200px; margin:0 auto; padding:24px 16px; color: var(--muted); font-size:14px; }
