/* ZP 2026 — style.css */
:root {
  --bg: #0b1120;
  --bg-card: #121b2c;
  --bg-card-hover: #182238;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --accent: #38bdf8;
  --color-tech: #2563eb;
  --color-finance: #059669;
  --color-business: #ea580c;
  --color-blockchain: #7c3aed;
  --color-lifestyle: #db2777;
  --color-biotech: #dc2626;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.site-header h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; }
.site-header h1 a { color: #fff; }
.site-header h1 a:hover { color: var(--accent); text-decoration: none; }
.site-header p { color: var(--text-muted); margin-top: 8px; font-size: 15px; }
.nav-links { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--accent); }

/* Section */
.section { margin-bottom: 44px; }
.section-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.cat-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.section-header h2 { font-size: 20px; font-weight: 600; color: #fff; }
.section-header .count { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.section-header .view-all { margin-left: auto; font-size: 14px; color: var(--text-muted); }
.section-header .view-all:hover { color: var(--accent); }

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Card */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  background: var(--bg-card-hover);
}
.card-cat-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  padding: 3px 11px; border-radius: 999px;
  margin-bottom: 12px; align-self: flex-start; color: #fff;
}
.card-title { font-size: 17px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; color: #fff; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 11px; margin-top: auto;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card-tags .tag {
  display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.07); color: var(--text-muted);
}

/* Footer */
.site-footer {
  text-align: center; padding: 34px 0 46px;
  border-top: 1px solid var(--border); margin-top: 24px;
  color: var(--text-muted); font-size: 14px;
}
.site-footer a { color: var(--accent); }

/* Responsive */
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .site-header h1 { font-size: 22px; }
}
