:root {
  --bg-color: #050814;
  --panel-bg: rgba(13, 20, 38, 0.45);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Color Tags */
  --color-agents: #06b6d4;
  --color-models: #a855f7;
  --color-tools: #10b981;
  --color-companies: #f97316;
  --color-learning: #f59e0b;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}
.orb-1 {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--color-models) 0%, transparent 80%);
}
.orb-2 {
  top: 35%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--color-agents) 0%, transparent 80%);
}
.orb-3 {
  bottom: -5%;
  left: -5%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--color-tools) 0%, transparent 80%);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Panel Base */
.glass {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header */
.header {
  margin-bottom: 3rem;
  text-align: center;
}
.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.logo-svg {
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.35));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-area:hover .logo-svg {
  transform: rotate(15deg) scale(1.05);
}
.logo-text {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tagline {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-weight: 300;
}
.meta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.badge-accent {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

/* Executive Highlights */
.highlights-section {
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}
.highlights-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.highlights-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}
#highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#highlights-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
#highlights-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-models);
  font-weight: bold;
}

/* Main Grid */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.highlight-card {
  grid-column: span 2;
  border: 1px solid rgba(245, 158, 11, 0.15);
  background: linear-gradient(185deg, rgba(245, 158, 11, 0.04) 0%, rgba(13, 20, 38, 0.45) 100%);
}

/* Card Styling */
.feed-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.feed-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.card-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
}
#card-agents .card-icon { border-color: rgba(6, 182, 212, 0.2); background: rgba(6, 182, 212, 0.05); }
#card-models .card-icon { border-color: rgba(168, 85, 247, 0.2); background: rgba(168, 85, 247, 0.05); }
#card-tools .card-icon { border-color: rgba(16, 189, 129, 0.2); background: rgba(16, 189, 129, 0.05); }
#card-companies .card-icon { border-color: rgba(249, 115, 22, 0.2); background: rgba(249, 115, 22, 0.05); }
#card-learning .card-icon { border-color: rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.05); }

.card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Card Content / News Items */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}
.news-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 1.25rem;
  transition: all 0.2s ease;
}
.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news-title-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.975rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.4rem;
  transition: color 0.15s ease;
}
.news-title-link:hover {
  text-decoration: underline;
}
#card-agents .news-title-link:hover { color: var(--color-agents); }
#card-models .news-title-link:hover { color: var(--color-models); }
#card-tools .news-title-link:hover { color: var(--color-tools); }
#card-companies .news-title-link:hover { color: var(--color-companies); }
#card-learning .news-title-link:hover { color: var(--color-learning); }

.news-summary {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.source-tag {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 500;
}

/* Placeholders & Loading states */
.loading-placeholder {
  color: var(--text-muted);
  font-style: italic;
  animation: pulse-placeholder 1.5s infinite ease-in-out;
}
@keyframes pulse-placeholder {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.loading-item {
  height: 60px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes loading-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Footer */
.footer {
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-meta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}
.footer-meta span {
  color: var(--text-secondary);
  font-weight: 500;
}
.footer-meta a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-meta a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .highlight-card {
    grid-column: span 1;
  }
  .container {
    padding: 2rem 1rem;
  }
  .logo-text {
    font-size: 1.85rem;
  }
}
