/* DevToolsHub — Dark tech theme */
:root {
  --bg: #0b0d11;
  --bg2: #111318;
  --bg3: #1a1d26;
  --border: #2a2d3a;
  --text: #e1e4ed;
  --text2: #8b90a0;
  --accent: #6c5ce7;
  --accent2: #a29bfe;
  --green: #00cec9;
  --orange: #fdcb6e;
  --grad: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

/* Nav */
.nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--text); letter-spacing: -0.5px; }
.logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,92,231,0.08) 0%, transparent 70%);
}
.hero h1 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 20px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--text2); max-width: 600px; margin: 0 auto 36px; }
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,92,231,0.3); }

/* Cards */
section { padding: 80px 0; }
section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.5px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card.featured { border-color: var(--accent); position: relative; }
.card-badge {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent2);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--text2); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.card-features { list-style: none; margin-bottom: 24px; }
.card-features li { font-size: 0.9rem; color: var(--text2); margin-bottom: 6px; }
.card-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.card-link:hover { color: var(--accent2); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 16px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--bg3);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare-table tr:hover td { background: var(--bg3); }
.aff-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.aff-link:hover { color: var(--accent2); }
.table-foot { font-size: 0.8rem; color: var(--text2); margin-top: 12px; }

/* Posts section */
.posts { display: grid; gap: 24px; }
.post {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.post h3 { font-size: 1.1rem; margin-bottom: 8px; }
.post h3 a { color: var(--text); text-decoration: none; }
.post h3 a:hover { color: var(--accent); }
.post p { color: var(--text2); font-size: 0.9rem; }
.post-date { font-size: 0.8rem; color: var(--text2); display: inline-block; margin-top: 8px; }

/* Article pages */
.article { max-width: 780px; margin: 0 auto; padding: 60px 24px 100px; }
.article h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; line-height: 1.3; }
.article .meta { color: var(--text2); font-size: 0.9rem; margin-bottom: 40px; display: block; }
.article h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; }
.article h3 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; }
.article p { margin-bottom: 16px; color: var(--text2); font-size: 1.05rem; line-height: 1.8; }
.article ul { margin: 16px 0 16px 24px; }
.article ul li { margin-bottom: 8px; color: var(--text2); font-size: 1.05rem; }
.article .aff-cta {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  margin: 24px 0 8px;
  transition: transform 0.2s;
}
.article .aff-cta:hover { transform: translateY(-2px); }
.article .aff-disclosure {
  font-size: 0.8rem;
  color: var(--text2);
  margin-top: 4px;
  font-style: italic;
}
.article .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.article .pros { background: rgba(0,206,201,0.06); border: 1px solid rgba(0,206,201,0.2); border-radius: 12px; padding: 20px; }
.article .cons { background: rgba(253,74,74,0.06); border: 1px solid rgba(253,74,74,0.2); border-radius: 12px; padding: 20px; }
.article .pros h3 { color: var(--green); margin-top: 0; }
.article .cons h3 { color: #fd4a4a; margin-top: 0; }
.article .specs { background: var(--bg3); border-radius: 12px; padding: 24px; margin: 24px 0; }
.article .specs dt { font-weight: 600; color: var(--text); margin-top: 12px; }
.article .specs dt:first-child { margin-top: 0; }
.article .specs dd { color: var(--text2); margin: 4px 0 0 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; }
.footer p { color: var(--text2); font-size: 0.9rem; }
.footer-small { font-size: 0.8rem; margin-top: 8px; }
.footer a { color: var(--accent); }

/* Responsive */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.8rem; }
  .article .pros-cons { grid-template-columns: 1fr; }
}