/* ============================================================
   SCORED — OFFICIAL BRAND GUIDELINES & SIMULATION DESIGN ENGINE
   Colour Palette:
     - Deep Navy:   #0F2E5C  (Scor, cap, nib, headings, dark cards)
     - Royal Blue:  #1554C9  ("ed" gradient end, primary buttons)
     - Sky Blue:    #1E8FE6  ("ed" gradient middle, badges, accents)
     - Teal:        #12C2C9  ("ed" start, ring, vibrant accents)
     - Sun Amber:   #F9A91B  (rays, tassel, highlights, gold buttons)
     - Gold Shadow: #FFC24D  ("ed" shadow, soft ambers)
     - Warm Cream:  #F8EFDD  (backgrounds) & Base Cream #F3E7D1
     - Slate:       #46566B  (slogan, body text, subheadings)

   Typography:
     - Headings & Wordmark: 'Outfit', sans-serif (Light 'Scor' + Bold 'ed')
     - Slogan & Accents:    'Poppins', sans-serif (Medium, spaced uppercase)
     - Body Text:           'Outfit', sans-serif
   ============================================================ */

:root {
  /* Scored Brand Color Tokens */
  --scored-navy: #0F2E5C;
  --scored-navy-dark: #091E3D;
  --scored-royal: #1554C9;
  --scored-sky: #1E8FE6;
  --scored-teal: #12C2C9;
  --scored-amber: #F9A91B;
  --scored-gold: #FFC24D;
  --scored-cream: #F8EFDD;
  --scored-cream-base: #F3E7D1;
  --scored-slate: #46566B;
  --scored-white: #FFFFFF;

  /* Typography */
  --font-brand: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-headings: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-slogan: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Gradients */
  --scored-ed-gradient: linear-gradient(135deg, #12C2C9 0%, #1E8FE6 50%, #1554C9 100%);
  --scored-amber-gradient: linear-gradient(135deg, #FFC24D 0%, #F9A91B 100%);
  --scored-navy-gradient: linear-gradient(145deg, #091E3D 0%, #0F2E5C 60%, #1554C9 100%);
  --scored-cream-gradient: linear-gradient(180deg, #FFFFFF 0%, #F8EFDD 100%);
}

/* Global Font Consistency */
body {
  font-family: var(--font-brand) !important;
  color: var(--scored-slate);
}

h1, h2, h3, h4, h5, h6,
.head h2, .vx-col-title {
  font-family: var(--font-headings) !important;
  color: var(--scored-navy);
}

/* Ensure headings on dark hero sections remain crystal clear */
.page-hero h1,
.vx-hero h1,
.hero h1,
#hero-title,
#page-title {
  font-family: var(--font-headings) !important;
  color: #ffffff !important;
}

.page-hero h1 .hl,
.vx-hero h1 .hl,
.hero h1 .hl,
#hero-title .hl,
#page-title .hl {
  color: var(--scored-amber, #F9A91B) !important;
}

/* Ensure headings on cream/light sections are visible dark navy */
.eval-header-center h2,
.eval-container-card h2,
#brand-heritage h2,
#student-lifecycle h2,
.signature-cream-bg h2,
.signature-cream-bg h3 {
  color: var(--scored-navy, #0F2E5C) !important;
}

/* --- Wordmark & Slogan Helpers --- */
.scored-wordmark {
  font-family: var(--font-headings);
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}
.scored-wordmark .scor {
  font-weight: 300;
  color: var(--scored-navy);
}
.scored-wordmark .ed {
  font-weight: 800;
  background: var(--scored-ed-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scored-slogan {
  font-family: var(--font-slogan) !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--scored-slate) !important;
}

/* --- 1. Scored Badges & Pulse Indicators --- */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--scored-teal);
  box-shadow: 0 0 0 0 rgba(18, 194, 201, 0.7);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  margin-right: 6px;
  vertical-align: middle;
}

.pulse-dot.blue, .pulse-dot.royal {
  background-color: var(--scored-royal);
  box-shadow: 0 0 0 0 rgba(21, 84, 201, 0.7);
}

.pulse-dot.sky {
  background-color: var(--scored-sky);
  box-shadow: 0 0 0 0 rgba(30, 143, 230, 0.7);
}

.pulse-dot.teal {
  background-color: var(--scored-teal);
  box-shadow: 0 0 0 0 rgba(18, 194, 201, 0.7);
}

.pulse-dot.amber, .pulse-dot.gold {
  background-color: var(--scored-amber);
  box-shadow: 0 0 0 0 rgba(249, 169, 27, 0.7);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(18, 194, 201, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(18, 194, 201, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(18, 194, 201, 0); }
}

.future-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(21, 84, 201, 0.08);
  border: 1px solid rgba(21, 84, 201, 0.22);
  color: var(--scored-royal);
  font-family: var(--font-slogan);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(21, 84, 201, 0.08);
  margin-bottom: 14px;
}

.future-badge.teal {
  background: rgba(18, 194, 201, 0.1);
  border-color: rgba(18, 194, 201, 0.3);
  color: var(--scored-teal);
}

.future-badge.amber, .future-badge.gold {
  background: rgba(249, 169, 27, 0.1);
  border-color: rgba(249, 169, 27, 0.35);
  color: #B26A00;
}

.future-badge.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #7FE5EB;
}

.future-badge.cream {
  background: var(--scored-cream);
  border-color: rgba(249, 169, 27, 0.3);
  color: var(--scored-navy);
}

/* --- 2. Live AI CBT Examination Simulator (Scored Deep Navy Theme) --- */
.cbt-sim-card {
  background: var(--scored-navy);
  border: 1px solid rgba(18, 194, 201, 0.35);
  border-radius: 20px;
  color: #ffffff;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 46, 92, 0.45);
  position: relative;
  overflow: hidden;
  margin-block: 20px;
  font-family: var(--font-brand);
}

.cbt-sim-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(18, 194, 201, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cbt-sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.cbt-candidate-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbt-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--scored-ed-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(18, 194, 201, 0.4);
}

.cbt-meta-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.cbt-meta-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.cbt-telemetry {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cbt-timer-box {
  background: rgba(9, 30, 61, 0.8);
  border: 1px solid rgba(30, 143, 230, 0.45);
  padding: 8px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #7FE5EB;
  letter-spacing: 0.08em;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cbt-shield-badge {
  background: rgba(18, 194, 201, 0.15);
  border: 1px solid rgba(18, 194, 201, 0.4);
  color: var(--scored-teal);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
}

.cbt-sim-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

@media (max-width: 900px) {
  .cbt-sim-grid {
    grid-template-columns: 1fr;
  }
}

.cbt-question-pane {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
}

.cbt-q-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #7FE5EB;
  font-weight: 600;
  font-family: var(--font-slogan);
}

.cbt-q-text {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 500;
}

.cbt-formula-pill {
  display: inline-block;
  background: rgba(21, 84, 201, 0.22);
  border: 1px dashed rgba(30, 143, 230, 0.6);
  color: #C3E2FE;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Courier New', Courier, monospace;
  margin-bottom: 18px;
}

.cbt-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.cbt-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.cbt-option:hover {
  background: rgba(21, 84, 201, 0.16);
  border-color: rgba(30, 143, 230, 0.5);
  transform: translateX(4px);
}

.cbt-option.selected {
  background: rgba(21, 84, 201, 0.35);
  border-color: var(--scored-sky);
  box-shadow: 0 0 16px rgba(30, 143, 230, 0.4);
}

.cbt-opt-label {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  transition: background 0.2s ease;
}

.cbt-option.selected .cbt-opt-label {
  background: var(--scored-royal);
  color: #ffffff;
}

.cbt-opt-val {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.94);
  flex: 1;
}

.cbt-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cbt-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-slogan);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.cbt-btn-save {
  background: var(--scored-royal);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 84, 201, 0.4);
}

