/* 
 * Landing Page Stylesheet
 * Complements the modern dashboard style with landing page specific elements
 */

/* ===== LANDING PAGE STYLES ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background-color: #f8f9ff;
}

/* Fix for Why Choose Talent Brew section */
#why-choose .bi-check-circle-fill {
  color: var(--primary);
  font-size: 1.1rem;
}

#why-choose .col-md-4:nth-child(2) .bi-check-circle-fill {
  color: var(--success);
}

#why-choose .col-md-4:nth-child(3) .bi-check-circle-fill {
  color: var(--warning);
}

/* Improve text visibility in the cards */
#why-choose .card {
  background-color: white;
}

#why-choose .card-body {
  color: var(--gray-700);
}

#why-choose span {
  color: var(--gray-800);
  font-weight: 500;
}

#why-choose p {
  color: var(--gray-700);
}

.min-vh-75 {
  min-height: 75vh;
}

.section-divider {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  margin: 0;
}

/* Animation for floating elements */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Client logos */
.client-logo {
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.1);
  opacity: 1 !important;
}

/* Badge styles */
.badge-primary {
  background-color: var(--primary);
  color: white;
}

.badge-success {
  background-color: var(--success);
  color: white;
}

.badge-warning {
  background-color: var(--warning);
  color: white;
}

/* Enhanced Navigation Styles */
.navbar-enhanced {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 108, 247, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.brand-icon {
  position: relative;
}

.brand-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
  transition: all 0.3s ease;
}

.brand-circle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1;
  margin-top: 2px;
}

/* Enhanced Navigation Links */
.nav-link-enhanced {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link-enhanced:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-link-enhanced:hover::before {
  opacity: 1;
}

.nav-link-enhanced.active {
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.nav-link-enhanced i {
  font-size: 1rem;
}

/* Navigation Badge */
.nav-badge {
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
}

/* User Dropdown */
.user-dropdown-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: #374151;
}

.user-dropdown-btn:hover {
  background: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(74, 108, 247, 0.2);
}

.user-initials {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.user-status.online {
  background: #10b981;
}

.user-status.incomplete {
  background: #f59e0b;
}

.user-info {
  text-align: left;
}

.user-name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #1f2937;
}

.user-role {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.user-dropdown-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Enhanced Dropdown Menu */
.user-dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 280px;
  margin-top: 0.5rem;
}

.user-dropdown-menu .dropdown-header {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.5rem;
}

.user-dropdown-menu .dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.user-dropdown-menu .dropdown-item:hover {
  background: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
}

.user-dropdown-menu .dropdown-item.text-warning:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Notifications */
.nav-notifications {
  position: relative;
}

.notification-btn {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid white;
}

/* Mobile Navigation */
.btn-nav-mobile {
  background: none;
  border: none;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-nav-mobile:hover {
  background: rgba(74, 108, 247, 0.1);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-nav-mobile.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.btn-nav-mobile.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.btn-nav-mobile.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.show .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: between;
}

.mobile-menu-header .brand-name {
  color: white;
}

.btn-close-mobile {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  margin-left: auto;
}

.mobile-menu-body {
  padding: 1rem;
}

.mobile-menu .nav-link-enhanced {
  color: white;
  margin-bottom: 0.5rem;
}

.mobile-menu .nav-link-enhanced:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-menu .nav-link-enhanced.active {
  background: rgba(255, 255, 255, 0.2);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Background opacity utilities */
.bg-opacity-5 {
  opacity: 0.05;
}

.bg-opacity-10 {
  opacity: 0.1;
}

/* Enhanced How it works section */
.bg-gradient-light {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Step items with enhanced styling */
.step-item {
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 0.5rem;
  margin: -0.5rem;
}

.step-item:hover {
  background-color: rgba(74, 108, 247, 0.05);
  transform: translateX(8px);
}

.step-number {
  position: relative;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-number-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-icon {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.step-item:hover .step-icon {
  transform: scale(1.1);
  border-color: rgba(74, 108, 247, 0.2);
}

/* Enhanced card headers */
.card-header.bg-gradient-primary,
.card-header.bg-gradient-success {
  border: none;
  position: relative;
}

.card-header.bg-gradient-primary::before,
.card-header.bg-gradient-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

/* Process flow visualization */
.process-flow {
  background: white;
  border-radius: 50px;
  padding: 1rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(74, 108, 247, 0.1);
}

/* Enhanced buttons */
.btn-lg.w-100 {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-lg.w-100::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 0.5s;
}

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

.btn-lg.w-100:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Why Choose Section */
.hover-lift-strong {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift-strong:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a6cf7, #6366f1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.featured-card {
  position: relative;
  border: 2px solid #10b981 !important;
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  z-index: 10;
}

.benefit-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-stat {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid #f8f9fa;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.stat-symbol {
  font-size: 0.875rem;
  font-weight: 600;
}

.benefits-list {
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background-color: rgba(74, 108, 247, 0.05);
  transform: translateX(5px);
}

.benefit-check {
  flex-shrink: 0;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
}

.benefit-check i {
  font-size: 1.1rem;
}

.benefit-content {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.4;
}

.benefit-content strong {
  color: #1f2937;
}

/* Success metrics */
.success-metric {
  text-align: center;
}

.metric-value {
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Animated counters */
.stat-number[data-target],
.metric-value [data-target] {
  transition: all 0.3s ease;
}

/* Background patterns */
#why-choose::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74, 108, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

#why-choose::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .step-item:hover {
    transform: none;
  }
  
  .hover-lift:hover {
    transform: none;
  }
  
  .hover-lift-strong:hover {
    transform: translateY(-4px);
  }
  
  .step-number {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  
  .step-item {
    margin: 0;
    padding: 0;
  }
  
  .benefit-item:hover {
    transform: none;
    background-color: transparent;
  }
  
  .benefit-stat {
    position: static;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .benefit-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
