/**
 * Trust Health — Premium SaaS Website Stylesheet
 * Clean · Professional · Modern · Bootstrap 5 / MDB Compatible
 * PHP 7.4–8.1 | Inter (Google Fonts) + System Font Fallback
 */

/* ============================================================
   CSS Variables / Design Tokens
   ============================================================ */
:root {
  /* Brand Colors */
  --fitx-primary:       #1d6fe8;
  --fitx-primary-dark:  #1558c0;
  --fitx-primary-light: #dbeafe;
  --fitx-primary-glow:  rgba(29, 111, 232, 0.15);

  --fitx-teal:          #0d9488;
  --fitx-teal-dark:     #0f766e;
  --fitx-teal-light:    #ccfbf1;

  --fitx-gold:          #f59e0b;
  --fitx-gold-dark:     #d97706;
  --fitx-gold-light:    #fef3c7;

  --fitx-emerald:       #10b981;
  --fitx-success:       #16a34a;

  /* Text Colors */
  --fitx-dark:          #0f172a;
  --fitx-slate-700:     #334155;
  --fitx-slate:         #475569;
  --fitx-muted:         #64748b;

  /* Surfaces */
  --fitx-surface:       #ffffff;
  --fitx-surface-2:     #f8fafc;
  --fitx-surface-3:     #f1f5f9;
  --fitx-border:        #e2e8f0;
  --fitx-border-light:  #f1f5f9;

  /* Shadows */
  --fitx-shadow-xs: 0 1px 2px rgba(15,23,42,0.05);
  --fitx-shadow-sm: 0 2px 8px rgba(15,23,42,0.07);
  --fitx-shadow-md: 0 8px 24px rgba(15,23,42,0.09), 0 2px 6px rgba(15,23,42,0.04);
  --fitx-shadow-lg: 0 16px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.05);
  --fitx-shadow-xl: 0 28px 56px rgba(15,23,42,0.16), 0 8px 20px rgba(15,23,42,0.06);

  /* Border Radius */
  --fitx-radius-sm:   8px;
  --fitx-radius-md:   12px;
  --fitx-radius-lg:   18px;
  --fitx-radius-xl:   24px;
  --fitx-radius-pill: 9999px;

  /* Typography — Inter (Google) with system font fallback */
  --fitx-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  --fitx-font-bn: 'Hind Siliguri', 'SolaimanLipi', 'Noto Sans Bengali',
                  var(--fitx-font);

  /* Transition */
  --fitx-tr: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base Reset & Global
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fitx-font);
  color: var(--fitx-slate-700);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
html[lang="bn"] body {
  font-family: var(--fitx-font-bn);
}

#mainContent {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--fitx-primary);
  text-decoration: none;
  transition: color var(--fitx-tr);
}
a:hover { color: var(--fitx-primary-dark); }

/* Utility */
.text-teal    { color: var(--fitx-teal) !important; }
.text-gold    { color: var(--fitx-gold) !important; }
.text-slate   { color: var(--fitx-slate-700) !important; }
.bg-white-10  { background: rgba(255,255,255,0.08); }

.font-10 { font-size: 0.625rem; }
.font-11 { font-size: 0.6875rem; }
.font-12 { font-size: 0.75rem; }
.font-13 { font-size: 0.8125rem; }
.font-14 { font-size: 0.875rem; }
.font-15 { font-size: 0.9375rem; }
.font-16 { font-size: 1rem; }
.font-20 { font-size: 1.25rem; }
.fw-600  { font-weight: 600; }
.fw-700  { font-weight: 700; }
.fw-800  { font-weight: 800; }

/* ============================================================
   Scroll-Reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* ============================================================
   ★ NAVBAR
   ============================================================ */
.site-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fitx-border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  transition: box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}
.site-navbar .container {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Slim / Narrow Navbar on Scroll ── */
.site-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}
.site-navbar.scrolled .container {
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}
.site-navbar.scrolled .site-brand {
  font-size: 1.18rem;
}
.site-navbar.scrolled .site-brand .brand-icon {
  width: 28px;
  height: 28px;
  font-size: 0.82rem;
  border-radius: 6px;
}
.site-navbar.scrolled .nav-link,
.site-navbar.scrolled .nav-link:not(.btn) {
  padding-top: 0.28rem !important;
  padding-bottom: 0.28rem !important;
  font-size: 0.835rem !important;
}
.site-navbar.scrolled .navbar-actions .btn {
  padding-top: 0.32rem !important;
  padding-bottom: 0.32rem !important;
  font-size: 0.82rem !important;
}
.site-navbar.scrolled .navbar-actions .btn-outline-secondary {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
  font-size: 0.76rem !important;
}

/* Brand */
.site-brand {
  font-family: var(--fitx-font);
  font-size: 1.32rem;
  font-weight: 800;
  color: #0f2852 !important;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  letter-spacing: -0.025em;
  flex-shrink: 0;
  transition: font-size 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-brand .brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-navbar.scrolled .site-brand .brand-logo {
  height: 32px;
}
.site-brand .brand-name {
  color: #0f2852;
}
.site-brand .brand-accent {
  color: #0d9488;
}
.site-footer .site-brand {
  color: #f8fafc !important;
}
.site-footer .site-brand .brand-name {
  color: #f8fafc !important;
}
.site-footer .site-brand .brand-accent {
  color: #2dd4bf !important;
}

/* Override MDB nav-link */
.site-navbar .nav-link,
.site-navbar .nav-link:not(.btn) {
  font-family: var(--fitx-font) !important;
  font-size: 0.865rem !important;
  font-weight: 600 !important;
  color: var(--fitx-slate-700) !important;
  padding: 0.42rem 0.7rem !important;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, padding 0.28s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.28s ease;
  white-space: nowrap;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--fitx-primary) !important;
  background: rgba(29,111,232,0.07) !important;
}
.site-navbar .navbar-nav { flex-wrap: nowrap; }

/* Caret — hide default Bootstrap/MDB caret to prevent double arrows */
.site-navbar .nav-link.dropdown-toggle::after {
  display: none !important;
}
.dd-caret {
  font-size: 0.65rem;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.2s ease;
  vertical-align: 0.05em;
  opacity: 0.75;
}
.nav-link[aria-expanded="true"] .dd-caret,
.dropdown.show .dd-caret {
  transform: rotate(180deg);
}

/* Dropdown */
.site-navbar .dropdown-menu {
  border: 1px solid var(--fitx-border);
  box-shadow: var(--fitx-shadow-lg);
  border-radius: var(--fitx-radius-md);
  padding: 0.5rem;
  min-width: 250px;
  margin-top: 0.2rem !important;
}
.lang-dropdown-wrap .dropdown-menu {
  min-width: 130px !important;
  padding: 0.35rem !important;
}
.lang-dropdown-wrap .dropdown-item {
  padding: 0.42rem 0.75rem !important;
  font-size: 0.82rem !important;
}
.lang-dropdown-wrap .dropdown-item.active {
  background: rgba(29, 111, 232, 0.08) !important;
  color: var(--fitx-primary) !important;
  font-weight: 700;
}
/* Invisible hover bridge: covers the gap so moving cursor to dropdown never loses hover */
.site-navbar .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}
.dropdown-menu.show {
  display: block !important;
}
@media (min-width: 992px) {
  .site-navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
  .site-navbar .nav-item.dropdown:hover > .nav-link .dd-caret {
    transform: rotate(180deg);
  }
}
.site-navbar .dropdown-item {
  font-family: var(--fitx-font);
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--fitx-slate-700);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.65rem;
}
.site-navbar .dropdown-item-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
.site-navbar .dropdown-item i { font-size: 0.9rem; opacity: 0.75; }
.site-navbar .dropdown-item:hover {
  background: var(--fitx-primary-light);
  color: var(--fitx-primary);
}
.site-navbar .dropdown-divider { border-color: var(--fitx-border-light); margin: 0.3rem 0; }

/* ── Submenu Visited & Current Indicators ── */
.site-navbar .dropdown-item.is-current {
  background: rgba(29, 111, 232, 0.08) !important;
  color: var(--fitx-primary) !important;
  font-weight: 700;
}
.site-navbar .dropdown-item.is-visited {
  color: var(--fitx-dark);
}

.site-navbar .submenu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.16rem 0.5rem;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
  margin-left: auto;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.18s ease;
}

/* Visited Badge (Emerald Green) */
.site-navbar .submenu-badge.visited {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.site-navbar .dropdown-item:hover .submenu-badge.visited {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Current / Active Badge (FitX Royal Blue) */
.site-navbar .submenu-badge.current {
  background: rgba(29, 111, 232, 0.12);
  color: var(--fitx-primary);
  border: 1px solid rgba(29, 111, 232, 0.28);
}
.site-navbar .dropdown-item:hover .submenu-badge.current {
  background: var(--fitx-primary);
  color: #ffffff;
  border-color: var(--fitx-primary);
}

@media (max-width: 400px) {
  .site-navbar .submenu-badge .badge-text {
    display: none;
  }
  .site-navbar .submenu-badge {
    padding: 0.2rem;
    width: 20px;
    height: 20px;
    justify-content: center;
  }
}

/* ============================================================
   ★ BUTTONS
   ============================================================ */
.btn-fitx-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #1d6fe8 0%, #1558c0 100%);
  color: #fff !important;
  font-family: var(--fitx-font);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--fitx-radius-pill);
  border: none;
  box-shadow: 0 3px 12px rgba(29,111,232,0.32);
  transition: transform var(--fitx-tr), box-shadow var(--fitx-tr);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-fitx-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(29,111,232,0.42);
  color: #fff !important;
}
.btn-fitx-primary:active { transform: translateY(0); }

.btn-fitx-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--fitx-primary) !important;
  font-family: var(--fitx-font);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.58rem 1.4rem;
  border-radius: var(--fitx-radius-pill);
  border: 2px solid var(--fitx-primary);
  transition: background var(--fitx-tr), transform var(--fitx-tr), box-shadow var(--fitx-tr);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-fitx-outline:hover {
  background: var(--fitx-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(29,111,232,0.18);
}

.btn-fitx-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff !important;
  font-family: var(--fitx-font);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--fitx-radius-pill);
  border: none;
  box-shadow: 0 3px 14px rgba(245,158,11,0.35);
  transition: transform var(--fitx-tr), box-shadow var(--fitx-tr);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-fitx-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,158,11,0.5);
}

/* a button wider than its words keeps them in the middle; on a phone long words wrap instead of spilling out */
.btn-fitx-primary,
.btn-fitx-outline,
.btn-fitx-outline-white,
.btn-fitx-gold { justify-content: center; text-align: center; }
@media (max-width: 575.98px) {
  .btn-fitx-primary,
  .btn-fitx-outline,
  .btn-fitx-outline-white,
  .btn-fitx-gold { display: inline-block; white-space: normal; max-width: 100%; }
  .btn-fitx-primary > i:first-child,
  .btn-fitx-outline > i:first-child,
  .btn-fitx-outline-white > i:first-child,
  .btn-fitx-gold > i:first-child { margin-right: 0.4rem; }
}

/* Badge pill */
.badge-pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--fitx-primary-light);
  color: var(--fitx-primary-dark);
  border: 1px solid rgba(29,111,232,0.18);
}

