/* css/paketler.css - 8'Lİ PAKET SİSTEMİ */

/* --- 1. HERO ALANI --- */
.page-hero {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, #f0fdfd 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid rgba(58, 222, 228, 0.1);
}

.page-hero h1 { font-size: 3.5rem; font-weight: 800; color: #1e293b; margin-bottom: 20px; }
.page-hero p { font-size: 1.25rem; color: #6b7280; max-width: 700px; margin: 0 auto; }

/* --- 2. TAB (SEKME) BUTONLARI --- */
.tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.tabs-container {
    background: #ffffff;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    display: inline-flex;
    gap: 10px;
}

.tab-btn {
    padding: 12px 35px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #6b7280;
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px;
}

.tab-btn i { font-size: 1.1rem; }

.tab-btn.active {
    background: #3ADEE4;
    color: white;
    box-shadow: 0 5px 15px rgba(58, 222, 228, 0.3);
}

.tab-btn:hover:not(.active) { color: #3ADEE4; background-color: #f0fdfd; }

/* --- 3. PAKET İÇERİK ALANI --- */
.pricing-section {
    padding: 0 0 100px 0;
    background-color: #fff;
}

.pricing-group {
    display: none;
    animation: slideUp 0.5s ease;
}

/* 8 Kart İçin Grid Ayarı: 4'erli satırlar halinde */
.pricing-group.active {
    display: grid;
    /* En az 260px genişliğinde kartlar, ekrana sığdığı kadar yan yana */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 25px;
    align-items: flex-start;
    max-width: 1400px; /* Geniş ekranlarda daha fazla alan */
    margin: 0 auto;
    padding: 10px;
}

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

/* --- 4. FİYAT KARTI --- */
.pricing-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f3f4f6;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #e5e7eb;
    z-index: 2;
}

.pricing-card h3 { font-size: 1.25rem; color: #1f2937; margin-bottom: 10px; font-weight: 800; }

.price-area { margin: 15px 0 20px 0; }
.price { font-size: 2.2rem; font-weight: 800; color: #111827; line-height: 1; }
.currency { font-size: 1rem; vertical-align: top; margin-right: 2px; }
.duration { font-size: 0.85rem; color: #9ca3af; font-weight: 500; }

.features-list { list-style: none; padding: 0; margin: 0 0 25px 0; text-align: left; flex-grow: 1; }
.features-list li { margin-bottom: 10px; color: #6b7280; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.features-list i { color: #3ADEE4; font-size: 0.95rem; flex-shrink: 0; }
.features-list li.disabled { color: #d1d5db; text-decoration: line-through; }
.features-list li.disabled i { color: #e5e7eb; }

.card-btn { width: 100%; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: 0.3s; display: inline-block; font-size: 0.9rem; }

.btn-outline { border: 2px solid #e5e7eb; color: #4b5563; background: transparent; }
.btn-outline:hover { border-color: #3ADEE4; color: #3ADEE4; background: #f0fdfd; }

.btn-dark { background: #1f2937; color: white; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* Popüler Kart */
.pricing-card.popular {
    border: 2px solid #3ADEE4;
    box-shadow: 0 15px 40px rgba(58, 222, 228, 0.15);
    background: white;
    transform: scale(1.03); /* Çok büyütme ki diğerlerine yer kalsın */
    z-index: 5;
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-8px); }

.popular-badge {
    position: absolute; top: 20px; right: -32px;
    background: linear-gradient(to right, #3ADEE4, #2BBEC7);
    color: white; padding: 5px 35px; transform: rotate(45deg);
    font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-primary { background: linear-gradient(to right, #3ADEE4, #2BBEC7); color: white; box-shadow: 0 10px 20px rgba(58, 222, 228, 0.3); }
.btn-primary:hover { box-shadow: 0 15px 30px rgba(58, 222, 228, 0.4); transform: translateY(-2px); color: white; }

/* Responsive */
@media (max-width: 1200px) {
    .pricing-card.popular { transform: scale(1); }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}