@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand & Accent Colors */
  --primary-blue: #0066ff;
  --primary-blue-hover: #0052cc;
  --primary-blue-light: rgba(0, 102, 255, 0.08);
  --accent-gold: #d4af37;
  --accent-gold-hover: #b89628;
  --accent-gold-light: rgba(212, 175, 55, 0.12);

  /* Light Theme Surfaces & Text */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  --border-dark: #0f172a;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Elevations & Animations */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 14px 28px -4px rgba(0, 102, 255, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.06);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); line-height: 1.6; background: var(--bg-page); color: var(--text-main); }

/* Header */
.site-header { background: var(--bg-surface); border-bottom: 2px solid var(--border-dark); padding: 0 20px; position: sticky; top: 0; z-index: 100; }
.header-container { max-width: 800px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo .dot { width: 24px; height: 24px; background: linear-gradient(135deg, var(--accent-gold), #a88a2b); border-radius: 6px; }

/* Hero */
.hero-banner { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-hover)); color: white; padding: 24px; margin: 20px 0; border-radius: var(--radius-md); text-align: center; }
.hero-banner h1 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.hero-banner .subtitle { font-size: 0.85rem; opacity: 0.9; }
.hero-banner .date-badge { background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 16px; font-size: 0.75rem; margin-top: 8px; display: inline-block; }

/* Layout */
.main-container { max-width: 800px; margin: 0 auto; padding: 0 20px 40px; }
.summary-bar { display: flex; background: var(--bg-subtle); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; gap: 16px; overflow-x: auto; }
.summary-stat { flex: 1; min-width: 100px; text-align: center; }
.summary-stat .number { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--primary-blue); }
.summary-stat .label { font-size: 0.75rem; color: var(--text-muted); }

/* Section titles */
.section-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--primary-blue); text-transform: uppercase; letter-spacing: 0.5px; margin: 24px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--border-light); }
.section-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 12px; }

/* News Cards */
.news-card { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px; transition: var(--transition-smooth); position: relative; overflow: hidden; }
.news-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.news-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary-blue); opacity: 0; transition: opacity 0.2s; }
.news-card:hover::before { opacity: 0.5; }

/* Label colors */
.news-card.capital::before { background: var(--accent-gold); }
.news-card.challenge::before { background: #e74c3c; }
.news-card.validate::before { background: #ff9f40; }
.news-card.explore::before { background: #9b59b6; }
.news-card.learn::before { background: var(--primary-blue); }

.news-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.news-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--text-main); text-decoration: none; flex: 1; line-height: 1.4; display: block; }
.news-title:hover { color: var(--primary-blue); }
.radar-badge { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; margin-left: 12px; border: 1px solid var(--border-light); }

.radar-badge.capital { background: var(--accent-gold-light); color: var(--accent-gold); border-color: rgba(212, 175, 55, 0.3); }
.radar-badge.challenge { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border-color: rgba(231, 76, 60, 0.3); }
.radar-badge.validate { background: rgba(255, 159, 64, 0.1); color: #ff9f40; border-color: rgba(255, 159, 64, 0.3); }
.radar-badge.explore { background: rgba(155, 89, 182, 0.1); color: #9b59b6; border-color: rgba(155, 89, 182, 0.3); }
.radar-badge.learn { background: var(--primary-blue-light); color: var(--primary-blue); border-color: rgba(0, 102, 255, 0.3); }
.radar-badge.watch { background: rgba(150, 150, 150, 0.1); color: var(--text-muted); border-color: rgba(150, 150, 150, 0.3); }

.news-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 12px; }
.news-meta .source { font-weight: 600; color: var(--primary-blue); }
.news-meta .score { font-weight: 600; }
.strategic-tag { display: inline-block; background: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 2px 8px; font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; }

/* Footer */
.footer { text-align: center; padding: 24px; border-top: 1px solid var(--border-light); color: var(--text-muted); font-size: 0.8rem; margin-top: 32px; }
.footer a { color: var(--primary-blue); text-decoration: none; }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero-banner h1 { font-size: 1.4rem; }
}
