/* Pricing Section Styles */
.pricing-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 35%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.pricing-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.pricing-header {
  text-align: center;
  margin-bottom: 5rem;
}

.pricing-title {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.pricing-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1.5rem;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 
    0 25px 50px rgba(139, 92, 246, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.pricing-card.popular {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.pricing-card.popular::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  opacity: 1;
}

.pricing-badge {
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon-wrapper {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
}

.pricing-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #8b5cf6;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #8b5cf6;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
}

.pricing-description {
  color: #94a3b8;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 2rem;
}

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

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: #e2e8f0;
  font-weight: 500;
}

.pricing-feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #10b981;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-cta.primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
}

.pricing-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.pricing-cta.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Floating orbs background */
.pricing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.pricing-orb-1 {
  width: 200px;
  height: 200px;
  background: rgba(139, 92, 246, 0.3);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.pricing-orb-2 {
  width: 150px;
  height: 150px;
  background: rgba(59, 130, 246, 0.3);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.pricing-orb-3 {
  width: 100px;
  height: 100px;
  background: rgba(16, 185, 129, 0.3);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pricing-card {
    padding: 2rem;
  }
  
  .pricing-title {
    font-size: 2.25rem;
  }
  
  .pricing-amount {
    font-size: 2.5rem;
  }
}
/* Demo Page Styling */
.demo-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 35%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.demo-orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  filter: blur(60px);
  opacity: 0.3;
  animation: demoFloat 20s ease-in-out infinite;
}

.demo-orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.demo-orb-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  background: linear-gradient(45deg, #3b82f6, #10b981);
  animation-delay: -7s;
}

.demo-orb-3 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 20%;
  background: linear-gradient(45deg, #f59e0b, #ef4444);
  animation-delay: -14s;
}

@keyframes demoFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.demo-glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.demo-glass-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-step-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.demo-step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.demo-step-card.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.demo-progress-bar {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  height: 8px;
}

.demo-progress-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.1s linear;
  background: linear-gradient(90deg, var(--progress-color, #8b5cf6), var(--progress-color-end, #ec4899));
}

.demo-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.5s ease;
  border: 1px solid transparent;
}

.demo-feature-item.completed {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  animation: demoFeaturePulse 0.6s ease-out;
}

@keyframes demoFeaturePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.demo-metrics-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  animation: demoMetricsUpdate 0.3s ease-out;
}

@keyframes demoMetricsUpdate {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.demo-cta-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.demo-button-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  font-weight: bold;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-button-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.demo-button-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: bold;
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-button-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.demo-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--icon-color, #8b5cf6), var(--icon-color-end, #ec4899));
  animation: demoIconPulse 2s ease-in-out infinite;
}

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

.demo-step-indicator {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--step-color, #8b5cf6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.demo-step-indicator.completed {
  background: #10b981;
  animation: demoStepComplete 0.5s ease-out;
}

@keyframes demoStepComplete {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .demo-container {
    padding: 16px;
  }
  
  .demo-glass-card {
    margin: 0 8px;
  }
  
  .demo-cta-section {
    padding: 24px 16px;
  }
  
  .demo-button-primary,
  .demo-button-secondary {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Loading Animation */
.demo-loading {
  animation: demoLoadingPulse 1.5s ease-in-out infinite;
}

@keyframes demoLoadingPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* CTA Section Styles */
.cta-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 4rem 3rem;
  box-shadow: 
    0 25px 50px rgba(102, 126, 234, 0.3),
    0 8px 16px rgba(118, 75, 162, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
  border-radius: 2rem 2rem 0 0;
}

.cta-title {
  font-size: 3.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1e293b 0%, #667eea 50%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 3rem;
  line-height: 1.7;
  font-weight: 500;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem 3.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 10px 30px rgba(102, 126, 234, 0.4),
    0 4px 14px rgba(118, 75, 162, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.cta-primary::before {
  content: '';
  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.6s;
}

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

.cta-primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(102, 126, 234, 0.5),
    0 8px 20px rgba(118, 75, 162, 0.4);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1.5rem 3.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.cta-primary:hover .cta-icon {
  transform: translateX(4px);
}

.cta-features {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}
/* Authentication Styles */
.auth-container {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 50%, #f3e8ff 100%);
  min-height: 100vh;
  display: flex;
}

.auth-brand-panel {
  width: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-brand-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

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

.auth-content-panel {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form-container {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  width: 100%;
  max-width: 26rem;
  position: relative;
  transform: translateY(0);
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out;
}

.auth-form-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
}

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

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1f2937 0%, #3730a3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-subtitle {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1f2937;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.form-input::-moz-placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.form-input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.password-input-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: #374151;
}

.password-toggle:focus {
  outline: none;
  color: #3b82f6;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox {
  width: 1rem;
  height: 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.25rem;
  cursor: pointer;
}

.checkbox:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-label {
  font-size: 0.875rem;
  color: #6b7280;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.forgot-password {
  font-size: 0.875rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #2563eb;
  text-decoration: underline;
}

.auth-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.auth-button::before {
  content: '';
  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.6s;
}

.auth-button:hover::before {
  left: 100%;
}

.auth-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.auth-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.auth-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  padding: 0 1rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.support-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.support-button {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.support-button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #1f2937;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.auth-footer a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
  }
  
  .auth-brand-panel,
  .auth-content-panel {
    width: 100%;
  }
  
  .auth-brand-panel {
    min-height: 40vh;
  }
  
  .auth-content-panel {
    padding: 1rem;
  }
  
  .auth-form-container {
    padding: 2rem 1.5rem;
  }
  
  .support-buttons {
    flex-direction: column;
  }
}
/* Stats Section Styles */
.stats-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.stats-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stats-header {
  text-align: center;
  margin-bottom: 4rem;
}

.stats-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.04);
}

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

.stat-label {
  font-size: 1.125rem;
  color: #64748b;
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* Testimonials Section Styles */
.testimonials-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e1e8ff 50%, #ddd6fe 100%);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
}

.testimonials-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 5rem;
}

