/**
 * iDealSunucu Paket Bulucu Stilleri
 * 
 * PATCH #14: CRO İyileştirmesi - Paket Bulucu UI
 * Neden: Kullanıcıların doğru paketi seçmesine yardımcı olan wizard
 * Risk: Yok - Yeni CSS dosyası, mevcut stilleri etkilemez
 * Rollback: Bu dosyayı silin ve enqueue hook'unu kaldırın
 * 
 * @version 1.0.0
 */

/* ==========================================================================
   PAKET BULUCU - Container
   ========================================================================== */
.package-finder {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color, #E2E8F0);
    max-width: 600px;
    margin: 0 auto;
}

.package-finder-header {
    text-align: center;
    margin-bottom: 32px;
}

.package-finder-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
    margin-bottom: 8px;
}

.package-finder-header p {
    color: var(--text-secondary, #64748B);
    font-size: 0.95rem;
}

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */
.pf-progress {
    background: var(--bg-secondary, #F1F5F9);
    height: 6px;
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.pf-progress-fill {
    background: linear-gradient(135deg, var(--primary, #3B82F6), #2563EB);
    height: 100%;
    width: 33.33%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ==========================================================================
   STEPS
   ========================================================================== */
.pf-step {
    display: none;
}

.pf-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pf-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #0F172A);
    margin-bottom: 20px;
    text-align: center;
}

/* ==========================================================================
   OPTIONS
   ========================================================================== */
.pf-options {
    display: grid;
    gap: 12px;
}

.pf-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary, #F8FAFC);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-primary, #0F172A);
}

.pf-option:hover {
    border-color: var(--primary, #3B82F6);
    background: rgba(59, 130, 246, 0.05);
}

.pf-option.selected {
    border-color: var(--primary, #3B82F6);
    background: rgba(59, 130, 246, 0.1);
}

.pf-option-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.pf-option-text {
    flex: 1;
}

.pf-option-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.pf-option-text span {
    font-size: 0.85rem;
    color: var(--text-muted, #94A3B8);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.pf-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, #E2E8F0);
}

.pf-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary, #64748B);
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.pf-back:hover {
    background: var(--bg-secondary, #F1F5F9);
    color: var(--text-primary, #0F172A);
}

/* ==========================================================================
   RESULT
   ========================================================================== */
.pf-result {
    display: none;
    text-align: center;
}

.pf-result.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.pf-result-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.pf-result h4 {
    font-size: 1.25rem;
    color: var(--text-primary, #0F172A);
    margin-bottom: 8px;
}

.pf-result-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary, #3B82F6);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.pf-result-card {
    background: var(--bg-secondary, #F8FAFC);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.pf-result-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
    margin-bottom: 8px;
}

.pf-result-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary, #3B82F6);
}

.pf-result-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted, #94A3B8);
}

.pf-result-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary, #3B82F6), #2563EB);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.pf-result-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: #fff;
}

.pf-restart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--text-secondary, #64748B);
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.pf-restart:hover {
    background: var(--bg-secondary, #F1F5F9);
    color: var(--text-primary, #0F172A);
}

/* ==========================================================================
   CTA BUTTON HIERARCHY (PATCH #15)
   ========================================================================== */

/* 
 * ⚠️ DİKKAT: .btn-pricing.featured KALDIRILDI
 * Sebep: Mevcut tema butonlarıyla çakışma yaratıyordu
 * Tarih: Şubat 2026
 * 
 * Mevcut .btn-pricing stilleri light-mode.css ve fixes.css'de tanımlı.
 * Bu dosya sadece YENİ .btn-cta class'ları için stil tanımlar.
 */

/* Primary CTA - SADECE .btn-cta ve .btn-primary-cta için */
.btn-cta.primary,
.btn-primary-cta {
    background: linear-gradient(135deg, var(--primary, #3B82F6), #2563EB);
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cta.primary:hover,
.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
    color: #fff;
}

/* Secondary CTA - Detay görüntüleme */
.btn-cta.secondary,
.btn-secondary-cta {
    background: transparent;
    border: 2px solid var(--primary, #3B82F6);
    color: var(--primary, #3B82F6);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cta.secondary:hover,
.btn-secondary-cta:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary, #3B82F6);
}

/* Tertiary CTA - Link stili */
.btn-cta.tertiary,
.btn-link-cta {
    background: none;
    border: none;
    color: var(--primary, #3B82F6);
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta.tertiary:hover,
.btn-link-cta:hover {
    color: #2563EB;
    text-decoration: underline;
}

/* Ghost CTA - Daha az önemli aksiyonlar */
.btn-cta.ghost,
.btn-ghost-cta {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary, #3B82F6);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta.ghost:hover,
.btn-ghost-cta:hover {
    background: rgba(59, 130, 246, 0.15);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 640px) {
    .package-finder {
        padding: 24px 20px;
        margin: 0 16px;
    }
    
    .package-finder-header h3 {
        font-size: 1.25rem;
    }
    
    .pf-option {
        padding: 14px 16px;
    }
    
    .pf-option-icon {
        font-size: 1.25rem;
        width: 32px;
    }
    
    .pf-result-price {
        font-size: 1.75rem;
    }
}
