/* ===== Customization Wizard ===== */
.customization-wizard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.customization-wizard.active {
    display: flex;
    opacity: 1;
}

.wizard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.wizard-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: auto;
    background: var(--dark-card);
    border-radius: 24px;
    padding: 3rem;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wizard-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.wizard-close:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: rotate(90deg);
}

/* Progress Indicator */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.wizard-step.active .step-circle {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.wizard-step span {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.wizard-step.active span {
    color: #f8fafc;
    font-weight: 600;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

/* Wizard Content */
.wizard-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wizard-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wizard-subtitle {
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

/* Business Types */
.business-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.business-type-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.business-type-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.business-type-card.selected {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.business-type-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6366f1;
}

.business-type-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.business-type-card p {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.objective-option {
    cursor: pointer;
}

.objective-option input[type="checkbox"] {
    display: none;
}

.objective-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 140px;
    height: 100%;
}

.objective-option:hover .objective-card {
    border-color: #6366f1;
    transform: translateY(-3px);
}

.objective-option input:checked + .objective-card {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.objective-card i {
    font-size: 2rem;
    color: #6366f1;
}

.objective-card span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Audience Selector */
.audience-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.audience-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
}

.audience-card.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.audience-card i {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.audience-input-group {
    text-align: center;
    margin-top: 2rem;
}

.audience-input-group label {
    display: block;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.audience-input-group input {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 1.1rem;
    text-align: center;
}

/* Site Name Input */
.wizard-site-input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.wizard-site-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.wizard-preview {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wizard-preview h3 {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.preview-url {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid #6366f1;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 600;
}

.preview-url i {
    color: #6366f1;
}

/* Wizard Plans */
.wizard-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wizard-plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.wizard-plan-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
}

.wizard-plan-card.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.wizard-plan-card.featured {
    border-color: #6366f1;
}

.plan-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-badge.popular {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.plan-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-old {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.plan-price .currency {
    font-size: 1.2rem;
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.plan-features i {
    color: #10b981;
    font-size: 0.9rem;
}

/* Wizard Buttons */
.wizard-back-btn,
.wizard-next-btn,
.wizard-finish-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    margin-right: 1rem;
}

.wizard-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.wizard-next-btn,
.wizard-finish-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    float: right;
}

.wizard-next-btn:hover,
.wizard-finish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-container {
        width: 95%;
        padding: 2rem 1.5rem;
    }

    .wizard-progress {
        gap: 0.5rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .wizard-step span {
        font-size: 0.7rem;
    }

    .progress-line {
        width: 30px;
    }

    .wizard-title {
        font-size: 1.5rem;
    }

    .business-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wizard-plans {
        grid-template-columns: 1fr;
    }
}
