:root { 
  /* Modern Color Palette */
  --primary: #0f0147;
  --primary-light: #1a1b3a;
  --primary-dark: #050225;
  --accent: #3DD5F3;
  --accent-light: #6FE5FF;
  --accent-dark: #1FC0E0;
  --light: #FFFFFF;
  --dark: #5DDCAD;
  --dark-light: #7FE8C4;
  --dark-dark: #3BCA8F;
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #0f0147 0%, #1a1b3a 50%, #3DD5F3 100%);
  --gradient-hero: linear-gradient(135deg, #0f0147 0%, #1a1b3a 30%, #3DD5F3 100%);
  --gradient-accent: linear-gradient(135deg, #3DD5F3 0%, #5DDCAD 100%);
  --gradient-card: linear-gradient(135deg, rgba(61, 213, 243, 0.05) 0%, rgba(93, 220, 173, 0.05) 100%);
  
  /* Spacing System (Modern 8px grid) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  /* Shadows (Modern, subtle) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

body { 
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; 
  background: var(--light); 
  color: #1a1a1a; 
  transition: background var(--transition-base), color var(--transition-base); 
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Modern Typography System */
h1, h2, h3, h4, h5, h6 { 
  font-weight: 700; 
  line-height: 1.2; 
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary);
  font-weight: 800;
  line-height: 1.1;
}

.hero-container h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, rgba(61, 213, 243, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary);
  font-weight: 700;
}

/* Modern heading colors with gradients */
.section > .container > .text-center > h2,
.section h2.display-6 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  font-weight: 700;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--primary);
  font-weight: 600;
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--primary);
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.display-5 { 
  font-size: clamp(2.5rem, 6vw, 4rem); 
  font-weight: 800; 
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.display-6 { 
  font-size: clamp(2rem, 5vw, 3rem); 
  font-weight: 800; 
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead { 
  font-size: clamp(1.125rem, 2vw, 1.375rem); 
  font-weight: 400; 
  line-height: 1.7;
  color: #4b5563;
}

/* Modern Buttons */
.btn-primary { 
  background: var(--gradient-accent);
  color: white;
  border: none; 
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  transition: all var(--transition-base);
}

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Modern Glass Morphism */
.glass { 
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 213, 243, 0.5), transparent);
}

.glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(61, 213, 243, 0.4);
}

/* Modern Feature Cards */
.feature-card {
  transition: all var(--transition-base);
  height: 100%;
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  border-radius: var(--radius-xl);
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-xl);
}

