/* Premium AI Review Responder Design */

/* Custom color variables for professional look */
:root {
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.2);
  --border-radius-xl: 1rem;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced button styling */
.btn-premium {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 0.9rem;
}

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

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

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

/* Premium form controls */
.form-control-premium {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-xl);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.form-control-premium:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

/* Premium cards */
.card-premium {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-premium:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Gradient text effects */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.text-gradient-secondary {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero section enhancements */
.hero-section {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

/* Premium animations and effects */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-50px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

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

.animate-fade-in { animation: fadeInUp 0.6s ease-out; }
.animate-slide-in { animation: slideInLeft 0.8s ease-out; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* Feature showcase */
.feature-showcase {
  background: var(--gradient-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pricing cards premium style */
.pricing-card {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)) padding-box,
              var(--gradient-primary) border-box;
}

.pricing-card-popular {
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card-popular::before {
  content: "Most Popular";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  color: white;
  padding: 6px 20px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dashboard enhancements */
.dashboard-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
}

.response-output {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 1px solid rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.response-output::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  animation: loading-bar 2s ease-out;
}

@keyframes loading-bar {
  to { left: 100%; }
}

/* Interactive elements */
.copy-button {
  background: var(--gradient-success);
  border: none;
  color: white;
  position: relative;
  overflow: hidden;
}

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

.copy-button::after {
  content: '✓ Copied!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.copy-button.copied::after {
  opacity: 1;
}

/* Usage stats styling */
.usage-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Professional navbar */
.navbar-premium {
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced navbar link visibility */
.navbar-premium .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.navbar-premium .nav-link:hover {
  color: #667eea !important;
  transform: translateY(-1px);
}

/* Footer enhancements */
.footer-premium {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(20px);
}

/* Progress bar enhancement */
.progress-bar.bg-gradient {
  background: var(--gradient-primary) !important;
}

/* Accordion styling for dark theme */
.accordion-button {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(102, 126, 234, 0.1);
  color: white;
  border-color: rgba(102, 126, 234, 0.3);
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  background-color: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
}

/* Notification badges */
.badge.bg-danger {
  animation: pulse 2s infinite;
}

/* Enhanced CTA animations */
.animate-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
  }
  50% { 
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
  }
}
