/* Executive Practice Card Components */
.practice-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.luxury-card:hover .practice-card-icon { background: rgba(197, 160, 89, 0.22); border-color: var(--gold-primary); transform: scale(1.05); }

.practice-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #94A3B8;
  transition: all 0.2s ease;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.card-action-link i { font-size: 0.75rem; transition: transform 0.2s ease; }

.card-action-link:hover { color: #FFFFFF; }

.card-action-link:hover i { transform: translateX(4px); }

/* Persona Selector & Dossier Tabs */
.persona-tab-btn, .dossier-tab-btn { cursor: pointer; user-select: none; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }

.persona-tab-btn:hover:not(.active), .dossier-tab-btn:hover:not(.active) { border-color: rgba(197, 160, 89, 0.4); color: #FFFFFF; }

/* Credentials Badge Card */
.credential-luxury-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.credential-luxury-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: var(--shadow-luxury); }

/* Buttons with Gold & Royal Blue Refinement */
.btn-gold-primary {
  background: var(--gold-gradient);
  color: #070B14 !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.85rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

[data-theme="light"] .btn-gold-primary {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.2) !important;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.18) !important;
}

.btn-gold-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -5px rgba(197, 160, 89, 0.45); color: #000000 !important; }

[data-theme="light"] .btn-gold-primary:hover { color: #FFFFFF !important; background: linear-gradient(135deg, #1E293B 0%, #0B1120 100%) !important; box-shadow: 0 8px 25px -4px rgba(15, 23, 42, 0.25) !important; }

.btn-glass-secondary {
  background: var(--gold-subtle);
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-glass-secondary:hover {
  background: rgba(197, 160, 89, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}

[data-theme="light"] .btn-glass-secondary {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  font-weight: 700;
}

[data-theme="light"] .btn-glass-secondary:hover {
  background: #0B1120 !important;
  border-color: #0B1120 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.20) !important;
  transform: translateY(-2px);
}

/* ICAI Ethical Pull-Model Disclaimer Banner */
.icai-disclaimer-banner {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 3rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  box-shadow: var(--shadow-card);
}

.icai-disclaimer-banner strong {
  color: var(--gold-light);
  display: block;
  font-size: 0.925rem;
  margin-bottom: 0.4rem;
}

/* Subtle Gold Badge */
.gold-badge {
  background: var(--gold-subtle);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.theme-toggle-btn:hover { border-color: var(--gold-primary); color: var(--gold-light); }

[data-theme="light"] .theme-toggle-btn { background: #FFFFFF !important; border-color: rgba(15, 23, 42, 0.12) !important; color: #0F172A !important; }

[data-theme="light"] .theme-toggle-btn:hover { border-color: #0F172A !important; color: #0F172A !important; background: #F8FAFC !important; }

/* Nav Dedicated Action Buttons */
.nav-consult-btn {
  background: var(--gold-subtle);
  color: var(--gold-light) !important;
  border: 1px solid var(--gold-border);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-consult-btn:hover { background: var(--gold-primary); color: #070B14 !important; }

[data-theme="light"] .nav-consult-btn { background: rgba(166, 124, 46, 0.09) !important; color: #7A5512 !important; border-color: rgba(166, 124, 46, 0.3) !important; }

[data-theme="light"] .nav-consult-btn:hover { background: #0B1120 !important; color: #FFFFFF !important; border-color: #0B1120 !important; }

.nav-erp-btn {
  color: var(--gold-light) !important;
  border: 1px solid var(--gold-border);
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-erp-btn:hover { border-color: var(--gold-light); background: var(--gold-subtle); }

[data-theme="light"] .nav-erp-btn { background: #0B1120 !important; color: #FFFFFF !important; border-color: #0B1120 !important; }

[data-theme="light"] .nav-erp-btn:hover { background: #1E293B !important; color: #FFFFFF !important; border-color: #1E293B !important; }

.nav-search-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-search-btn kbd { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); color: #94A3B8; }

[data-theme="light"] .nav-search-btn { background: #F8FAFC !important; border-color: rgba(15, 23, 42, 0.1) !important; color: #475569 !important; }

[data-theme="light"] .nav-search-btn i { color: #7A5512 !important; }

[data-theme="light"] .nav-search-btn kbd { background: #FFFFFF !important; border-color: rgba(15, 23, 42, 0.14) !important; color: #475569 !important; }

/* Executive Desktop Navigation Link Buttons */
.nav-link-btn {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  color: #94A3B8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .nav-link-btn {
    padding: 0.45rem 0.625rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }
}

@media (min-width: 1536px) {
  .nav-link-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

.nav-link-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav-link-btn { color: #475569; }

[data-theme="light"] .nav-link-btn:hover { color: #0B1120; background: #F1F5F9; }

.nav-link-btn.is-active {
  color: var(--gold-light) !important;
  background: rgba(197, 160, 89, 0.12) !important;
  border: 1px solid var(--gold-border) !important;
  font-weight: 700;
}

[data-theme="light"] .nav-link-btn.is-active {
  color: #0B1120 !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

/* ==========================================================================
   Desktop Navigation Dropdown Hover Architecture (CSS-First & W3C Seamless Bridge)
   ========================================================================== */
@media (min-width: 1024px) {
  .nav-dropdown-container { position: relative; }
}

/* Seamless hover bridge: spans empty vertical gap so mouse never leaves container */
.nav-dropdown-container::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
  display: block;
  z-index: 49;
}

.nav-dropdown-wrapper {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  pointer-events: none;
}

.nav-dropdown-container:hover .nav-dropdown-wrapper,
.nav-dropdown-container:focus-within .nav-dropdown-wrapper,
.nav-dropdown-container.is-open .nav-dropdown-wrapper {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.nav-dropdown-container:hover .dropdown-arrow,
.nav-dropdown-container:focus-within .dropdown-arrow,
.nav-dropdown-container.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