.cbt-btn-save:hover {
  background: #0F42A6;
  transform: translateY(-1px);
}

.cbt-btn-review {
  background: rgba(249, 169, 27, 0.18);
  color: var(--scored-gold);
  border-color: rgba(249, 169, 27, 0.4);
}

.cbt-btn-review:hover {
  background: rgba(249, 169, 27, 0.3);
}

.cbt-btn-clear {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.2);
}

.cbt-btn-clear:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cbt-btn-submit {
  background: var(--scored-ed-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(18, 194, 201, 0.4);
}

.cbt-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18, 194, 201, 0.55);
}

/* Palette Side */
.cbt-palette-pane {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
}

.cbt-palette-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cbt-palette-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.cbt-pal-pill {
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cbt-pal-pill:hover {
  transform: scale(1.08);
}

.cbt-pal-pill.ans {
  background: var(--scored-teal);
  border-color: #0FA8AE;
  color: #ffffff;
}

.cbt-pal-pill.active {
  background: var(--scored-royal);
  border-color: var(--scored-sky);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(21, 84, 201, 0.9);
}

.cbt-pal-pill.flag {
  background: var(--scored-amber);
  border-color: var(--scored-gold);
  color: var(--scored-navy);
}

.cbt-legend-list {
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cbt-leg-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbt-leg-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Modal for Instant AI Grading */
.cbt-grade-modal-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 61, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  padding: 30px;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease forwards;
}

.cbt-grade-modal-overlay.open {
  display: flex;
}

.cbt-score-card {
  background: var(--scored-navy);
  border: 2px solid var(--scored-sky);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.cbt-score-big {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--scored-ed-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 10px 0 4px;
}

.cbt-radar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 24px;
  text-align: left;
}

.cbt-radar-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  border-radius: 10px;
}

.cbt-radar-tile h6 {
  font-size: 0.78rem;
  color: #7FE5EB;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cbt-radar-tile p {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cbt-close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 3. Live Biometric Attendance Stream Widget (Warm Cream & Navy) --- */
.bio-stream-widget {
  background: #ffffff;
  border: 1px solid var(--scored-cream);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15, 46, 92, 0.06);
  margin-block: 20px;
}

.bio-stream-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 46, 92, 0.08);
  margin-bottom: 18px;
}

.bio-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .bio-kpis {
    grid-template-columns: 1fr;
  }
}

.bio-kpi-item {
  background: var(--scored-cream);
  border: 1px solid rgba(249, 169, 27, 0.2);
  border-radius: 12px;
  padding: 14px;
}

.bio-kpi-item span {
  font-size: 0.8rem;
  color: var(--scored-slate);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-slogan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bio-kpi-item b {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--scored-navy);
}

.bio-feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bio-punch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FCFAF6;
  border: 1px solid rgba(232, 226, 213, 0.8);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.bio-punch-row:hover {
  background: #F8EFDD;
  border-color: rgba(249, 169, 27, 0.4);
  transform: translateX(3px);
}

.bio-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bio-pill-time {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--scored-royal);
  background: rgba(21, 84, 201, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.bio-sms-sent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 194, 201, 0.12);
  border: 1px solid rgba(18, 194, 201, 0.35);
  color: #0B7E83;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-slogan);
}

/* --- 4. Interactive Legacy Migration Simulator Widget --- */
.migration-simulator-box {
  background: #ffffff;
  border: 2px dashed rgba(21, 84, 201, 0.35);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  margin-block: 28px;
  box-shadow: 0 10px 30px rgba(15, 46, 92, 0.06);
  transition: border-color 0.2s ease;
}

.migration-simulator-box:hover {
  border-color: var(--scored-royal);
}

.mig-icon-glow {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--scored-ed-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(21, 84, 201, 0.35);
}

.mig-icon-glow svg {
  width: 32px;
  height: 32px;
}

.mig-progress-bar-wrap {
  display: none;
  background: var(--scored-cream);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  margin: 24px auto;
  max-width: 540px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.mig-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--scored-ed-gradient);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.mig-status-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--scored-royal);
  margin-top: 10px;
  min-height: 24px;
  font-family: var(--font-slogan);
}

.mig-success-result {
  display: none;
  background: #F4FBF9;
  border: 1px solid rgba(18, 194, 201, 0.35);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  text-align: left;
  animation: fadeIn 0.3s ease forwards;
}