/* Section Labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.9rem;
}
.section-label-blue { background: var(--fitx-primary-light); color: var(--fitx-primary-dark); }
.section-label-teal { background: var(--fitx-teal-light);    color: var(--fitx-teal-dark); }
.section-label-gold { background: var(--fitx-gold-light);    color: var(--fitx-gold-dark); }

/* Section divider */
.section-divider {
  width: 48px;
  height: 3px;
  border-radius: var(--fitx-radius-pill);
  background: linear-gradient(90deg, var(--fitx-primary), var(--fitx-teal));
  margin: 0 auto 1.25rem;
}

/* ============================================================
   ★ SECTION HEADER PATTERN
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--fitx-font);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--fitx-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1rem;
  color: var(--fitx-slate);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   ★ HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 75% -5%, rgba(29,111,232,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 5% 95%,  rgba(13,148,136,0.06) 0%, transparent 55%),
    #fff;
  overflow: hidden;
}

/* Floating orb accents */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-section::before {
  width: 500px; height: 500px;
  top: -180px; right: -100px;
  background: radial-gradient(circle, rgba(29,111,232,0.06), transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero-section::after {
  width: 360px; height: 360px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(13,148,136,0.05), transparent 70%);
  animation: orbFloat 11s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

.hero-section > .container { position: relative; z-index: 1; }

.hero-title {
  font-family: var(--fitx-font);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--fitx-dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--fitx-primary) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typewriter Animation & Blinking Cursor */
.typewriter-target {
  display: inline;
}
.typewriter-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--fitx-primary);
  margin-left: 2px;
  animation: blinkCursor 0.75s infinite;
  vertical-align: 0.05em;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.typewriter-cursor.fade-out {
  opacity: 0;
  animation: none;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--fitx-slate);
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero stats */
.hero-stats-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fitx-border-light);
}
.hero-stat {
  text-align: center;
  padding: 0 2rem;
}
.hero-stat + .hero-stat {
  border-left: 1px solid var(--fitx-border);
}
.hero-stat-val {
  font-family: var(--fitx-font);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--fitx-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-val em { color: var(--fitx-primary); font-style: normal; }
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--fitx-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.3rem;
}

/* Trust badges */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--fitx-muted);
  font-weight: 600;
}
.hero-trust-item i { font-size: 0.95rem; }

/* ============================================================
   ★ WORKFLOW SECTION
   ============================================================ */
.workflow-section {
  padding: 5rem 0;
  background: var(--fitx-surface-2);
  border-top: 1px solid var(--fitx-border-light);
  border-bottom: 1px solid var(--fitx-border-light);
}

.workflow-step-card {
  background: #fff;
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-md);
  padding: 1.25rem 1rem;
  transition: all var(--fitx-tr);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.workflow-step-card:hover {
  border-color: var(--fitx-primary);
  box-shadow: var(--fitx-shadow-md);
  transform: translateY(-4px);
}

.workflow-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--fitx-primary-light);
  color: var(--fitx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.25s;
}
.workflow-step-card:hover .workflow-icon {
  background: var(--fitx-primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(29,111,232,0.3);
}

.step-number-badge {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fitx-muted);
  background: var(--fitx-surface-3);
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill);
  padding: 0.12rem 0.5rem;
  margin-bottom: 0.3rem;
}

/* ============================================================
   ★ SOLUTION CARDS
   ============================================================ */
.solutions-section { padding: 5rem 0; }

.card-fitx {
  background: #fff;
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-lg);
  padding: 1.85rem;
  transition: all var(--fitx-tr);
  height: 100%;
  position: relative;
}
.card-fitx:hover {
  border-color: rgba(29,111,232,0.25);
  box-shadow: var(--fitx-shadow-lg);
  transform: translateY(-5px);
}

.card-fitx-highlight {
  border: 2px solid var(--fitx-primary);
  background: linear-gradient(150deg, #fff 65%, rgba(219,234,254,0.18));
  box-shadow: var(--fitx-shadow-md);
}

.card-fitx-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  transition: transform 0.25s;
}
.card-fitx:hover .card-fitx-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.card-fitx-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.22rem 0.65rem;
  border-radius: var(--fitx-radius-pill);
  margin-bottom: 0.6rem;
}

.card-fitx-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fitx-primary);
  transition: gap 0.18s;
}
.card-fitx-learn-link:hover { gap: 0.6rem; color: var(--fitx-primary-dark); }

/* ============================================================
   ★ OFFLINE ARCHITECTURE BANNER
   ============================================================ */
.offline-banner {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 65% 80% at 0% 50%, rgba(13,148,136,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 100% 15%, rgba(29,111,232,0.12) 0%, transparent 55%),
    linear-gradient(135deg, #0a0f1e 0%, #0d1630 55%, #111d40 100%);
  overflow: hidden;
}
/* Subtle grid pattern */
.offline-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025' fill-rule='evenodd'%3E%3Cpath d='M0 0h1v48H0zm48 0h-1v48h1zM0 0v1h48V0zm0 48v-1h48v1z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.offline-banner > .container { position: relative; z-index: 1; }

.offline-feature-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--fitx-radius-md);
  padding: 1.1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.offline-feature-box:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

/* ============================================================
   ★ PRICING
   ============================================================ */
.pricing-section { padding: 5rem 0; }

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--fitx-surface-3);
  border: 1px solid var(--fitx-border);
  padding: 4px;
  border-radius: var(--fitx-radius-pill);
  gap: 3px;
}
.pricing-toggle-btn {
  border: none;
  background: transparent;
  padding: 0.45rem 1.2rem;
  border-radius: var(--fitx-radius-pill);
  font-family: var(--fitx-font);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--fitx-slate);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pricing-toggle-btn.active {
  background: #fff;
  color: var(--fitx-primary);
  box-shadow: var(--fitx-shadow-sm);
}

.pricing-card {
  background: #fff;
  border: 1.5px solid var(--fitx-border);
  border-radius: var(--fitx-radius-xl);
  padding: 2.25rem 1.75rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--fitx-tr);
}
.pricing-card:hover {
  box-shadow: var(--fitx-shadow-xl);
  transform: translateY(-5px);
  border-color: rgba(29,111,232,0.35);
}
.pricing-card.featured {
  border: 2px solid var(--fitx-primary);
  box-shadow: var(--fitx-shadow-lg);
}

/* Four-tier packages modeled on the Trust Health campaign card layout. */
.package-pricing-grid { row-gap: 2rem; }
.package-pricing-card { padding: 1.6rem 1.35rem 1.35rem; border-radius: 1.25rem; }
.package-card-heading { text-align: center; padding: 0.25rem 0 1rem; }
.package-card-heading h3 { font-size: 1.55rem; letter-spacing: -0.025em; }
.package-card-heading p { min-height: 1.5rem; font-size: 0.88rem; }
.package-capacity { display: inline-flex; align-items: center; color: var(--fitx-slate); font-size: 0.84rem; }
.package-price-block { text-align: center; padding: 1rem 0; margin-bottom: 0.8rem; border-top: 1px solid var(--fitx-border-light); border-bottom: 1px solid var(--fitx-border-light); }
.package-price-block .price-val { font-size: clamp(2rem, 3vw, 2.35rem); }
.package-was-price { color: var(--fitx-muted); text-decoration: line-through; font-size: 0.86rem; margin-bottom: 0.25rem; }
.package-feature-list { flex: 1 0 auto; margin-bottom: 1rem; }
.package-feature-list li { font-size: 0.82rem; min-height: 2.5rem; }
.package-cta { border-top: 1px solid var(--fitx-border-light); padding-top: 1rem; }
.package-cta .btn-link { font-size: 0.78rem; text-decoration: none; }

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--fitx-primary), #818cf8);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: var(--fitx-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(29,111,232,0.35);
}

.price-val {
  font-family: var(--fitx-font);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--fitx-dark);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-period {
  font-size: 0.875rem;
  color: var(--fitx-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

.plan-feature-list { list-style: none; padding: 0; margin: 0; }
.plan-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.38rem 0;
  font-size: 0.855rem;
  color: var(--fitx-slate-700);
  border-bottom: 1px solid var(--fitx-border-light);
}
.plan-feature-list li:last-child { border-bottom: none; }
.plan-feature-list .feat-check {
  color: var(--fitx-emerald);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   ★ FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 5rem 0;
  background: var(--fitx-surface-2);
  border-top: 1px solid var(--fitx-border-light);
  border-bottom: 1px solid var(--fitx-border-light);
}

/* Override MDB accordion */
.accordion-item {
  border: 1px solid var(--fitx-border) !important;
  border-radius: var(--fitx-radius-md) !important;
  overflow: hidden;
  margin-bottom: 0.65rem;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.accordion-item:hover {
  border-color: rgba(29,111,232,0.22) !important;
  box-shadow: var(--fitx-shadow-sm);
}
.accordion-button {
  font-family: var(--fitx-font) !important;
  font-size: 0.925rem !important;
  font-weight: 700 !important;
  color: var(--fitx-dark) !important;
  background: #fff !important;
  padding: 1rem 1.25rem !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  color: var(--fitx-primary) !important;
  background: rgba(219,234,254,0.25) !important;
}
.accordion-button::after {
  background-image: none !important;
  content: '+';
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fitx-primary);
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
}
.accordion-button:not(.collapsed)::after { content: '−'; }
.accordion-body {
  font-family: var(--fitx-font) !important;
  font-size: 0.9rem !important;
  color: var(--fitx-slate) !important;
  line-height: 1.75 !important;
  padding: 0.5rem 1.25rem 1.1rem !important;
  background: #fff;
}

/* ============================================================
   ★ CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse 75% 65% at 5% 100%, rgba(13,148,136,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 65% 55% at 95% 0%,   rgba(29,111,232,0.28) 0%, transparent 55%),
    linear-gradient(135deg, #0a0f1e 0%, #0d1630 60%, #0f1f45 100%);
  border-radius: var(--fitx-radius-xl);
  padding: 4.5rem 2rem;
  margin: 3rem 0;
  overflow: hidden;
  box-shadow: var(--fitx-shadow-xl);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--fitx-font);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.025em;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 1rem; }

/* ============================================================
   ★ FOOTER
   ============================================================ */
.site-footer {
  background: #08111f;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  font-size: 0.875rem;
}
.site-footer h6 {
  font-family: var(--fitx-font);
  color: #e2e8f0;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.25rem;
}
.site-footer a {
  color: #94a3b8;
  transition: color 0.18s, padding-left 0.18s;
  display: inline-block;
}
.site-footer a:hover { color: #fff; padding-left: 4px; }
.site-footer ul.list-unstyled li { margin-bottom: 0.55rem; }

.footer-brand-desc {
  font-size: 0.855rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 280px;
}

.footer-social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social-link {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8 !important;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-decoration: none !important;
}
.footer-social-link:hover {
  background: var(--fitx-primary) !important;
  border-color: var(--fitx-primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29,111,232,0.35);
  padding-left: 0 !important;
}

.footer-mini-cta {
  background: rgba(29,111,232,0.1);
  border: 1px solid rgba(29,111,232,0.2);
  border-radius: var(--fitx-radius-md);
  padding: 1.1rem;
  margin-top: 1.25rem;
}

hr.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 3rem 0 1.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #475569;
}
.footer-bottom a { color: #64748b; display: inline; padding-left: 0 !important; }
.footer-bottom a:hover { color: #fff; padding-left: 0 !important; }

/* ============================================================
   ★ COMPARE TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--fitx-radius-md);
  overflow: hidden;
  border: 1px solid var(--fitx-border);
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--fitx-border-light);
  vertical-align: middle;
  font-size: 0.875rem;
}
.compare-table thead th {
  background: var(--fitx-surface-2);
  font-weight: 800;
  color: var(--fitx-dark);
  font-size: 0.875rem;
}
/* ============================================================
   ★ ARISTOCRATIC PLAN COMPARISON MATRIX (`compare.php`)
   ============================================================ */

/* Metric Pills Row in Hero */
.compare-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Compare Interactive Controls Bar */
.compare-controls-bar {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 16px;
  padding: 1rem 1.35rem;
  box-shadow: 0 4px 20px rgba(10, 22, 70, 0.04);
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Left Group: Billing Cycle + Differences Filter */
.compare-controls-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

/* Billing Toggle Switch */
.compare-billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--fitx-surface-2);
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill);
  padding: 3px;
  user-select: none;
}
.compare-billing-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.95rem;
  font-family: var(--fitx-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  border-radius: var(--fitx-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.compare-billing-btn.active {
  background: #ffffff;
  color: var(--fitx-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(10, 22, 70, 0.08);
}
.compare-save-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: var(--fitx-radius-pill);
}

/* Differences Only Toggle Switch */
.compare-diff-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  cursor: pointer;
  user-select: none;
  background: var(--fitx-surface-2);
  border: 1px solid var(--fitx-border);
  padding: 0.38rem 0.85rem;
  border-radius: var(--fitx-radius-pill);
  transition: all 0.2s ease;
}
.compare-diff-switch:hover {
  background: #ffffff;
  border-color: rgba(29, 111, 232, 0.3);
  color: var(--fitx-dark);
}
.compare-diff-switch input {
  cursor: pointer;
  width: 15px;
  height: 15px;
  accent-color: var(--fitx-primary);
}

/* Real-Time Live Search */
.compare-search-box {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.compare-search-box i.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fitx-muted);
  font-size: 0.88rem;
  pointer-events: none;
}
.compare-search-input {
  width: 100%;
  height: 38px;
  padding: 0.38rem 2.2rem 0.38rem 2.35rem;
  background: var(--fitx-surface-2);
  border: 1.5px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill);
  font-size: 0.84rem;
  font-family: var(--fitx-font);
  color: var(--fitx-dark);
  outline: none;
  transition: all 0.2s ease;
}
.compare-search-input:focus {
  background: #fff;
  border-color: var(--fitx-primary);
  box-shadow: 0 0 0 3px rgba(29, 111, 232, 0.12);
}
.compare-btn-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--fitx-muted);
  font-size: 1rem;
  cursor: pointer;
  display: none;
  line-height: 1;
}

