/* ============================================
   GET LISTED - PREMIUM ENHANCEMENTS v3
   Elevated design with sophisticated details
   ============================================ */

/* Gradient Text Animation on Hero Title */
.listed-hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #fff5f2 30%, #ffdbcc 60%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Enhanced Hero Glow */
.listed-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(229, 57, 53, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Enhanced Button with Glow Pulse */
.listed-hero-btn {
  position: relative;
  overflow: hidden;
}

.listed-hero-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ff8a1d 0%, #ff6b35 50%, #e53935 100%);
  border-radius: 100px;
  z-index: -1;
  filter: blur(12px);
  opacity: 0.6;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
}

/* Section Headers with Gradient Accent */
.listed-section-header h2 {
  position: relative;
  display: inline-block;
}

.listed-section-header h2::after {
  display: none;
}

/* Enhanced 3D Cards with Premium Hover */
.listed-fit-card {
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.listed-fit-card:hover {
  transform: translateY(-12px) rotateX(5deg) rotateY(-2deg);
  box-shadow: 
    0 20px 0 rgba(229, 57, 53, 0.04),
    0 40px 80px rgba(0,0,0,0.12),
    0 0 40px rgba(229, 57, 53, 0.08);
}

.listed-fit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--listed-radius-sm);
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.listed-fit-card:hover::after {
  opacity: 1;
}

/* Enhanced Number Watermark */
.listed-fit-number {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.08) 0%, rgba(255, 138, 29, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transition: all 0.4s ease;
}

.listed-fit-card:hover .listed-fit-number {
  transform: scale(1.1);
  opacity: 0.12;
}

/* Enhanced Icon Animation */
.listed-fit-icon {
  position: relative;
  overflow: hidden;
}

.listed-fit-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.listed-fit-card:hover .listed-fit-icon::before {
  transform: translateX(100%);
}

/* Dark Section Cards Enhancement */
.listed-not-card {
  position: relative;
  overflow: hidden;
}

.listed-not-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,138,29,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.listed-not-card:hover::before {
  opacity: 1;
}

.listed-not-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 138, 29, 0.4);
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(229, 57, 53, 0.15);
}

/* Requirements Cards Enhancement */
.listed-need-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.listed-need-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.1),
    0 0 30px rgba(229, 57, 53, 0.05);
}

.listed-need-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg, transparent, #e53935, #ff8a1d, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.listed-need-card:hover::before {
  opacity: 1;
}

.listed-need-icon {
  transition: all 0.3s ease;
}

.listed-need-card:hover .listed-need-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.25);
}

/* Accordion Steps Enhancement */
.listed-process-item {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.listed-process-header {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.listed-process-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e53935, #ff8a1d);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.listed-process-item:hover .listed-process-header::before,
.listed-process-item.expanded .listed-process-header::before {
  opacity: 1;
}

.listed-process-number {
  background: linear-gradient(135deg, #e53935 0%, #ff6b35 100%);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.3);
  transition: all 0.3s ease;
}

.listed-process-item:hover .listed-process-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(229, 57, 53, 0.4);
}

.listed-process-toggle {
  transition: transform 0.3s ease;
}

.listed-process-item.expanded .listed-process-toggle {
  transform: rotate(180deg);
}

/* Form Panel Enhancement */
.listed-form-panel {
  position: relative;
}

.listed-form-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(229,57,53,0.1) 0%, rgba(255,138,29,0.05) 50%, rgba(229,57,53,0.1) 100%);
  border-radius: 34px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.listed-form-panel:hover::before {
  opacity: 1;
}

@media (min-width: 992px) {
  .listed-form-panel {
    padding: 3rem 3.25rem;
    border-radius: 34px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,248,244,0.98) 100%);
    border: 1px solid rgba(229,57,53,0.08);
    box-shadow:
      0 32px 80px rgba(20, 20, 20, 0.08),
      0 1px 0 rgba(255,255,255,0.8) inset;
  }

  .listed-form-panel h2 {
    font-size: clamp(2.25rem, 3vw, 2.9rem);
    letter-spacing: -0.03em;
  }

  .listed-intro {
    font-size: 1.03rem;
    max-width: 60ch;
    margin-bottom: 0;
  }

  .qualification-shell {
    margin-top: 2.25rem;
  }

  .qualification-header {
    padding: 2rem 2.15rem;
    border-radius: 26px;
  }

  .qualification-block {
    padding: 2rem;
    border-radius: 26px;
  }
}

/* Enhanced Form Fields */
.listed-input,
.listed-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.8);
}

.listed-input:focus,
.listed-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: 
    0 0 0 3px rgba(229, 57, 53, 0.08),
    0 4px 12px rgba(229, 57, 53, 0.05);
  transform: translateY(-1px);
  background: white;
}

/* Form Section Headers */
.form-section-header {
  position: relative;
  padding-left: 1rem;
}

.form-section-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e53935, #ff8a1d);
  border-radius: 3px;
}

/* Submit Button Enhancement */
.listed-submit,
button[type="submit"] {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff8a1d 0%, #ff6b35 50%, #e53935 100%);
  transition: all 0.3s ease;
}

.listed-submit::before,
button[type="submit"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.listed-submit:hover::before,
button[type="submit"]:hover::before {
  transform: translateX(100%);
}

.listed-submit:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229, 57, 53, 0.3);
}

/* CTA Section Enhancement */
.listed-cta-section {
  position: relative;
  overflow: hidden;
}

.listed-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(229, 57, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 138, 29, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.listed-cta-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.listed-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.listed-cta-btn:hover::after {
  transform: translateX(100%);
}

/* Scroll Reveal Animation Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }

/* Floating Animation for Hero Elements */
.float-subtle {
  animation: floatSubtle 6s ease-in-out infinite;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Premium Badge Enhancement */
.listed-section-badge,
.listed-hero-label {
  position: relative;
  overflow: hidden;
}

.listed-section-badge::after,
.listed-hero-label::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  animation: shimmerBadge 3s ease-in-out infinite;
}

@keyframes shimmerBadge {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Radio Button Enhancement */
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

input[type="radio"]:checked {
  border-color: #e53935;
  background: radial-gradient(circle, #e53935 40%, transparent 45%);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

/* Add Product Button Enhancement */
button[type="button"].add-product-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

button[type="button"].add-product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.2);
}

/* SKU Card Enhancement */
.sku-card {
  position: relative;
  transition: all 0.3s ease;
}

.sku-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .listed-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .listed-fit-card:hover {
    transform: translateY(-6px);
  }
  
  .listed-not-card:hover {
    transform: translateY(-6px);
  }
  
  .listed-need-card:hover {
    transform: translateY(-4px);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .listed-hero-title,
  .listed-section-badge::after,
  .listed-hero-label::after,
  .float-subtle,
  .listed-hero-btn::before {
    animation: none;
  }
  
  .listed-fit-card,
  .listed-not-card,
  .listed-need-card,
  .listed-process-item {
    transition: none;
  }
}