.mig-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .mig-result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mig-result-tile {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

.mig-result-tile b {
  display: block;
  font-size: 1.4rem;
  color: var(--scored-navy);
  font-weight: 800;
}

.mig-result-tile span {
  font-size: 0.78rem;
  color: var(--scored-slate);
  font-weight: 600;
}

/* --- 5. Interactive Institutional ROI Calculator --- */
.roi-calculator-box {
  background: #ffffff;
  border: 1px solid rgba(15, 46, 92, 0.08);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 10px 32px rgba(15, 46, 92, 0.06);
  margin-block: 30px;
}

.roi-slider-container {
  margin: 24px 0 32px;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.roi-slider-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--scored-royal);
  font-family: var(--font-headings);
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--scored-cream);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--scored-royal);
  box-shadow: 0 2px 10px rgba(21, 84, 201, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

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

@media (max-width: 800px) {
  .roi-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.roi-metric-tile {
  background: var(--scored-cream);
  border: 1px solid rgba(249, 169, 27, 0.2);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roi-metric-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 46, 92, 0.08);
}

.roi-tile-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--scored-navy);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-headings);
}

.roi-tile-sub {
  font-size: 0.84rem;
  color: var(--scored-slate);
  font-weight: 600;
  font-family: var(--font-slogan);
}

/* --- 6. AI-Powered Evaluations Video Interaction Showcase --- */
.eval-showcase-wrap {
  background: transparent;
  padding-block: 40px;
}

.eval-container-card {
  background: #FAF6ED;
  border: 1px solid rgba(249, 169, 27, 0.3);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 46, 92, 0.06);
}

.eval-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.eval-header-center h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  color: var(--scored-navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.eval-header-center p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--scored-slate);
  line-height: 1.6;
}

/* Video / Simulation Screen Stage (Navy Canvas) */
.eval-screen-stage {
  background: var(--scored-navy);
  border: 2px solid rgba(18, 194, 201, 0.4);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 46, 92, 0.4);
  padding: 28px;
  margin: 0 auto 36px;
  max-width: 960px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eval-screen-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(var(--scored-sky) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.eval-screen-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  display: none;
}

.eval-screen-content.active {
  display: block;
  animation: evalSlideFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes evalSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Floating Selector Cards */
.eval-tabs-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.eval-tab-card {
  flex: 1;
  min-width: 220px;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 46, 92, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible !important;
  user-select: none;
}

/* Subtle Countdown Progress Line on Active Tab */
.eval-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #12C2C9, #1554C9);
  border-radius: 0 0 18px 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.eval-tab-card.active .eval-tab-progress {
  opacity: 1;
  animation: evalProgressFill 4000ms linear forwards;
}

.eval-container-card:hover .eval-tab-card.active .eval-tab-progress {
  animation-play-state: paused;
}

@keyframes evalProgressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.eval-tab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21, 84, 201, 0.15);
  border-color: rgba(21, 84, 201, 0.3);
}

.eval-tab-card.active {
  border-color: var(--scored-royal);
  box-shadow: 0 14px 32px rgba(21, 84, 201, 0.22);
  transform: translateY(-6px);
}

.eval-tab-pointer {
  display: none;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: #ffffff;
  border: 2px solid var(--scored-royal, #1554C9);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(15, 46, 92, 0.22);
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.eval-tab-card.active .eval-tab-pointer {
  display: flex !important;
}

.eval-tab-pointer::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid var(--scored-royal, #1554C9);
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  margin-left: 3px;
  display: block;
}

.eval-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(21, 84, 201, 0.08);
  border: 1px solid rgba(21, 84, 201, 0.15);
  color: var(--scored-royal);
}

.eval-tab-card.active .eval-card-icon {
  background: var(--scored-royal);
  color: #ffffff;
}

.eval-card-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--scored-navy);
  font-family: var(--font-headings);
}

/* Responsive adjustments for AI-Powered Evaluations Showcase */
@media (max-width: 900px) {
  .eval-tabs-row {
    gap: 14px;
  }
  .eval-tab-card {
    flex: 1 1 calc(50% - 14px);
    min-width: 180px;
    padding: 14px 18px;
  }
}

@media (max-width: 768px) {
  .eval-screen-content [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .eval-screen-stage {
    padding: 18px 16px !important;
    min-height: auto !important;
  }
  .eval-tab-card {
    flex: 1 1 100% !important;
    min-width: 100% !important;
    padding: 14px 18px !important;
  }
  .eval-container-card {
    padding: 24px 14px !important;
    border-radius: 20px !important;
  }
  .eval-tabs-row {
    gap: 10px !important;
  }
}

/* --- 7. Comprehensive 8-Column Scored Institutional Feature Matrix --- */
.vx-matrix-section {
  padding-block: 72px;
  background: #ffffff;
  position: relative;
}

.vx-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 48px;
  row-gap: 52px;
}

@media (max-width: 1100px) {
  .vx-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 36px;
    row-gap: 40px;
  }
}

@media (max-width: 640px) {
  .vx-matrix-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
}

.vx-matrix-col {
  display: flex;
  flex-direction: column;
}

.vx-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: none;
  padding-bottom: 0;
}

.vx-col-icon {
  width: 26px;
  height: 26px;
  color: var(--scored-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vx-col-icon svg {
  width: 22px;
  height: 22px;
}

.vx-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--scored-navy);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.vx-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.vx-feature-list li {
  font-size: 0.93rem;
  color: var(--scored-slate);
  line-height: 1.45;
  padding-left: 0;
  margin: 0;
  transition: color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  display: block;
}

.vx-feature-list li::before {
  display: none !important;
  content: "" !important;
}

.vx-feature-list li:hover {
  color: var(--scored-royal);
  transform: translateX(4px);
}

/* Header Horizontal Logo & Slogan Tuning */
.site-header .brand {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-decoration: none !important;
  gap: 0 !important;
  padding: 4px 0 !important;
}

.brand-logo-img, .site-header .brand img {
  height: 62px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(15, 46, 92, 0.1)) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease !important;
}

.site-header .brand:hover img {
  transform: scale(1.03) !important;
  filter: drop-shadow(0 4px 16px rgba(21, 84, 201, 0.25)) !important;
}

/* Hide duplicate text slogan if present */
.site-header-slogan {
  display: none !important;
}

@media (max-width: 768px) {
  .brand-logo-img, .site-header .brand img {
    height: 46px !important;
    max-width: 190px !important;
  }
}

