/* LegacyPort - Vibrant Base44-Style Overrides */
/* Add this AFTER the main CSS file */

/* Hero Section */
.legacyport-hero {
  background: linear-gradient(180deg, #0d1117 0%, #0d1117 85%, rgba(13, 17, 23, 0.8) 100%);
  position: relative;
}

.legacyport-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -400px;
  background: radial-gradient(ellipse at 50% 20%, rgba(251, 146, 60, 0.12) 0%, rgba(20, 184, 166, 0.08) 40%, transparent 70%);
  pointer-events: none;
}

/* All sections - transparent so hero gradient bleeds through */
.conversions-section {
  background: transparent;
  position: relative;
}

.conversions-section::before {
  display: none;
}

.conversions-section > * {
  position: relative;
  z-index: 1;
}

/* Logo floating animation - scale in/out */
@keyframes float {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Logo styling - smaller size with float */
.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(251, 146, 60, 0.3));
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 200px;
  }
}

/* Hero Badge - Orange */
.hero-badge {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(249, 115, 22, 0.15) 100%);
  border-color: rgba(251, 146, 60, 0.4);
  color: #fb923c;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.2);
}

.hero-title-accent {
  color: #14b8a6;
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.4);
}

/* Primary Button - Orange/Teal Gradient */
.btn-primary {
  background: linear-gradient(135deg, #fb923c 0%, #14b8a6 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(251, 146, 60, 0.3);
  border: 1px solid rgba(251, 146, 60, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f97316 0%, #0d9488 100%);
  box-shadow: 0 12px 32px rgba(251, 146, 60, 0.4), 0 0 40px rgba(20, 184, 166, 0.2);
}

/* Stats - Orange/Teal Gradient */
.stat-number {
  background: linear-gradient(135deg, #fb923c 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Conversion Cards - More Depth */
.conversion-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
}

.conversion-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(20, 184, 166, 0.15);
}

/* Badge Vibrant Colors */
.conversion-badge {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.conversion-badge.orange {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(249, 115, 22, 0.15) 100%);
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.3);
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.2);
}

.conversion-badge.green {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.15) 100%);
  color: #14b8a6;
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.conversion-badge.purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(147, 51, 234, 0.15) 100%);
  color: #a78bfa;
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.conversion-badge.grey {
  background: linear-gradient(135deg, rgba(100, 100, 100, 0.15) 0%, rgba(75, 75, 75, 0.1) 100%);
}

/* Arrow Styling */
.conversion-arrow {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(13, 148, 136, 0.1) 100%);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.2);
}

.conversion-card.featured .conversion-arrow {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(147, 51, 234, 0.15) 100%);
  color: #a78bfa;
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25);
}

/* Featured Card */
.conversion-card.featured {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(147, 51, 234, 0.04) 100%);
}

.conversion-card.featured:hover {
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(147, 51, 234, 0.06) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 85, 247, 0.3);
}

/* Card hover glows by color */
.conversion-card:has(.conversion-badge.orange):hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(251, 146, 60, 0.25);
}

.conversion-card:has(.conversion-badge.green):hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(20, 184, 166, 0.25);
}

/* Coming soon card - greyed out */
.conversion-card.coming-soon {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
}

.conversion-card.coming-soon:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.conversion-card.coming-soon .conversion-arrow {
  background: rgba(100, 100, 100, 0.1);
  color: rgba(255, 255, 255, 0.3);
}

.conversion-card.coming-soon .version-number {
  color: rgba(255, 255, 255, 0.4);
}

/* Premium Features */
.premium-features-section {
  background: #0d1117;
}

.premium-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.15) 100%);
  border-color: rgba(234, 179, 8, 0.4);
  color: #fbbf24;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.2);
}

.premium-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(234, 179, 8, 0.25);
  backdrop-filter: blur(10px);
}

.premium-card::before {
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
}

.premium-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(234, 179, 8, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(234, 179, 8, 0.2);
}

.premium-icon {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.15) 100%);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.3);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2);
}

.premium-features-list li::before {
  text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.premium-status {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(202, 138, 4, 0.1) 100%);
  border-color: rgba(234, 179, 8, 0.3);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.15);
}

/* Pricing Section */
.pricing-section {
  background: #0d1117;
}

/* How It Works - Lighter step cards */
.step-card {
  background: rgba(255, 255, 255, 0.06) !important;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.09) !important;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(13, 148, 136, 0.04) 100%);
  border-color: rgba(20, 184, 166, 0.3);
  backdrop-filter: blur(10px);
}

.pricing-card::before {
  background: linear-gradient(90deg, #14b8a6 0%, #0d9488 100%);
}

.pricing-card:hover {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(20, 184, 166, 0.2);
}

.pricing-badge {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.15) 100%);
  border-color: rgba(20, 184, 166, 0.4);
  color: #14b8a6;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.2);
}

