/* ═══════════════════════════════════════
   LICENSES PAGE - CLEAN GRID LAYOUT
   ═══════════════════════════════════════ */

/* === FİLTRE SECTION === */
.license-filter-section {
    padding: 40px 0 30px;
    background: linear-gradient(180deg, rgba(0,130,207,0.03) 0%, transparent 100%);
}

.filter-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #0082cf, #12567f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-stats {
    font-size: 14px;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-stats .count {
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Arama ve Filtre Kontrolleri */
.filter-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.search-box input:focus {
    outline: none;
    border-color: #0082cf;
    box-shadow: 0 0 0 4px rgba(0,130,207,0.1);
}

.search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* Kategori Filtreleri */
.category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn:hover {
    border-color: #0082cf;
    color: #0082cf;
}

.filter-btn.active {
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    border-color: transparent;
    color: #fff;
}

/* Hızlı Filtre Badges */
.quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.quick-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0,130,207,0.08);
    border-radius: 20px;
    font-size: 13px;
    color: #0082cf;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.quick-badge:hover,
.quick-badge.active {
    background: rgba(0,130,207,0.18);
}

.quick-badge svg {
    width: 14px;
    height: 14px;
}


/* ═══════════════════════════════════════
   PAKET GRİD SİSTEMİ
   ═══════════════════════════════════════ */
.license-packages-section {
    padding: 0 0 60px;
}

.packages-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 12px;
}

/* Sonuç sayısı */
.results-info {
    text-align: center;
    padding: 12px 0 0;
    font-size: 14px;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

.results-info strong {
    color: #0082cf;
}

/* Daha Fazla Göster Butonu */
.load-more-wrapper {
    text-align: center;
    padding: 32px 0 0;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #0082cf;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    border-color: #0082cf;
    background: rgba(0,130,207,0.04);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,130,207,0.12);
}

.load-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.load-more-btn:hover svg {
    transform: translateY(2px);
}

.load-more-btn:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
    box-shadow: none;
}


/* ═══════════════════════════════════════
   PAKET KARTI
   ═══════════════════════════════════════ */
.license-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.license-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.license-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,130,207,0.13);
    border-color: #0082cf;
}

.license-card:hover::before {
    opacity: 1;
}

/* Gizli kart (load more ile gösterilecek) */
.license-card.card-hidden {
    display: none;
}

/* Arama sonucu gizli */
.license-card.search-hidden {
    display: none;
}

/* Popüler */
.license-card.popular {
    border: 2px solid #0082cf;
}

.license-card.popular::before {
    opacity: 1;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    color: #fff;
    padding: 4px 14px;
    border-radius: 0 14px 0 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Kart Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0082cf 0%, #58b5eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.card-title-wrap {
    flex: 1;
    min-width: 0;
}

