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

/* ═══════════════════════════════════════════════════════════════════════════ */
/* EQ5 Sales Hub — Shared Stylesheet                                          */
/* EQ5 Brand Design System                                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Light page palette */
  --bg:             #F5F5F7;
  --bg-alt:         #FBFBFD;
  --surface:        #FFFFFF;
  --surface-2:      #F5F5F7;
  --surface-3:      #EBEBED;

  /* Text */
  --text-primary:   #1D1D1F;
  --text-secondary: #6E6E73;
  --text-muted:     #86868B;

  /* Borders & shadows */
  --border:         rgba(0,0,0,0.08);
  --border-hover:   rgba(0,0,0,0.16);
  --shadow-card:    0 2px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-hover:   0 8px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);

  /* EQ5 brand — matches Brandbook exactly */
  --brand-navy:     #0A1020;
  --brand-cyan:     #00D3D3;
  --brand-blue:     #3079E9;
  --brand-blue-dark:#1D5DC9;

  /* Status */
  --green:          #30A46C;
  --orange:         #D97706;
  --red:            #DC2626;
  --gold:           #B45309;

  /* Status backgrounds (light) */
  --green-bg:       rgba(48,164,108,0.10);
  --orange-bg:      rgba(217,119,6,0.10);
  --red-bg:         rgba(220,38,38,0.10);
  --cyan-bg:        rgba(0,211,211,0.10);
  --blue-bg:        rgba(48,121,233,0.08);

  /* Gradient — brand spec: -28deg, blue → cyan */
  --gradient:       linear-gradient(-28deg, #3079E9 8%, #00D3D3 88%);
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* TOP NAVIGATION — Apple thin nav                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

.hub-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 52px;
  overflow: visible;
}
/* Backdrop blur on pseudo-element avoids Safari sticky+backdrop-filter compositing
   bug that clips absolutely-positioned children (dropdown) to the nav's 52px height */
.hub-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,16,32,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: -1;
}