.price {
  color: #14b8a6;
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

.currency {
  color: #14b8a6;
}

.check-icon {
  color: #14b8a6;
}

.pricing-cta {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
  border: 1px solid rgba(20, 184, 166, 0.5);
}

.pricing-cta:hover {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.4), 0 0 40px rgba(20, 184, 166, 0.2);
}

/* Priority Tier - All Golden */
.pricing-card.priority-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(202, 138, 4, 0.04) 100%);
  border-color: rgba(234, 179, 8, 0.3);
}

.pricing-card.priority-card::before {
  background: linear-gradient(90deg, #eab308 0%, #ca8a04 100%);
}

.pricing-card.priority-card:hover {
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(234, 179, 8, 0.25);
}

.pricing-card.coming-soon-pricing {
  opacity: 0.6;
}

.pricing-badge.priority-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.15) 100%);
  border-color: rgba(234, 179, 8, 0.4);
  color: #fbbf24;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.2);
}

/* Priority tier pricing - all golden */
.pricing-card.priority-card .pricing-amount .currency,
.pricing-card.priority-card .pricing-amount .price {
  color: #fbbf24;
  text-shadow: 0 0 40px rgba(234, 179, 8, 0.4);
}

/* Priority tier button - golden */
.pricing-card.priority-card .pricing-cta {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.3);
}

.pricing-card.priority-card .pricing-cta:hover:not(:disabled) {
  background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.4), 0 0 40px rgba(234, 179, 8, 0.2);
}

/* Priority tier checkmarks - golden */
.pricing-card.priority-card .check-icon.priority-icon {
  color: #fbbf24;
}

/* Priority tier note - golden */
.pricing-card.priority-card .pricing-note {
  color: rgba(251, 191, 36, 0.7);
}

/* Fix Premium Grid Alignment */
.premium-grid {
  align-items: stretch !important;
}

.premium-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

/* First card (with badge) - no extra padding needed */
.premium-grid .premium-card:first-child {
  padding-top: 48px;
}

/* Second card (without badge) - add padding equal to badge height */
.premium-grid .premium-card:nth-child(2) {
  padding-top: 92px !important; /* 48px base + 44px (badge height + margin) */
}

.premium-description {
  flex-grow: 1;
}

.premium-status {
  margin-top: auto !important;
}

/* Unavailable Conversion Paths */
.conversion-card.unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.conversion-card.unavailable:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Override ALL badge colors to gray */
.conversion-card.unavailable .conversion-badge.orange,
.conversion-card.unavailable .conversion-badge.green,
.conversion-card.unavailable .conversion-badge.purple,
.conversion-card.unavailable .conversion-badge {
  background: linear-gradient(135deg, rgba(100, 100, 100, 0.15) 0%, rgba(75, 75, 75, 0.1) 100%) !important;
  color: #6b7280 !important;
  border-color: rgba(100, 100, 100, 0.3) !important;
  box-shadow: none !important;
}

.conversion-card.unavailable .conversion-arrow {
  background: linear-gradient(135deg, rgba(100, 100, 100, 0.1) 0%, rgba(75, 75, 75, 0.05) 100%) !important;
  color: #6b7280 !important;
  border-color: rgba(100, 100, 100, 0.2) !important;
  box-shadow: none !important;
}

/* ========================================
   UPLOAD DROPDOWN STYLES
   ======================================== */

.conversion-card {
  position: relative;
}

/* Locked state - disable clicking for non-paid users */
.conversion-card.featured.locked {
  cursor: default;
  pointer-events: none;
}

.conversion-card.featured.locked:hover {
  transform: translateY(-6px);
}

/* Unlocked state - enable clicking for paid users */
.conversion-card.featured.unlocked {
  cursor: pointer;
}

.conversion-card.featured.unlocked.expanded {
  transform: translateY(0) !important;
}

/* Upload dropdown */
.upload-dropdown {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.upload-dropdown.active {
  max-height: 700px;
  opacity: 1;
  margin-top: 30px;
}

.upload-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.upload-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.close-dropdown {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-dropdown:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.close-dropdown svg {
  color: rgba(255, 255, 255, 0.7);
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.file-upload-area {
  border: 2px dashed rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(168, 85, 247, 0.03);
}

.file-upload-area:hover {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(168, 85, 247, 0.08);
}

.file-upload-area.drag-over {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.12);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.file-upload-area svg {
  color: #a78bfa;
  margin-bottom: 16px;
}

.upload-text {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.upload-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.file-info {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-name {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

.remove-file {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.remove-file:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.upload-submit {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: white;
  border: 1px solid rgba(168, 85, 247, 0.5);
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.upload-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);
}

.upload-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.upload-status {
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.upload-status.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.upload-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.upload-status.loading {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #a78bfa;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .upload-dropdown.active {
    max-height: 800px;
  }
  
  .file-upload-area {
    padding: 30px 16px;
  }
  
  .upload-header h3 {
    font-size: 18px;
  }
}