/* Root styles */
html {
  font-size: 14px;
  height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f8fafc;
  color: #212529;
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Fix: ensure date inputs are clickable and not overlapped */
input[type="date"] {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  -webkit-appearance: auto;
  appearance: auto;
}

/* Make the calendar icon clickable in WebKit/Blink */
input[type="date"]::-webkit-calendar-picker-indicator {
  z-index: 6;
  cursor: pointer;
  pointer-events: auto;
}

/* Focus styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #3b82f6;
}

/* Consistent dropdown theme: every <select> (whether it uses the Bootstrap
   .form-select class or the legacy .form-control class) must share the same
   look as the rest of the app's inputs - themed border/radius/padding below,
   plus the chevron affordance - regardless of which class was used when it
   was built. */
select.form-control:not([multiple]):not([size]),
.form-select:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  background-color: #ffffff;
  color: #1f2937;
}

.form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.1);
  background-color: #ffffff;
}

/* Layout */
.footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 30px;
  background: #e3f2fd;
  border-top: 2px solid #90caf9;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  padding: 0.75rem 0;
  z-index: 1000;
}

/* Navigation */
.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  background: linear-gradient(90deg, #ffffff 0%, #e3f2fd 100%);
  padding: 1rem 0;
  border-bottom: 2px solid #90caf9;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #1976d2 !important;
  letter-spacing: -0.025em;
}

.nav-link {
  font-weight: 500;
  transition: all 0.2s ease;
  color: #1976d2 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem;
}

.nav-link.active, .nav-link:hover {
  color: #1565c0 !important;
}

/* Cards */
.card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.card.bg-dark {
  background: #232526 !important;
  color: #f5f6fa !important;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #1e293b;
  padding: 1.25rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Buttons */
.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  letter-spacing: 0.025em;
  border-width: 1px;
  padding: 0.75rem 1.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, #1976d2 0%, #64b5f6 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #64b5f6 0%, #1976d2 100%);
}

.btn-outline-primary {
  color: #3b82f6;
  border-color: #3b82f6;
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #64748b;
  border-color: #64748b;
  color: white;
}

.btn-success {
  background-color: #059669;
  border-color: #059669;
}

.btn-danger {
  background-color: #dc2626;
  border-color: #dc2626;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Forms */
.form-control {
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  color: #1f2937;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.1);
  background-color: #ffffff;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Validation */
.validation-summary-errors {
  color: #dc2626;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.text-danger {
  color: #dc2626 !important;
}

.form-control.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.1);
}

/* Alerts */
.alert {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.25rem;
}

.alert-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.alert-success {
  background-color: #f0fdf4;
  color: #166534;
  border-left: 4px solid #059669;
}

.alert-info {
  background-color: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}

/* Tables */
.table {
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table th {
  background-color: #f8fafc;
  border-top: none;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
}

.table td {
  padding: 1rem;
  border-color: #f1f5f9;
}

/* Homepage Styles */
.homepage-container {
  overflow-x: hidden;
}

.hero-section {
  padding: 140px 0 120px;
  color: white;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #8b5cf6 75%, #ec4899 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 8s ease-in-out infinite;
}

.circle-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 30%;
  animation-delay: 4s;
}

.circle-4 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 50%;
  animation-delay: 6s;
}

.circle-5 {
  width: 60px;
  height: 60px;
  top: 70%;
  left: 20%;
  animation-delay: 8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
}