/* Category Jump Quick Nav — Centered Single Row, All Visible */
.compare-category-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.38rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.2rem 2px 1.25rem;
}

.compare-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.32rem 0.68rem;
  border-radius: var(--fitx-radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--fitx-border);
  color: var(--fitx-slate-700);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(10, 22, 70, 0.03);
}
.compare-jump-link:hover {
  background: #ffffff;
  color: var(--fitx-dark);
  border-color: rgba(29, 111, 232, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 22, 70, 0.06);
}
.compare-jump-link.active {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff !important;
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}
.compare-jump-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--fitx-surface-3);
  color: var(--fitx-slate-700);
  transition: all 0.2s ease;
}
.compare-jump-link.active .compare-jump-count {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

@media (max-width: 575.98px) {
  .compare-category-jump {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .compare-category-jump::-webkit-scrollbar { display: none; }
}

/* Matrix Table Card Container */
/* Matrix Table Card Container */
.compare-matrix-wrapper {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(10, 22, 70, 0.04);
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
  .compare-matrix-wrapper {
    overflow: visible;
  }
}

.compare-matrix-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--fitx-font);
  margin-bottom: 0;
}

/* Rounded corners for table outer edges */
.compare-matrix-table thead tr th:first-child {
  border-top-left-radius: 15px;
}
.compare-matrix-table thead tr th:last-child {
  border-top-right-radius: 15px;
}
.compare-matrix-table tfoot tr th:first-child {
  border-bottom-left-radius: 15px;
}
.compare-matrix-table tfoot tr th:last-child {
  border-bottom-right-radius: 15px;
}

/* Table Header — Sticky Under Navbar */
.compare-matrix-table thead th {
  background: #ffffff;
  border-top: 3px solid transparent;
  border-bottom: 2px solid var(--fitx-border);
  padding: 0.95rem 0.75rem 0.85rem;
  vertical-align: top;
  position: -webkit-sticky;
  position: sticky;
  top: var(--site-navbar-height, 60px);
  z-index: 1020;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compare-matrix-table thead.is-stuck th {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(29, 111, 232, 0.25);
}

.compare-matrix-table thead.is-stuck th.th-popular {
  box-shadow: 0 6px 20px rgba(29, 111, 232, 0.14);
}

/* First Column: Feature Name Column */
.compare-th-feature {
  width: 28%;
  min-width: 250px;
  text-align: left;
  background: #fafbfc !important;
  border-right: 1px solid var(--fitx-border-light);
  padding: 1rem 1.1rem !important;
  vertical-align: middle !important;
}
.compare-th-feature-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compare-th-badge {
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--fitx-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.compare-th-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--fitx-dark);
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}
.compare-th-subtitle {
  font-size: 0.76rem;
  color: var(--fitx-slate);
}

/* Table Footer Summary Row */
.compare-tfoot-row th {
  background: #fafbfc;
  border-top: 2px solid var(--fitx-border);
  padding: 0.95rem 0.75rem;
  position: relative;
}
.compare-tfoot-row th.compare-th-feature {
  text-align: left;
  vertical-align: middle !important;
  padding: 1rem 1.1rem !important;
}
.compare-tfoot-row th.compare-th-plan {
  vertical-align: top !important;
  text-align: center;
}
.compare-tfoot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.compare-tfoot-plan-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fitx-dark);
  letter-spacing: -0.01em;
  line-height: 1.25;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.4rem;
  width: 100%;
}

/* Plan Column Headers */
.compare-th-plan {
  width: 14.4%;
  min-width: 142px;
  text-align: center;
  border-right: 1px solid var(--fitx-border-light);
  vertical-align: top !important;
}
.compare-th-plan:last-child {
  border-right: none;
}
.compare-plan-header-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.compare-plan-badge-box {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  width: 100%;
}
.compare-popular-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d6fe8 0%, #1251b5 100%);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.65rem;
  border-radius: var(--fitx-radius-pill);
  box-shadow: 0 2px 8px rgba(29, 111, 232, 0.3);
  white-space: nowrap;
  line-height: 1.2;
}
.compare-plan-tag-placeholder {
  display: block;
  height: 1px;
  visibility: hidden;
}
.compare-plan-name {
  font-size: 0.91rem;
  font-weight: 800;
  color: var(--fitx-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.05rem;
  width: 100%;
}
.compare-plan-sub {
  font-size: 0.69rem;
  color: var(--fitx-slate);
  line-height: 1.2;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.1rem;
  width: 100%;
}
.compare-plan-price-wrap {
  min-height: 38px;
  margin: 0.1rem 0 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.compare-plan-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fitx-dark);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.compare-plan-price .price-period {
  font-size: 0.72rem;
  color: var(--fitx-slate);
  font-weight: 550;
  margin-left: 2px;
}
.compare-plan-cta {
  width: 100%;
  height: 38px;
  padding: 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--fitx-radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  box-sizing: border-box;
}
.compare-plan-cta.btn-fitx-primary {
  background: linear-gradient(135deg, #1d6fe8 0%, #1251b5 100%);
  color: #ffffff !important;
  border: 2px solid #1d6fe8;
  box-shadow: 0 3px 12px rgba(29, 111, 232, 0.32);
}
.compare-plan-cta.btn-fitx-primary:hover {
  background: linear-gradient(135deg, #185ec9 0%, #0e4499 100%);
  border-color: #185ec9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 111, 232, 0.45);
  color: #ffffff !important;
}
.compare-plan-cta.btn-fitx-outline {
  background: transparent;
  color: var(--fitx-primary) !important;
  border: 2px solid var(--fitx-primary);
}
.compare-plan-cta.btn-fitx-outline:hover {
  background: var(--fitx-primary-light);
  color: var(--fitx-primary) !important;
  border-color: var(--fitx-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(29, 111, 232, 0.16);
}

/* Highlighted Column: Clinic Standard (Popular) */
.col-popular-highlight {
  background: rgba(29, 111, 232, 0.022) !important;
  border-left: 2px solid rgba(29, 111, 232, 0.3) !important;
  border-right: 2px solid rgba(29, 111, 232, 0.3) !important;
}
.compare-matrix-table thead th.th-popular {
  background: #f8fbff !important;
  border-top: 3px solid var(--fitx-primary);
  border-left: 2px solid rgba(29, 111, 232, 0.3);
  border-right: 2px solid rgba(29, 111, 232, 0.3);
}
.compare-popular-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d6fe8 0%, #1251b5 100%);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.65rem;
  border-radius: var(--fitx-radius-pill);
  box-shadow: 0 2px 8px rgba(29, 111, 232, 0.3);
  white-space: nowrap;
  margin-bottom: 0.45rem;
}
.compare-plan-tag-placeholder {
  display: inline-block;
  height: 20px;
  margin-bottom: 0.45rem;
}

/* Category Header Divider Row */
.compare-cat-row td {
  background: #f1f5f9;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--fitx-border);
  border-bottom: 1px solid var(--fitx-border);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--fitx-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-cat-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.compare-cat-title i {
  color: var(--fitx-primary);
  font-size: 0.95rem;
}
.compare-cat-count {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.08);
  color: var(--fitx-slate-700);
  padding: 0.1rem 0.5rem;
  border-radius: var(--fitx-radius-pill);
  margin-left: 0.4rem;
}

/* Feature Row */
.compare-feat-row td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--fitx-border-light);
  vertical-align: middle;
  transition: background 0.15s ease;
}
.compare-feat-row:hover td {
  background: rgba(29, 111, 232, 0.025);
}
.compare-feat-row:last-child td {
  border-bottom: none;
}

/* Left Feature Cell */
.compare-feat-cell {
  border-right: 1px solid var(--fitx-border-light);
}
.compare-feat-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fitx-dark);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.compare-feat-desc {
  font-size: 0.75rem;
  color: var(--fitx-slate);
  line-height: 1.45;
  margin-top: 0.2rem;
  margin-bottom: 0;
}
.badge-core-mini {
  font-size: 0.62rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 0.1rem 0.4rem;
  border-radius: var(--fitx-radius-pill);
  white-space: nowrap;
}

/* Value Cells */
.compare-val-cell {
  text-align: center;
  border-right: 1px solid var(--fitx-border-light);
}
.compare-val-cell:last-child {
  border-right: none;
}