/* Alternate feature icons with teal for visibility */
.feature-card:nth-child(3n) .feature-icon {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

/* Modern Hero Section */
.hero-section {
  background: var(--gradient-hero);
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

/* Hero Background Slideshow */
.hero-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  will-change: opacity;
}

.hero-bg-slide.active {
  opacity: 0.4;
}

.hero-bg-slide[data-image="1"] {
  background-image: url('/public/img/image_gallery (1).jpg');
}

.hero-bg-slide[data-image="2"] {
  background-image: url('/public/img/image_gallery (2).jpg');
}

.hero-bg-slide[data-image="3"] {
  background-image: url('/public/img/image_gallery (3).jpg');
}

.hero-bg-slide[data-image="4"] {
  background-image: url('/public/img/image_gallery (4).jpg');
}

.hero-bg-slide[data-image="5"] {
  background-image: url('/public/img/image_gallery (5).jpg');
}

.hero-bg-slide[data-image="6"] {
  background-image: url('/public/img/image_gallery (6).jpg');
}

.hero-bg-slide[data-image="7"] {
  background-image: url('/public/img/image_gallery (7).jpg');
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 1, 71, 0.5) 0%, rgba(15, 1, 71, 0.3) 40%, transparent 60%),
              radial-gradient(circle at 30% 50%, rgba(61, 213, 243, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(93, 220, 173, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Add teal/cyan and blue/cyan accents to hero section */
.hero-section h1 {
  color: white;
}

.hero-section h1 .text-teal {
  color: var(--dark);
}

.hero-section h1 .text-accent {
  color: var(--accent);
}

.tracking-wide {
  letter-spacing: 0.2em;
}

.section-gradient {
  background: var(--gradient-card);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(61, 213, 243, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-gradient .glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.hero-section .btn-outline-light:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--primary);
}

.hero-section .btn-outline-light:hover i {
  color: var(--primary);
}

.hero-section .btn-light:hover {
  background: var(--accent);
  color: var(--primary);
}

.hero-section .btn-light:hover i {
  color: var(--primary);
}

.hero-section .lead,
.hero-section p {
  color: white;
}

.hero-section .lead .text-teal,
.hero-section p .text-teal {
  color: var(--dark);
}

.hero-section .lead .text-accent,
.hero-section p .text-accent {
  color: var(--accent);
}

.hero-section i.bi {
  color: var(--dark);
}

.hero-section .btn-light i.bi {
  color: var(--dark);
}

.hero-section .btn-outline-light i.bi {
  color: var(--accent);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

/* Modern Pricing Cards */
.pricing-card {
  border: 2px solid rgba(63, 52, 108, 0.1);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  background: white;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.pricing-card.featured::before {
  opacity: 1;
  height: 4px;
}

.pricing-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--gradient-accent);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* Premium Pricing Cards - Enhanced Design */
.premium-pricing-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(63, 52, 108, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.premium-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(63, 52, 108, 0.15);
  border-color: var(--accent);
}

/* Tier-based styling */
.premium-tier-starter {
  border-top: 3px solid rgba(61, 213, 243, 0.3);
}

.premium-tier-growth {
  border-top: 3px solid rgba(93, 220, 173, 0.4);
}

.premium-tier-professional {
  border-top: 3px solid rgba(63, 52, 108, 0.5);
}

.premium-tier-enterprise {
  border-top: 3px solid var(--primary);
}

/* Featured and Best Value cards */
.premium-featured,
.premium-best-value {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.premium-featured:hover,
.premium-best-value:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 32px rgba(61, 213, 243, 0.2);
}

/* Premium badges */
.premium-badge-premium {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(61, 213, 243, 0.3);
  z-index: 10;
}

.premium-badge {
  display: inline-block;
  background: rgba(93, 220, 173, 0.15);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.premium-badge-savings {
  background: rgba(93, 220, 173, 0.2);
  color: #059669;
}

.premium-badge-max {
  background: linear-gradient(135deg, rgba(93, 220, 173, 0.3) 0%, rgba(61, 213, 243, 0.2) 100%);
  color: var(--primary);
  font-weight: 700;
}

/* Card header */
.premium-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(63, 52, 108, 0.1);
}

.premium-card-header h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.premium-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin: 1rem 0 0.5rem;
}

.premium-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.premium-amount {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.premium-per-match {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Card body */
.premium-card-body {
  flex: 1;
  margin-bottom: 1.5rem;
}

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #374151;
  border-bottom: 1px solid rgba(63, 52, 108, 0.05);
}

.premium-features li:last-child {
  border-bottom: none;
}

.premium-features li i {
  color: var(--dark);
  font-size: 1rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Card footer */
.premium-card-footer {
  margin-top: auto;
}

.premium-card-footer .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.premium-card-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 52, 108, 0.2);
}

/* Dark mode support */
[data-theme="dark"] .premium-pricing-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
}

[data-theme="dark"] .premium-pricing-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

[data-theme="dark"] .premium-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .premium-card-header h4 {
  color: var(--accent);
}

[data-theme="dark"] .premium-features li {
  color: rgba(241, 245, 249, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .premium-per-match {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .premium-badge {
  background: rgba(93, 220, 173, 0.2);
  color: var(--dark);
}

[data-theme="dark"] .premium-featured,
[data-theme="dark"] .premium-best-value {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .premium-pricing-card {
    padding: 1.5rem 1.25rem;
  }
  
  .premium-amount {
    font-size: 2rem;
  }
  
  .premium-card-header h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .premium-pricing-card {
    padding: 1.5rem 1rem;
  }
  
  .premium-amount {
    font-size: 1.75rem;
  }
  
  .premium-features li {
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }
}

/* Modern Section Spacing */
.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: rgba(61, 213, 243, 0.02);
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0.5;
  pointer-events: none;
}

/* Dark mode */
[data-theme="dark"] body { 
  background: var(--dark); 
  color:#f1f5f9; 
}
[data-theme="dark"] .glass { 
  background: rgba(255, 255, 255, 0.1); 
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .glass:hover {
  background: rgba(255, 255, 255, 0.15);
}
[data-theme="dark"] .card, 
[data-theme="dark"] .table { 
  background: rgba(255, 255, 255, 0.1); 
  color: #f1f5f9; 
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) { 
  background: rgba(255,255,255,0.05); 
}
/* Modern Navbar Styling */
.navbar-modern {
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(63, 52, 108, 0.08);
  padding: var(--space-sm) 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar-modern:hover {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-modern .nav-link {
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition-fast);
  padding: var(--space-xs) var(--space-sm) !important;
  border-radius: var(--radius-sm);
  margin: 0 var(--space-xs);
}

.navbar-modern .nav-link:hover {
  color: var(--accent);
  background: rgba(61, 213, 243, 0.1);
}

[data-theme="dark"] .navbar-modern { 
  background: rgba(255, 255, 255, 0.1) !important; 
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.navbar-brand-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

[data-theme="dark"] .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .navbar-nav .nav-link:hover {
  color: var(--accent);
}

[data-theme="dark"] .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
}
[data-theme="dark"] .border-top { 
  border-color: rgba(255,255,255,0.1) !important; 
}
[data-theme="dark"] .section-alt {
  background: rgba(255,255,255,0.02);
}

/* Dark mode for dashboard components */
[data-theme="dark"] .kpi-card {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border-left-color: var(--primary);
}

[data-theme="dark"] .kpi-card .kpi-label {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .action-card {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .modern-table {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .modern-table thead {
  background: rgba(63, 52, 108, 0.6);
}

[data-theme="dark"] .modern-table tbody tr:hover {
  background: rgba(61, 213, 243, 0.15);
}

[data-theme="dark"] .stats-card {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .chart-container {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .upload-area {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255,255,255,0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .upload-area:hover {
  border-color: var(--accent);
  background: rgba(61, 213, 243, 0.15);
}

[data-theme="dark"] .filter-chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255,255,255,0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

[data-theme="dark"] .filter-chip.active {
  background: var(--accent);
  color: white;
}

[data-theme="dark"] .page-header {
  border-bottom-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .page-header h1,
[data-theme="dark"] .page-header h2 {
  color: #f1f5f9;
}

[data-theme="dark"] .empty-state {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .empty-state h3 {
  color: #f1f5f9;
}

/* Modern Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-delay {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.animate-slide-in {
  animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale-in {
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Intersection Observer animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Spinner */
.spinner-border-sm { 
  width: 1rem; 
  height: 1rem; 
  border-width: 0.15em; 
}

/* Toast notifications */
.toast-container { 
  position: fixed; 
  top: 20px; 
  right: 20px; 
  z-index: 1060; 
}
.toast { 
  min-width: 300px; 
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Utility classes */
.text-gradient {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.shadow-soft {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.rounded-lg {
  border-radius: 16px;
}

/* Alignment Utilities */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

/* Flex alignment utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Icon-text alignment */
.icon-text-align {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-text-align i {
  flex-shrink: 0;
}

/* Card content alignment */
.card-content,
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card .text-muted {
  flex-grow: 1;
}

/* Form alignment */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: left;
}

.form-control,
.form-select {
  width: 100%;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-check-input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-check-label {
  margin-bottom: 0;
}

/* Button group alignment */
.btn-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-group-horizontal {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Table alignment */
.table th {
  text-align: left;
  vertical-align: middle;
}

.table td {
  vertical-align: middle;
}

.table th.text-center,
.table td.text-center {
  text-align: center;
}

.table th.text-end,
.table td.text-end {
  text-align: right;
}

/* List alignment */
.list-unstyled li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.list-unstyled li i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Spacing scale */
.spacing-xs { margin-bottom: 0.5rem; }
.spacing-sm { margin-bottom: 1rem; }
.spacing-md { margin-bottom: 1.5rem; }
.spacing-lg { margin-bottom: 2rem; }
.spacing-xl { margin-bottom: 3rem; }

/* Section alignment */
.section h2,
.section .display-6 {
  text-align: center;
}

.section-alt {
  text-align: left;
}

/* Hero section alignment fixes */
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section h1,
.hero-section .lead,
.hero-section p {
  text-align: center;
}

/* Feature icon alignment */
.feature-icon {
  flex-shrink: 0;
}

/* Pricing card alignment */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .list-unstyled {
  flex-grow: 1;
}

/* Form validation alignment */
.invalid-feedback,
.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  text-align: left;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
  text-align: left;
}

/* Accordion alignment */
.accordion-button {
  text-align: left;
}

.accordion-body {
  text-align: left;
}

/* Navigation alignment */
.navbar-nav {
  align-items: center;
  gap: 0.25rem;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  color: rgba(63, 52, 108, 0.85);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.navbar-nav .nav-link:nth-child(2n)::after {
  background: var(--dark);
}

/* Active nav link state */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[aria-current="page"]::after {
  width: 60%;
  background: var(--primary);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s;
  padding: 0.5rem 0;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-logo {
  height: 60px;
  width: auto;
  display: inline-block;
  transition: transform 0.2s;
  filter: drop-shadow(0 2px 4px rgba(63, 52, 108, 0.1));
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 40px;
  }
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

/* Professional dropdown menu styling */
.dropdown-menu {
  border: 1px solid rgba(63, 52, 108, 0.1);
  box-shadow: 0 8px 24px rgba(63, 52, 108, 0.15);
  border-radius: 12px;
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: white;
}

.dropdown-item {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: rgba(63, 52, 108, 0.9);
}

.dropdown-item:hover {
  background: rgba(61, 213, 243, 0.1);
  color: var(--primary);
}

.dropdown-item:nth-child(even):hover {
  background: rgba(93, 220, 173, 0.1);
}

.dropdown-item i {
  width: 20px;
  margin-right: 0.5rem;
  color: var(--primary);
}

.dropdown-header {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-divider {
  margin: 0.5rem 0;
  opacity: 0.1;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
}

.dropdown-toggle i {
  font-size: 1.1rem;
}

/* Professional login/register buttons */
.navbar .btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}

.navbar .btn-primary {
  box-shadow: 0 2px 8px rgba(63, 52, 108, 0.2);
}

.navbar .btn-primary:hover {
  box-shadow: 0 4px 12px rgba(63, 52, 108, 0.3);
  transform: translateY(-1px);
}

/* Navbar toggler (hamburger menu) styling */
.navbar-toggler {
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 0.375rem 0.5rem;
  transition: all 0.2s;
}

.navbar-toggler:hover {
  background: rgba(61, 213, 243, 0.1);
  border-color: var(--accent);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(61, 213, 243, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(63, 52, 108, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Theme Toggle Button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(63, 52, 108, 0.2);
  background: transparent;
  border-radius: 10px;
  color: var(--primary);
  transition: all 0.3s ease;
  position: relative;
}

.btn-icon:hover {
  background: rgba(61, 213, 243, 0.1);
  border-color: var(--accent);
  transform: scale(1.05);
}

.btn-icon:focus {
  box-shadow: 0 0 0 0.2rem rgba(61, 213, 243, 0.25);
  outline: none;
}

.btn-icon i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-icon:hover i {
  transform: rotate(15deg);
}

[data-theme="dark"] .btn-icon {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--accent);
}

[data-theme="dark"] .btn-icon:hover {
  background: rgba(61, 213, 243, 0.2);
  border-color: var(--accent);
}

/* Credits Badge in Navbar */
.navbar-credits-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(93, 220, 173, 0.1);
  border: 2px solid rgba(93, 220, 173, 0.3);
  border-radius: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-credits-badge:hover {
  background: rgba(93, 220, 173, 0.2);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(93, 220, 173, 0.2);
  color: var(--primary);
  text-decoration: none;
}

.navbar-credits-badge i {
  color: var(--dark);
  font-size: 1.1rem;
}

.navbar-credits-badge .credits-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.navbar-credits-low {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  animation: pulse-warning 2s infinite;
}

.navbar-credits-low .credits-count {
  color: #dc2626;
}

.navbar-credits-low i {
  color: #dc2626;
}

@keyframes pulse-warning {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
  }
}

[data-theme="dark"] .navbar-credits-badge {
  background: rgba(93, 220, 173, 0.15);
  border-color: rgba(93, 220, 173, 0.3);
  color: var(--dark);
}

[data-theme="dark"] .navbar-credits-badge:hover {
  background: rgba(93, 220, 173, 0.25);
}

/* User Button */
.btn-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(63, 52, 108, 0.2);
  background: transparent;
  border-radius: 10px;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-user:hover {
  background: rgba(61, 213, 243, 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
  color: var(--primary);
}

.btn-user i {
  font-size: 1.3rem;
  color: var(--primary);
}

.btn-user .user-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="dark"] .btn-user {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--accent);
}

[data-theme="dark"] .btn-user:hover {
  background: rgba(61, 213, 243, 0.2);
}

/* Enhanced Dropdown Header */
.dropdown-header-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.05) 0%, rgba(93, 220, 173, 0.05) 100%);
  border-radius: 12px 12px 0 0;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar i {
  font-size: 1.5rem;
  color: white;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-info h6 {
  color: var(--primary);
  font-weight: 600;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Navbar Buttons */
.btn-navbar {
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-navbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 52, 108, 0.2);
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
  border: 1px solid rgba(63, 52, 108, 0.1);
  box-shadow: 0 8px 24px rgba(63, 52, 108, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 260px;
  background: white;
  overflow: hidden;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: rgba(63, 52, 108, 0.9);
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background: rgba(61, 213, 243, 0.1);
  color: var(--primary);
  padding-left: 1.5rem;
}

.dropdown-item i {
  width: 20px;
  margin-right: 0.75rem;
  color: var(--primary);
  font-size: 1rem;
}

.dropdown-item-text {
  font-size: 0.85rem;
  color: rgba(63, 52, 108, 0.7);
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .dropdown-item {
  color: rgba(241, 245, 249, 0.9);
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(61, 213, 243, 0.2);
  color: var(--accent);
}

[data-theme="dark"] .dropdown-header-user {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.1) 0%, rgba(93, 220, 173, 0.1) 100%);
}

[data-theme="dark"] .user-info h6 {
  color: var(--accent);
}

/* Active Page Indicator */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--primary) !important;
  font-weight: 600;
  position: relative;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[aria-current="page"]::after {
  width: 60%;
  background: var(--primary);
}

/* Mobile menu improvements */
@media (max-width: 991.98px) {
  .navbar-modern .navbar-collapse {
    background: white;
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(63, 52, 108, 0.1);
  }

  .navbar-nav {
    gap: 0.5rem;
    align-items: flex-start;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.25rem;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(61, 213, 243, 0.1);
  }

  .navbar-credits-badge {
    margin: 0.5rem 0;
    justify-content: center;
  }

  .btn-user {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }

  .btn-navbar {
    width: 100%;
    margin: 0.25rem 0;
  }

  .d-flex.gap-2 {
    flex-direction: column;
    width: 100%;
  }

  .btn-icon {
    align-self: center;
  }
}

[data-theme="dark"] .navbar-modern .navbar-collapse {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.1);
}

  .d-flex.gap-3 {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem !important;
  }

  .navbar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Utility Classes for Inline Styles */

/* Display utilities */
.d-inline {
  display: inline !important;
}

.logout-form-inline,
.form-inline {
  display: inline;
}

/* Z-index utilities */
.z-index-1 {
  z-index: 1;
}

.z-index-11 {
  z-index: 11;
}

.z-index-1050 {
  z-index: 1050;
}

/* Flex utilities */
.upload-form-flex {
  flex: 1;
  max-width: 400px;
}

/* Feature icon sizes */
/* Modern Feature Icons */
.feature-icon-large {
  width: 88px;
  height: 88px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  font-size: 2.5rem;
}

.feature-icon-large:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-xl);
}

/* Use teal/cyan for every 3rd large feature icon */
.feature-icon-large:nth-child(3n),
.feature-icon-large:nth-of-type(3n) {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: white;
}

/* Use blue/cyan for every 5th large feature icon */
.feature-icon-large:nth-child(5n) {
  background: var(--gradient-accent);
  color: white;
}

.feature-icon-medium {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  font-size: 2rem;
}

.feature-icon-medium:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Use teal/cyan for every 3rd medium feature icon */
.feature-icon-medium:nth-child(3n),
.feature-icon-medium:nth-of-type(3n) {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: white;
}

/* Use blue/cyan for every 5th medium feature icon */
.feature-icon-medium:nth-child(5n) {
  background: var(--gradient-accent);
  color: white;
}

.feature-icon-small {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  font-size: 1.5rem;
}

.feature-icon-small:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Use teal/cyan for every 3rd small feature icon */
.feature-icon-small:nth-child(3n),
.feature-icon-small:nth-of-type(3n) {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: white;
}

/* Use blue/cyan for every 5th small feature icon */
.feature-icon-small:nth-child(5n) {
  background: var(--gradient-accent);
  color: white;
}

/* Text color utilities */
.text-teal {
  color: var(--dark);
}

.text-accent {
  color: var(--accent);
}

/* Icon sizes */
.icon-size-large {
  font-size: 2.5rem;
}

.icon-size-xlarge {
  font-size: 4rem;
}

/* Letter spacing */
.letter-spacing-otp {
  letter-spacing: 0.5rem;
}

/* Emoji size */
.emoji-large {
  font-size: 4rem;
}

/* Centered containers */
.centered-container {
  max-width: 500px;
  margin: 0 auto;
}

.max-width-500 {
  max-width: 500px;
}

/* Hero container */
.hero-container {
  position: relative;
  z-index: 2;
}

/* Cookie consent */
.cookie-consent-hidden {
  display: none;
}

/* Spinner size */
.spinner-large {
  width: 3rem;
  height: 3rem;
}

/* Modern Footer Design */
.footer-modern {
  background: var(--gradient-hero);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(61, 213, 243, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-modern .footer-brand h5 {
  color: white;
  font-size: 1.5rem;
}

.footer-modern .footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-heading {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(6px);
  text-shadow: 0 0 8px rgba(61, 213, 243, 0.5);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(61, 213, 243, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.2rem;
  transition: all var(--transition-base);
  border: 1px solid rgba(61, 213, 243, 0.2);
}

.footer-contact-icon:hover {
  background: rgba(61, 213, 243, 0.25);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(61, 213, 243, 0.3);
}

.footer-contact li:nth-child(2) .footer-contact-icon {
  background: rgba(93, 220, 173, 0.2);
  color: var(--dark);
}

.footer-contact strong {
  color: white;
  font-size: 0.9rem;
}

.footer-contact .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-contact a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--dark);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom .text-accent {
  color: var(--accent);
  font-weight: 500;
}

/* Dark mode footer */
[data-theme="dark"] .footer-modern {
  background: rgba(63, 52, 108, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-modern .footer-heading {
  color: var(--accent);
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-modern {
    padding: 2rem 0 1rem;
  }

  .footer-modern .row > div {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .col-md-6:last-child {
    text-align: center !important;
    margin-top: 0.5rem;
  }
}

/* Modern Dashboard Components */
.dashboard-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0f0147 100%);
  color: white;
  padding: 2.5rem 0;
  margin: -1.5rem -15px 2.5rem -15px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 32px rgba(63, 52, 108, 0.15);
  position: relative;
  overflow: hidden;
}

.dashboard-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.dashboard-header h1,
.dashboard-header h2 {
  color: white;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dashboard-header h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dashboard-header p {
  opacity: 0.9;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.kpi-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
  height: 100%;
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Alternate some KPI cards with teal border */
.kpi-card:nth-child(4n) {
  border-left-color: var(--dark);
}

.kpi-card:nth-child(4n) .kpi-value {
  color: var(--primary);
}

.kpi-card .kpi-label {
  font-size: 0.875rem;
  color: rgba(63, 52, 108, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.kpi-card .kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.kpi-card .kpi-change {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.kpi-card.success {
  border-left-color: var(--accent);
  background: rgba(61, 213, 243, 0.03);
}

.kpi-card.success .kpi-value {
  color: var(--primary);
}

.kpi-card.warning {
  border-left-color: var(--accent);
  background: rgba(61, 213, 243, 0.03);
}

.kpi-card.warning .kpi-value {
  color: var(--primary);
}

.kpi-card.danger {
  border-left-color: var(--primary);
}

.kpi-card.danger .kpi-value {
  color: var(--primary);
}

/* Modern Action Cards */
.action-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(61, 213, 243, 0.2);
  border: 1px solid var(--accent);
}

.action-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
}

/* Alternate card icons with teal/cyan and blue/cyan colors for visibility */
.action-card:nth-child(even) .card-icon {
  background: var(--dark);
  color: var(--primary);
}

/* Use blue/cyan for every 4th action card icon */
.action-card:nth-child(4n) .card-icon {
  background: var(--accent);
  color: var(--primary);
}

/* Modern Table */
.modern-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.modern-table .table {
  margin-bottom: 0;
}

.modern-table thead {
  background: var(--primary);
  color: white;
}

.modern-table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.modern-table tbody tr {
  transition: background 0.2s;
}

.modern-table tbody tr:hover {
  background: rgba(61, 213, 243, 0.05);
}

.modern-table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.success {
  background: rgba(61, 213, 243, 0.15);
  color: var(--primary);
  border: 1px solid rgba(61, 213, 243, 0.3);
}

.status-badge.warning {
  background: rgba(61, 213, 243, 0.15);
  color: var(--primary);
  border: 1px solid rgba(61, 213, 243, 0.3);
}

.status-badge.danger {
  background: rgba(63, 52, 108, 0.15);
  color: var(--primary);
  border: 1px solid rgba(63, 52, 108, 0.3);
}

.status-badge.info {
  background: rgba(93, 220, 173, 0.15);
  color: var(--primary);
  border: 1px solid rgba(93, 220, 173, 0.3);
}

/* Modern Filter Chips */
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: white;
  border: 2px solid rgba(63, 52, 108, 0.15);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(61, 213, 243, 0.05);
}

.filter-chip.active {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Modern Upload Area */
.upload-area {
  background: white;
  border: 2px dashed rgba(63, 52, 108, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.upload-area:hover {
  border-color: var(--accent);
  background: rgba(61, 213, 243, 0.05);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.upload-area:hover::before {
  opacity: 0.3;
}

.upload-area.dragover {
  border-color: var(--accent);
  background: rgba(61, 213, 243, 0.1);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.upload-area.dragover::before {
  opacity: 0.5;
}

.upload-area .upload-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.upload-area:hover .upload-icon {
  color: var(--accent);
}

/* Modern Progress Bar */
.progress-modern {
  height: 10px;
  border-radius: var(--radius-xl);
  background: rgba(63, 52, 108, 0.1);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-modern .progress-bar {
  background: var(--gradient-accent);
  transition: width var(--transition-base);
  box-shadow: 0 2px 8px rgba(61, 213, 243, 0.3);
  position: relative;
  overflow: hidden;
}

.progress-modern .progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

/* Modern Stats Card */
.stats-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63, 52, 108, 0.08);
  transition: all var(--transition-base);
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(61, 213, 243, 0.2);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.stats-card .stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(63, 52, 108, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  border: 1px solid rgba(63, 52, 108, 0.2);
}

/* Alternate stats icons with teal */
.stats-card:nth-child(odd) .stat-icon {
  background: rgba(93, 220, 173, 0.15);
  color: var(--primary);
  border: 1px solid rgba(93, 220, 173, 0.3);
}

/* Chart Container */
.chart-container {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Action Buttons Row */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.action-buttons .btn {
  white-space: nowrap;
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(63, 52, 108, 0.1);
}

.page-header h1,
.page-header h2 {
  margin: 0;
  color: var(--primary);
}

/* Credit Display */
.credit-display {
  background: var(--primary);
  color: white;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(63, 52, 108, 0.2);
  margin-bottom: 2rem;
  border-top: 4px solid var(--dark);
}

.credit-display .credit-info h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.credit-display .credit-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(63, 52, 108, 0.6);
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.02) 0%, rgba(93, 220, 173, 0.02) 100%);
  border-radius: 20px;
  border: 2px dashed rgba(63, 52, 108, 0.1);
}

.empty-state .empty-icon {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.4;
  color: var(--primary);
}

.empty-state h3 {
  color: rgba(63, 52, 108, 0.85);
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.5rem;
}

.empty-state h5 {
  color: rgba(63, 52, 108, 0.85);
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.375rem;
}

.empty-state p {
  color: rgba(63, 52, 108, 0.65);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Responsive alignment */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  h6 { font-size: 0.875rem; }
  .display-5 { font-size: 2rem; }
  .display-6 { font-size: 2rem; }
  .hero-section { padding: var(--space-2xl) 0; }
  .section { padding: var(--space-2xl) 0; }
  
  .btn-group-horizontal {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group-horizontal .btn {
    width: 100%;
  }
  
  .section h2,
  .section .display-6 {
    text-align: center;
  }
  
  .text-start-mobile {
    text-align: left !important;
  }
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .action-buttons {
    width: 100%;
  }
  
  .action-buttons .btn {
    flex: 1;
    min-width: 0;
  }
  
  .credit-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .dashboard-header {
    margin: -1.5rem -15px 2rem -15px;
    padding: 1.5rem 0;
  }
}

/* Enhanced Design Elements */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.skill-gap-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05) !important;
}

.skill-gap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  border-color: var(--accent) !important;
}

.status-badge-large {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.candidate-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.08) !important;
}

.candidate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

.insights-panel {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 2000px;
  }
}

.filter-chip {
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--primary);
  background: var(--primary);
}

/* Action Bar Styling */
.action-bar-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.action-group {
  margin-bottom: 0;
}

.action-label {
  font-size: 0.875rem;
  color: rgba(63, 52, 108, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Enhanced Candidate Card Styling */
.candidate-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(63, 52, 108, 0.1) !important;
  border-radius: 12px;
  overflow: hidden;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(63, 52, 108, 0.15) !important;
  border-color: var(--accent) !important;
}

.candidate-avatar {
  transition: transform 0.3s ease;
}

.candidate-card:hover .candidate-avatar {
  transform: scale(1.1);
}

.candidate-name {
  transition: color 0.2s ease;
}

.candidate-card:hover .candidate-name {
  color: var(--accent) !important;
}

/* Enhanced Progress Bar for Match Scores */
.candidate-card .progress {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(63, 52, 108, 0.08);
}

.candidate-card .progress-bar {
  transition: width 0.6s ease;
  position: relative;
}

/* Progress bar width set via JavaScript */

.candidate-card .progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Contact Info Styling */
.candidate-card a[href^="mailto:"],
.candidate-card a[href^="tel:"] {
  transition: all 0.2s ease;
  display: inline-block;
}

.candidate-card a[href^="mailto:"]:hover,
.candidate-card a[href^="tel:"]:hover {
  color: var(--accent) !important;
  text-decoration: underline;
  transform: translateX(2px);
}

.candidate-card .bi-envelope,
.candidate-card .bi-telephone {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.candidate-card:hover .bi-envelope,
.candidate-card:hover .bi-telephone {
  opacity: 1;
}

/* Enhanced Status Badge */
.candidate-card .badge {
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.candidate-card:hover .badge {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Stats Card Enhancement */
.stats-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.stats-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Empty State Enhancement */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon {
  color: rgba(63, 52, 108, 0.3);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

/* Dark Mode Support for Candidate Cards */
[data-theme="dark"] .candidate-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f1f5f9;
}

[data-theme="dark"] .candidate-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent) !important;
}

[data-theme="dark"] .candidate-avatar {
  background: linear-gradient(135deg, var(--accent), var(--dark));
}

[data-theme="dark"] .stats-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .action-bar-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.filter-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.candidate-card-wrapper {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode enhancements */
[data-theme="dark"] .skill-gap-card {
  border-color: rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .candidate-card {
  border-color: rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .icon-circle {
  background: rgba(255,255,255,0.1) !important;
}

/* Enhanced Action Bar */
.action-bar-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(63, 52, 108, 0.08);
  border-top: 3px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.action-bar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.action-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.action-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  opacity: 0.85;
}

/* Enhanced Filter Section */
.filter-section-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(63, 52, 108, 0.08);
  border-top: 3px solid var(--accent);
  position: relative;
}

.filter-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(63, 52, 108, 0.08);
}

.filter-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(63, 52, 108, 0.25), inset 0 1px 2px rgba(255,255,255,0.2);
}

.filter-content {
  padding-top: 0.5rem;
}

.filter-group {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.02) 0%, rgba(93, 220, 173, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(63, 52, 108, 0.1);
  transition: all 0.2s ease;
}

.filter-group:hover {
  border-color: rgba(63, 52, 108, 0.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.filter-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  padding: 0.625rem 1.25rem;
  border: 1.5px solid rgba(63, 52, 108, 0.2);
  border-radius: 24px;
  background: white;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.filter-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-color: rgba(63, 52, 108, 0.3);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--primary) 0%, #0f0147 100%);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(63, 52, 108, 0.35), 0 2px 8px rgba(63, 52, 108, 0.2);
  font-weight: 600;
}

.filter-chip-success:hover {
  background: rgba(25, 135, 84, 0.1);
  border-color: #198754;
  color: #198754;
}

.filter-chip-success.active {
  background: #198754;
  border-color: #198754;
  color: white;
}

.filter-chip-warning:hover {
  background: rgba(255, 193, 7, 0.1);
  border-color: #ffc107;
  color: #ffc107;
}

.filter-chip-warning.active {
  background: #ffc107;
  border-color: #ffc107;
  color: #000;
}

.filter-chip-danger:hover {
  background: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #dc3545;
}

.filter-chip-danger.active {
  background: #dc3545;
  border-color: #dc3545;
  color: white;
}

.filter-chip-info:hover {
  background: rgba(13, 202, 240, 0.1);
  border-color: #0dcaf0;
  color: #0dcaf0;
}

.filter-chip-info.active {
  background: #0dcaf0;
  border-color: #0dcaf0;
  color: #000;
}

.badge-text {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-left: 0.25rem;
}

/* Match Score Badge */
.match-score-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.match-score-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.match-score-badge:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
}

.match-score-badge .score-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  letter-spacing: -0.02em;
}

.match-score-badge .score-label {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.125rem;
}

.ranking-badge {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 193, 7, 0.08) 100%);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 14px;
  padding: 0.4375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #856404;
  margin-top: 0.625rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(255, 193, 7, 0.1);
  letter-spacing: 0.01em;
}

/* Quick Stats Grid */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.quick-stat-item {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.03) 0%, rgba(63, 52, 108, 0.01) 100%);
  border: 1px solid rgba(63, 52, 108, 0.1);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
  width: 100%;
}

.quick-stat-item:hover {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.06) 0%, rgba(63, 52, 108, 0.03) 100%);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border-color: rgba(63, 52, 108, 0.15);
}

.quick-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.seniority-icon {
  background: rgba(13, 202, 240, 0.15);
  color: #0dcaf0;
}

.exp-icon {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.edu-icon {
  background: rgba(13, 110, 253, 0.15);
  color: #0d6efd;
}

.skill-icon {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.quick-stat-content {
  flex: 1;
  min-width: 120px;
  overflow: visible;
  word-wrap: normal;
  overflow-wrap: normal;
}

.quick-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(63, 52, 108, 0.7);
  margin-bottom: 0.375rem;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.3;
  word-wrap: normal;
  overflow-wrap: normal;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.quick-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.quick-stat-progress {
  margin-top: 0.25rem;
}

.progress-sm {
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(63, 52, 108, 0.1);
}

.progress-sm .progress-bar {
  position: relative;
}

.progress-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.badge-lg {
  padding: 0.4375rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Enhanced Candidate Cards */
.candidate-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(63, 52, 108, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06) !important;
  background: white;
}

.candidate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08) !important;
  border-color: rgba(63, 52, 108, 0.15) !important;
}

.candidate-card .card-body {
  background: white;
}

/* Candidate filename styling */
.candidate-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  flex: 1;
}

@media (min-width: 576px) {
  .candidate-filename {
    max-width: 300px;
  }
}

@media (min-width: 768px) {
  .candidate-filename {
    max-width: 400px;
  }
}

@media (min-width: 992px) {
  .candidate-filename {
    max-width: 500px;
  }
}

@media (min-width: 1200px) {
  .candidate-filename {
    max-width: 600px;
  }
}

/* Professional Button Styling */
.btn-primary,
.btn-success,
.btn-warning,
.btn-info {
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 10px;
  padding: 0.625rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-success:hover,
.btn-warning:hover,
.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-secondary {
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 10px;
  border-width: 1.5px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Professional Modal Styling */
#insightsModal .modal-content {
  border-radius: 24px;
  border: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}

#insightsModal .modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0f0147 100%);
  color: white;
  padding: 1.5rem 2rem;
  border-bottom: none;
  position: relative;
}

#insightsModal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

#insightsModal .modal-title {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: white;
}

#insightsModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

#insightsModal .btn-close:hover {
  opacity: 1;
}

#insightsModal .modal-body {
  padding: 2rem;
  background: #fafbfc;
}

#insightsModal .insights-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#insightsModal .modal-backdrop {
  background-color: rgba(63, 52, 108, 0.6);
  backdrop-filter: blur(4px);
}

/* Loading Spinner Enhancement */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.35em;
}

/* Pagination Enhancement */
.pagination {
  margin-top: 2rem;
}

.pagination .page-link {
  border-radius: 10px;
  margin: 0 0.25rem;
  border: 1px solid rgba(63, 52, 108, 0.15);
  color: var(--primary);
  font-weight: 500;
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  background: rgba(63, 52, 108, 0.08);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary) 0%, #0f0147 100%);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(63, 52, 108, 0.3);
}

.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Skills Gap Cards */
.skill-gap-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(63, 52, 108, 0.1) !important;
  border-radius: 16px !important;
}

.skill-gap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08) !important;
  border-color: var(--accent) !important;
}