.hero-trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-text {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.trust-badge {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.min-vh-75 {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-actions {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-dashboard {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 0;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: #1f2937;
}

.dashboard-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: #3b82f6;
}

.dashboard-title {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.dashboard-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric-row {
  display: flex;
  width: 100%;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  width: 100%;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.metric-icon.bg-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

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

.metric-icon.bg-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.metric-info {
  flex: 1;
}

.metric-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0.25rem;
}

.metric-trend {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.metric-trend.positive {
  color: #059669;
}

.metric-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 500;
  margin-top: 0.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Enhanced Button Styles */
.btn-hero {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-width: 2px;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-hero:hover .btn-shine {
  left: 100%;
}

.btn-cta {
  position: relative;
  overflow: hidden;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  border-width: 2px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  backdrop-filter: blur(10px);
}

.stat-content h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-content p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
  color: white;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
}

.stat-box {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
}

.stat-unit {
  font-size: 2rem;
  font-weight: 700;
  color: #64748b;
  margin-left: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Premium Design Elements */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
}

.grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.grid-vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.grid-horizontal {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-badge.premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: badgePulse 3s ease-in-out infinite;
}

.badge-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 4s linear infinite;
}

.badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.text-gradient-premium {
  background: linear-gradient(90deg, #1976d2, #64b5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.title-underline {
  height: 4px;
  width: 100px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  margin: 1rem 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.title-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: underlineShine 2s ease-in-out infinite;
}

@keyframes underlineShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.metric-item {
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.feature-item.enhanced {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-item.enhanced:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Value Proposition Section */
.value-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
}

.value-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="%233b82f6" fill-opacity="0.03" cx="30" cy="30" r="1"/></g></svg>');
  z-index: 1;
}

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

.section-badge.premium {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid #bfdbfe;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.section-badge.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.value-card {
  background: #ffffff;
  border-radius: 2rem;
  padding: 3rem 2rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03), 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 10px 25px rgba(59, 130, 246, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.icon-glow {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.value-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.value-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.value-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.value-metric .metric-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-metric .metric-text {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
}

/* Enhanced Stats Section */
.stat-box.premium {
  background: #ffffff;
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03), 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.stat-box.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-box.premium:hover::before {
  transform: scaleX(1);
}

.stat-box.premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.stat-description {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Enhanced Features Section */
.features-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1e40af;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid #bfdbfe;
}

.feature-card.premium {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 2rem;
  padding: 3rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03), 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.feature-card.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

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

.feature-card.premium:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(59, 130, 246, 0.1);
}

.feature-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  opacity: 0.1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.decoration-circle.circle-1 {
  width: 40px;
  height: 40px;
  top: 10px;
  right: 10px;
  animation: decorationFloat 6s ease-in-out infinite;
}

.decoration-circle.circle-2 {
  width: 20px;
  height: 20px;
  top: 30px;
  right: 60px;
  animation: decorationFloat 6s ease-in-out infinite reverse;
}

@keyframes decorationFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
}

.feature-badge-corner {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  border-radius: 0 2rem 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.feature-icon.premium {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.feature-card.premium:hover .feature-icon.premium {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.icon-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: iconShine 3s ease-in-out infinite;
}

@keyframes iconShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.feature-badge.advanced {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.feature-badge.popular {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.feature-badge.secure {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.feature-highlights {
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.highlight-item i {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

.learn-more.premium {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.learn-more.premium::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 ease;
}

.learn-more.premium:hover::before {
  left: 100%;
}

.learn-more.premium:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.feature-card.featured {
  border: 2px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.feature-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.feature-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f1f5f9;
  color: #475569;
}

.feature-badge.popular {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: #374151;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.feature-list li i {
  color: #10b981;
  margin-right: 0.75rem;
  width: 16px;
}

.feature-link {
  margin-top: auto;
}

.learn-more {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.learn-more:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.learn-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.learn-more:hover i {
  transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="500" cy="500" r="500" fill="url(%23a)"/></svg>');
  opacity: 0.1;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
  margin-bottom: 2rem;
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.author-name {
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.feature-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feature-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

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

.feature-list li {
  padding: 0.75rem 0;
  color: #374151;
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Enhanced CTA Section */
.cta-section {
  padding: 120px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #374151 75%, #4b5563 100%);
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="%23ffffff" fill-opacity="0.05" cx="30" cy="30" r="1"/></g></svg>');
  z-index: 2;
}

.cta-section .container {
  position: relative;
  z-index: 3;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fbbf24;
}

.cta-features {
  margin: 2.5rem 0;
}

.cta-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.cta-feature i {
  font-size: 1.25rem;
}

.cta-guarantee {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.guarantee-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.guarantee-icon {
  color: #fbbf24;
  font-size: 2rem;
}

.guarantee-text {
  text-align: center;
}

.guarantee-text strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.guarantee-text span {
  font-size: 0.875rem;
  opacity: 0.8;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-actions {
  margin-bottom: 1.5rem;
}

.cta-note {
  margin: 0;
  opacity: 0.8;
  font-size: 0.875rem;
}

/* Dashboard styles */
.dashboard-card {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Login page specific */
.login-body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.login-container {
  min-height: 100vh;
  background: transparent;
}

.login-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
}

.login-card .card-header {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  color: white;
  border-radius: 1rem 1rem 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .hero-card {
    margin-top: 3rem;
    padding: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card {
    padding: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1.125rem;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .card-body {
    padding: 1rem;
  }

  /* Keep CTAs full width on mobile, but do NOT affect input-group buttons */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Override for buttons inside input groups (e.g., password toggle) */
  .input-group .btn, .input-group .input-group-text {
    width: auto;
    margin-bottom: 0;
    flex: 0 0 auto;
  }
}

/* Loading states */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Page loading state */
body {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.loaded {
  opacity: 1;
}

/* Enhanced professional touches */
.hero-section {
  position: relative;
  will-change: transform;
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Enhanced button interactions */
.btn-hero, .btn-cta {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hero::before, .btn-cta::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.6s ease;
  z-index: -1;
}

.btn-hero:hover::before, .btn-cta:hover::before {
  left: 100%;
}

/* Enhanced card hover effects */
.feature-card.premium, .value-card, .testimonial-card, .stat-box.premium {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card.premium:hover, .value-card:hover, .testimonial-card:hover, .stat-box.premium:hover {
  transform: translateY(-12px) scale(1.02);
}

/* Enhanced gradient animations */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-gradient-premium {
  background: linear-gradient(-45deg, #FF6B35, #F7931E, #FFD700, #8B5CF6, #3B82F6);
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced floating animations */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Enhanced trust badges */
.trust-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Enhanced metric cards */
.metric-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

/* Enhanced testimonial author avatars */
.author-avatar {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(59, 130,246, 0.3);
}

/* Enhanced section dividers */
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-metrics {
    flex-direction: column;
    gap: 1rem;
  }
  
  .metric-divider {
    width: 100%;
    height: 1px;
  }
  
  .cta-features .row {
    flex-direction: column;
  }
  
  .cta-feature {
    margin-bottom: 0.5rem;
  }
}

/* Performance optimizations */
.hero-background, .cta-background {
  will-change: transform;
}

.floating-circle {
  will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .floating-circle {
    animation: none;
  }
  
  .text-gradient-premium {
    animation: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-background {
    background: #000;
  }
  
  .text-gradient-premium {
    background: #fff;
    -webkit-text-fill-color: #fff;
  }
}

/* Dropdown improvements */
.dropdown-menu {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 0.5rem;
  margin-bottom: 0.125rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
  color: #3b82f6;
}

/* Utility classes */
.text-muted {
  color: #64748b !important;
}

.border-light {
  border-color: #f1f5f9 !important;
}

.bg-light {
  background-color: #f8fafc !important;
}

.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.rounded-lg {
  border-radius: 1rem !important;
}

/* Additional professional touches */
.text-gradient {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Focus improvements */
*:focus {
  outline: none;
}

.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Collapsible sections styling */
.collapse-icon { 
  transition: transform 0.3s ease; 
}

.card-header[data-bs-toggle="collapse"] {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.card-header[data-bs-toggle="collapse"]:hover {
  background-color: #e9ecef !important;
}

.member-type-display { 
  background: rgba(13,110,253,.1); 
  color:#0d6efd; 
  padding:2px 8px; 
  border-radius:12px; 
  font-size:.75rem; 
}

.dependant-title { 
  font-weight:600; 
}

/* Ensure sections always visible on edit page */
.member-dependent-section { 
  display:block !important; 
}

/* Added small-screen brand size adjustments */
@media (max-width: 575.98px) {
  .navbar-brand-logo { max-height:39px; }
  .navbar-brand .brand-text { font-size:1.1rem; }
}

/* Spinner using system logo */
.logo-spin { animation: logo-rotate 1.25s linear infinite; }
.logo-spinner { height: 56px; width: auto; filter: drop-shadow(0 0 2px rgba(0,0,0,.08)); }
/* 50x50 icon size for spinners in overlay and button */
.logo-icon { width: 50px; height: 50px; display: inline-block; vertical-align: -0.125em; object-fit: contain; }
@keyframes logo-rotate { to { transform: rotate(360deg); } }