/* Value Statuses */
.val-icon-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.95rem;
}
.val-icon-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1;
}
.val-limit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--fitx-radius-pill);
  white-space: nowrap;
}
.val-limit-unlimited {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}
.val-limit-custom {
  background: var(--fitx-primary-light);
  color: var(--fitx-primary-dark);
  border: 1px solid rgba(29, 111, 232, 0.2);
}

/* Advisor Banner */
.compare-advisor-card {
  margin-top: 3.5rem;
  background:
    radial-gradient(ellipse 60% 70% at 90% 50%, rgba(29, 111, 232, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0d1527 0%, #15274d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 16px 36px rgba(10, 22, 70, 0.16);
}
.compare-advisor-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.compare-advisor-content p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0;
  max-width: 580px;
  line-height: 1.6;
}
.compare-advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Empty State */
.compare-empty-row td {
  padding: 3rem 1.5rem !important;
  text-align: center;
  background: #fafbfc;
}

/* ============================================================
   ★ FORMS
   ============================================================ */
.form-fitx {
  background: #fff;
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--fitx-shadow-md);
}
.form-fitx .form-control,
.form-fitx .form-select {
  border-radius: var(--fitx-radius-sm);
  border: 1.5px solid var(--fitx-border);
  padding: 0.68rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--fitx-font);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-fitx .form-control:focus,
.form-fitx .form-select:focus {
  border-color: var(--fitx-primary);
  box-shadow: 0 0 0 3px rgba(29,111,232,0.1);
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  margin-bottom: 0.45rem;
}

/* trial sign-up: shorter fields, the terms checkbox level with the first line of its text */
.signup-form .form-control,
.signup-form .form-select {
  height: 40px;
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
}
.signup-terms { display: flex; align-items: flex-start; gap: 0.6rem; padding-left: 0; }
.signup-terms .form-check-input { float: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }
.signup-terms .form-check-label { display: block; margin: 0; padding: 0; line-height: 18px; }

/* ============================================================
   ★ Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fitx-primary); }

/* ============================================================
   ★ RESPONSIVE STYLES
   ============================================================ */

/* ── 1200px Breakpoint (Compact Desktops) ── */
@media (max-width: 1199.98px) {
  .site-navbar .nav-link,
  .site-navbar .nav-link:not(.btn) {
    font-size: 0.82rem !important;
    padding: 0.38rem 0.55rem !important;
  }
  .site-brand {
    font-size: 1.2rem;
  }
}

/* ── 992px Breakpoint (Tablets / Mobile Navbar Drawer) ── */
@media (max-width: 991.98px) {
  /* Elevated Mobile Navbar Drawer */
  .site-navbar .navbar-collapse {
    background: #ffffff;
    border: 1px solid var(--fitx-border);
    border-radius: var(--fitx-radius-lg);
    box-shadow: var(--fitx-shadow-xl);
    padding: 1.25rem 1.25rem 1.5rem;
    margin-top: 0.75rem;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-navbar .navbar-nav {
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .site-navbar .nav-link,
  .site-navbar .nav-link:not(.btn) {
    font-size: 0.95rem !important;
    padding: 0.65rem 0.9rem !important;
    border-radius: var(--fitx-radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: normal;
  }
  .site-navbar .nav-link:hover,
  .site-navbar .nav-link.active {
    background: rgba(29,111,232,0.08) !important;
  }

  /* Submenu Dropdown Accordion on Mobile (Position Static) */
  .site-navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid var(--fitx-border-light) !important;
    background: var(--fitx-surface-2) !important;
    border-radius: var(--fitx-radius-md) !important;
    margin: 0.35rem 0 0.6rem !important;
    padding: 0.4rem 0.5rem !important;
    transform: none !important;
  }
  .site-navbar .dropdown-menu::before {
    display: none !important;
  }
  .site-navbar .dropdown-item {
    font-size: 0.88rem;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    white-space: normal;
  }

  /* Mobile Actions Section */
  .site-navbar .navbar-actions {
    border-top: 1px solid var(--fitx-border);
    padding-top: 1rem;
    margin-top: 0.85rem;
  }

  /* General Page Sections */
  .hero-section { padding: 3.75rem 0 3rem; }
  .hero-title   { font-size: 2rem; }
  .offline-banner { padding: 3.5rem 0; }
  .cta-banner { padding: 3.25rem 1.5rem; }
  .workflow-section,
  .solutions-section,
  .pricing-section,
  .faq-section { padding: 3.5rem 0; }
  .site-footer { padding: 3.5rem 0 1.75rem; }

  /* Table responsive smooth touch scroll */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
}

/* ── 768px Breakpoint (Phablets / Tablets Portrait) ── */
@media (max-width: 767.98px) {
  .hero-title  { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.96rem; }
  .section-header { margin-bottom: 2.25rem; }
  .section-header h2 { font-size: 1.55rem; }

  /* Hero stats: clean 2x2 grid */
  .hero-stats-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    border-top: 1px solid var(--fitx-border-light);
    padding-top: 1.5rem;
    margin-top: 2rem;
  }
  .hero-stat {
    padding: 0;
    border-left: none !important;
  }
  .hero-stat-val { font-size: 1.5rem; }
  .hero-stat-divider { display: none !important; }

  /* Card and Form Padding */
  .pricing-card { padding: 1.75rem 1.25rem; }
  .form-fitx { padding: 1.65rem 1.2rem; }
  .form-fitx .form-control,
  .form-fitx .form-select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }
  .cta-banner { border-radius: var(--fitx-radius-lg); padding: 2.75rem 1.25rem; }

  /* Page Hero Strip */
  .page-hero-strip { padding: 3rem 1rem 2.25rem; }
  .page-hero-strip h1 { font-size: 1.75rem; }

  /* Footer Bottom */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }
}

/* ── 576px Breakpoint (Mobile Phones) ── */
@media (max-width: 575.98px) {
  .hero-section { padding: 3rem 0 2.25rem; }
  .hero-title  { font-size: 1.55rem; }
  .hero-trust-row { gap: 0.65rem 0.85rem; }
  .hero-trust-item { font-size: 0.76rem; }

  /* Buttons on Mobile: full-width touch friendly */
  .hero-section .btn-fitx-primary,
  .hero-section .btn-fitx-outline,
  .cta-banner .btn-fitx-gold,
  .cta-banner .btn-fitx-outline,
  .cta-banner .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Mobile Navbar Actions: stacked full-width */
  .site-navbar .navbar-actions {
    flex-direction: column !important;
    width: 100%;
  }
  .site-navbar .navbar-actions .lang-dropdown-wrap,
  .site-navbar .navbar-actions .btn {
    width: 100%;
  }

  .pricing-card { padding: 1.4rem 1rem; }
  .price-val   { font-size: 2.1rem; }

  .page-hero-strip { padding: 2.5rem 0.75rem 2rem; }
  .page-hero-strip h1 { font-size: 1.6rem; }
  .page-hero-strip p { font-size: 0.92rem; }
}

/* ── 500px Breakpoint (Pricing Toggle Adaptation) ── */
@media (max-width: 499.98px) {
  .pricing-toggle-wrap {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    border-radius: var(--fitx-radius-lg);
    padding: 5px;
    gap: 5px;
  }
  .pricing-toggle-btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--fitx-radius-pill);
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
  }
  .form-fitx {
    padding: 1.25rem 0.95rem;
    border-radius: var(--fitx-radius-md);
  }
}

/* ── 360px Breakpoint (Smallest Screens / Foldables) ── */
@media (max-width: 359.98px) {
  .hero-stats-wrap {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .hero-title { font-size: 1.38rem; }
  .site-brand { font-size: 1.12rem; }
  .brand-icon { width: 30px; height: 30px; font-size: 0.85rem; }
}

@media print {
  .site-navbar, .cta-banner, .site-footer { display: none !important; }
  body { color: #000; }
}

/* ============================================================
   ★ ADDITIONAL UTILITIES — Inner Page Compatibility
   ============================================================ */

/* Teal color utilities */
.bg-teal            { background-color: var(--fitx-teal) !important; }
.bg-teal-subtle     { background-color: var(--fitx-teal-light) !important; }
.text-teal-emphasis { color: var(--fitx-teal-dark) !important; }

/* Page Hero Strip — consistent inner-page header */
.page-hero-strip {
  padding: 3.75rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(29,111,232,0.05) 0%, transparent 60%),
    var(--fitx-surface-2);
  border-bottom: 1px solid var(--fitx-border-light);
  text-align: center;
}
.page-hero-strip h1 {
  font-family: var(--fitx-font);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--fitx-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.page-hero-strip p {
  font-size: 1rem;
  color: var(--fitx-slate);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Language Switcher — override MDB btn-outline-secondary in navbar */
.site-navbar .btn-outline-secondary,
.site-navbar .btn-outline-secondary:not(:disabled) {
  font-family: var(--fitx-font) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border-color: var(--fitx-border) !important;
  color: var(--fitx-slate-700) !important;
  border-radius: var(--fitx-radius-pill) !important;
  padding: 0.28rem 0.7rem !important;
  background: transparent !important;
  transition: all 0.18s !important;
}
.site-navbar .btn-outline-secondary:hover {
  border-color: var(--fitx-primary) !important;
  color: var(--fitx-primary) !important;
  background: var(--fitx-primary-light) !important;
}

/* Fix legacy accordion shadow on wrapper */
.accordion.shadow-sm { box-shadow: none !important; }

/* Inner page container top area spacing */
.page-content-wrap { padding: 3.5rem 0; }

/* Solution page icon fix */
.solution-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Pricing page custom box */
.pricing-enterprise-box {
  background: var(--fitx-surface-2);
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-lg);
  padding: 2rem;
  text-align: center;
}

/* ============================================================
   ★ FEATURES CATALOG — Modern, Interactive & Aristocratic
   ============================================================ */

/* Metric strip in page hero */
.features-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--fitx-border);
  padding: 0.35rem 0.95rem;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  box-shadow: 0 2px 6px rgba(10, 22, 70, 0.04);
  transition: all 0.2s ease;
}
.metric-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 111, 232, 0.35);
  box-shadow: 0 4px 12px rgba(29, 111, 232, 0.1);
  color: var(--fitx-dark);
}
.metric-pill i {
  font-size: 0.95rem;
  color: var(--fitx-primary);
}

/* Category Filter Strip — Sticky under Navbar */
.features-category-strip,
.features-toolbar-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: var(--site-navbar-height, 60px);
  z-index: 1030;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fitx-border-light);
  box-shadow: 0 4px 16px rgba(10, 22, 70, 0.04);
  transition: top 0.22s ease, padding 0.22s ease, box-shadow 0.22s ease;
}

