/* Luxe CTA Card Design - Reusable Component */

.luxe-cta-card {
  position: relative;
  margin: 4rem 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 8px 32px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.luxe-cta-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.luxe-cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1rem;
  position: relative;
}

.luxe-cta-eyebrow::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #000, transparent);
}

.luxe-cta-headline {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.luxe-cta-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-weight: 400;
}

.luxe-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}


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

.luxe-cta-button:hover {
  background: #333;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.luxe-cta-button:active {
  transform: translateY(-1px);
}

/* Subtle background pattern */
.luxe-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  z-index: 1;
}

/* Alternative compact version */
.luxe-cta-card.compact {
  margin: 3rem 0;
}

.luxe-cta-card.compact .luxe-cta-content {
  padding: 2rem;
}

.luxe-cta-card.compact .luxe-cta-headline {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.luxe-cta-card.compact .luxe-cta-description {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Dark variant */
.luxe-cta-card.dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.luxe-cta-card.dark .luxe-cta-eyebrow {
  color: #999;
}

.luxe-cta-card.dark .luxe-cta-eyebrow::after {
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

.luxe-cta-card.dark .luxe-cta-headline {
  color: #fff;
}

.luxe-cta-card.dark .luxe-cta-description {
  color: #ccc;
}

.luxe-cta-card.dark .luxe-cta-button {
  background: #fff;
  color: #000;
}

.luxe-cta-card.dark .luxe-cta-button:hover {
  background: #f0f0f0;
}

.luxe-cta-card.dark::before {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .luxe-cta-card {
    margin: 3rem 0;
    border-radius: 20px;
  }
  
  .luxe-cta-content {
    padding: 2rem 1.5rem;
  }
  
  .luxe-cta-headline {
    font-size: 1.75rem;
  }
  
  .luxe-cta-description {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  
  .luxe-cta-button {
    padding: 0.875rem 1.75rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .luxe-cta-card {
    margin: 2rem 0;
    border-radius: 16px;
  }
  
  .luxe-cta-content {
    padding: 1.5rem 1rem;
  }
  
  .luxe-cta-headline {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .luxe-cta-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .luxe-cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .luxe-cta-eyebrow {
    font-size: 0.7rem;
  }
}

/* Animation for entrance */
@keyframes luxe-cta-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.luxe-cta-card {
  animation: luxe-cta-fade-in 0.6s ease-out;
}

/* Focus states for accessibility */
.luxe-cta-button:focus {
  outline: 2px solid #007AFF;
  outline-offset: 2px;
}

.luxe-cta-card.dark .luxe-cta-button:focus {
  outline: 2px solid #fff;
}