.hub-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-right: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand-logo {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.nav-brand-label {
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 20px;
}
.nav-link:hover { color: #fff; text-decoration: none; }
.nav-link.active { color: #fff; font-weight: 600; background: rgba(255,255,255,0.1); }
.nav-link-icon { font-size: 13px; filter: grayscale(1) opacity(0.55); }

.nav-spacer { flex: 1; }

.nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.nav-date { white-space: nowrap; }
.nav-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 4px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Nav profile + dropdown ── */
.nav-profile {
  position: relative;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  transition: background 0.15s;
  font-family: inherit;
}
.nav-profile-btn:hover { background: rgba(255,255,255,0.08); }
.nav-profile-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.nav-profile-name {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 300;
  overflow: hidden;
  padding: 6px 0;
}
.nav-profile:hover .nav-dropdown,
.nav-profile.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.1s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--surface-2); text-decoration: none; color: var(--text-primary); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.nav-dropdown-icon { color: var(--text-muted); flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle-input { display: none; }
.nav-toggle-btn {
  display: none;
  cursor: pointer;
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  padding: 4px 8px;
  user-select: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PAGE LAYOUT                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-header {
  margin-bottom: 40px;
}
.page-header-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.page-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.026em;
  line-height: 1.05;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.page-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* KPI METRIC STRIP                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.kpi-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
}
.kpi-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.kpi-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.kpi-value {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.kpi-value.green  { color: var(--green); }
.kpi-value.cyan   { color: var(--brand-cyan); }
.kpi-value.blue   { color: var(--brand-blue); }
.kpi-value.gold   { color: var(--gold); }

.kpi-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.kpi-bar {
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.kpi-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.8s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CARDS                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; }

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Section grid */
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTION DIVIDER                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 24px;
}
.section-divider-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* TABLES                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  background: var(--surface-2);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--text-primary);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(0,0,0,0.02); }
.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.data-table .green { color: var(--green); }
.data-table .cyan  { color: var(--brand-cyan); }
.data-table .muted { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* BADGES & TAGS                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-green  { background: var(--green-bg);  color: var(--green); }
.badge-cyan   { background: var(--cyan-bg);   color: var(--brand-cyan); }
.badge-blue   { background: var(--blue-bg);   color: var(--brand-blue); }
.badge-orange { background: var(--orange-bg); color: var(--orange); }
.badge-red    { background: var(--red-bg);    color: var(--red); }
.badge-muted  { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RANK INDICATORS                                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.rank-1 { background: rgba(180,83,9,0.12);  color: var(--gold); }
.rank-2 { background: rgba(107,114,128,0.10); color: #6B7280; }
.rank-3 { background: rgba(107,114,128,0.08); color: #9CA3AF; }
.rank-n { background: var(--surface-2); color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PROGRESS BAR                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
}
.progress-pct {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  white-space: nowrap;
  min-width: 38px;
  text-align: right;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ALERT / HIGHLIGHT STRIPS                                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

.alert-strip {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.alert-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-strip.alert-green  { background: var(--green-bg);  border-left: 3px solid var(--green); }
.alert-strip.alert-orange { background: var(--orange-bg); border-left: 3px solid var(--orange); }
.alert-strip.alert-red    { background: var(--red-bg);    border-left: 3px solid var(--red); }
.alert-strip.alert-cyan   { background: var(--cyan-bg);   border-left: 3px solid var(--brand-cyan); }
.alert-text { color: var(--text-secondary); }
.alert-text strong { color: var(--text-primary); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PARTNER CARD                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.partner-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.partner-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
}
.partner-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.partner-type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.partner-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.partner-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.partner-cap {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 9px 18px;
  border-radius: 20px;
  background: var(--blue-bg);
  border: 1px solid rgba(0,113,227,0.20);
  transition: background 0.15s;
  text-decoration: none;
}
.partner-link:hover {
  background: rgba(0,113,227,0.14);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* TEAM CARD                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
  color: inherit;
  text-decoration: none;
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
}

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.team-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 2px;
  color: var(--text-primary);
}
.team-title {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.team-territory {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.team-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.team-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.team-stat-value.green { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RATES                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.rate-table-wrap {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.rate-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
}
.rate-table-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.rate-table-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* REPORT CARDS                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */

.report-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}
a.report-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

.report-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.report-card-meta { flex: 1; }
.report-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.report-card-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.report-card-arrow {
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* BUTTONS                                                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  transition: background 0.15s, opacity 0.15s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; opacity: 0.9; }

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-blue-dark); color: #fff; opacity: 1; }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface-3); color: var(--text-primary); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1px solid rgba(0,113,227,0.35);
}
.btn-outline:hover { background: var(--blue-bg); opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HOME HERO                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

.home-hero {
  background: #0A0A0A;
  border-radius: 24px;
  padding: 48px 48px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* ── Per-slide background themes ── */
.home-hero[data-slide="0"] { background: linear-gradient(160deg, #04091A, #071630); }
.home-hero[data-slide="1"] { background: linear-gradient(160deg, #061A0C, #092014); }
.home-hero[data-slide="2"] { background: linear-gradient(160deg, #030A1C, #050F28); }
.home-hero[data-slide="3"] { background: linear-gradient(160deg, #0D0520, #160830); }
.home-hero[data-slide="4"] { background: linear-gradient(160deg, #031518, #051E25); }

/* dot grid + per-slide accent glow */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.home-hero[data-slide="0"]::before {
  background-image:
    radial-gradient(rgba(0,196,196,0.018) 1px, transparent 1px),
    radial-gradient(ellipse 75% 80% at 108% -8%, rgba(0,196,196,0.38) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at -5% 115%, rgba(48,121,233,0.28) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}
.home-hero[data-slide="1"]::before {
  background-image:
    radial-gradient(rgba(16,185,129,0.02) 1px, transparent 1px),
    radial-gradient(ellipse 75% 80% at 108% -8%, rgba(16,185,129,0.42) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at -5% 115%, rgba(0,196,100,0.20) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}
.home-hero[data-slide="2"]::before {
  background-image:
    radial-gradient(rgba(59,130,246,0.022) 1px, transparent 1px),
    radial-gradient(ellipse 75% 80% at 108% -8%, rgba(37,99,235,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at -5% 115%, rgba(0,80,255,0.25) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}
.home-hero[data-slide="3"]::before {
  background-image:
    radial-gradient(rgba(139,92,246,0.022) 1px, transparent 1px),
    radial-gradient(ellipse 75% 80% at 108% -8%, rgba(139,92,246,0.48) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at -5% 115%, rgba(109,40,217,0.25) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}
.home-hero[data-slide="4"]::before {
  background-image:
    radial-gradient(rgba(0,196,196,0.022) 1px, transparent 1px),
    radial-gradient(ellipse 75% 80% at 108% -8%, rgba(0,196,196,0.42) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at -5% 115%, rgba(6,182,212,0.22) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}
.home-hero::after { display: none; }
.home-hero-inner { position: relative; z-index: 1; }
.home-hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.home-hero-title {
  font-size: 56px; font-weight: 900; letter-spacing: -0.04em;
  line-height: 1; color: #fff; margin-bottom: 12px;
}
.home-hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.65);
  max-width: 520px; line-height: 1.5; margin-bottom: 40px;
}

/* ── Hero carousel (home page) ── */
.hero-carousel { position: relative; z-index: 1; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: heroFadeUp 0.5s ease; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-slide-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.hero-slide-type {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
}
.hero-slide-type.green  { border-color: rgba(48,164,108,0.6); color: #6EE7B7; }
.hero-slide-type.orange { border-color: rgba(217,119,6,0.6);  color: #FCD34D; }
.hero-slide-type.blue   { border-color: rgba(52,115,202,0.6); color: #93C5FD; }
.hero-slide-rep {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.38);
  letter-spacing: .04em;
}
.hero-slide-title {
  font-size: 42px; font-weight: 900; letter-spacing: -0.035em;
  line-height: 1.05; color: #fff; margin-bottom: 14px;
}
.hero-slide-body {
  font-size: 16px; color: rgba(255,255,255,0.62);
  line-height: 1.55; max-width: 540px; margin-bottom: 28px;
}
.hero-slide-footer {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 36px;
}
.hero-slide-price {
  font-size: 32px; font-weight: 900; letter-spacing: -0.04em; color: #fff;
}
.hero-slide-cta {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.55);
  text-decoration: none; letter-spacing: .03em;
  border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1px;
  transition: color .15s;
}
.hero-slide-cta:hover { color: #fff; text-decoration: none; }

/* watermark logo */
.hero-watermark {
  position: absolute; bottom: -24px; right: 20px;
  user-select: none; pointer-events: none; z-index: 0;
  line-height: 0;
}

/* carousel bottom bar */
.hero-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: none;
  cursor: pointer; padding: 0; transition: all .2s;
}
.hero-dot.active { background: #fff; width: 20px; border-radius: 3px; }
.hero-week {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  white-space: nowrap;
}

/* ── Company slide: split layout ── */
.hero-slide--split {
  display: none;
}
.hero-slide--split.active {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  animation: heroFadeUp 0.5s ease;
}
.hero-split-stat {
  text-align: right; flex-shrink: 0; padding-right: 8px;
}
.hero-split-stat-val {
  font-size: 64px; font-weight: 900; letter-spacing: -0.045em;
  color: var(--brand-cyan); line-height: 1; white-space: nowrap;
}
.hero-split-stat-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(0,196,196,0.55);
  margin-top: 6px;
}
.hero-split-stat-sub {
  font-size: 12px; color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

/* ── Event slide: date block ── */
.hero-event-date {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 20px;
}
.hero-event-month {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(196,181,253,0.6);
}
.hero-event-day {
  font-size: 52px; font-weight: 900; letter-spacing: -0.04em;
  color: #C4B5FD; line-height: 1;
}
.hero-event-sep {
  font-size: 28px; font-weight: 300; color: rgba(196,181,253,0.35);
}

@media (max-width: 768px) {
  .home-hero { padding: 32px 24px 0; }
  .home-hero-title { font-size: 36px; }
  .hero-slide-title { font-size: 28px; }
  .hero-watermark { font-size: 160px; }
}

/* Signal card EQ5 recommendation strip */
.signal-eq5 {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(0,113,227,0.06);
  border-radius: 8px;
  border-left: 3px solid var(--brand-blue);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.signal-eq5 strong { color: var(--brand-blue); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FOOTER                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.hub-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-2);
  position: relative;
  z-index: 1;
}
.hub-footer strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ANIMATIONS                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .section-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hub-nav-inner { flex-wrap: wrap; padding: 0 16px; }
  .nav-toggle-btn { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 16px;
    gap: 2px;
  }
  .nav-toggle-input:checked ~ .hub-nav .nav-links { display: flex; }
  .nav-link { padding: 10px 14px; }
  .nav-spacer, .nav-meta { display: none; }
  .hub-nav { height: auto; min-height: 52px; }
  .hub-nav-inner { height: auto; padding: 12px 16px; }
  .hub-nav-inner { background: var(--brand-navy); }
  .nav-brand { margin-right: auto; }

  .page-title { font-size: 36px; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .section-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .page-wrap { padding: 32px 16px 56px; }
}

@media (max-width: 480px) {
  .kpi-strip { grid-template-columns: 1fr; }
  .page-title { font-size: 28px; }
}