/* Search input wrapper (positioned on the right side of counter strip) */
.features-search-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0;
  flex-shrink: 0;
}
.features-search-box i.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fitx-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s;
}
.features-search-input {
  width: 100%;
  height: 42px;
  padding: 0.42rem 2.4rem 0.42rem 2.5rem;
  background: var(--fitx-surface-2);
  border: 1.5px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill);
  font-size: 0.86rem;
  font-family: var(--fitx-font);
  color: var(--fitx-dark);
  outline: none;
  transition: all 0.22s ease;
  box-shadow: 0 1px 3px rgba(10, 22, 70, 0.02);
}
.features-search-input:focus {
  background: #fff;
  border-color: var(--fitx-primary);
  box-shadow: 0 0 0 3.5px rgba(29, 111, 232, 0.15);
}
.features-search-box:focus-within i.search-icon {
  color: var(--fitx-primary);
}
.btn-clear-search {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--fitx-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  display: none;
  border-radius: 50%;
  line-height: 1;
  transition: color 0.15s, background-color 0.15s;
}
.btn-clear-search:hover {
  color: var(--fitx-dark);
  background-color: var(--fitx-surface-3);
}

/* Row 2: Category Pill Cards Cluster (Strictly Single Line on Desktop, Zero Scrollbar) */
.features-pill-cards-cluster {
  display: flex;
  flex-wrap: nowrap; /* Enforce strictly single line */
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 2px 4px;
}
.features-pill-cards-cluster::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Brave */
  width: 0;
  height: 0;
}

/* Individual Pill Card Component */
.feature-pill-card {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.75rem;
  border-radius: var(--fitx-radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--fitx-border);
  color: var(--fitx-slate-700);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0; /* Crucial: Never break or wrap individual pills */
  font-family: var(--fitx-font);
  font-size: 0.81rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(10, 22, 70, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}
.feature-pill-card:hover {
  background: #ffffff;
  border-color: rgba(29, 111, 232, 0.35);
  color: var(--fitx-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 22, 70, 0.07);
}

/* Micro-Icon Box within Pill Card */
.pill-card-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.icon-pill-all {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
.icon-pill-core {
  background: rgba(29, 111, 232, 0.1);
  color: #1d6fe8;
}
.icon-pill-clinical {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}
.icon-pill-operations {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}
.icon-pill-connectivity {
  background: rgba(8, 145, 178, 0.1);
  color: #0891b2;
}
.icon-pill-financial {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

/* Label & Count Badge */
.pill-card-label {
  line-height: 1.2;
}
.pill-card-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--fitx-surface-3);
  color: var(--fitx-slate-700);
  transition: all 0.2s ease;
}

/* ACTIVE STATES — Aristocratic Rich Color Gradients */
.feature-pill-card.active {
  color: #ffffff !important;
  transform: translateY(-1px);
}
.feature-pill-card.active .pill-card-icon {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}
.feature-pill-card.active .pill-card-count {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

/* Category Active Color Variations */
.feature-pill-card[data-category="all"].active {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
}
.feature-pill-card[data-category="core"].active {
  background: linear-gradient(135deg, #1d6fe8 0%, #1251b5 100%);
  border-color: #1251b5;
  box-shadow: 0 6px 20px rgba(29, 111, 232, 0.38);
}
.feature-pill-card[data-category="clinical"].active {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border-color: #0f766e;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.38);
}
.feature-pill-card[data-category="operations"].active {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border-color: #4f46e5;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.38);
}
.feature-pill-card[data-category="connectivity"].active {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  border-color: #0e7490;
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.38);
}
.feature-pill-card[data-category="financial"].active {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border-color: #b45309;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.38);
}

/* Backward compatibility for any feature-pill-btn alias */
.feature-pill-btn {
  composes: feature-pill-card;
}

/* Active result count & live search bar strip */
.features-counter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem;
  padding: 1.25rem 0 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--fitx-border-light);
  font-size: 0.88rem;
  color: var(--fitx-slate);
}
.features-counter-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.features-counter-text strong {
  color: var(--fitx-dark);
  font-weight: 700;
}

/* Section Header within Catalog */
.catalog-category-header {
  margin-top: 2.25rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1.5px solid var(--fitx-border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}
.catalog-category-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--fitx-dark);
}
.catalog-category-desc {
  font-size: 0.85rem;
  color: var(--fitx-slate);
  margin-bottom: 0;
  max-width: 650px;
}
.catalog-category-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--fitx-radius-pill);
  background: var(--fitx-surface-2);
  border: 1px solid var(--fitx-border);
  color: var(--fitx-slate-700);
}

/* Aristocratic Feature Card — Slim, Sleek & Compact */
.feature-catalog-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--fitx-border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(10, 22, 70, 0.025);
  overflow: hidden;
}
.feature-catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}
.feature-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 111, 232, 0.28);
  box-shadow: 0 10px 24px rgba(10, 22, 70, 0.06), 0 2px 6px rgba(10, 22, 70, 0.03);
}

/* Category Accent Tops */
.feature-catalog-card[data-cat="core"]:hover::before {
  background: linear-gradient(90deg, #1d6fe8, #60a5fa);
}
.feature-catalog-card[data-cat="clinical"]:hover::before {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}
.feature-catalog-card[data-cat="operations"]:hover::before {
  background: linear-gradient(90deg, #6366f1, #a5b4fc);
}
.feature-catalog-card[data-cat="connectivity"]:hover::before {
  background: linear-gradient(90deg, #0891b2, #38bdf8);
}
.feature-catalog-card[data-cat="financial"]:hover::before {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

/* Card Top Row */
.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-catalog-card:hover .feature-icon-box {
  transform: scale(1.06) rotate(-3deg);
}

/* Category Icon Colors */
.icon-cat-core {
  background: rgba(29, 111, 232, 0.09);
  color: #1d6fe8;
  border: 1px solid rgba(29, 111, 232, 0.18);
}
.feature-catalog-card:hover .icon-cat-core {
  box-shadow: 0 4px 12px rgba(29, 111, 232, 0.22);
}

.icon-cat-clinical {
  background: rgba(13, 148, 136, 0.09);
  color: #0d9488;
  border: 1px solid rgba(13, 148, 136, 0.18);
}
.feature-catalog-card:hover .icon-cat-clinical {
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.22);
}

.icon-cat-operations {
  background: rgba(99, 102, 241, 0.09);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.18);
}
.feature-catalog-card:hover .icon-cat-operations {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.22);
}

.icon-cat-connectivity {
  background: rgba(8, 145, 178, 0.09);
  color: #0891b2;
  border: 1px solid rgba(8, 145, 178, 0.18);
}
.feature-catalog-card:hover .icon-cat-connectivity {
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.22);
}

.icon-cat-financial {
  background: rgba(217, 119, 6, 0.09);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.18);
}
.feature-catalog-card:hover .icon-cat-financial {
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.22);
}

/* Feature Status Badges */
.badge-core-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  letter-spacing: 0.015em;
}
.badge-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--fitx-surface-2);
  color: var(--fitx-slate-700);
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill);
  font-size: 0.67rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
}

/* Feature Details */
.feature-card-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.32rem;
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.feature-card-desc {
  font-size: 0.825rem;
  color: var(--fitx-slate);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* Card Bottom Metadata & Links */
.feature-card-footer {
  padding-top: 0.65rem;
  border-top: 1px solid var(--fitx-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.76rem;
  min-height: 36px;
}
.limit-badge-unlimited {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #059669;
  font-weight: 700;
  font-size: 0.72rem;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  padding: 0.18rem 0.55rem;
  border-radius: var(--fitx-radius-pill);
}
.limit-badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--fitx-primary-dark);
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--fitx-primary-light);
  border: 1px solid rgba(29, 111, 232, 0.18);
  padding: 0.18rem 0.55rem;
  border-radius: var(--fitx-radius-pill);
}

.feature-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fitx-primary);
  text-decoration: none;
  transition: all 0.18s ease;
  margin-top: 0;
}
.feature-explore-link:hover {
  color: var(--fitx-primary-dark);
  gap: 0.45rem;
}

.feature-status-ready {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fitx-slate);
}

/* Empty Search Results State */
.features-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #fff;
  border: 1.5px dashed var(--fitx-border);
  border-radius: 20px;
  margin: 2.5rem 0;
}
.features-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--fitx-surface-2);
  color: var(--fitx-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

/* Bottom Comparison Callout Banner */
.features-comparison-callout {
  margin-top: 4.5rem;
  margin-bottom: 2rem;
  background:
    radial-gradient(ellipse 60% 80% at 95% 50%, rgba(29, 111, 232, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 50%, rgba(13, 148, 136, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0d1527 0%, #111e3b 60%, #15274d 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 22, 70, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.features-comparison-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v48H0zm48 0h-1v48h1zM0 0v1h48V0zm0 48v-1h48v1z' fill='%23ffffff' fill-opacity='0.025' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}
.features-callout-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.features-callout-text h3 {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.features-callout-text p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 620px;
}
.features-callout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 991.98px) {
  .features-pill-cards-cluster {
    justify-content: flex-start;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media (max-width: 768px) {
  .features-category-strip,
  .features-toolbar-wrapper {
    padding: 1rem 0 0.8rem;
  }
  .features-counter-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem 0 0.75rem;
  }
  .features-search-box {
    max-width: 100%;
  }
  .features-pill-cards-cluster {
    flex-wrap: nowrap; /* Strictly single line */
    justify-content: flex-start;
    gap: 0.4rem;
    padding-bottom: 2px;
  }
  .feature-pill-card {
    padding: 0.32rem 0.65rem;
    font-size: 0.76rem;
    gap: 0.4rem;
  }
  .pill-card-icon {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }
  .features-comparison-callout {
    padding: 2.25rem 1.5rem;
    border-radius: 18px;
    margin-top: 3.5rem;
  }
  .features-callout-text h3 {
    font-size: 1.35rem;
  }
  .features-callout-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .features-callout-actions .btn-fitx {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Compare Responsive Mobile */
  .compare-controls-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.85rem;
  }
  .compare-controls-left {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .compare-billing-toggle {
    width: 100%;
    justify-content: center;
  }
  .compare-billing-btn {
    flex: 1;
    justify-content: center;
  }
  .compare-diff-switch {
    width: 100%;
    justify-content: center;
  }
  .compare-search-box {
    max-width: 100%;
  }
  .compare-advisor-card {
    padding: 1.75rem 1.25rem;
  }
  .compare-advisor-actions {
    width: 100%;
    flex-direction: column;
  }
  .compare-advisor-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   ★ OFFLINE ARCHITECTURE & RESILIENCE PAGE STYLES
   ============================================================ */

/* Offline Hero Trust Strip */
.offline-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.offline-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--fitx-radius-pill, 9999px);
  padding: 0.4rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fitx-dark, #0f172a);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
  transition: all 0.2s ease;
}
.offline-trust-pill:hover {
  transform: translateY(-2px);
  border-color: #0d9488;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.15);
}
.offline-trust-pill i {
  color: #0d9488;
  font-size: 0.95rem;
}

/* Interactive Simulator Container */
.offline-sim-wrapper {
  margin-top: 2rem;
  margin-bottom: 4rem;
}
.offline-sim-card {
  background: linear-gradient(145deg, #0a0f1e 0%, #0d1527 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.35);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}
.offline-sim-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.offline-sim-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}
.offline-sim-title-wrap h3 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.offline-sim-title-wrap p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 0;
  max-width: 620px;
}
.offline-sim-mode-toggle {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.3rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-sim-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-sim-mode.active-online {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.4);
}
.btn-sim-mode.active-offline {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.4);
}
.btn-sim-mode:hover:not(.active-online):not(.active-offline) {
  color: #fff;
}
.sim-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.sim-indicator-dot.dot-online {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.sim-indicator-dot.dot-offline {
  background: #fb7185;
  box-shadow: 0 0 8px #fb7185;
}

/* Simulator Metrics Grid */
.offline-sim-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sim-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sim-metric-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.sim-metric-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sim-metric-val.val-active {
  color: #34d399;
}
.sim-metric-val.val-edge {
  color: #38bdf8;
}
.sim-metric-val.val-warn {
  color: #fbbf24;
}

/* Guided 3-Steps Interactive Bar */
.sim-steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.sim-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  color: #f1f5f9;
  outline: none;
}
.sim-step-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.sim-step-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  flex-shrink: 0;
}
.sim-step-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
}

/* Step 1 Style */
.sim-step-card.step-cut {
  border-color: rgba(244, 63, 94, 0.35);
}
.sim-step-card.step-cut:hover, .sim-step-card.step-cut.step-active {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.22) 0%, rgba(190, 18, 60, 0.22) 100%);
  border-color: #fb7185;
}
.sim-step-card.step-cut .sim-step-badge {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

/* Step 2 Style */
.sim-step-card.step-rx {
  border-color: rgba(13, 148, 136, 0.35);
}
.sim-step-card.step-rx:hover, .sim-step-card.step-rx.step-active {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.25) 0%, rgba(15, 118, 110, 0.25) 100%);
  border-color: #2dd4bf;
}
.sim-step-card.step-rx .sim-step-badge {
  background: rgba(13, 148, 136, 0.25);
  color: #2dd4bf;
}

