/* hub-redesign.css */
:root {
  --hub-dark: #0b1120;
  --hub-blue: #2563eb;
  --hub-blue-light: #60a5fa;
  --hub-text: #0f172a;
  --hub-muted: #64748b;
  --hub-border: #e2e8f0;
  --hub-bg: #f8fafc;
  --hub-card-bg: #ffffff;
}

body {
  background: var(--hub-card-bg);
  color: var(--hub-text);
  font-family: Inter, -apple-system, sans-serif;
}

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

/* HERO SECTION */
.hub-hero {
  background-color: var(--hub-dark);
  background-image: radial-gradient(circle at 80% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  color: #fff;
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hub-breadcrumb {
  font-size: 12px;
  color: #94a3b8 !important;
  margin-bottom: 32px;
}

.hub-hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.hub-app-icon {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hub-hero-content {
  flex: 1;
}

.hub-hero-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hub-blue-light);
  margin-bottom: 8px;
}

.hub-hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.hub-hero-desc {
  font-size: 16px;
  color: #cbd5e1 !important;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hub-hero-actions {
  display: flex;
  gap: 12px;
}

.hub-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.hub-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* SUB NAVIGATION */
.hub-subnav {
  background: #fff;
  border-bottom: 1px solid var(--hub-border);
  position: sticky;
  top: 56px;
  z-index: 100;
}
.hub-subnav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hub-subnav-inner::-webkit-scrollbar { display: none; }
.hub-subnav-link {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hub-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.hub-subnav-link.active, .hub-subnav-link:hover {
  color: var(--hub-blue);
  border-bottom-color: var(--hub-blue);
}
.hub-subnav-link svg {
  width: 16px;
  height: 16px;
}

/* MAIN LAYOUT */
.hub-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 40px 0 80px;
}
@media (max-width: 1024px) {
  .hub-main-layout {
    grid-template-columns: 1fr;
  }
}

/* SECTION HEADER */
.hub-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hub-border);
}
.hub-section-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hub-text);
}
.hub-section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hub-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hub-section-link:hover { text-decoration: underline; }

/* GRIDS */
.hub-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 1200px) { .hub-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-grid-4 { grid-template-columns: 1fr; } }

/* NEWS CARDS */
.hub-news-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hub-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.hub-news-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #f1f5f9;
}
.hub-news-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hub-news-meta {
  font-size: 10px;
  font-weight: 800;
  color: var(--hub-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hub-news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--hub-text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.hub-news-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--hub-muted);
  text-transform: uppercase;
}

/* EXPLAINER CARDS */
.hub-explainer-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}
.hub-explainer-card:hover {
  border-color: var(--hub-blue);
  box-shadow: 0 8px 16px rgba(37,99,235,0.08);
}
.hub-explainer-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-explainer-icon svg { width: 40px; height: 40px; }
.hub-explainer-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--hub-text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.hub-explainer-desc {
  font-size: 12px;
  color: var(--hub-muted);
  line-height: 1.5;
}

/* RESEARCH CARDS */
.hub-research-card {
  background: #0f172a;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 240px;
  transition: transform 0.2s;
}
.hub-research-card:hover { transform: translateY(-4px); }
.hub-research-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1620641788421-7a1c342ea42e?w=400&q=80') center/cover;
  opacity: 0.3;
  mix-blend-mode: overlay;
}
.hub-research-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--hub-blue-light);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.hub-research-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.hub-research-desc {
  font-size: 12px;
  color: #cbd5e1;
  position: relative;
  z-index: 2;
}
.hub-research-dl {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--hub-blue-light);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

/* TIMELINE */
.hub-timeline-track {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 48px;
  padding-top: 12px;
}
.hub-timeline-track::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: #cbd5e1;
  z-index: 1;
}
.hub-timeline-item {
  flex: 1;
  position: relative;
  z-index: 2;
  padding-right: 16px;
  text-decoration: none;
}
.hub-timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--hub-blue);
  border: 3px solid #fff;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 0 0 1px #cbd5e1;
}
.hub-timeline-year {
  font-size: 12px;
  font-weight: 800;
  color: var(--hub-blue);
  margin-bottom: 4px;
}
.hub-timeline-desc {
  font-size: 12px;
  color: var(--hub-text);
  font-weight: 500;
  line-height: 1.4;
}

/* OPINION CARDS */
.hub-opinion-card {
  background: #f8fafc;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.hub-opinion-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hub-opinion-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.hub-opinion-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--hub-text);
}
.hub-opinion-role {
  font-size: 11px;
  color: var(--hub-muted);
}
.hub-opinion-quote {
  font-size: 16px;
  font-weight: 600;
  color: var(--hub-text);
  line-height: 1.4;
  margin-bottom: 16px;
}
.hub-opinion-quote::before { content: '"'; }
.hub-opinion-quote::after { content: '"'; }
.hub-opinion-date {
  font-size: 10px;
  font-weight: 700;
  color: var(--hub-muted);
  text-transform: uppercase;
  margin-top: auto;
}

/* SIDEBAR */
.hub-sidebar-section {
  margin-bottom: 40px;
}
.hub-sidebar-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hub-text);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.hub-stats-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hub-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hub-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hub-stat-icon svg { width: 20px; height: 20px; }
.hub-stat-body { flex: 1; }
.hub-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--hub-muted);
  margin-bottom: 2px;
}
.hub-stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--hub-text);
  line-height: 1.1;
  margin-bottom: 2px;
}
.hub-stat-desc {
  font-size: 11px;
  color: var(--hub-muted);
}

.hub-glance-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
}
.hub-glance-source {
  font-size: 10px;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.hub-sidebar-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--hub-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.hub-sidebar-link:hover { text-decoration: underline; }

.hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.hub-tag {
  background: #f1f5f9;
  color: var(--hub-text);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 16px;
  text-decoration: none;
}
.hub-tag:hover { background: #e2e8f0; }

.hub-faq-list {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
  overflow: hidden;
}
.hub-faq-item {
  border-bottom: 1px solid var(--hub-border);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--hub-text);
  cursor: pointer;
  background: #ffffff;
}
.hub-faq-item:last-child {
  border-bottom: none;
}
.hub-faq-item:hover { background: #f8fafc; }

.hub-newsletter {
  background: #1e293b;
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}
.hub-newsletter-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hub-newsletter-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.5;
}
.hub-newsletter-input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  margin-bottom: 12px;
  font-size: 13px;
  box-sizing: border-box;
}
.hub-newsletter-btn {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: #ea580c;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 12px;
}
.hub-newsletter-btn:hover { background: #c2410c; }
.hub-newsletter-footer {
  font-size: 10px;
  color: #64748b;
  text-align: center;
}
