:root {
    
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --danger-gradient: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gold-gradient: linear-gradient(135deg, #f4c430 0%, #d4af37 100%);
}
/* Change primary color from purple to your color */
/*:root {*/
/*    --primary-gradient: linear-gradient(135deg, #YOUR-COLOR-1 0%, #YOUR-COLOR-2 100%);*/
/*}*/
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Navbar */
.navbar.bg-gradient {
    background: var(--primary-gradient) !important;
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Form Section */
.form-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Step Numbers */
.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Marketplace Cards */
.marketplace-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border: 3px solid #e9ecef;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.marketplace-card::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.5s;
}

.marketplace-card:hover::before {
    left: 100%;
}

.marketplace-card:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
}

.marketplace-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.marketplace-card:hover .marketplace-icon {
    transform: scale(1.2) rotate(10deg);
}

.marketplace-name {
    font-size: 1rem;
    color: #2c3e50;
}

.marketplace-format {
    font-size: 0.7rem !important;
    opacity: 0.7;
}

/* Checked State */
.btn-check:checked + .marketplace-card {
    border-color: #667eea;
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-8px);
}

.btn-check:checked + .marketplace-card .marketplace-name,
.btn-check:checked + .marketplace-card .marketplace-format {
    color: white;
}

#ajiolux + .marketplace-card {
    border-color: #f4c430;
}

.btn-check:checked#ajiolux + .marketplace-card {
    background: var(--gold-gradient);
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Category Select */
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Upload Zone */
.upload-zone {
    border: 3px dashed #d1d5db;
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafbfc;
    position: relative;
}

.upload-zone:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.upload-zone.drag-over {
    border-color: #667eea;
    background: #e0e7ff;
    transform: scale(1.02);
}

.upload-label {
    cursor: pointer;
    display: block;
    margin: 0;
}

.upload-icon {
    font-size: 4rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.upload-zone:hover .upload-icon {
    transform: translateY(-10px);
}

.file-name-display {
    font-weight: 600;
    color: #667eea;
    padding: 12px 24px;
    background: white;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Info Cards */
.info-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 2rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
    background: #9ca3af;
    opacity: 0.7;
}

/* Progress Bar */
#progressBar {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-gradient);
}

/* Message Alerts */
.alert {
    border: none;
    border-radius: 12px;
    padding: 20px 24px;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.download-btn {
    background: var(--success-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(17, 153, 142, 0.3);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(17, 153, 142, 0.4);
    color: white;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 30px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .stat-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .marketplace-icon {
        font-size: 2.5rem;
    }
    
    .upload-zone {
        padding: 40px 15px;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
}

/* Loading Animation */
.spinner-border-sm {
    width: 1.2rem;
    height: 1.2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}
/* Pre-footer CTA styling */

.pre-footer-cta .cta-btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}
.pre-footer-cta .cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Footer logo text fallback */
.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* Footer link hover */
footer a {
  color: #ddd;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Separator line */
footer hr {
  border-color: #444;
}