/* Filter Section Card */
.filter-section-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.filter-section-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Filter Count Indicator */
#filterCountText {
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.8;
  margin-top: 0.5rem;
}

#filterCountText i {
  color: var(--accent);
}

#clearFiltersBtn {
  transition: all 0.2s ease;
}

#clearFiltersBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dark mode support for filter section */
[data-theme="dark"] .filter-section-card {
  background: rgba(63, 52, 108, 0.05);
  border: 1px solid rgba(63, 52, 108, 0.2);
}

[data-theme="dark"] #filterCountText {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(63, 52, 108, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .filter-chip:hover {
  border-color: var(--accent);
  background: rgba(61, 213, 243, 0.1);
  color: var(--accent);
}

[data-theme="dark"] .filter-chip.active {
  background: linear-gradient(135deg, var(--primary) 0%, #0f0147 100%);
  color: white;
  border-color: var(--primary);
}

/* View Toggle Buttons */
.view-toggle-btn {
  transition: all 0.2s ease;
  border-color: rgba(63, 52, 108, 0.2);
  color: var(--primary);
}

.view-toggle-btn:hover {
  background: rgba(63, 52, 108, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.view-toggle-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.view-toggle-btn.active:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  opacity: 0.9;
}

/* Table View Styling */
#candidatesTable {
  overflow-x: auto;
}

#candidatesTable table {
  margin-bottom: 0;
}