.card-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    font-family: 'Inter', sans-serif;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-category {
    font-size: 12px;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

/* Fiyat Alanı */
.card-pricing {
    text-align: center;
    padding: 18px 0;
    margin: 0 -24px;
    background: linear-gradient(180deg, rgba(0,130,207,0.04) 0%, transparent 100%);
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.price-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.currency {
    font-size: 20px;
    font-weight: 700;
    color: #0082cf;
    line-height: 1;
    margin-top: 6px;
}

.amount {
    font-size: 42px;
    font-weight: 800;
    color: #12567f;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.price-period {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

/* Özellikler */
.card-features {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
    font-family: 'Inter', sans-serif;
    padding: 6px 0;
}

.feature-row svg {
    width: 16px;
    height: 16px;
    color: #0082cf;
    flex-shrink: 0;
}

/* Satın Al Butonu */
.card-action {
    padding-top: 12px;
    margin-top: auto;
}

.buy-btn {
    width: 100%;
    padding: 13px 24px;
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.buy-btn:hover {
    background: linear-gradient(90deg, #006ba8, #0082cf);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,130,207,0.3);
}

.buy-btn.no-stock {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.buy-btn.no-stock:hover {
    transform: none;
    box-shadow: none;
}


/* ═══════════════════════════════════════
   BOŞ DURUM
   ═══════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    display: none;
}

.empty-state.visible {
    display: block;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
    stroke: #6b7280;
}

.empty-state h3 {
    font-size: 18px;
    color: #111827;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.empty-state p {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}


/* ═══════════════════════════════════════
   BİLGİ SECTION
   ═══════════════════════════════════════ */
.info-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0082cf, transparent);
}

.info-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Neden Biz Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,130,207,0.12);
    border-color: transparent;
}

.info-card:hover::after {
    transform: scaleX(1);
}

.info-card.highlight {
    background: linear-gradient(135deg, #0082cf 0%, #12567f 100%);
    border: none;
    color: #fff;
}

.info-card.highlight::after {
    display: none;
}

.info-card.highlight .info-card-icon {
    background: rgba(255,255,255,0.2);
}

.info-card.highlight .info-card-icon svg {
    stroke: #fff;
}

.info-card.highlight h3 {
    color: #fff;
}

.info-card.highlight p {
    color: rgba(255,255,255,0.85);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0,130,207,0.1) 0%, rgba(88,181,235,0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.info-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #0082cf;
}

.info-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.info-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Nasıl Çalışır */
.how-it-works {
    margin-bottom: 80px;
}

.info-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

.info-section .section-title span {
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 18px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0082cf 0%, #58b5eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 24px rgba(0,130,207,0.3);
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.step-content p {
    font-size: 13px;
    color: #6b7280;
    max-width: 160px;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.step-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #0082cf, #58b5eb);
    position: relative;
    margin-top: -40px;
}

.step-line::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    background: #58b5eb;
    border-radius: 50%;
}

/* İstatistikler */
.info-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 60px;
    background: linear-gradient(135deg, #12567f 0%, #0082cf 100%);
    border-radius: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.info-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.info-stats-bar .stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0;
}

.info-stats-bar .stat-item::before {
    display: none;
}

.info-stats-bar .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-bottom: 6px;
    background: none;
    -webkit-text-fill-color: #fff;
}

.info-stats-bar .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-family: 'Inter', sans-serif;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}


/* ═══════════════════════════════════════
   ANİMASYONLAR
   ═══════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.license-card {
    animation: fadeInUp 0.35s ease forwards;
    opacity: 0;
}

.license-card:nth-child(1) { animation-delay: 0.02s; }
.license-card:nth-child(2) { animation-delay: 0.04s; }
.license-card:nth-child(3) { animation-delay: 0.06s; }
.license-card:nth-child(4) { animation-delay: 0.08s; }
.license-card:nth-child(5) { animation-delay: 0.10s; }
.license-card:nth-child(6) { animation-delay: 0.12s; }
.license-card:nth-child(7) { animation-delay: 0.14s; }
.license-card:nth-child(8) { animation-delay: 0.16s; }
.license-card:nth-child(9) { animation-delay: 0.18s; }
.license-card:nth-child(10) { animation-delay: 0.20s; }
.license-card:nth-child(11) { animation-delay: 0.22s; }
.license-card:nth-child(12) { animation-delay: 0.24s; }


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1400px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-wrapper {
        gap: 20px;
    }
    
    .step-line {
        width: 40px;
    }
    
    .info-stats-bar {
        gap: 40px;
        padding: 30px 40px;
    }
    
    .info-stats-bar .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-controls {
        width: 100%;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .filter-title {
        font-size: 24px;
    }
    
    .category-filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .info-section {
        padding: 60px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .info-card {
        padding: 24px 20px;
    }
    
    .info-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .steps-wrapper {
        flex-direction: column;
        gap: 0;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        padding: 20px 0;
        width: 100%;
        max-width: 300px;
    }
    
    .step-number {
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
    }
    
    .step-content p {
        max-width: 100%;
    }
    
    .step-line {
        width: 2px;
        height: 30px;
        margin: 0;
        margin-left: 27px;
    }
    
    .step-line::after {
        right: auto;
        left: -3px;
        top: auto;
        bottom: -4px;
    }
    
    .info-stats-bar {
        flex-direction: column;
        gap: 24px;
        padding: 30px 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .info-stats-bar .stat-number {
        font-size: 32px;
    }
}