/* Step 3 Style */
.sim-step-card.step-sync {
  border-color: rgba(56, 189, 248, 0.35);
}
.sim-step-card.step-sync:hover, .sim-step-card.step-sync.step-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(2, 132, 199, 0.22) 100%);
  border-color: #38bdf8;
}
.sim-step-card.step-sync .sim-step-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}
.sim-step-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* Pulsing action guide */
.sim-step-next {
  animation: simPulseGlow 2s infinite;
}
@keyframes simPulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* Friendly Guide Prompt Banner */
.sim-guide-banner {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  color: #e2e8f0;
  transition: all 0.25s ease;
}
.sim-guide-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.sim-guide-text i {
  color: #fbbf24;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Offline Banner State (Red Alert when no internet) */
.sim-guide-banner.banner-offline {
  background: rgba(225, 29, 72, 0.12) !important;
  border-color: rgba(244, 63, 94, 0.45) !important;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.15);
}
.sim-guide-banner.banner-offline .sim-guide-text {
  color: #fb7185 !important;
  font-weight: 600;
}
.sim-guide-banner.banner-offline .sim-guide-text i {
  color: #f43f5e !important;
}
.sim-guide-banner.banner-offline .sim-step-indicator-badge {
  background: rgba(244, 63, 94, 0.2) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
}