#candidatesTable thead {
  background: rgba(63, 52, 108, 0.05);
  border-bottom: 2px solid rgba(63, 52, 108, 0.1);
}

#candidatesTable thead th {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 0.75rem;
  border-bottom: 2px solid rgba(63, 52, 108, 0.1);
}

#candidatesTable tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(63, 52, 108, 0.08);
}

#candidatesTable tbody tr:hover {
  background: rgba(63, 52, 108, 0.03);
  transform: translateX(2px);
}

#candidatesTable tbody td {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(63, 52, 108, 0.05);
}

#candidatesTable .candidate-avatar {
  margin: 0 auto;
}

#candidatesTable .candidate-name {
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s ease;
}

#candidatesTable tbody tr:hover .candidate-name {
  color: var(--accent);
}

#candidatesTable .progress {
  min-width: 100px;
}

#candidatesTable .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.625rem;
}

#candidatesTable .btn-sm {
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
}

/* Dark mode support for table view */
[data-theme="dark"] #candidatesTable thead {
  background: rgba(63, 52, 108, 0.1);
  border-bottom-color: rgba(63, 52, 108, 0.2);
}

[data-theme="dark"] #candidatesTable thead th {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] #candidatesTable tbody tr {
  border-bottom-color: rgba(63, 52, 108, 0.15);
}

