/* SEO Low Cost Funnel - CSS Styles */

#seo-funnel-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Progress Bar */
.seo-funnel-progress-container {
    margin-bottom: 48px;
}

.seo-funnel-progress-bar {
    height: 4px;
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.seo-funnel-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 8px;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
}

.seo-funnel-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: seoShimmer 2s infinite;
}

@keyframes seoShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.seo-funnel-progress-text {
    margin-top: 12px;
    font-size: 13px;
    color: #94A3B8;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

/* Step Container */
.seo-funnel-step {
    background: #1E293B;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 48px 40px;
    margin-bottom: 24px;
}

.seo-funnel-hidden {
    display: none;
}

.seo-funnel-step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    border-radius: 8px;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    color: white;
}

.seo-funnel-step h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #F8FAFC;
}

.seo-funnel-subtitle {
    color: #94A3B8;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Options */
.seo-funnel-options {
    display: grid;
    gap: 16px;
}

.seo-funnel-option {
    background: #0B1120;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.seo-funnel-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seo-funnel-option:hover {
    border-color: #3B82F6;
    transform: translateX(4px);
}

.seo-funnel-option.seo-funnel-selected {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
}

.seo-funnel-option.seo-funnel-selected::before {
    opacity: 0.1;
}

.seo-funnel-option-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.seo-funnel-option-icon {
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.seo-funnel-option:hover .seo-funnel-option-icon {
    transform: scale(1.1);
}

.seo-funnel-option-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #F8FAFC;
}

.seo-funnel-option-text p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Checkboxes */
.seo-funnel-checkbox-group {
    display: grid;
    gap: 12px;
}

.seo-funnel-checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #0B1120;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seo-funnel-checkbox-option:hover {
    border-color: #3B82F6;
}

.seo-funnel-checkbox-option.seo-funnel-checked {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
}

.seo-funnel-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.seo-funnel-checkbox-option.seo-funnel-checked .seo-funnel-checkbox {
    background: #3B82F6;
    border-color: #3B82F6;
}

.seo-funnel-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.seo-funnel-checkbox-option.seo-funnel-checked .seo-funnel-checkbox::after {
    transform: translate(-50%, -50%) scale(1);
}

.seo-funnel-checkbox-option strong {
    color: #F8FAFC;
}

/* Input Fields */
.seo-funnel-input-group {
    margin-bottom: 24px;
}

.seo-funnel-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #F8FAFC;
}

.seo-funnel-input,
.seo-funnel-textarea,
.seo-funnel-range {
    width: 100%;
    background: #0B1120;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    color: #F8FAFC;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.seo-funnel-input:focus,
.seo-funnel-textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.seo-funnel-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Budget Slider */
.seo-funnel-budget-slider {
    margin: 32px 0;
}

.seo-funnel-slider-value {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-funnel-range {
    -webkit-appearance: none;
    height: 8px;
    background: #1E293B;
    border-radius: 8px;
    border: none;
    padding: 0;
}

.seo-funnel-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.seo-funnel-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Buttons */
.seo-funnel-button-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.seo-funnel-btn-back,
.seo-funnel-btn-next {
    flex: 1;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.seo-funnel-btn-back {
    background: #1E293B;
    color: #F8FAFC;
    border: 2px solid rgba(59, 130, 246, 0.15);
}

.seo-funnel-btn-back:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.seo-funnel-btn-next {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.seo-funnel-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

.seo-funnel-btn-next::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 ease;
}

.seo-funnel-btn-next:hover::before {
    left: 100%;
}

/* Success Animation */
.seo-funnel-success-animation {
    text-align: center;
    padding: 60px 0;
}

.seo-funnel-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: seoScaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.seo-funnel-checkmark svg {
    width: 40px;
    height: 40px;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: seoDrawCheck 0.6s ease-out 0.3s forwards;
}

@keyframes seoScaleIn {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes seoDrawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive */
@media (max-width: 640px) {
    #seo-funnel-container {
        padding: 20px 0;
    }

    .seo-funnel-step {
        padding: 32px 24px;
    }

    .seo-funnel-step h2 {
        font-size: 24px;
    }

    .seo-funnel-button-group {
        flex-direction: column;
    }
}