/* Sync Done Banner State (Green Success) */
.sim-guide-banner.banner-sync-done {
  background: rgba(5, 150, 105, 0.12) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.15);
}
.sim-guide-banner.banner-sync-done .sim-guide-text {
  color: #34d399 !important;
  font-weight: 600;
}
.sim-guide-banner.banner-sync-done .sim-guide-text i {
  color: #10b981 !important;
}
.sim-guide-banner.banner-sync-done .sim-step-indicator-badge {
  background: rgba(52, 211, 153, 0.2) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
}
.btn-sim-reset {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  padding: 0.28rem 0.75rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sim-reset:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* Visual Clinical Activity Feed Stream */
.sim-feed-stream {
  background: #060b17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column-reverse; /* Latest at top */
  gap: 0.75rem;
}
.sim-feed-empty {
  text-align: center;
  padding: 2.2rem 1rem;
  color: #64748b;
  font-size: 0.84rem;
}
.sim-feed-empty i {
  font-size: 2rem;
  color: #334155;
  margin-bottom: 0.45rem;
  display: block;
}
.sim-feed-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  animation: simPopCard 0.25s ease-out;
  transition: all 0.2s ease;
}
@keyframes simPopCard {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sim-feed-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.feed-badge-token {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 0.15rem 0.55rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.feed-badge-saved {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 0.18rem 0.6rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
}
.feed-badge-synced {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.18rem 0.6rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
  animation: simBadgePulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes simBadgePulse {
  0% { transform: scale(0.88); opacity: 0.6; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.sim-feed-card.is-synced {
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.08);
}
.sim-feed-patient {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}
.sim-feed-rx {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sim-feed-footer {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.35rem;
}
.feed-card-sync {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
}
.feed-card-sync .sync-title {
  color: #34d399;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.feed-card-sync .sync-desc {
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 0;
}

/* Architecture Segmented Tab Switcher */
.offline-arch-nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.offline-arch-nav {
  display: inline-flex;
  background: var(--fitx-surface-2, #f8fafc);
  padding: 0.35rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  border: 1px solid var(--fitx-border, #e2e8f0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.btn-arch-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fitx-slate, #64748b);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-arch-tab:hover {
  color: var(--fitx-dark, #0f172a);
}
.btn-arch-tab.active {
  background: #fff;
  color: var(--fitx-dark, #0f172a);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}
.btn-arch-tab.active i {
  color: #0d9488;
}

/* Architecture Showcase Card */
.offline-arch-pane {
  display: none;
}
.offline-arch-pane.active {
  display: block;
  animation: fadeInArch 0.25s ease-out;
}
@keyframes fadeInArch {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Topology Visualizer Card */
.offline-topo-box {
  background: #fff;
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 2rem;
}
.offline-topo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--fitx-border-light, #f1f5f9);
  padding-bottom: 1.25rem;
}
.offline-topo-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  margin-bottom: 0;
}
.offline-topo-title i {
  color: #0d9488;
  font-size: 1.3rem;
}

/* Visual Topology Nodes Grid */
.topo-canvas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  position: relative;
}
.topo-node {
  background: var(--fitx-surface-2, #f8fafc);
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}
.topo-node:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.08);
}
.topo-node-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}
.icon-doctor { background: #e0f2fe; color: #0284c7; }
.icon-server { background: #ccfbf1; color: #0d9488; }
.icon-client { background: #f1f5f9; color: #475569; }
.icon-cloud  { background: #ede9fe; color: #7c3aed; }
.icon-print  { background: #fef3c7; color: #d97706; }

.topo-node-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  margin-bottom: 0.35rem;
}
.topo-node-desc {
  font-size: 0.77rem;
  color: var(--fitx-slate, #64748b);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}
.topo-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

/* Technical Details Flow List */
.arch-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.arch-flow-card {
  background: #fff;
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
}
.arch-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fitx-surface-2, #f8fafc);
  border: 1px solid var(--fitx-border, #e2e8f0);
  color: #0d9488;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.arch-flow-text h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  margin-bottom: 0.25rem;
}
.arch-flow-text p {
  font-size: 0.8rem;
  color: var(--fitx-slate, #64748b);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 4 Pillars Grid */
.offline-pillars-section {
  padding: 4.5rem 0 3.5rem;
  background: var(--fitx-surface-2, #f8fafc);
  border-top: 1px solid var(--fitx-border-light, #f1f5f9);
  border-bottom: 1px solid var(--fitx-border-light, #f1f5f9);
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #1d6fe8);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.08);
}
.pillar-card:hover::before {
  opacity: 1;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.pillar-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  margin-bottom: 0.5rem;
}
.pillar-card p {
  font-size: 0.85rem;
  color: var(--fitx-slate, #64748b);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Truth in Engineering Console */
.truth-console-section {
  padding: 4.5rem 0;
}
.truth-box {
  border-radius: 18px;
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.truth-works {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.truth-cloud {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.truth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.truth-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.truth-title-wrap h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0;
}
.truth-works .truth-title-wrap h4 { color: #166534; }
.truth-works .truth-title-wrap i { color: #16a34a; font-size: 1.3rem; }
.truth-cloud .truth-title-wrap h4 { color: #334155; }
.truth-cloud .truth-title-wrap i { color: #0284c7; font-size: 1.3rem; }

.truth-badge-status {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--fitx-radius-pill, 9999px);
}
.truth-works .truth-badge-status { background: #dcfce7; color: #15803d; }
.truth-cloud .truth-badge-status { background: #e0f2fe; color: #0369a1; }

.truth-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.truth-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.truth-works .truth-list-item i { color: #16a34a; font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.truth-works .truth-list-item span { color: #1e293b; }
.truth-cloud .truth-list-item i { color: #64748b; font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.truth-cloud .truth-list-item span { color: #475569; }

.truth-note {
  margin-top: auto;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.truth-works .truth-note { background: #dcfce7; color: #166534; }
.truth-cloud .truth-note { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* Hardware Blueprint Grid */
.hw-blueprint-section {
  padding: 3.5rem 0 4.5rem;
  background: var(--fitx-surface-2, #f8fafc);
  border-top: 1px solid var(--fitx-border-light, #f1f5f9);
}
.hw-card {
  background: #fff;
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 18px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.hw-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.08);
}
.hw-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--fitx-dark, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.hw-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  margin-bottom: 0.4rem;
}
.hw-card p {
  font-size: 0.83rem;
  color: var(--fitx-slate, #64748b);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.hw-tag {
  margin-top: auto;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  align-self: flex-start;
}

/* Offline FAQ Accordion */
.offline-faq-section {
  padding: 4.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .offline-sim-body {
    grid-template-columns: 1fr;
  }
  .offline-sim-metrics {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .offline-sim-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
  .offline-sim-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .offline-sim-mode-toggle {
    width: 100%;
  }
  .btn-sim-mode {
    flex: 1;
    justify-content: center;
  }
  .sim-steps-bar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .sim-guide-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .btn-sim-reset {
    align-self: flex-start;
  }
  .offline-trust-strip {
    gap: 0.5rem;
  }
  .offline-trust-pill {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
  }
  .btn-arch-tab {
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }
  .offline-topo-box {
    padding: 1.5rem 1.25rem;
  }
  .truth-box {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================================
   ★ SECURITY PAGE — Modern Aristocratic & Interactive UI
   ============================================================ */

/* Security Trust Strip */
.sec-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.sec-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(29, 111, 232, 0.22);
  border-radius: var(--fitx-radius-pill, 9999px);
  padding: 0.42rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fitx-dark, #0f172a);
  box-shadow: 0 2px 8px rgba(29, 111, 232, 0.06);
  transition: all 0.25s ease;
}
.sec-trust-pill:hover {
  transform: translateY(-2px);
  border-color: var(--fitx-primary, #1d6fe8);
  box-shadow: 0 4px 16px rgba(29, 111, 232, 0.16);
  color: var(--fitx-primary, #1d6fe8);
}
.sec-trust-pill i {
  color: var(--fitx-primary, #1d6fe8);
  font-size: 0.95rem;
}

/* Security Inspector Container */
.sec-sim-wrapper {
  margin: 1.5rem 0 4rem;
}
.sec-sim-card {
  background: #0a0f1e;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(29, 111, 232, 0.18) 0%, #0a0f1e 75%);
  border: 1px solid rgba(29, 111, 232, 0.28);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(10, 15, 30, 0.5), 0 0 60px rgba(29, 111, 232, 0.08);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}
.sec-sim-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-sim-title-wrap h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.sec-sim-title-wrap p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-bottom: 0;
  max-width: 680px;
  line-height: 1.6;
}

/* Tab Switcher */
.sec-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}
.sec-tab-btn {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #94a3b8;
  font-family: var(--fitx-font);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.22s ease;
  cursor: pointer;
}
.sec-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.sec-tab-btn.active {
  background: linear-gradient(135deg, #1d6fe8 0%, #1557b0 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(29, 111, 232, 0.45);
}

/* Panes */
.sec-pane {
  display: none;
  animation: secFadeIn 0.3s ease-out;
}
.sec-pane.active {
  display: block;
}
@keyframes secFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tenant Inspector Controls */
.sec-tenant-ctrl-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sec-tenant-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sec-tenant-choice {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sec-tenant-choice:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.05);
}
.sec-tenant-choice.active {
  background: rgba(29, 111, 232, 0.18);
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}
.sec-tenant-choice input[type="radio"] {
  accent-color: #38bdf8;
  width: 17px;
  height: 17px;
}
.sec-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn-sec-action {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-family: var(--fitx-font);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}
.btn-sec-valid {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.btn-sec-valid:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.btn-sec-hack {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.btn-sec-hack:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

/* Security Terminal */
.sec-terminal {
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}
.sec-term-header {
  background: #0f172a;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-term-dots {
  display: flex;
  gap: 6px;
}
.sec-term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.sec-term-body {
  padding: 1.25rem 1.4rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #cbd5e1;
}
.term-line-sql { color: #38bdf8; }
.term-line-guard { color: #fbbf24; }
.term-line-pass { color: #34d399; font-weight: 700; }
.term-line-fail { color: #f87171; font-weight: 700; }

/* RBAC Guard Explorer */
.sec-rbac-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.sec-rbac-pill {
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--fitx-radius-pill, 9999px);
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}
.sec-rbac-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.sec-rbac-pill.active {
  background: rgba(29, 111, 232, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}
.sec-rbac-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
}
.sec-rbac-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-role-badge {
  padding: 0.35rem 0.85rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-role-doc { background: rgba(56, 189, 248, 0.18); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.35); }
.badge-role-rec { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.badge-role-lab { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.badge-role-pha { background: rgba(20, 184, 166, 0.18); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.35); }
.badge-role-rep { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }

.sec-rbac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.sec-rbac-col {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.sec-rbac-col-allowed { border-left: 3px solid #10b981; }
.sec-rbac-col-blocked { border-left: 3px solid #ef4444; }
.sec-rbac-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sec-rbac-list li {
  font-size: 0.86rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.5;
}
.sec-rbac-list li i {
  font-size: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Audit Stream */
.sec-audit-stream {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sec-audit-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.sec-audit-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.3);
}
.sec-audit-event {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #f8fafc;
}
.sec-audit-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 800;
}
.tag-event-rx { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.tag-event-pay { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.tag-event-auth { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.tag-event-block { background: rgba(239, 68, 68, 0.18); color: #f87171; }
.sec-audit-hash {
  color: #64748b;
  font-size: 0.74rem;
}

/* 4-Layer Defense Grid */
.sec-layers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}
.sec-layer-card {
  background: var(--fitx-surface-2, #f8fafc);
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.sec-layer-card:hover {
  transform: translateY(-4px);
  border-color: var(--fitx-primary, #1d6fe8);
  box-shadow: 0 10px 25px rgba(29, 111, 232, 0.1);
  background: #ffffff;
}
.sec-layer-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fitx-primary, #1d6fe8);
  background: rgba(29, 111, 232, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--fitx-radius-pill, 9999px);
  align-self: flex-start;
  margin-bottom: 1rem;
}
.sec-layer-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.icon-layer-1 { background: rgba(29, 111, 232, 0.12); color: #1d6fe8; }
.icon-layer-2 { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.icon-layer-3 { background: rgba(168, 85, 247, 0.12); color: #9333ea; }
.icon-layer-4 { background: rgba(16, 185, 129, 0.12); color: #059669; }
.sec-layer-card h5 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.sec-layer-card p {
  font-size: 0.86rem;
  color: var(--fitx-slate, #64748b);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Security Pillar Cards */
.card-fitx-sec {
  background: #ffffff;
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
.card-fitx-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fitx-primary) 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card-fitx-sec:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 111, 232, 0.35);
  box-shadow: 0 14px 30px rgba(29, 111, 232, 0.1);
}
.card-fitx-sec:hover::before {
  opacity: 1;
}

/* Permission Matrix Table */
.sec-matrix-box {
  background: #ffffff;
  border: 1px solid var(--fitx-border, #e2e8f0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  margin: 2.5rem 0;
}
.sec-matrix-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.sec-matrix-table th {
  background: var(--fitx-surface-2, #f8fafc);
  padding: 1rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--fitx-dark, #0f172a);
  border-bottom: 1px solid var(--fitx-border, #e2e8f0);
  text-align: center;
}
.sec-matrix-table th:first-child {
  text-align: left;
}
.sec-matrix-table td {
  padding: 0.95rem 1.15rem;
  font-size: 0.86rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
  vertical-align: middle;
}
.sec-matrix-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--fitx-dark, #0f172a);
}
.matrix-badge-full {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-radius: var(--fitx-radius-pill, 9999px);
  font-size: 0.76rem;
  font-weight: 700;
}
.matrix-badge-own {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-radius: var(--fitx-radius-pill, 9999px);
  font-size: 0.76rem;
  font-weight: 700;
}
.matrix-badge-none {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Privacy & Representative Trust Card */
.sec-privacy-card {
  background: linear-gradient(135deg, #0a0f1e 0%, #151e34 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(10, 15, 30, 0.35);
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
}
.sec-privacy-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .sec-layers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-rbac-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .sec-sim-card {
    padding: 1.5rem 1.15rem;
  }
  .sec-layers-grid {
    grid-template-columns: 1fr;
  }
  .sec-tab-btn {
    min-width: 100%;
  }
  .sec-tenant-selector {
    flex-direction: column;
  }
  .sec-matrix-box {
    overflow-x: auto;
  }
}

/* ============================================================
   ★ FAQ / KNOWLEDGE BASE REDESIGN & INTERACTIVE SUITE
   ============================================================ */

/* Hero Search Bar */
.faq-search-wrapper {
  max-width: 680px;
  margin: 1.75rem auto 0;
  position: relative;
}
.faq-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--fitx-radius-pill, 50px);
  padding: 0.35rem 0.5rem 0.35rem 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-search-box:focus-within {
  border-color: var(--fitx-primary);
  box-shadow: 0 12px 35px rgba(29, 111, 232, 0.18), 0 0 0 4px rgba(29, 111, 232, 0.12);
}
.faq-search-icon {
  font-size: 1.15rem;
  color: var(--fitx-primary);
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.faq-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--fitx-font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fitx-dark);
  padding: 0.5rem 0;
  outline: none;
}
.faq-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.faq-search-clear {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  transition: color 0.15s, background-color 0.15s;
}
.faq-search-clear:hover {
  color: var(--fitx-dark);
  background-color: #f1f5f9;
}
.faq-search-stats {
  font-size: 0.84rem;
  color: var(--fitx-slate);
  margin-top: 0.75rem;
  text-align: center;
}

/* Category Quick-Filter Navigation Pills */
.faq-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.25rem;
}
.faq-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  color: var(--fitx-slate-700);
  font-family: var(--fitx-font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--fitx-radius-pill, 50px);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.faq-pill-btn:hover {
  border-color: var(--fitx-primary);
  color: var(--fitx-primary);
  background: var(--fitx-primary-light);
  transform: translateY(-1px);
}
.faq-pill-btn.active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}
.faq-pill-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}
.faq-pill-btn.active .faq-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Category Spotlight Grid */
.faq-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.faq-spotlight-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border-light);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.faq-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.faq-spotlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--fitx-primary-light);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}
.faq-spotlight-card:hover::before {
  background: var(--fitx-primary);
}
.faq-spotlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  transition: transform 0.2s ease;
}
.faq-spotlight-card:hover .faq-spotlight-icon {
  transform: scale(1.08);
}
.faq-spotlight-title {
  font-family: var(--fitx-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fitx-dark);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.faq-spotlight-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fitx-slate);
}

/* Distinct theme colors for domain spotlight cards */
.faq-theme-general .faq-spotlight-icon { background: #e0f2fe; color: #0284c7; }
.faq-theme-general:hover::before { background: #0284c7; }
.faq-theme-pricing .faq-spotlight-icon { background: #fef3c7; color: #d97706; }
.faq-theme-pricing:hover::before { background: #d97706; }
.faq-theme-clinical .faq-spotlight-icon { background: #ccfbf1; color: #0d9488; }
.faq-theme-clinical:hover::before { background: #0d9488; }
.faq-theme-offline .faq-spotlight-icon { background: #dbeafe; color: #2563eb; }
.faq-theme-offline:hover::before { background: #2563eb; }
.faq-theme-security .faq-spotlight-icon { background: #f3e8ff; color: #7e22ce; }
.faq-theme-security:hover::before { background: #7e22ce; }

/* Category Section Blocks & Headers */
.faq-category-block {
  margin-bottom: 3rem;
  scroll-margin-top: 90px;
}
.faq-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--fitx-border);
  margin-bottom: 1.25rem;
}
.faq-category-header h3 {
  font-family: var(--fitx-font);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fitx-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.faq-category-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.faq-toggle-all-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fitx-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.faq-toggle-all-btn:hover {
  text-decoration: underline;
  background: var(--fitx-primary-light);
}

/* Modern FAQ Accordion Cards */
.faq-card-modern {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}
.faq-card-modern:hover {
  border-color: rgba(29, 111, 232, 0.3);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.faq-card-modern.is-open {
  border-color: rgba(29, 111, 232, 0.45);
  box-shadow: 0 8px 24px rgba(29, 111, 232, 0.08);
  background: #ffffff;
}

.faq-card-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.faq-card-trigger:focus-visible {
  outline: 2px solid var(--fitx-primary);
  outline-offset: -2px;
}
.faq-card-question-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
}
.faq-q-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--fitx-primary-light);
  color: var(--fitx-primary);
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-card-modern.is-open .faq-q-indicator {
  background: var(--fitx-primary);
  color: #ffffff;
}
.faq-question-title {
  font-family: var(--fitx-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fitx-dark);
  line-height: 1.45;
  margin: 0;
  transition: color 0.15s ease;
}
.faq-card-modern.is-open .faq-question-title {
  color: var(--fitx-primary-dark);
}
.faq-card-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--fitx-slate);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-card-modern.is-open .faq-card-chevron {
  transform: rotate(180deg);
  background: var(--fitx-primary-light);
  color: var(--fitx-primary);
}

.faq-card-content {
  padding: 0 1.4rem 1.35rem 3.55rem;
}
.faq-card-answer {
  font-family: var(--fitx-font);
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.8;
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

/* Search match highlight */
.faq-highlight {
  background-color: #fef08a;
  color: #713f12;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 3px;
}

/* Helpfulness Feedback Bar */
.faq-helpful-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--fitx-border-light);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--fitx-slate);
}
.faq-helpful-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.faq-helpful-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.faq-feedback-btn {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 20px;
  padding: 0.22rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}
.faq-feedback-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--fitx-dark);
}
.faq-feedback-btn.active-yes {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.faq-feedback-btn.active-no {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
.faq-feedback-thankyou {
  color: #16a34a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}

/* Empty State */
.faq-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #ffffff;
  border: 1.5px dashed var(--fitx-border);
  border-radius: 16px;
  margin: 2rem 0;
  display: none;
}
.faq-empty-icon {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.faq-empty-title {
  font-family: var(--fitx-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.5rem;
}
.faq-empty-text {
  font-size: 0.92rem;
  color: var(--fitx-slate);
  max-width: 460px;
  margin: 0 auto 1.25rem;
}

/* Aristocratic Consultation Support Card */
.faq-consultation-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-consultation-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29, 111, 232, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.faq-consultation-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.faq-consultation-inner {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .faq-spotlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767.98px) {
  .faq-spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-card-content {
    padding-left: 1.4rem;
  }
  .faq-card-trigger {
    padding: 1rem 1.15rem;
  }
  .faq-consultation-card {
    padding: 2rem 1.25rem;
  }
}
@media (max-width: 480px) {
  .faq-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ★ DEMO PAGE OVERHAUL & INTERACTIVE WALKTHROUGH SUITE
   ============================================================ */

/* Hero trust badges bar */
.demo-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
}
.demo-hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.95rem;
  border-radius: var(--fitx-radius-pill, 50px);
  border: 1px solid var(--fitx-border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.demo-hero-highlight-item i {
  color: var(--fitx-primary);
  font-size: 1rem;
}

/* Form Card Styling */
.demo-form-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.demo-section-label {
  font-family: var(--fitx-font);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fitx-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-section-label i {
  color: var(--fitx-primary);
}

/* Interactive Module Focus Chips */
.demo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.demo-chip-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.demo-chip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1.5px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill, 50px);
  padding: 0.42rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-chip-label:hover {
  border-color: var(--fitx-primary);
  color: var(--fitx-primary);
  background: var(--fitx-primary-light);
}
.demo-chip-checkbox:checked + .demo-chip-label {
  background: var(--fitx-primary-light);
  border-color: var(--fitx-primary);
  color: var(--fitx-primary-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(29, 111, 232, 0.15);
}
.demo-chip-checkbox:checked + .demo-chip-label i {
  color: var(--fitx-primary);
}

/* Meeting Format Grid */
.demo-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.demo-format-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.demo-format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px solid var(--fitx-border);
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-format-card:hover {
  border-color: var(--fitx-primary);
  transform: translateY(-2px);
}
.demo-format-radio:checked + .demo-format-card {
  border-color: var(--fitx-primary);
  background: var(--fitx-primary-light);
  box-shadow: 0 4px 14px rgba(29, 111, 232, 0.14);
}
.demo-format-icon {
  font-size: 1.35rem;
  color: var(--fitx-slate);
  margin-bottom: 0.35rem;
  transition: color 0.15s ease;
}
.demo-format-radio:checked + .demo-format-card .demo-format-icon {
  color: var(--fitx-primary);
}
.demo-format-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin: 0;
  line-height: 1.3;
}

/* Time Slot Radio Group */
.demo-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.demo-time-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.demo-time-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid var(--fitx-border);
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  cursor: pointer;
  user-select: none;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-time-card:hover {
  border-color: var(--fitx-primary);
  background: var(--fitx-primary-light);
}
.demo-time-radio:checked + .demo-time-card {
  border-color: var(--fitx-primary);
  background: var(--fitx-primary-light);
  color: var(--fitx-primary-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(29, 111, 232, 0.12);
}

/* Sidebar Roadmap Card */
.demo-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.demo-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 1.5rem 0;
}
.demo-step-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}
.demo-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.demo-step-icon-1 { background: #e0f2fe; color: #0284c7; }
.demo-step-icon-2 { background: #ccfbf1; color: #0d9488; }
.demo-step-icon-3 { background: #fef3c7; color: #d97706; }
.demo-step-title {
  font-family: var(--fitx-font);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.25rem;
}
.demo-step-desc {
  font-size: 0.85rem;
  color: var(--fitx-slate);
  line-height: 1.55;
  margin: 0;
}

/* Guarantee Card */
.demo-guarantee-card {
  background: #f8fafc;
  border: 1px solid var(--fitx-border);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}
.demo-guarantee-icon {
  font-size: 1.5rem;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}
.demo-guarantee-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.2rem;
}
.demo-guarantee-desc {
  font-size: 0.8rem;
  color: var(--fitx-slate);
  line-height: 1.5;
  margin: 0;
}

/* Urgent / Hotline Callout */
.demo-hotline-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 1.5rem;
  color: #ffffff;
  margin-top: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.demo-hotline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}
.demo-hotline-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.demo-hotline-actions {
  display: flex;
  gap: 0.65rem;
  flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .demo-form-card {
    padding: 1.5rem 1.25rem;
  }
  .demo-sidebar-card {
    padding: 1.5rem 1.25rem;
    margin-top: 2rem;
  }
  .demo-format-grid {
    grid-template-columns: 1fr;
  }
  .demo-time-grid {
    grid-template-columns: 1fr;
  }
  .demo-hero-highlights {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================================================
   ★ CONTACT PAGE OVERHAUL & CLINICAL CONSULTATION SUITE
   ============================================================ */

/* Hero trust badges bar */
.contact-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
}
.contact-hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.95rem;
  border-radius: var(--fitx-radius-pill, 50px);
  border: 1px solid var(--fitx-border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.contact-hero-highlight-item i {
  color: var(--fitx-teal, #0d9488);
  font-size: 1rem;
}

/* 3 Direct Channel Cards */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.contact-channel-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border-light);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--fitx-primary-light);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.contact-ch-whatsapp:hover::before { background: #25d366; }
.contact-ch-email:hover::before { background: var(--fitx-primary); }
.contact-ch-hq:hover::before { background: var(--fitx-gold); }

.contact-channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.contact-icon-wa { background: #dcfce7; color: #16a34a; }
.contact-icon-email { background: #e0f2fe; color: #0284c7; }
.contact-icon-hq { background: #fef3c7; color: #d97706; }

.contact-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}
.contact-pulse-dot {
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  animation: contactPulse 1.8s infinite;
}
@keyframes contactPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.contact-channel-title {
  font-family: var(--fitx-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.35rem;
}
.contact-channel-desc {
  font-size: 0.85rem;
  color: var(--fitx-slate);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex: 1;
}
.contact-channel-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.contact-dept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.contact-dept-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-dept-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill, 50px);
  padding: 0.38rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fitx-slate-700);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-dept-label:hover {
  border-color: var(--fitx-teal, #0d9488);
  background: #f0fdfa;
  color: var(--fitx-dark);
}
.contact-dept-radio:checked + .contact-dept-label {
  background: #ccfbf1;
  border-color: #0d9488;
  color: #0f766e;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
}

/* Sidebar Components */
.contact-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.contact-hours-box {
  background: #f8fafc;
  border: 1px solid var(--fitx-border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}
.contact-hours-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-hours-desc {
  font-size: 0.82rem;
  color: var(--fitx-slate);
  line-height: 1.6;
  margin: 0;
}

/* Mini Quick FAQs */
.contact-mini-faqs {
  margin-bottom: 1.75rem;
}
.contact-mini-faq-item {
  border-bottom: 1px solid var(--fitx-border-light);
  padding: 0.85rem 0;
}
.contact-mini-faq-item:last-child {
  border-bottom: none;
}
.contact-mini-q {
  font-family: var(--fitx-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.contact-mini-a {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  padding-left: 1.25rem;
}

/* Enterprise Demo Box in Sidebar */
.contact-enterprise-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}
.contact-enterprise-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}
.contact-enterprise-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.55;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-sidebar-card {
    padding: 1.5rem 1.25rem;
    margin-top: 2rem;
  }
  .contact-hero-highlights {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================================================
   ★ ABOUT TRUST HEALTH PAGE STYLES
   ============================================================ */
.about-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.about-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 0.45rem 1rem;
  border-radius: var(--fitx-radius-pill);
  font-size: 0.85rem;
  color: var(--fitx-slate-700);
  font-weight: 500;
  transition: all 0.2s ease;
}
.about-hero-pill:hover {
  border-color: var(--fitx-primary);
  box-shadow: 0 4px 12px rgba(29, 111, 232, 0.1);
  transform: translateY(-1px);
}

/* Mission & Corporate Card */
.about-mission-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}
.about-mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fitx-primary), #06b6d4, #10b981);
}
.about-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fitx-slate-800);
  background: #f1f5f9;
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-pill);
  padding: 0.35rem 0.85rem;
}

/* Company Box (Dark Aristocratic Container) */
.about-company-box {
  background: linear-gradient(145deg, #090f1d 0%, #172554 100%);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 36px rgba(9, 15, 29, 0.3);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-company-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(29, 111, 232, 0.25);
  color: #38bdf8;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.about-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}
.about-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}
.about-meta-label {
  color: #94a3b8;
  font-weight: 500;
}
.about-meta-val {
  color: #f8fafc;
  font-weight: 600;
  text-align: right;
}

/* 3 Pillars Cards */
.about-pillar-card {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.about-pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(29, 111, 232, 0.4);
  box-shadow: 0 16px 36px rgba(29, 111, 232, 0.12);
}
.about-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s;
}
.about-pillar-card:hover::before {
  background: var(--fitx-primary);
}
.about-pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.about-pillar-icon.icon-blue {
  background: rgba(29, 111, 232, 0.1);
  color: var(--fitx-primary);
}
.about-pillar-icon.icon-teal {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}
.about-pillar-icon.icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
.about-pillar-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: var(--fitx-radius-pill);
}
.about-pillar-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--fitx-slate-700);
}
.about-pillar-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Leadership Philosophy Card */
.about-leadership-card {
  background: linear-gradient(135deg, #090f1d 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(9, 15, 29, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-founder-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
}
.about-founder-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29, 111, 232, 0.2);
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.about-founder-quote {
  color: #e2e8f0;
  line-height: 1.65;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--fitx-primary);
}

/* Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.about-stat-item {
  background: #ffffff;
  border: 1px solid var(--fitx-border);
  border-radius: var(--fitx-radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}
.about-stat-item:hover {
  border-color: var(--fitx-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 111, 232, 0.08);
}
.about-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fitx-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}
.about-stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fitx-dark);
  margin-bottom: 0.2rem;
}
.about-stat-sub {
  font-size: 0.76rem;
  color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .about-mission-card {
    padding: 2rem 1.5rem;
  }
  .about-leadership-card {
    padding: 2rem 1.5rem;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .about-hero-highlights {
    flex-direction: column;
    gap: 0.5rem;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}



/* Announcement bar managed from the Operations panel */
.site-notice{background:#052862;color:#fff;font-size:.9rem;padding:.55rem 0;text-align:center}
.site-notice .container{display:flex;flex-wrap:wrap;gap:.5rem .8rem;align-items:center;justify-content:center}
.site-notice i{color:#82be5c}
.site-notice a{color:#9fe7ee;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* a form field for programs only; people never see or reach it */
.fitx-trap { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