/* ============================================================
   8-CATEGORY MEGA-MENU DROPDOWN FOR "FEATURES" TAB
   ============================================================ */
.site-header .wrap {
  position: relative !important;
}

.site-header .has-menu {
  position: static !important;
}

.site-header .dropdown,
.dropdown.mega-dropdown,
#features-menu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 20px !important;
  right: 20px !important;
  width: auto !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  transform: none !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 64px rgba(15, 46, 92, 0.18), 0 4px 16px rgba(21, 84, 201, 0.08) !important;
  border: 1px solid rgba(249, 169, 27, 0.2) !important;
  padding: 34px 38px 22px !important;
  z-index: 1000 !important;
}

.site-header .dropdown::before,
#features-menu::before {
  display: none !important;
}

.mega-matrix-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  column-gap: 36px !important;
  row-gap: 32px !important;
}

@media (max-width: 1024px) {
  .mega-matrix-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 28px !important;
    row-gap: 26px !important;
  }
}

.mega-col {
  display: flex !important;
  flex-direction: column !important;
}

.mega-col-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.mega-col-icon {
  width: 24px !important;
  height: 24px !important;
  color: var(--scored-royal) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.mega-col-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.mega-col-title {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: var(--scored-navy) !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
  font-family: var(--font-headings) !important;
}

.mega-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.mega-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.dropdown.mega-dropdown a,
#features-menu a {
  display: inline-flex !important;
  grid-template-columns: none !important;
}

.mega-list li a {
  display: block !important;
  grid-template-columns: none !important;
  font-size: 0.88rem !important;
  color: var(--scored-slate) !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  padding: 0 !important;
  background: transparent !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
  font-weight: 500 !important;
}

.mega-list li a:hover {
  color: var(--scored-royal) !important;
  transform: translateX(3px) !important;
  background: transparent !important;
}

.mega-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  margin-top: 26px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(15, 46, 92, 0.08) !important;
  font-size: 0.88rem !important;
}

.mega-footer-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 !important;
}

.mega-footer-right {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.mega-footer-right a.btn {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  min-height: 40px !important;
  height: 40px !important;
  font-size: 0.88rem !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
  font-family: var(--font-slogan) !important;
}

.mega-footer-tag {
  background: var(--scored-navy) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  margin-right: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
  font-family: var(--font-slogan) !important;
}

.mega-footer-link {
  display: inline-flex !important;
  grid-template-columns: none !important;
  color: var(--scored-royal) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  margin-right: 16px !important;
  font-family: var(--font-slogan) !important;
}

.mega-footer-link:hover {
  text-decoration: underline !important;
}

/* ============================================================
   APPROVED SIGNATURE BACKGROUND
   Base cream #F3E7D1 with subtle warm lighting
   ============================================================ */
.signature-cream-bg, .bg-signature-cream {
  background-color: var(--scored-cream-base) !important;
  background-image:
    radial-gradient(ellipse 60% 50% at 95% 10%, rgba(255, 255, 255, 0.75) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(249, 169, 27, 0.08) 0%, transparent 60%);
}

/* Floating Contact Button (Direct Contact hello@scored.co.in) */
.floating-chat-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: var(--scored-navy) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(15, 46, 92, 0.35) !important;
  z-index: 999 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  text-decoration: none !important;
  border: 2px solid var(--scored-amber) !important;
}

.floating-chat-btn:hover {
  transform: scale(1.08) !important;
  background: var(--scored-royal) !important;
  box-shadow: 0 12px 30px rgba(21, 84, 201, 0.5) !important;
}