[data-theme="dark"] #candidatesTable tbody tr:hover {
  background: rgba(63, 52, 108, 0.1);
}

[data-theme="dark"] #candidatesTable tbody td {
  border-bottom-color: rgba(63, 52, 108, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .view-toggle-btn {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .view-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

[data-theme="dark"] .view-toggle-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .action-bar-card,
  .filter-section-card {
    padding: 1.25rem;
  }

  .action-group {
    width: 100%;
  }

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .filter-group {
    margin-bottom: 1rem;
  }

  .candidate-card-wrapper {
    margin-bottom: 1.5rem;
  }
  
  .insights-panel {
    margin-top: 1rem !important;
  }
  
  /* Hide some columns on mobile for table view */
  #candidatesTable thead th:nth-child(3),
  #candidatesTable tbody td:nth-child(3),
  #candidatesTable thead th:nth-child(4),
  #candidatesTable tbody td:nth-child(4) {
    display: none;
  }
  
  #candidatesTable {
    font-size: 0.875rem;
  }
  
  .view-toggle-btn {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .skill-gap-card {
    margin-bottom: 1rem;
  }
  
  .filter-chip {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .match-score-badge {
    width: 60px !important;
    height: 60px !important;
  }

  .match-score-badge .score-value {
    font-size: 1.25rem;
  }

  .quick-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Employee register minimal landing styles */
.employee-register-hero { 
  min-height: calc(100vh - 80px); 
  display: flex; 
  align-items: center; 
  padding: 3rem 1rem; 
  background: radial-gradient(1200px 600px at 10% -10%, rgba(61,213,243,0.15), transparent 60%), 
              radial-gradient(1200px 600px at 110% 10%, rgba(15,1,71,0.18), transparent 60%);
}
.container.narrow { 
  max-width: 640px; 
  margin: 0 auto; 
}
.glass-card-minimal { 
  backdrop-filter: blur(10px); 
  background: rgba(255,255,255,0.6); 
  border: 1px solid rgba(255,255,255,0.4); 
  border-radius: 16px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
  padding: 2rem; 
}
[data-theme="dark"] .glass-card-minimal { 
  background: rgba(0,0,0,0.35); 
  border-color: rgba(255,255,255,0.08); 
}
@media (max-width: 576px){ 
  .glass-card-minimal{ padding:1.25rem; } 
}

/* Products Page Hero Redesign */
.section-hero-products {
  position: relative;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.section-hero-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(61, 213, 243, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(63, 52, 108, 0.15), transparent 50%);
  opacity: 0.9;
  z-index: 0;
}

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

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.15), rgba(61, 213, 243, 0.08));
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(61, 213, 243, 0.2);
  transition: all 0.2s ease;
}

