/* ====================================================================
   EPI TRACKER HUB LIGHT THEME (IMAGE 2 ALIGNED)
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-app: #f4f7fb;
  --bg-card: #ffffff;
  --border-card: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --primary: #4f46e5;
  --primary-light: #eef2ff;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  --radius-lg: 16px;
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 16px 36px -4px rgba(79, 70, 229, 0.12), 0 6px 12px -2px rgba(79, 70, 229, 0.06);
}

body {
  background: radial-gradient(circle at top, #eef2ff 0%, #f4f7fb 100%);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

@media (min-width: 992px) {
  body {
    background: url('../img/hub_bg.png') no-repeat center center fixed;
    background-size: cover;
  }
}

.hub-container {
  max-width: 960px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 1rem 0;
}

.hub-brand-pill-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hub-brand-pill {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 24px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-brand-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(79, 70, 229, 0.15);
  border-color: rgba(199, 210, 254, 0.8);
}

.hub-brand-img {
  max-width: 220px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.hub-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.hub-subtitle {
  color: #475569;
  font-size: 0.975rem;
  font-weight: 500;
  max-width: 580px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.55;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  text-align: left;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hub-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  }
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: #c7d2fe;
  background: #ffffff;
  box-shadow: var(--shadow-hover);
}

.hub-icon-container {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.hub-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.hub-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.hub-btn {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.hub-card:hover .hub-btn {
  gap: 0.75rem;
}

.hub-footer {
  margin-top: 3rem;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