.floating-chat-btn svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* Button Refinement based on Brand Guidelines */
.btn-primary {
  background: var(--scored-royal) !important;
  color: #ffffff !important;
  font-family: var(--font-slogan) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(21, 84, 201, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover {
  background: #0F42A6 !important;
  box-shadow: 0 6px 18px rgba(21, 84, 201, 0.45) !important;
  transform: translateY(-1px) !important;
}

.btn-gold, .btn-amber {
  background: var(--scored-amber) !important;
  color: var(--scored-navy) !important;
  font-family: var(--font-slogan) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(249, 169, 27, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-gold:hover, .btn-amber:hover {
  background: var(--scored-gold) !important;
  color: var(--scored-navy) !important;
  box-shadow: 0 6px 20px rgba(249, 169, 27, 0.5) !important;
  transform: translateY(-1px) !important;
}

.btn-outline {
  border: 2px solid var(--scored-royal) !important;
  color: var(--scored-royal) !important;
  background: transparent !important;
  font-family: var(--font-slogan) !important;
}

.btn-outline:hover {
  background: rgba(21, 84, 201, 0.06) !important;
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  background: transparent !important;
  font-family: var(--font-slogan) !important;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Hide login & demo dialog cleanly */
dialog.demo, #demo {
  display: none !important;
}

/* Site Header & Navigation Active States */
.site-header {
  background: #ffffff !important;
  box-shadow: 0 2px 16px rgba(15, 46, 92, 0.05) !important;
  border-bottom: 1px solid rgba(15, 46, 92, 0.06) !important;
}

.nav-links > li > a {
  color: var(--scored-navy) !important;
  font-family: var(--font-brand) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  transition: color 0.15s ease !important;
}

.nav-links > li > a:hover,
.menu-btn:hover {
  color: var(--scored-royal) !important;
}

.nav-links > li > a.active,
.nav-links > li > a[aria-current="page"],
.menu-btn.active {
  color: var(--scored-royal) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--scored-royal) !important;
  background: transparent !important;
}

.menu-btn {
  font-family: var(--font-brand) !important;
  color: var(--scored-navy) !important;
}

/* Mobile Menu Enhancements */
.mobile-menu a {
  font-family: var(--font-brand) !important;
  color: var(--scored-navy) !important;
  font-weight: 500 !important;
}

.mobile-menu a.active-page {
  color: var(--scored-royal) !important;
  font-weight: 700 !important;
}

.mobile-menu .m-feat {
  font-family: var(--font-brand) !important;
  color: var(--scored-navy) !important;
}

/* ============================================================
   SCORED FOOTER BRAND & ATTRACTIVE LOGO EMBLEM BADGE
   ============================================================ */
.foot-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.foot-logo-card {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  padding: 16px !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 42px rgba(15, 46, 92, 0.14), 0 4px 16px rgba(249, 169, 27, 0.24) !important;
  border: 2px solid rgba(249, 169, 27, 0.6) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  width: fit-content !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.foot-logo-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #12C2C9 0%, #1554C9 50%, #F9A91B 100%) !important;
}

.foot-logo-card:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 22px 50px rgba(15, 46, 92, 0.24), 0 6px 24px rgba(249, 169, 27, 0.38) !important;
  border-color: var(--scored-amber, #F9A91B) !important;
}

.foot-logo-img {
  width: 155px !important;
  height: 155px !important;
  max-width: 155px !important;
  max-height: 155px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 3px 10px rgba(15, 46, 92, 0.08)) !important;
  transition: transform 0.3s ease !important;
}

.foot-logo-card:hover .foot-logo-img {
  transform: scale(1.02) !important;
}

.foot-tagline {
  font-family: var(--font-slogan, 'Poppins', sans-serif) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--scored-royal, #1554C9) !important;
  margin: 18px 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.foot-tagline::before {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--scored-amber, #F9A91B) !important;
  box-shadow: 0 0 8px rgba(249, 169, 27, 0.8) !important;
}

.foot-brand .about {
  color: var(--scored-slate, #46566B) !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
  max-width: 34ch !important;
  margin-top: 4px !important;
}

/* ============================================================
   PRICING PLAN CARDS PERFECT ALIGNMENT & RECOMMENDED BADGE
   ============================================================ */
.plans {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px !important;
  align-items: stretch !important;
  margin-top: 40px !important;
}

@media (max-width: 1000px) {
  .plans {
    grid-template-columns: 1fr !important;
    max-width: 520px !important;
    margin: 40px auto 0 !important;
  }
}

.plan {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(15, 46, 92, 0.06) !important;
  background: #ffffff !important;
  transition: transform 0.28s cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 0.28s cubic-bezier(0.2, 0.75, 0.25, 1), border-color 0.28s cubic-bezier(0.2, 0.75, 0.25, 1) !important;
}

.plan:not(.featured) {
  padding: 40px 30px 34px !important;
  border: 1px solid rgba(219, 230, 242, 0.85) !important;
  overflow: hidden !important;
}

.plan:not(.featured)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #12C2C9 0%, #1E8FE6 45%, #F9A91B 100%) !important;
  opacity: 0.9 !important;
  z-index: 2 !important;
  border-top-left-radius: 24px !important;
  border-top-right-radius: 24px !important;
}

.plan.featured {
  background: var(--scored-navy, #0F2E5C) !important;
  color: #ffffff !important;
  border: 2px solid var(--scored-royal, #1554C9) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(15, 46, 92, 0.26) !important;
  padding: 48px 32px 34px !important;
  margin-top: 0 !important;
  overflow: visible !important;
  z-index: 3 !important;
}

/* Remove 3px gradient line from featured plan so it doesn't cut the badge or corners */
.plan.featured::before {
  display: none !important;
}

.plan.featured:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 32px 75px rgba(15, 46, 92, 0.34) !important;
}

.plan:not(.featured):hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 22px 55px rgba(15, 46, 92, 0.13) !important;
  border-color: #c8dcef !important;
}

/* Floating Recommended Badge Pill */
.plan.featured .tag {
  position: absolute !important;
  top: -16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: var(--scored-royal, #1554C9) !important;
  color: #ffffff !important;
  font-family: var(--font-slogan, 'Poppins', sans-serif) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 7px 24px !important;
  border-radius: 999px !important;
  border: 2px solid var(--scored-navy, #0F2E5C) !important;
  box-shadow: 0 6px 18px rgba(15, 46, 92, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25) !important;
  white-space: nowrap !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.plan h3 {
  font-size: 1.45rem !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  font-family: var(--font-brand, 'Outfit', sans-serif) !important;
  font-weight: 700 !important;
}

.plan:not(.featured) h3 {
  color: var(--scored-navy, #0F2E5C) !important;
}

.plan.featured h3 {
  color: #ffffff !important;
}

.plan .for {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  margin: 0 0 20px !important;
  min-height: 48px !important;
}

.plan:not(.featured) .for {
  color: var(--scored-slate, #46566B) !important;
}

.plan.featured .for {
  color: rgba(255, 255, 255, 0.85) !important;
}

.plan .incl {
  font-family: var(--font-brand, 'Outfit', sans-serif) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(15, 46, 92, 0.08) !important;
}

.plan:not(.featured) .incl {
  color: var(--scored-royal, #1554C9) !important;
  border-bottom-color: rgba(15, 46, 92, 0.08) !important;
}

.plan.featured .incl {
  color: var(--scored-amber, #F9A91B) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

.plan ul {
  list-style: none !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  font-size: 0.96rem !important;
}

.plan li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  line-height: 1.45 !important;
}

.plan:not(.featured) li {
  color: var(--scored-navy, #0F2E5C) !important;
}

.plan.featured li {
  color: #ffffff !important;
}

.plan li svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.plan:not(.featured) li svg {
  color: var(--scored-teal, #12C2C9) !important;
}

.plan.featured li svg {
  color: var(--scored-amber, #F9A91B) !important;
}

.plan .btn {
  width: 100% !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
  margin-top: auto !important;
  text-align: center !important;
  text-decoration: none !important;
  font-family: var(--font-slogan, 'Poppins', sans-serif) !important;
}

/* Comparison Table Navy Header */

.compare thead th {
  background: #0F2E5C !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  padding: 16px 22px !important;
}
.compare thead th.us {
  background: #1554C9 !important;
  color: #ffffff !important;
}

/* Footer Social Links - Horizontal Row */
.foot-socials {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

.foot-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(18, 194, 201, 0.1) !important;
  color: #0F2E5C !important;
  transition: all 0.2s ease !important;
}

.foot-social-link svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}

.foot-social-link:hover {
  transform: translateY(-2px) !important;
  background: #1554C9 !important;
  color: #ffffff !important;
}

/* ============================================================
   Homepage Hero: Left-Aligned Layout
   Places headline, lede, CTAs, and points on the left
   so background video and dashboard elements remain clearly visible
   ============================================================ */
.vx-hero {
  display: flex !important;
  align-items: center !important;
  text-align: left !important;
}

.vx-hero .hero-center {
  text-align: left !important;
  max-width: 680px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding-top: clamp(48px, 6.5vw, 88px) !important;
  padding-bottom: clamp(52px, 6.5vw, 92px) !important;
  pointer-events: none !important;
}

.vx-hero .hero-center a,
.vx-hero .hero-center button {
  pointer-events: auto !important;
}

.vx-hero .future-badge {
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-bottom: 16px !important;
}

.vx-hero h1,
.vx-hero #hero-title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 640px !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
  text-shadow: 0 2px 24px rgba(10, 33, 72, 0.8) !important;
}

.vx-hero .lede {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-top: 14px !important;
  margin-bottom: 24px !important;
  max-width: 52ch !important;
  font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  text-shadow: 0 1px 14px rgba(10, 33, 72, 0.75) !important;
}

.vx-hero .hero-ctas {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  gap: 14px !important;
  width: 100% !important;
}

.vx-hero .btn-primary {
  box-shadow: 0 4px 16px rgba(21, 84, 201, 0.45) !important;
}

.vx-hero .btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  background: rgba(15, 46, 92, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  transition: all 0.2s ease !important;
}

.vx-hero .btn-outline:hover {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.vx-hero .hero-points {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding: 0 !important;
  gap: 20px !important;
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(10, 33, 72, 0.75) !important;
}

.vx-hero .hero-points li {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.92rem !important;
}

/* Directional Gradient: Darker on the left for text contrast, open on the right for video */
.vx-hero .hero-tint {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(10, 33, 72, 0.92) 0%, rgba(10, 33, 72, 0.78) 46%, rgba(10, 33, 72, 0.32) 78%, rgba(10, 33, 72, 0.15) 100%),
              linear-gradient(180deg, rgba(10, 33, 72, 0.40) 0%, transparent 40%, rgba(10, 33, 72, 0.65) 100%) !important;
}

/* Enhanced 3D Process Step Card Illustrations */
.step .step-img {
  width: 140px !important;
  height: 140px !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  margin: 0 auto 16px !important;
  display: block !important;
  box-shadow: 0 8px 24px -4px rgba(15, 46, 92, 0.12), 0 2px 6px rgba(18, 194, 201, 0.08) !important;
  border: 1px solid rgba(220, 231, 245, 0.8) !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease !important;
}

.step:hover .step-img {
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: 0 16px 32px -6px rgba(15, 46, 92, 0.18), 0 4px 12px rgba(18, 194, 201, 0.15) !important;
}


/* ============================================================
   Product Tour (Dashboard / CBT / Analysis) 4s Auto-Switching
   ============================================================ */
.seg {
  overflow: visible !important;
  position: relative !important;
}

.seg button {
  position: relative !important;
  overflow: visible !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.seg button[aria-selected="true"] {
  background: var(--scored-royal, #1554C9) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(21, 84, 201, 0.35) !important;
}

/* Floating Active Play Symbol Pointer */
.seg-pointer {
  display: none;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background: #ffffff;
  border: 2px solid var(--scored-royal, #1554C9);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(15, 46, 92, 0.22);
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.seg button[aria-selected="true"] .seg-pointer {
  display: flex !important;
}

.seg-pointer::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6.5px solid var(--scored-royal, #1554C9);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  margin-left: 2px;
  display: block;
}

/* 4-Second Animated Progress Countdown Line */
.seg button .prog {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 3.5px !important;
  width: 0% !important;
  background: linear-gradient(90deg, #12C2C9, #FFC24D) !important;
  border-radius: 0 0 9px 9px !important;
  pointer-events: none !important;
}

.seg button[aria-selected="true"] .prog.run {
  animation: prog var(--dur, 4000ms) linear forwards !important;
}

.stage:hover .seg button[aria-selected="true"] .prog.run {
  animation-play-state: paused !important;
}

/* Smooth Panel Slide-Fade Transitions */
.panel:not([hidden]) {
  display: block !important;
  animation: stageSlideFadeIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes stageSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.996);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   ORGANIZATION CHART & CORPORATE GOVERNANCE STYLES
   ========================================================================== */
.org-chart-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

/* Filter Navigation Bar */
.org-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto clamp(32px, 5vw, 48px);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #DCE7F5;
  border-radius: 999px;
  max-width: 980px;
  box-shadow: 0 4px 20px rgba(15, 46, 92, 0.05);
}

.org-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--scored-navy, #0F2E5C);
  font-family: var(--font-headings, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.org-filter-btn:hover {
  background: rgba(21, 84, 201, 0.08);
  color: var(--scored-royal, #1554C9);
}

.org-filter-btn.active {
  background: var(--scored-royal, #1554C9);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 84, 201, 0.35);
}

.org-filter-btn .count-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}

.org-filter-btn.active .count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Section Header in Org View */
.org-tier-header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
  position: relative;
}

.org-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.org-tier-badge.executive {
  background: rgba(249, 169, 27, 0.14);
  color: #B57403;
  border: 1px solid rgba(249, 169, 27, 0.35);
}

.org-tier-badge.leads {
  background: rgba(21, 84, 201, 0.1);
  color: var(--scored-royal, #1554C9);
  border: 1px solid rgba(21, 84, 201, 0.25);
}

.org-tier-badge.members {
  background: rgba(18, 194, 201, 0.12);
  color: #0B7D82;
  border: 1px solid rgba(18, 194, 201, 0.3);
}

.org-tier-badge.company {
  background: rgba(15, 46, 92, 0.08);
  color: var(--scored-navy, #0F2E5C);
  border: 1px solid rgba(15, 46, 92, 0.2);
}

.org-tier-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
  margin: 0 0 8px 0;
}

.org-tier-desc {
  font-size: 0.98rem;
  color: #556987;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Level 1: Executive & Founders Grid */
.org-executive-grid {
  display: flex;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 48px);
  position: relative;
}

.org-executive-grid .org-founder-card {
  width: 100%;
}

.org-founder-card {
  background: #ffffff;
  border: 1.5px solid #D8E4F3;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 32px);
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 46, 92, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.org-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 46, 92, 0.12);
  border-color: #B9D2F2;
}

.org-founder-card.primary {
  border-top: 5px solid #F9A91B;
}

.org-founder-card.tech {
  border-top: 5px solid var(--scored-royal, #1554C9);
}

.org-card-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.org-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-headings, 'Outfit', sans-serif);
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(15, 46, 92, 0.1);
}

.org-avatar.gold {
  background: linear-gradient(135deg, #FFDF80 0%, #F9A91B 100%);
  color: #5C3800;
  border: 2px solid #FFF3D1;
}

.org-avatar.royal {
  background: linear-gradient(135deg, #1554C9 0%, #0F2E5C 100%);
  color: #ffffff;
  border: 2px solid #92B9F7;
}

.org-avatar.teal {
  background: linear-gradient(135deg, #12C2C9 0%, #09878D 100%);
  color: #ffffff;
  border: 2px solid #A4E8EB;
}

.org-avatar.navy {
  background: linear-gradient(135deg, #0F2E5C 0%, #1F3F6D 100%);
  color: #ffffff;
  border: 2px solid #CADAF0;
}

.org-avatar.coral {
  background: linear-gradient(135deg, #FF764D 0%, #D84315 100%);
  color: #ffffff;
  border: 2px solid #FFD0C2;
}

.org-person-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.org-person-role {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--scored-royal, #1554C9);
  margin-bottom: 6px;
}

.org-tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.org-tag-pill.gold {
  background: rgba(249, 169, 27, 0.14);
  color: #8C5500;
}

.org-tag-pill.royal {
  background: rgba(21, 84, 201, 0.12);
  color: #1554C9;
}

.org-tag-pill.teal {
  background: rgba(18, 194, 201, 0.14);
  color: #077176;
}

.org-person-bio {
  font-size: 0.93rem;
  color: #4A5D78;
  line-height: 1.6;
  margin-bottom: 16px;
}

.org-card-details {
  background: #F8FAFD;
  border: 1px solid #E4EDF7;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
}

.org-detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  margin-bottom: 8px;
  line-height: 1.45;
}

.org-detail-row:last-child {
  margin-bottom: 0;
}

.org-detail-label {
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
  min-width: 110px;
  flex-shrink: 0;
}

.org-detail-val {
  color: #384A62;
}

/* Connecting Hierarchy Line on Desktop */
.org-hierarchy-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -10px auto 36px;
  position: relative;
}

.org-trunk-line {
  width: 2px;
  height: 38px;
  background: linear-gradient(180deg, #1554C9, #12C2C9);
}

.org-branch-label {
  background: #ffffff;
  border: 1px solid #D5E3F5;
  color: var(--scored-navy, #0F2E5C);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 46, 92, 0.06);
  margin-top: -6px;
}

/* Level 2: Team Leaders Grid */
.org-leads-grid {
  display: flex;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 48px);
}

.org-leads-grid .org-lead-card {
  width: 100%;
}

.org-lead-card {
  background: #ffffff;
  border: 1.5px solid #DCE7F5;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 22px rgba(15, 46, 92, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.org-lead-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 46, 92, 0.1);
  border-color: #A9CAEE;
}

.org-lead-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.org-lead-header .org-avatar {
  width: 54px;
  height: 54px;
  font-size: 1.25rem;
  border-radius: 14px;
}

.org-lead-title-block h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.org-lead-role {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--scored-royal, #1554C9);
}

.org-lead-dept {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  background: #EDF3FC;
  color: #174E96;
  margin-bottom: 12px;
}

.org-lead-desc {
  font-size: 0.89rem;
  color: #4C5D75;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.org-lead-footer {
  border-top: 1px solid #EDF3FA;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #62748D;
  margin-top: auto;
}

.org-lead-team-count {
  font-weight: 600;
  color: var(--scored-navy, #0F2E5C);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Level 3: Members Grid */
.org-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(20px, 3vw, 28px);
  max-width: 860px;
  margin: 0 auto clamp(48px, 6vw, 64px);
}

.org-member-card {
  background: #ffffff;
  border: 1px solid #E2ECF7;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(15, 46, 92, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.org-member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 46, 92, 0.08);
  border-color: #B5D1F2;
}

.org-member-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.org-member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F6FC;
  color: var(--scored-navy, #0F2E5C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #D5E3F5;
  flex-shrink: 0;
}

.org-member-info h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
  margin: 0 0 2px 0;
}

.org-member-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--scored-royal, #1554C9);
}

.org-member-dept-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #F4F7FB;
  color: #556780;
  margin-bottom: 10px;
}

.org-member-summary {
  font-size: 0.86rem;
  color: #4C5E78;
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.org-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.org-skill-badge {
  font-size: 0.72rem;
  background: #F0F4FA;
  color: #2D4260;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}

/* Company Details Section */
.org-company-section {
  background: #F7FAFE;
  border: 1px solid #DDE8F5;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: clamp(48px, 6vw, 64px);
  box-shadow: 0 8px 30px rgba(15, 46, 92, 0.04);
}

.org-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.org-company-card {
  background: #ffffff;
  border: 1px solid #DFEAF7;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 46, 92, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.org-company-card:hover {
  transform: translateY(-2px);
  border-color: #B2D0F3;
}

.org-company-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.org-company-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(21, 84, 201, 0.1);
  color: var(--scored-royal, #1554C9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.org-company-icon.gold {
  background: rgba(249, 169, 27, 0.14);
  color: #9C6200;
}

.org-company-icon.teal {
  background: rgba(18, 194, 201, 0.14);
  color: #077176;
}

.org-company-icon.navy {
  background: rgba(15, 46, 92, 0.1);
  color: var(--scored-navy, #0F2E5C);
}

.org-company-card-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
  margin: 0;
}

.org-company-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.org-company-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  line-height: 1.5;
  color: #425570;
}

.org-company-list strong {
  color: var(--scored-navy, #0F2E5C);
  min-width: 95px;
  flex-shrink: 0;
}

.org-company-list a {
  color: var(--scored-royal, #1554C9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-company-list a:hover {
  color: var(--scored-navy, #0F2E5C);
}

/* Compliance Badges Matrix */
.org-compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.org-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #EEF4FC;
  border: 1px solid #D1E1F5;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--scored-navy, #0F2E5C);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .org-filter-nav {
    border-radius: 999px;
    padding: 6px 10px;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    max-width: 100%;
  }
  .org-filter-nav::-webkit-scrollbar {
    display: none;
  }
  .org-filter-btn {
    flex-shrink: 0 !important;
    font-size: 0.85rem;
    padding: 7px 14px;
  }
  .org-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .org-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.35rem;
  }
  .org-detail-row {
    flex-direction: column;
    gap: 2px;
  }
  .org-detail-label {
    min-width: auto;
  }
  .org-hierarchy-connector {
    display: none;
  }
  .org-company-list strong {
    min-width: 80px;
  }
}

/* Organization Bottom Call-to-Action */
.org-bottom-cta {
  text-align: center;
  padding: clamp(32px, 5vw, 48px) 20px;
  background: linear-gradient(135deg, #0F2E5C 0%, #1554C9 100%);
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 46, 92, 0.15);
}
.org-bottom-cta-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  background: none !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.org-bottom-cta-copy {
  color: #ffffff !important;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 24px;
  opacity: 1;
  line-height: 1.6;
}
.org-bottom-cta ::selection {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
}


/* ============================================================
   Small-screen fixes (landing page)
   ============================================================ */

/* Hero buttons: let long labels wrap instead of running off a narrow screen */
@media (max-width: 480px) {
  .vx-hero .hero-ctas .btn {
    white-space: normal !important;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Biometric feed: let the row and its status pill wrap inside the card */
.bio-punch-row {
  flex-wrap: wrap;
  gap: 8px 12px;
}
.bio-user-cell {
  min-width: 0;
  flex: 1 1 auto;
}
.bio-sms-sent {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .bio-user-cell {
    flex-wrap: wrap;
  }
  .bio-sms-sent {
    white-space: normal;
  }
}

/* Floating contact button: smaller on phones, and leave room so it never hides the footer */
@media (max-width: 700px) {
  .floating-chat-btn {
    width: 46px !important;
    height: 46px !important;
    bottom: 14px !important;
    right: 14px !important;
  }
  .floating-chat-btn svg {
    width: 20px;
    height: 20px;
  }
  body {
    padding-bottom: 68px;
  }
  .vx-hero .hero-center {
    padding-right: 24px !important;
  }
  .vx-hero .hero-points {
    max-width: calc(100% - 56px);
  }
}

/* Mail button on landscape phones: hide so it never sits over hero CTAs */
@media (orientation: landscape) and (max-height: 550px) {
  .floating-chat-btn {
    display: none !important;
  }
}

/* Touch targets: text links get at least a 40px tall tap area on phones */
@media (max-width: 768px) {
  .more-link,
  .card-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .more-link {
    margin-top: 12px;
  }
}

/* Touch targets in the footer and inline contact links on phones */
@media (max-width: 768px) {
  footer li > a,
  .foot-bottom a,
  .section.tint p a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}


/* ============================================================
   Hero video: on phones and portrait tablets the whole video is
   shown at the top, in its own 16:9 frame, with the headline and
   buttons underneath (a 16:9 video cropped into a tall narrow hero
   hides most of the picture)
   ============================================================ */
@media (max-width: 900px) {
  .vx-hero {
    --hv-gut: 24px;
    --hv-top: 24px;
    --hv-frame: min(calc(100vw - 2 * var(--hv-gut)), 760px);
    --hv-tg: 40px;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
  }
  .vx-hero .hero-bg {
    order: 1;
    position: relative;
    inset: auto;
    z-index: 0;
    width: var(--hv-frame);
    margin: var(--hv-top) auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(5, 18, 45, 0.45);
    background: #0A2148;
  }
  .vx-hero .hero-bg video {
    opacity: 1;
    object-fit: cover;
  }
  .vx-hero .hero-tint {
    display: none;
  }
  .vx-hero .hero-center {
    order: 2;
    padding-top: 28px !important;
    padding-bottom: 36px !important;
  }
  /* pause button: bottom-right corner of the video frame at the top */
  .vx-hero .hv-toggle {
    width: var(--hv-tg);
    height: var(--hv-tg);
    bottom: auto;
    top: calc(var(--hv-top) + var(--hv-frame) * 9 / 16 - var(--hv-tg) - 10px);
    right: calc((100% - var(--hv-frame)) / 2 + 10px);
  }
  .vx-hero .hv-toggle.attention {
    --hv-tg: 56px;
  }
}
@media (max-width: 480px) {
  .vx-hero {
    --hv-gut: 16px;
    --hv-top: 16px;
  }
  .vx-hero .hero-bg {
    border-radius: 12px;
  }
  .vx-hero .hero-center {
    padding-top: 22px !important;
  }
}
/* Short landscape phones: keep the page compact */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .vx-hero .hero-center {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* ============================================================
   Narrow-screen overflow fixes
   ============================================================ */
@media (max-width: 400px) {
  #brand-heritage [style*="minmax(320px"] {
    grid-template-columns: 1fr !important;
  }
}
.services-cards {
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
}
.foot-cta > * {
  min-width: 0;
}
@media (max-width: 480px) {
  .foot-cta .hero-ctas .btn,
  #btn-start-migration {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
  .foot-cta .hero-ctas .btn {
    width: 100%;
  }
}

/* ============================================================
   Readable text colours: the brand teal is too light for small text
   on white, so text uses a darker teal of the same hue
   ============================================================ */
:root {
  --teal-text: #0B7E83;
  --gold-text: #B45309;
}
.vx-head .sub,
.intro-top .sub,
.kpi small,
.path .who,
.path .step-circle,
.section p a:not(.btn) {
  color: var(--teal-text);
}
.compare .us .mk {
  background: var(--teal-text);
}
.count .n i {
  color: var(--gold-text);
}
.more-link {
  color: var(--teal-text);
}

/* Outline button on the dark footer banner: white on navy, on every page */
.foot-cta .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
}
.foot-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* Hero buttons: one clear primary action, the second one quieter */
.vx-hero .hero-ctas .btn-primary {
  box-shadow: 0 6px 22px rgba(21, 84, 201, 0.6) !important;
}
.vx-hero .hero-ctas .btn-outline {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 600;
}