.hero-highlight:hover {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.2), rgba(61, 213, 243, 0.12));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61, 213, 243, 0.2);
}

.products-hero-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px -30px rgba(63, 52, 108, 0.4);
  backdrop-filter: blur(14px);
}

[data-theme="dark"] .products-hero-card {
  background: rgba(20, 20, 20, 0.85);
}

.hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.9), rgba(61, 213, 243, 0.85));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
}

.products-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  margin-bottom: 0.875rem;
  line-height: 1.5;
  padding-right: 0.5rem;
}

.products-hero-list li:last-child {
  margin-bottom: 0;
}

.products-quick-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1.5rem;
  padding: 1.25rem 1.75rem;
  border-radius: 18px;
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 12px 30px -18px rgba(63, 52, 108, 0.35);
}

[data-theme="dark"] .products-quick-nav {
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.9), rgba(15, 15, 15, 0.9));
}

.quick-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 52, 108, 0.15);
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s ease;
}

.quick-nav-link:hover {
  background: rgba(63, 52, 108, 0.09);
  border-color: rgba(63, 52, 108, 0.35);
  color: var(--primary);
}

[data-theme="dark"] .quick-nav-link {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

[data-theme="dark"] .quick-nav-link:hover {
  background: rgba(61, 213, 243, 0.1);
  border-color: rgba(61, 213, 243, 0.35);
  color: var(--accent);
}

@media (max-width: 991.98px) {
  .section-hero-products {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .products-hero-card {
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .section-hero-products {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }

  .hero-highlight {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .products-quick-nav {
    justify-content: center;
    padding: 1rem 1.25rem;
    margin-top: 2.5rem;
    gap: 0.75rem;
  }

  .quick-nav-link {
    width: 100%;
    justify-content: center;
    padding: 0.625rem 1rem;
  }

  .products-card {
    margin-bottom: 3.5rem;
  }

  .products-card-inner {
    padding: 2rem 1.5rem;
  }

  .products-card-header {
    margin-bottom: 1.5rem;
    gap: 1rem;
  }

  .products-card-header > div:first-child {
    gap: 1rem;
  }

  .products-card-price {
    text-align: left !important;
    align-items: flex-start !important;
    width: 100%;
    max-width: 100%;
  }

  .products-card-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .products-card-actions > div:first-child {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .products-card-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .products-card-actions .btn:last-child {
    margin-bottom: 0;
  }

  .products-card-actions .text-muted {
    text-align: left !important;
    align-self: flex-start !important;
    margin-top: 0.5rem;
    width: 100%;
  }

  .products-card-metrics {
    margin-bottom: 1.5rem;
  }

  .products-metric {
    padding: 1.25rem 1rem;
  }

  .products-card-panel {
    padding: 1.5rem 1.25rem;
  }

  .products-comparison-matrix {
    padding: 1.75rem 1.25rem;
    margin-top: 1.75rem;
  }

  .products-summary-card {
    padding: 1.75rem 1.5rem;
  }
}

/* Products Page Cards */
.products-card {
  margin-bottom: 5rem;
}

.products-card:last-of-type {
  margin-bottom: 0;
}

.products-card-inner {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 60px -40px rgba(63, 52, 108, 0.45);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .products-card-inner {
  background: rgba(20, 20, 20, 0.82);
  box-shadow: 0 28px 60px -44px rgba(0, 0, 0, 0.9);
}

.products-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.15), rgba(63, 52, 108, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.125rem;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(63, 52, 108, 0.1);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.products-card-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(63, 52, 108, 0.15);
}

.products-card-icon-video {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.22), rgba(255, 193, 7, 0.12));
  color: #b8860b;
}

.products-card-icon-analytics {
  background: linear-gradient(135deg, rgba(93, 220, 173, 0.22), rgba(93, 220, 173, 0.12));
  color: #1a7a5a;
}

.products-card-metrics {
  margin: 0;
  margin-bottom: 2rem;
}

.products-metric {
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  background: rgba(63, 52, 108, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  transition: all 0.2s ease;
  align-items: flex-start;
  justify-content: center;
}

.products-metric:hover {
  background: rgba(63, 52, 108, 0.08);
  transform: translateY(-2px);
}

[data-theme="dark"] .products-metric {
  background: rgba(255, 255, 255, 0.05);
}

.products-metric-value {
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.01em;
  display: block;
  width: 100%;
}

.products-metric-label {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
  display: block;
  width: 100%;
}

[data-theme="dark"] .products-metric-label {
  color: rgba(255, 255, 255, 0.65);
}

.products-card-panel {
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  padding: 2rem 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(63, 52, 108, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.products-card-panel h4 {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.products-card-panel h5 {
  margin-bottom: 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.4;
}

[data-theme="dark"] .products-card-panel {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.85), rgba(10, 10, 10, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.products-card-panel:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(63, 52, 108, 0.1), 0 16px 32px -22px rgba(63, 52, 108, 0.35);
}

.products-feature-list {
  columns: 1;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .products-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.products-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding-right: 0.25rem;
}

.products-feature-list li i {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.products-highlight-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.09), rgba(61, 213, 243, 0.08));
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.products-highlight-card p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.products-highlight-card p:last-child {
  margin-bottom: 0;
}

[data-theme="dark"] .products-highlight-card {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.35), rgba(61, 213, 243, 0.12));
}

.products-tag-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.products-tag-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  padding-right: 0.25rem;
}

.products-tag-list li:last-child {
  margin-bottom: 0;
}

.products-tag-list li i {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.products-card-actions {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(63, 52, 108, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 992px) {
  .products-card-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.products-card-actions > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.products-card-actions .btn {
  margin-bottom: 0;
  white-space: nowrap;
}

.products-card-actions .text-muted {
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5;
  flex-shrink: 0;
  align-self: flex-start;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .products-card-actions .text-muted {
    text-align: right;
    align-self: center;
    margin-left: auto;
  }
}

[data-theme="dark"] .products-card-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.products-how {
  border-radius: 20px;
  background: rgba(63, 52, 108, 0.04);
}

[data-theme="dark"] .products-how {
  background: rgba(255, 255, 255, 0.05);
}

.products-how-steps {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.products-how-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.products-how-step > div {
  flex: 1;
  min-width: 0;
}

.products-how-index {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(63, 52, 108, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
}
 
 [data-theme="dark"] .products-how-index {
   background: rgba(255, 255, 255, 0.12);
   color: var(--accent);
 }
+
+.products-how-step:not(:last-child) .products-how-index::after {
+  content: "";
+  position: absolute;
+  left: 50%;
+  top: 32px;
+  width: 2px;
+  height: calc(100% + 20px);
+  background: rgba(63, 52, 108, 0.15);
+  transform: translateX(-50%);
+}
+
+[data-theme="dark"] .products-how-step:not(:last-child) .products-how-index::after {
+  background: rgba(255, 255, 255, 0.15);
+}
 
.products-how-step h6 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.products-how-step p {
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.9375rem;
}

 @media (max-width: 991.98px) {
   .products-card-metrics {
     gap: 1rem;
   }
 
   .products-metric {
     padding: 1rem;
   }

  .products-how-step:not(:last-child) .products-how-index::after {
    height: calc(100% + 14px);
  }
 

   .products-card-actions .btn {
     width: 100%;
   }

  .products-how {
    padding: 1.5rem;
  }
 }

.products-summary-card {
  border-radius: 22px;
  padding: 2.25rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
}

.products-summary-card .d-flex.align-items-center {
  align-items: center;
  flex-shrink: 0;
}

.products-summary-card h5 {
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  flex: 1;
}

.products-summary-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .products-summary-card {
  background: rgba(25, 25, 25, 0.85);
}

.products-summary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -36px rgba(63, 52, 108, 0.45);
}

.products-summary-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.2s ease;
}

.products-summary-card:hover .products-summary-icon {
  transform: scale(1.08);
}

.bg-primary-soft { 
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.15), rgba(63, 52, 108, 0.08)); 
  color: var(--primary); 
  box-shadow: 0 2px 8px rgba(63, 52, 108, 0.1);
}
.bg-warning-soft { 
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.22), rgba(255, 193, 7, 0.12)); 
  color: #b8860b; 
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}
.bg-success-soft { 
  background: linear-gradient(135deg, rgba(93, 220, 173, 0.22), rgba(93, 220, 173, 0.12)); 
  color: #1a7a5a; 
  box-shadow: 0 2px 8px rgba(93, 220, 173, 0.15);
}

.products-summary-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.75rem;
}

.products-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.625rem;
  padding-right: 0.25rem;
}