.testimonials-title {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.testimonials-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: white;
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ef4444, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
}

.testimonial-stars {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1.75rem;
  justify-content: flex-start;
}

.star-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: #f59e0b;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.2));
}

.testimonial-quote {
  color: #475569;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  font-weight: 500;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.75rem;
  font-size: 3rem;
  color: #e2e8f0;
  font-style: normal;
  line-height: 1;
}

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

.author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.author-title {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
}
/* Theme Variables and Dynamic Styles */

:root {
  /* Default theme variables */
  --color-primary: #3B82F6;
  --color-secondary: #6B7280;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #06B6D4;
  --color-accent: #3B82F6;
  
  --border-radius: 8px;
  --font-family: 'Inter', sans-serif;
  --font-size-base: 16px;
  --spacing-density: 0.75rem;
  --transition-duration: 300ms;
  
  /* Light theme colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

.dark {
  /* Dark theme colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --border-color: #334155;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Animation Keyframes */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

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

/* Animation Classes */
.animate-shimmer {
  animation: shimmer 2s infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Font Size Variants */
.text-small {
  font-size: 14px;
}

.text-medium {
  font-size: 16px;
}

.text-large {
  font-size: 18px;
}

/* Density Variants */
.density-compact {
  --spacing-unit: 0.5rem;
  --padding-sm: 0.25rem;
  --padding-md: 0.5rem;
  --padding-lg: 0.75rem;
}

.density-comfortable {
  --spacing-unit: 0.75rem;
  --padding-sm: 0.5rem;
  --padding-md: 0.75rem;
  --padding-lg: 1rem;
}

.density-spacious {
  --spacing-unit: 1rem;
  --padding-sm: 0.75rem;
  --padding-md: 1rem;
  --padding-lg: 1.25rem;
}

/* Card Styles */
[data-card-style="flat"] .card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

[data-card-style="elevated"] .card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px var(--shadow-color);
}

[data-card-style="outlined"] .card {
  background: transparent;
  border: 2px solid var(--border-color);
  box-shadow: none;
}

/* Button Styles */
[data-button-style="rounded"] .btn {
  border-radius: var(--border-radius);
}

[data-button-style="square"] .btn {
  border-radius: 0;
}

[data-button-style="pill"] .btn {
  border-radius: 9999px;
}

/* Sidebar Position */
[data-sidebar-position="left"] .sidebar {
  left: 0;
  right: auto;
}

[data-sidebar-position="right"] .sidebar {
  right: 0;
  left: auto;
}

[data-sidebar-position="right"] .main-content {
  margin-left: 0;
  margin-right: 16rem;
}

/* Sidebar Styles */
[data-sidebar-style="compact"] .sidebar {
  width: 4rem;
}

[data-sidebar-style="compact"] .sidebar .nav-text {
  display: none;
}

[data-sidebar-style="expanded"] .sidebar {
  width: 16rem;
}

[data-sidebar-style="auto"] .sidebar {
  width: 16rem;
}

@media (max-width: 768px) {
  [data-sidebar-style="auto"] .sidebar {
    width: 4rem;
  }
  
  [data-sidebar-style="auto"] .sidebar .nav-text {
    display: none;
  }
}

/* Topbar Styles */
[data-topbar-style="fixed"] .topbar {
  position: fixed;
  top: 0;
  z-index: 40;
}

[data-topbar-style="static"] .topbar {
  position: static;
}

[data-topbar-style="hidden"] .topbar {
  display: none;
}

/* Animation Controls */
[data-animations-disabled="true"] * {
  transition: none !important;
  animation: none !important;
}

/* Theme-aware components */
.themed-bg-primary {
  background-color: var(--bg-primary);
}

.themed-bg-secondary {
  background-color: var(--bg-secondary);
}

.themed-bg-tertiary {
  background-color: var(--bg-tertiary);
}

.themed-text-primary {
  color: var(--text-primary);
}

.themed-text-secondary {
  color: var(--text-secondary);
}

.themed-text-tertiary {
  color: var(--text-tertiary);
}

.themed-border {
  border-color: var(--border-color);
}

.themed-shadow {
  box-shadow: 0 1px 3px var(--shadow-color);
}

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

.themed-accent-bg {
  background-color: var(--color-accent);
}

.themed-primary {
  color: var(--color-primary);
}

.themed-primary-bg {
  background-color: var(--color-primary);
}

/* Responsive theme adjustments */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Color scheme variants */
.theme-blue {
  --color-primary: #3B82F6;
  --color-accent: #3B82F6;
}

.theme-green {
  --color-primary: #10B981;
  --color-accent: #10B981;
}

.theme-purple {
  --color-primary: #8B5CF6;
  --color-accent: #8B5CF6;
}

.theme-pink {
  --color-primary: #EC4899;
  --color-accent: #EC4899;
}

.theme-orange {
  --color-primary: #F97316;
  --color-accent: #F97316;
}

.theme-red {
  --color-primary: #EF4444;
  --color-accent: #EF4444;
}

.theme-indigo {
  --color-primary: #6366F1;
  --color-accent: #6366F1;
}

.theme-teal {
  --color-primary: #14B8A6;
  --color-accent: #14B8A6;
}
/* ========================================
   GHOSTCRM ONBOARDING MODAL STYLES
   Single-file, no Tailwind dependency
   ======================================== */

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(2deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1deg);
  }
  75% {
    transform: translateY(-25px) rotate(1deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
  }
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

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

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   CONTAINER / OVERLAY
   ======================================== */

.onboarding-overlay {
  position: fixed;
  inset: 0;
  top: var(--unified-toolbar-h, 64px);
  z-index: 40;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
}

.onboarding-content {
  height: 100%;
  overflow-y: auto;
}

.onboarding-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.onboarding-wrapper {
  /* Widen onboarding modal so content can use more horizontal space */
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .onboarding-wrapper {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .onboarding-wrapper {
    padding: 0 2rem;
  }
}

/* ========================================
   MAIN CONTENT CARD
   ======================================== */

.content-card {
  border-radius: 1rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.content-card--light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
}

.content-card--dark {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.3);
}

/* Ensure the main content card inside the onboarding wrapper can expand to the full modal width */
.onboarding-wrapper .content-card {
  max-width: 100%;
  width: 100%;
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: relative;
  z-index: 10;
  margin-bottom: 1.5rem;
}

.header-content {
  text-align: center;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.header-title--light {
  color: #111827;
}

.header-title--dark {
  color: #ffffff;
}

.header-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.header-subtitle--light {
  color: #4b5563;
}

.header-subtitle--dark {
  color: #d1d5db;
}

/* Skip button (top right) */
.skip-button {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.skip-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  color: #ffffff;
}

.skip-button--light {
  background: #ffffff;
  color: #3b82f6;
  border: 1px solid #e5e7eb;
}

.skip-button--light:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

/* ========================================
   PROGRESS STEPS
   ======================================== */

.progress-container {
  margin-bottom: 2.5rem;
}

.progress-steps {
  position: relative;
}

.progress-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.progress-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 3px solid;
  transition: all 0.5s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.step-icon--active {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  transform: scale(1.1);
  box-shadow:
    0 8px 25px rgba(139, 92, 246, 0.5),
    0 0 0 4px rgba(139, 92, 246, 0.2);
  color: #ffffff;
}

.step-icon--completed {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  box-shadow:
    0 6px 20px rgba(16, 185, 129, 0.4),
    0 0 0 3px rgba(16, 185, 129, 0.2);
  color: #ffffff;
}

.step-icon--pending {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.4);
}

.step-icon--pending-light {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
}

.step-label {
  text-align: center;
  margin-top: 0.75rem;
}

.step-label-text {
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
}

.step-label--active {
  color: #8b5cf6;
}

.step-label--active-light {
  color: #111827;
}

.step-label--completed {
  color: #10b981;
}

.step-label--completed-light {
  color: #059669;
}

.step-label--pending {
  color: rgba(255, 255, 255, 0.5);
}

.step-label--pending-light {
  color: #9ca3af;
}

.connecting-line {
  position: absolute;
  top: 1.5rem;
  left: 100%;
  width: 2rem;
  height: 0.25rem;
  transition: all 0.5s;
  border-radius: 9999px;
  z-index: 0;
}

.connecting-line--completed {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.connecting-line--pending {
  background: rgba(255, 255, 255, 0.15);
}

.connecting-line--pending-light {
  background: #e5e7eb;
}

.step-counter {
  text-align: center;
}

.counter-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.counter-badge--dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.counter-badge--light {
  background: #f3f4f6;
  color: #4b5563;
}

/* ========================================
   STEP CONTENT / CARD
   ======================================== */

.step-content {
  position: relative;
  z-index: 10;
}

.step-card {
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  /* Expand step card to use modal width so fields and content don't force horizontal scrolling */
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  transition: all 0.4s ease-out;
}

.step-card--light {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.step-card--dark {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Step titles/subtitles */
.step-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-title--light {
  color: #111827;
}

.step-title--dark {
  color: #ffffff;
}

.step-subtitle {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.step-subtitle--light {
  color: #4b5563;
}

.step-subtitle--dark {
  color: rgba(255, 255, 255, 0.8);
}

.subdomain-info {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.subdomain-info--light {
  color: #6b7280;
}

.subdomain-info--dark {
  color: rgba(255, 255, 255, 0.7);
}

.subdomain-info--highlight {
  font-weight: 600;
}

/* Small helper text */
.label-note {
  font-size: 0.75rem;
  line-height: 1rem;
  opacity: 0.75;
  font-weight: 400;
}

/* ========================================
   NAVIGATION BUTTONS
   ======================================== */

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  /* Let navigation use full width of the step card/modal */
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-button--disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.nav-button--disabled:hover {
  transform: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-button--prev {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.nav-button--prev:hover:not(.nav-button--disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.nav-button--prev-light {
  background: #ffffff;
  border: 2px solid #d1d5db;
  color: #374151;
}

.nav-button--prev-light:hover:not(.nav-button--disabled) {
  background: #f9fafb;
  border-color: #9ca3af;
}

.nav-button--next {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #ffffff;
  box-shadow:
    0 8px 25px rgba(139, 92, 246, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-button--next:hover:not(.nav-button--disabled) {
  box-shadow:
    0 12px 35px rgba(139, 92, 246, 0.6),
    0 0 0 2px rgba(255, 255, 255, 0.2);
}

.nav-button--loading {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-container {
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-label--light {
  color: #374151;
}

.form-label--dark {
  color: #ffffff;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  border: 2px solid;
  transition: all 0.3s;
}

.form-input--light {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #111827;
}

.form-input--dark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.form-input--dark::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input--dark::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input--readonly {
  cursor: not-allowed;
  opacity: 0.7;
}

.form-input--readonly-light {
  background: #f9fafb;
}

.form-input--readonly-dark {
  background: rgba(255, 255, 255, 0.05);
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
}

/* Input suffix (subdomain, etc.) */
.input-group {
  display: flex;
}

.input-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 0 0.75rem 0.75rem 0;
  border: 2px solid;
  border-left: none;
  font-size: 1rem;
  font-weight: 500;
}

.input-suffix--light {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
}

.input-suffix--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   ERROR STYLES
   ======================================== */

.error-container {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  border: 2px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.error-container--light {
  background: #fef2f2;
}

.error-container--dark {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.2),
    rgba(220, 38, 38, 0.2)
  );
  backdrop-filter: blur(10px);
}

.error-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.error-icon-text {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.error-text {
  font-size: 1rem;
  font-weight: 600;
}

.error-text--light {
  color: #b91c1c;
}

.error-text--dark {
  color: #fca5a5;
}

/* ========================================
   TEAM INVITATION INPUTS
   ======================================== */

.team-invite-input {
  width: 320px !important;
  font-size: 16px !important;
  min-height: 52px !important;
  font-weight: 500 !important;
}

.team-invite-input::-moz-placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

.team-invite-input::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

.team-invite-select {
  width: 120px !important;
  font-size: 14px !important;
  min-height: 52px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
}

.team-invite-select option {
  color: #111827 !important;
  background: #ffffff !important;
}

/* ========================================
   LOADING SPINNER
   ======================================== */

.loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.loading-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.loading-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   TEAM SETUP SPECIFIC
   ======================================== */

.team-pro-tip {
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.team-pro-tip--light {
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.1),
    rgba(245, 158, 11, 0.1)
  );
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.team-pro-tip--dark {
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.1),
    rgba(245, 158, 11, 0.05)
  );
  border: 1px solid rgba(251, 191, 36, 0.2);
  backdrop-filter: blur(10px);
}

.team-pro-tip-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.team-pro-tip-text--light {
  color: #92400e;
}

.team-pro-tip-text--dark {
  color: #fbbf24;
}

.team-member-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.team-member-indicator {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border-width: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-member-indicator--light {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.team-member-indicator--dark {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.team-member-indicator-number {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
}

.team-member-indicator-number--light {
  color: #6b7280;
}

.team-member-indicator-number--dark {
  color: rgba(255, 255, 255, 0.7);
}

.team-add-button {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 300ms;
  transform: scale(1);
}

.team-add-button:hover {
  transform: scale(1.05);
}

.team-add-button--light {
  color: #2563eb;
  background-color: #eff6ff;
}

.team-add-button--light:hover {
  color: #1e40af;
  background-color: #eff6ff;
}

.team-add-button--dark {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.team-add-button--dark:hover {
  color: #bfdbfe;
}

/* ========================================
   STEP ICON CONTAINERS
   ======================================== */

.stepIconContainer {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.stepIconContainerTeam {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.stepIconContainerBilling {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.stepIconContainerIntegrations {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* ========================================
   PRICING / BILLING COMPONENT
   ======================================== */

.pricing-card {
  border-width: 2px;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-card--light {
  background: #ffffff;
  border-color: #e5e7eb;
}

.pricing-card--dark {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.pricing-card--popular {
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem auto;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-tier-letter {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-tier-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-tier-title--light {
  color: #111827;
}

.pricing-tier-title--dark {
  color: #ffffff;
}

.pricing-tier-description {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.pricing-tier-description--light {
  color: #6b7280;
}

.pricing-tier-description--dark {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-amount {
  font-size: 2rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-amount--light {
  color: #111827;
}

.pricing-amount--dark {
  color: #ffffff;
}

.pricing-amount-suffix {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-setup-fee {
  font-size: 0.75rem;
  line-height: 1rem;
  margin-bottom: 1rem;
}

.pricing-setup-fee--light {
  color: #6b7280;
}

.pricing-setup-fee--dark {
  color: rgba(255, 255, 255, 0.7);
}

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

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-feature-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-feature-icon svg {
  width: 0.625rem;
  height: 0.625rem;
  color: #ffffff;
}

.pricing-feature-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.pricing-feature-text--light {
  color: #374151;
}

.pricing-feature-text--dark {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-select-button {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: none;
  cursor: pointer;
}

.pricing-select-button:hover {
  transform: scale(1.05);
}

.pricing-skip-text {
  margin-top: 2rem;
  text-align: center;
}

.pricing-skip-text--light {
  color: #6b7280;
}

.pricing-skip-text--dark {
  color: rgba(255, 255, 255, 0.8);
}

/* Extra pricing text style variants */
.pricing-plan-header {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-plan-description {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.pricing-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-plan-setup,
.pricing-plan-setup-fee {
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

/* ========================================
   COMPLETION COMPONENT
   ======================================== */

.completion-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
}

.completion-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.completion-icon--light,
.completion-icon--dark {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* ========================================
   SELECT DROPDOWN OPTIONS
   ======================================== */

.select-option {
  background: #1f2937;
  color: #ffffff;
}

.select-option-light {
  background: #ffffff;
  color: #111827;
}

/* ========================================
   UTILITY CLASSES (LOCAL “TAILWIND”)
   ======================================== */

/* Layout & display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-md-cols-3 { display: grid; grid-template-columns: repeat(1, 1fr); }

@media (min-width: 768px) {
  .grid-cols-2-md { grid-template-columns: repeat(2, 1fr); }
  .grid-md-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Width / height */
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }

/* Max width */
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.m-auto { margin: auto; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Padding */
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Gap / vertical spacing */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Border radius & border */
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.border-2 { border-width: 2px; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text colors */
.text-white { color: #ffffff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-blue-400 { color: #60a5fa; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-blue-900 { color: #1e3a8a; }

.text-white-80,
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }

.text-white-70,
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }

/* Opacity */
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }

/* Shadow */
.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Position helpers */
.relative { position: relative; }
.absolute { position: absolute; }

.top-minus-3,
.top-negative-3 { top: -0.75rem; }

.left-half { left: 50%; }

.transform,
.transform-translate-x-minus-half {
  transform: translateX(-50%);
}

/* Misc utilities */
.cursor-pointer { cursor: pointer; }
.text-center { text-align: center; }
.flex-shrink-0 { flex-shrink: 0; }

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 { transition-duration: 300ms; }

.hover-transform:hover,
.hover-scale-105:hover {
  transform: scale(1.05);
}

.hover\:underline:hover {
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE FOR MODAL
   ======================================== */

@media (max-width: 768px) {
  .onboarding-wrapper {
    max-width: 100%;
    padding: 0 1rem;
  }

  .content-card {
    padding: 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .progress-icons {
    gap: 1rem;
  }

  .step-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .connecting-line {
    width: 1.5rem;
  }

  .navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-button {
    width: 100%;
    justify-content: center;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ========================================
   INTEGRATION ONBOARDING STYLES
   ======================================== */

.integration-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
  padding: 2rem 0;
}

.integration-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.integration-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.integration-header {
  text-align: center;
  margin-bottom: 2rem;
}

.integration-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.integration-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.integration-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.integration-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.integration-progress-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.integration-progress-dot--active {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  transform: scale(1.5);
}

.integration-step-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.integration-option {
  border-radius: 0.75rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
}

.integration-option:hover {
  transform: scale(1.02);
}

.integration-option--selected {
  border: 2px solid rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.integration-option--recommended {
  border: 2px solid rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
}

.integration-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.integration-option-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.integration-option-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.integration-option-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.integration-option-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.integration-option-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.integration-option-feature-icon {
  width: 1rem;
  height: 1rem;
  color: #10b981;
  flex-shrink: 0;
}

.integration-cost-summary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  backdrop-filter: blur(10px);
}

.integration-cost-title {
  font-size: 1rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}

.integration-cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.integration-cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.integration-cost-total {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.integration-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.integration-nav-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s;
  cursor: pointer;
}

.integration-nav-button--primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.integration-nav-button--primary:hover {
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
  transform: scale(1.05);
}

.integration-nav-button--secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.integration-nav-button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.integration-nav-button--skip {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.integration-nav-button--skip:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* 
  ===========================================
  🔧 STANDALONE CSS UTILITIES
  ===========================================
  Custom utility classes (not Tailwind dependent)
*/

/* ========== ANIMATIONS ========== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Animation utility classes */
.fade-in { animation: fadeIn 0.3s ease-in-out; }
.fade-in-up { animation: fadeInUp 0.3s ease-out; }
.fade-in-down { animation: fadeInDown 0.3s ease-out; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s infinite; }

/* ========== DISPLAY ========== */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* ========== FLEXBOX ========== */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }

/* ========== GRID ========== */
.grid-1 { display: grid; grid-template-columns: 1fr; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ========== SPACING ========== */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Padding */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Margin */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-auto { margin: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mr-auto { margin-right: auto; }

/* ========== SIZING ========== */
/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-half { width: 50%; }
.w-third { width: 33.333333%; }
.w-two-thirds { width: 66.666667%; }
.w-quarter { width: 25%; }
.w-three-quarters { width: 75%; }
.w-fit { width: -moz-fit-content; width: fit-content; }

/* Height */
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-auto { height: auto; }
.h-fit { height: -moz-fit-content; height: fit-content; }
.min-h-screen { min-height: 100vh; }
.min-h-full { min-height: 100%; }

/* Max Width */
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-screen-sm { max-width: 640px; }
.max-w-screen-md { max-width: 768px; }
.max-w-screen-lg { max-width: 1024px; }
.max-w-screen-xl { max-width: 1280px; }

/* ========== POSITIONING ========== */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ========== OVERFLOW ========== */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* ========== TYPOGRAPHY ========== */
/* Font sizes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* Font weights */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

/* Line height */
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

/* ========== COLORS ========== */
/* Text colors */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-50 { color: #f9fafb; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-green-600 { color: #059669; }
.text-red-600 { color: #dc2626; }
.text-purple-600 { color: #7c3aed; }

/* Background colors */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-green-500 { background-color: #10b981; }
.bg-red-500 { background-color: #ef4444; }

/* ========== BORDERS ========== */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-0 { border-width: 0; }

.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-blue-300 { border-color: #93c5fd; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ========== SHADOWS ========== */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-none { box-shadow: none; }

/* ========== EFFECTS ========== */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* ========== INTERACTIVITY ========== */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }

.select-none { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ========== TRANSFORMS & TRANSITIONS ========== */
.transition { 
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; 
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
  transition-duration: 150ms; 
}
.transition-all { 
  transition-property: all; 
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
  transition-duration: 150ms; 
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transform { transform: translateZ(0); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* ========== RESPONSIVE HELPERS ========== */
@media (max-width: 640px) {
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:p-4 { padding: 1rem; }
  .sm\:mt-4 { margin-top: 1rem; }
}

@media (max-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:mt-6 { margin-top: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:mt-8 { margin-top: 2rem; }
}
/* Marketing Page Layout */
.marketing-page {
  background: linear-gradient(180deg, 
    rgba(102, 126, 234, 1) 0%,
    rgba(118, 75, 162, 1) 40%,
    #ffffff 40%
  );
}

/* Mobile Marketing Header Improvements */
@media (max-width: 640px) {
  .marketing-page nav {
    padding: 0 0.5rem !important;
  }
  
  .marketing-page nav > div {
    padding: 0 0.5rem !important;
    gap: 0.25rem !important;
  }
  
  /* Prevent header overflow on small screens */
  .marketing-page nav {
    overflow: hidden;
  }
  
  /* Ensure mobile menu doesn't cause layout shifts */
  .marketing-page nav button {
    flex-shrink: 0 !important;
  }
}

/* Section Transitions */
.section-transition {
  height: 100px;
  background: linear-gradient(180deg, 
    rgba(118, 75, 162, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.section-divider {
  padding: 5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.divider-line {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(148, 163, 184, 0.4) 20%,
    rgba(59, 130, 246, 0.6) 50%,
    rgba(148, 163, 184, 0.4) 80%,
    transparent 100%
  );
  position: relative;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.divider-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(229, 231, 235, 0.3);
}
/*
  =========================================
  🎨 GHOST AUTO CRM - OPTIMIZED CSS SYSTEM
  =========================================
  
  📁 MODULAR ARCHITECTURE:
  ├── 🏗️  Base Foundation       (Reset, Variables, Animations)
  ├── 🧩  Component Library     (Buttons, Modals, Cards) 
  ├── 🔧  Utility System        (Layout, Spacing, Typography)
  ├── 📄  Page Modules          (Marketing, Auth, Dashboard)
  └── 🎯  Legacy Imports        (Existing Components)
  
  ⚡ PERFORMANCE: Modular loading, tree-shakeable
  🔧 MAINTAINABLE: Clear separation of concerns
  📱 RESPONSIVE: Mobile-first design system
  🎨 CONSISTENT: Unified design tokens
*/

/* 
  ===========================================
  🏗️ BASE FOUNDATION
  ===========================================
*/

/* 
  ===========================================
  🧩 COMPONENT LIBRARY  
  ===========================================
*/

/* 
  ===========================================
  📋 ONBOARDING SYSTEM
  ===========================================
*/

/* 
  ===========================================
  🎯 STEP ICON CONTAINERS (DIRECT STYLES)
  ===========================================
  Emergency fallback for step icon containers
*/
.stepIconContainer {
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
}

.stepIconContainerTeam {
  width: 5rem !important;
  height: 5rem !important;
  border-radius: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #10b981, #047857) !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3) !important;
}

.stepIconContainerBilling {
  width: 5rem !important;
  height: 5rem !important;
  border-radius: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3) !important;
}

/* 
  ===========================================
  🔧 UTILITY SYSTEM
  ===========================================
*/

/* 
  ===========================================
  📄 PAGE MODULES
  ===========================================
*/

/* 
  ===========================================
  🎨 LEGACY & CORE STYLES
  ===========================================
  Remaining styles to be gradually modularized
*/

/* Basic form elements */
.input, input, textarea, select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus, input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px #2563eb33;
}

/* Card component */
.card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Typography utilities */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-thin { font-weight: 100; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.whitespace-nowrap { white-space: nowrap; }
.truncate { 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
}

/* Color utilities */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-50 { color: #f9fafb; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }

.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }

.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-blue-900 { color: #1e3a8a; }

.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7c3aed; }

.text-yellow-600 { color: #d97706; }
.text-yellow-700 { color: #b45309; }

/* Background colors */
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }

.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-600 { background-color: #dc2626; }

.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }

.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-600 { background-color: #16a34a; }

.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef3c7; }

.bg-purple-50 { background-color: #faf5ff; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-purple-600 { background-color: #9333ea; }

/* Size utilities */
.w-full { width: 100%; }
.w-1 { width: 0.25rem; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }

.h-full { height: 100%; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Border utilities */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-r { border-right-width: 1px; }
.border-l { border-left-width: 1px; }
.border-t { border-top-width: 1px; }

.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-blue-600 { border-color: #2563eb; }
.border-transparent { border-color: transparent; }

.rounded { border-radius: 0.25rem; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Shadow utilities */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Interaction utilities */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

.transition-colors { 
  transition-property: color, background-color, border-color; 
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
  transition-duration: 150ms; 
}
.transition-all { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.transition-shadow { 
  transition-property: box-shadow; 
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
  transition-duration: 150ms; 
}

/* Hover states */
.hover-bg-gray-50:hover { background-color: #f9fafb; }
.hover-bg-blue-100:hover { background-color: #dbeafe; }
.hover-bg-blue-700:hover { background-color: #1d4ed8; }
.hover-text-blue-500:hover { color: #3b82f6; }
.hover-text-blue-700:hover { color: #1d4ed8; }
.hover-text-gray-700:hover { color: #374151; }
.hover-text-gray-900:hover { color: #111827; }
.hover-shadow-lg:hover { 
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
}

/* Focus states */
.focus-ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus-ring-blue-500:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus-border-blue-500:focus { border-color: #3b82f6; }

/* Additional utilities for backward compatibility */
.capitalize { text-transform: capitalize; }
.resize-none { resize: none; }
.object-cover { -o-object-fit: cover; object-fit: cover; }

/* Scrollbar utilities */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* GPU acceleration for performance */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/*
  ===========================================
  🔧 COLLABORATION SIDEBAR POSITIONING FIX
  ===========================================
  Ensure collaboration sidebar stays on the right side
*/

/* Force collaboration sidebar to appear on right side */
aside[style*="right: 0"] {
  position: fixed !important;
  right: 0 !important;
  top: var(--unified-toolbar-h, 64px) !important;
  z-index: 30 !important;
  height: calc(100vh - var(--unified-toolbar-h, 64px)) !important;
  display: block !important;
}

/* Ensure no other elements interfere with right-side positioning */
.fixed.right-0 {
  position: fixed !important;
  right: 0 !important;
}
/* styles/modal.css */

/* Overlay */
.modal-overlay {
  position: fixed; 
  inset: 0;
  display: grid; 
  place-items: center;
  background: radial-gradient(1200px 800px at center, rgba(0,0,0,0.6), rgba(0,0,0,0.72));
  backdrop-filter: blur(2px);
  z-index: 1000;
  animation: fadeIn .18s ease-out;
  padding: 20px; /* Add padding for mobile */
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* Panel */
.modal-panel {
  background: #e9f0ff; /* light bluish backdrop to match screenshot */
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  transform: translateY(6px);
  animation: slideUp .22s cubic-bezier(.2,.8,.3,1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
@keyframes slideUp { from { opacity: .6; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }

/* Header */
.modal-header {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 56px 10px;
  background: linear-gradient(90deg, #ecf3ff, #eef2ff);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}
.modal-close {
  position: absolute; right: 12px; top: 10px;
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.16);
  background: #fff;
  font-size: 18px; cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.modal-close:hover { background: #f6f7fb; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* Body */
.modal-body {
  padding: 24px 28px 26px;
  overflow-y: auto;
  flex: 1;
  min-height: 0; /* Important for flex scrolling */
}

/* Marketplace hero */
.mp-hero {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,.6));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px; padding: 18px;
  position: relative;
  overflow: hidden;
}

.mp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
  z-index: 0;
}

.mp-hero > * {
  position: relative;
  z-index: 1;
}

.mp-emoji {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px; background: #fff; 
  box-shadow: 0 6px 18px rgba(99,102,241,.15);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.mp-hero-text h3 {
  margin: 0 0 6px; font-weight: 800; font-size: 20px; color: #0f172a; text-align: center;
}
.mp-hero-text p {
  margin: 0; font-size: 14px; color: #475569; text-align: center;
}

/* Category grid */
.mp-grid {
  margin-top: 18px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 1200px) { .mp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .mp-grid { grid-template-columns: 1fr; } }

.mp-card {
  background: #fdfdfd;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  position: relative;
  overflow: hidden;
}

.mp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--category-gradient, linear-gradient(90deg, #3b82f6, #8b5cf6));
  opacity: 0;
  transition: opacity .2s ease;
}

.mp-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 12px 28px rgba(0,0,0,.12); 
  border-color: rgba(99,102,241,.35); 
}

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

.mp-card-header { 
  display: flex; 
  align-items: center; 
  gap: 12px;
  margin-bottom: 10px; 
}

.mp-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--category-gradient, linear-gradient(135deg, #3b82f6, #8b5cf6));
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.mp-card-info {
  flex: 1;
}

.mp-card-title { 
  font-weight: 700; 
  color: #0f172a; 
  margin-bottom: 2px;
}

.mp-card-sub { 
  font-size: 12px; 
  color: #4f46e5; 
  font-weight: 600;
}
.mp-card-desc { margin: 6px 0 12px; color: #475569; font-size: 14px; }
.mp-link { border: 0; background: none; color: #1d4ed8; font-weight: 600; cursor: pointer; }

/* Divider */
.mp-divider { height: 1px; background: rgba(0,0,0,.08); margin: 18px 0; }

/* Templates */
.mp-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mp-section-head h4 { margin: 0; font-weight: 800; color: #0f172a; }

.mp-templates {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 20px;
}

/* Responsive adjustments for templates */
@media (max-width: 920px) {
  .mp-templates {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .mp-templates {
    grid-template-columns: 1fr;
  }
}

/* Quick Tip Text */
.mp-quick-tip {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Enhanced Icon Sizing */
.mp-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mp-templates {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 1200px) { .mp-templates { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .mp-templates { grid-template-columns: 1fr; } }

.mp-template {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 12px;
  align-items: center; padding: 14px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08); background: #fff; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  position: relative;
  overflow: hidden;
}

.mp-template::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  opacity: 0;
  transition: opacity .2s ease;
}

.mp-template:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 28px rgba(0,0,0,.1); 
  border-color: rgba(34,197,94,.4); 
}

.mp-template:hover::before {
  opacity: 1;
}

.mp-template-preview {
  height: 64px; border-radius: 10px; display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg,#e0e7ff,#f1f5f9);
  color: #334155; font-weight: 700;
  font-size: 20px;
  transition: transform .2s ease;
}

.mp-template:hover .mp-template-preview {
  transform: scale(1.05);
}

.mp-chart-type {
  font-size: 9px;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.mp-template-meta .mp-template-name { 
  font-weight: 700; 
  color: #0f172a; 
  margin-bottom: 2px;
}

.mp-template-meta .mp-template-sub { 
  font-size: 12px; 
  color: #64748b; 
}

.mp-template-add { 
  color: #16a34a; 
  font-weight: 700; 
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  transition: all .15s ease;
}

.mp-template:hover .mp-template-add {
  background: #16a34a;
  color: white;
  transform: scale(1.05);
}

/* Actions */
.mp-actions { 
  display: flex; 
  gap: 12px; 
  justify-content: center; 
  margin-top: 16px; 
}

.mp-action-primary, .mp-action-secondary {
  border-radius: 10px; 
  padding: 12px 18px; 
  font-weight: 700; 
  cursor: pointer; 
  border: 1px solid transparent;
  transition: all .15s ease;
  position: relative;
  overflow: hidden;
}

.mp-action-primary  { 
  background: linear-gradient(135deg, #4f46e5, #7c3aed); 
  color: #fff; 
  box-shadow: 0 4px 12px rgba(79,70,229,.3);
}

.mp-action-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}

.mp-action-primary:hover { 
  background: linear-gradient(135deg, #4338ca, #6d28d9); 
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79,70,229,.4);
}

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

.mp-action-secondary { 
  background: rgba(255,255,255,.9); 
  color: #111827; 
  border-color: rgba(0,0,0,.12); 
  backdrop-filter: blur(10px);
}

.mp-action-secondary:hover { 
  background: #f8fafc; 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Breadcrumb Navigation */
.mp-breadcrumb {
  margin: 16px 0 12px 0;
}

.mp-breadcrumb-link {
  background: none;
  border: none;
  color: #4f46e5;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-breadcrumb-link:hover {
  background: rgba(79,70,229,.1);
  transform: translateX(-2px);
}

/* Empty State */
.mp-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,.6);
  border-radius: 12px;
  border: 2px dashed rgba(0,0,0,.1);
  margin: 20px 0;
}

.mp-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.mp-empty-state h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.mp-empty-state p {
  margin: 0 0 24px 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-panel {
    width: calc(100vw - 40px) !important;
    max-height: calc(100vh - 40px);
    border-radius: 12px;
  }
  
  .modal-header {
    padding: 16px 48px 12px 20px;
  }
  
  .modal-title {
    font-size: 18px;
  }
  
  .modal-body {
    padding: 16px 20px 20px;
  }
  
  .mp-hero {
    padding: 14px;
    grid-template-columns: 44px 1fr;
    gap: 10px;
  }
  
  .mp-hero-text h3 {
    font-size: 16px;
  }
  
  .mp-hero-text p {
    font-size: 13px;
  }
  
  .mp-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }
  
  .mp-card {
    padding: 12px;
  }
}