.products-summary-list li i {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.products-summary-list li:last-child {
  margin-bottom: 0;
}

.products-comparison-matrix {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px -42px rgba(63, 52, 108, 0.4);
  padding: 2.5rem 2rem;
  margin-top: 2.5rem;
}

[data-theme="dark"] .products-comparison-matrix {
  background: rgba(25, 25, 25, 0.88);
}

.products-matrix-header,
.products-matrix-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) repeat(3, minmax(140px, 1fr));
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .products-matrix-header,
  .products-matrix-row {
    grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(120px, 1fr));
    gap: 1rem;
  }
}

.products-matrix-header {
  font-weight: 600;
  color: var(--primary);
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(63, 52, 108, 0.12);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

[data-theme="dark"] .products-matrix-header {
  color: var(--accent);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.products-matrix-title {
  font-size: 1rem;
}

.products-matrix-row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(63, 52, 108, 0.08);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.products-matrix-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

[data-theme="dark"] .products-matrix-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.products-matrix-label {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
}

[data-theme="dark"] .products-matrix-label {
  color: rgba(255, 255, 255, 0.82);
}

.matrix-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  min-width: 130px;
  background: rgba(63, 52, 108, 0.06);
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.matrix-chip-yes {
  background: linear-gradient(135deg, rgba(93, 220, 173, 0.22), rgba(93, 220, 173, 0.12));
  color: #1a7a5a;
  font-weight: 600;
}

.matrix-chip-no {
  background: rgba(63, 52, 108, 0.06);
  color: rgba(63, 52, 108, 0.65);
  font-weight: 500;
}

.matrix-chip-tag {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.22), rgba(61, 213, 243, 0.12));
  color: #0d6b85;
  font-weight: 600;
}

[data-theme="dark"] .matrix-chip {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .matrix-chip-yes {
  background: rgba(93, 220, 173, 0.28);
  color: #5ddcad;
}

[data-theme="dark"] .matrix-chip-tag {
  background: rgba(61, 213, 243, 0.25);
  color: #61d5f3;
}

@media (max-width: 991.98px) {
  .products-matrix-header,
  .products-matrix-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .products-matrix-header {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
  }

  .products-matrix-row {
    padding: 0.875rem 0;
    gap: 0.5rem;
  }

  .products-matrix-col,
  .matrix-chip {
    justify-content: flex-start;
  }

  .matrix-chip {
    min-width: unset;
    width: fit-content;
    padding: 0.5rem 0.875rem;
  }
}

.products-card-inner {
  padding: 2.5rem 2.25rem;
}

.products-card-header {
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 992px) {
  .products-card-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.products-card-header > div:first-child {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.products-card-header .products-card-icon {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.125rem;
}

.products-card-header > div:first-child > div:last-child {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.products-card-header .h2 {
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.products-card-header p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.products-card-price {
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: left;
  flex-shrink: 0;
  align-self: flex-start;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .products-card-price {
    text-align: right;
    width: auto;
    min-width: 220px;
    max-width: 280px;
    align-items: flex-end;
    align-self: flex-start;
    padding-top: 0.125rem;
  }
}

.products-card-price p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.products-card-price p:last-child {
  margin-bottom: 0;
}

.products-card-price small {
  font-size: 0.875rem;
  line-height: 1.5;
  display: block;
  margin-top: 0.25rem;
}

/* ============================================
   BLOG PAGES STYLES
   ============================================ */

/* Blog Card Styles */
.blog-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(63, 52, 108, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(63, 52, 108, 0.15);
  border-color: rgba(63, 52, 108, 0.15);
}

.blog-card-featured {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.05), rgba(255, 255, 255, 0.95));
  border: 2px solid rgba(61, 213, 243, 0.3);
  box-shadow: 0 8px 30px rgba(61, 213, 243, 0.2);
}

.blog-card-featured:hover {
  box-shadow: 0 16px 50px rgba(61, 213, 243, 0.3);
  border-color: rgba(61, 213, 243, 0.5);
}

[data-theme="dark"] .blog-card {
  background: rgba(25, 25, 25, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .blog-card-featured {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.1), rgba(25, 25, 25, 0.95));
  border-color: rgba(61, 213, 243, 0.4);
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-card-date {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .blog-card-date {
  color: rgba(255, 255, 255, 0.7);
}

.blog-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary);
}

.blog-card-title-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.blog-card-excerpt {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

[data-theme="dark"] .blog-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(63, 52, 108, 0.1);
}

[data-theme="dark"] .blog-card-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.blog-card-media {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: rgba(63, 52, 108, 0.08);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-readtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  background: rgba(63, 52, 108, 0.08);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

[data-theme="dark"] .blog-readtime-badge {
  background: rgba(61, 213, 243, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Category Badges */
.blog-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.blog-category-recruitment {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.15), rgba(63, 52, 108, 0.08));
  color: var(--primary);
}

.blog-category-ai-technology {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.22), rgba(61, 213, 243, 0.12));
  color: #0d6b85;
}

.blog-category-hr-best-practices {
  background: linear-gradient(135deg, rgba(93, 220, 173, 0.22), rgba(93, 220, 173, 0.12));
  color: #1a7a5a;
}

.blog-category-product-updates {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.22), rgba(255, 193, 7, 0.12));
  color: #b8860b;
}

.blog-category-case-studies {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.22), rgba(156, 39, 176, 0.12));
  color: #7b1fa2;
}

[data-theme="dark"] .blog-category-recruitment {
  background: rgba(63, 52, 108, 0.3);
  color: var(--accent);
}

[data-theme="dark"] .blog-category-ai-technology {
  background: rgba(61, 213, 243, 0.3);
  color: #61d5f3;
}

[data-theme="dark"] .blog-category-hr-best-practices {
  background: rgba(93, 220, 173, 0.3);
  color: #5ddcad;
}

[data-theme="dark"] .blog-category-product-updates {
  background: rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

[data-theme="dark"] .blog-category-case-studies {
  background: rgba(156, 39, 176, 0.3);
  color: #ce93d8;
}

.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 193, 7, 0.15));
  color: #b8860b;
}

[data-theme="dark"] .blog-featured-badge {
  background: rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

/* Blog Tags */
.blog-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(63, 52, 108, 0.08);
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.blog-tag:hover {
  background: rgba(63, 52, 108, 0.15);
  transform: translateY(-1px);
}

[data-theme="dark"] .blog-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .blog-tag:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Read More Button */
.blog-read-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-read-more-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
  text-decoration: none;
}

[data-theme="dark"] .blog-read-more-btn {
  color: var(--accent);
  border-color: var(--accent);
}

[data-theme="dark"] .blog-read-more-btn:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Blog Sidebar */
.blog-sidebar-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(63, 52, 108, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .blog-sidebar-card {
  background: rgba(25, 25, 25, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.blog-sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .blog-sidebar-title {
  color: var(--accent);
}

.blog-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-category-list li {
  margin-bottom: 0.5rem;
}

.blog-category-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.blog-category-link:hover {
  background: rgba(63, 52, 108, 0.08);
  color: var(--primary);
  text-decoration: none;
  transform: translateX(4px);
}

.blog-category-link.active {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.15), rgba(63, 52, 108, 0.08));
  color: var(--primary);
  font-weight: 600;
}

[data-theme="dark"] .blog-category-link {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .blog-category-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

[data-theme="dark"] .blog-category-link.active {
  background: rgba(61, 213, 243, 0.2);
  color: var(--accent);
}

/* Blog Sidebar CTA */
.blog-sidebar-cta {
  background: linear-gradient(135deg, var(--primary), rgba(63, 52, 108, 0.9));
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 8px 30px rgba(63, 52, 108, 0.3);
}

.blog-cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.blog-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.blog-cta-text {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  background: white;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}

.blog-cta-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.blog-thumb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(63, 52, 108, 0.08);
  flex-shrink: 0;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-thumb-placeholder {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(63, 52, 108, 0.5);
  background: rgba(61, 213, 243, 0.08);
  border-radius: 18px;
  font-size: 1.5rem;
}

.empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: rgba(63, 52, 108, 0.08);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(63, 52, 108, 0.7);
}

/* Blog Article Styles */
.blog-article {
  max-width: 100%;
}

.blog-article-header {
  margin-bottom: 2rem;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-article-date,
.blog-article-author {
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.9375rem;
}

[data-theme="dark"] .blog-article-date,
[data-theme="dark"] .blog-article-author {
  color: rgba(255, 255, 255, 0.7);
}

.blog-article-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .blog-article-title {
  color: var(--accent);
}

.blog-hero-image {
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.12);
  background: rgba(63, 52, 108, 0.05);
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

[data-theme="dark"] .blog-hero-image {
  background: rgba(255, 255, 255, 0.06);
}

.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Blog Article Content */
.blog-article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 3rem;
}

[data-theme="dark"] .blog-article-content {
  color: rgba(255, 255, 255, 0.9);
}

.blog-article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(63, 52, 108, 0.1);
}

[data-theme="dark"] .blog-article-content h2 {
  color: var(--accent);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.blog-article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

[data-theme="dark"] .blog-article-content h3 {
  color: var(--dark);
}

.blog-article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.blog-article-content ul,
.blog-article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.blog-article-content ul li {
  list-style-type: disc;
}

.blog-article-content ol li {
  list-style-type: decimal;
}

.blog-article-content strong {
  font-weight: 600;
  color: var(--primary);
}

[data-theme="dark"] .blog-article-content strong {
  color: var(--accent);
}

.blog-article-content a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blog-article-content a:hover {
  color: var(--primary);
}

.blog-article-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .blog-article-content blockquote {
  color: rgba(255, 255, 255, 0.8);
  border-left-color: var(--dark);
}

/* Blog Article CTA */
.blog-article-cta {
  background: linear-gradient(135deg, rgba(63, 52, 108, 0.05), rgba(61, 213, 243, 0.05));
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0;
  border: 2px solid rgba(61, 213, 243, 0.2);
}

[data-theme="dark"] .blog-article-cta {
  background: linear-gradient(135deg, rgba(61, 213, 243, 0.1), rgba(25, 25, 25, 0.5));
  border-color: rgba(61, 213, 243, 0.3);
}

.blog-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .blog-cta-title {
  color: var(--accent);
}

.blog-cta-text {
  font-size: 1.0625rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .blog-cta-text {
  color: rgba(255, 255, 255, 0.8);
}

.blog-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-cta-btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63, 52, 108, 0.3);
  text-decoration: none;
  color: white;
}

.blog-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-cta-btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

[data-theme="dark"] .blog-cta-btn-secondary {
  color: var(--accent);
  border-color: var(--accent);
}

[data-theme="dark"] .blog-cta-btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Related Posts */
.blog-related-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(63, 52, 108, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.blog-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(63, 52, 108, 0.15);
}

[data-theme="dark"] .blog-related-card {
  background: rgba(25, 25, 25, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.blog-related-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.blog-related-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-related-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.blog-related-excerpt {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

[data-theme="dark"] .blog-related-excerpt {
  color: rgba(255, 255, 255, 0.8);
}

/* Category Badge Links */
.blog-category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-category-badge-link {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-category-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .blog-card {
    padding: 1.5rem;
  }

  .blog-card-title {
    font-size: 1.5rem;
  }

  .blog-article-title {
    font-size: 2.25rem;
  }

  .blog-article-content {
    font-size: 1.0625rem;
  }

  .blog-article-content h2 {
    font-size: 1.75rem;
  }

  .blog-article-content h3 {
    font-size: 1.375rem;
  }

  .blog-cta-buttons {
    flex-direction: column;
  }

  .blog-cta-btn-primary,
  .blog-cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .blog-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-read-more-btn {
    width: 100%;
    justify-content: center;
  }

  .blog-article-title {
    font-size: 1.875rem;
  }

  .blog-article-content h2 {
    font-size: 1.5rem;
  }

  .blog-article-content h3 {
    font-size: 1.25rem;
  }

  .blog-article-cta {
    padding: 2rem 1.5rem;
  }
}

