﻿.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.subscription-plan-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    height: 100%;
}

    .subscription-plan-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .subscription-plan-card.basic {
        border-color: #007bff;
        background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    }

    .subscription-plan-card.plus {
        border-color: #667eea;
        background: linear-gradient(135deg, #fff 0%, #f0f3ff 100%);
    }

    .subscription-plan-card.corporate {
        border-color: #ffecd2;
        background: linear-gradient(135deg, #fff 0%, #fffaf5 100%);
    }

.current-plan-badge {
    text-align: center;
    margin-bottom: 1rem;
}

    .current-plan-badge .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        border-radius: 25px;
    }

.plan-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .plan-icon.basic {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: white;
    }

    .plan-icon.plus {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .plan-icon.corporate {
        background: linear-gradient(135deg, #fcb69f 0%, #ffecd2 100%);
        color: #333;
    }

/* İndirimli fiyat stilleri */
.discount-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.old-price {
    font-size: 1.2rem;
    color: #dc3545;
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #2d3748;
}

    .price-amount.text-success {
        color: #2d3748 !important;
    }

.price-period {
    font-size: 1rem;
    color: #718096;
    margin-left: 0.3rem;
}

.savings-info {
    background: rgba(40, 167, 69, 0.1);
    border-radius: 15px;
    padding: 5px 10px;
    display: inline-block;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

    .savings-info small {
        font-size: 11px;
    }

.plan-limits {
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    padding: 10px;
}

.limit-item {
    font-size: 12px;
}

    .limit-item i {
        font-size: 18px;
        margin-bottom: 5px;
        display: block;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 375px;
    overflow-y: auto;
}

.feature-item {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    font-size: 12px;
}

    .feature-item i {
        min-width: 16px;
        font-size: 12px;
    }

/* Button Styles */
.btn {
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.button-glow {
    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.6s ease;
}

.btn:hover .button-glow {
    left: 100%;
}

/* Buton stilleri - 3 plan türü için */
.btn.btn-basic {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

    .btn.btn-basic:hover {
        background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    }

.btn.btn-plus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

    .btn.btn-premium:hover {
        background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }

.btn.btn-corporate {
    background: linear-gradient(135deg, #fcb69f 0%, #ffecd2 100%);
    border: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(252, 182, 159, 0.3);
}

    .btn.btn-corporate:hover {
        background: linear-gradient(135deg, #faa687 0%, #ffe4c4 100%);
        box-shadow: 0 8px 25px rgba(252, 182, 159, 0.4);
    }

.info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

/* Custom scrollbar for feature list */
.feature-list::-webkit-scrollbar {
    width: 4px;
}

.feature-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.feature-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

    .feature-list::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* ========== RESPONSIVE DÜZENLEMELER ========== */

/* Tablet boyutları (768px - 991px) */
@media (max-width: 991px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .subscription-plan-card {
        min-height: 600px;
    }

    .plan-icon {
        width: 50px;
        height: 50px;
    }

        .plan-icon i {
            font-size: 1.2rem;
        }

    .price-amount {
        font-size: 1.8rem;
    }

    .old-price {
        font-size: 1.1rem;
    }

    .feature-list {
        max-height: 300px;
    }

    .feature-item {
        font-size: 11px;
    }

    .limit-item {
        font-size: 11px;
    }
}

/* Mobil boyutları (576px - 767px) */
@media (max-width: 767px) {
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Header düzenlemeleri */
    .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .d-flex.align-items-center:first-child {
        margin-bottom: 1rem;
        width: 100%;
    }

    .current-plan-badge {
        width: 100%;
        margin-bottom: 0;
    }

        .current-plan-badge .badge {
            font-size: 0.8rem;
            padding: 0.4rem 0.8rem;
        }
    /* Plan kartları */
    .subscription-plan-card {
        min-height: 550px;
        margin-bottom: 1.5rem;
    }

    .plan-icon {
        width: 45px;
        height: 45px;
    }

        .plan-icon i {
            font-size: 1.1rem;
        }
    /* Fiyat bölümü */
    .price-amount {
        font-size: 1.6rem;
    }

        .price-amount.text-success {
            font-size: 1.6rem;
        }

    .old-price {
        font-size: 1rem;
    }

    .price-period {
        font-size: 0.9rem;
    }
    /* Tasarruf bilgisi */
    .savings-info {
        padding: 3px 8px;
    }

        .savings-info small {
            font-size: 10px;
        }
    /* Plan limitleri */
    .plan-limits {
        padding: 8px;
    }

    .limit-item {
        font-size: 10px;
    }

        .limit-item i {
            font-size: 16px;
        }
    /* Özellik listesi */
    .feature-list {
        max-height: 250px;
    }

    .feature-item {
        font-size: 10px;
        padding: 0.25rem 0;
    }

        .feature-item i {
            font-size: 11px;
            min-width: 14px;
        }
    /* Buton düzenlemeleri */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    /* Alt bilgi bölümü */
    .info-section .row .col-md-4 {
        margin-bottom: 1rem;
    }

    .info-section i {
        font-size: 1.2rem !important;
    }

    .info-section .fw-semibold {
        font-size: 11px;
    }
}

/* Küçük mobil boyutları (max-width: 575px) */
@media (max-width: 575px) {
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    /* Header */
    .me-3 .bg-gradient-primary {
        width: 40px !important;
        height: 40px !important;
    }

        .me-3 .bg-gradient-primary i {
            font-size: 1rem !important;
        }

    h4.fw-bold {
        font-size: 1.2rem;
    }

    .text-muted {
        font-size: 0.85rem;
    }
    /* Plan kartları */
    .subscription-plan-card {
        min-height: 500px;
    }

    .plan-icon {
        width: 40px;
        height: 40px;
    }

        .plan-icon i {
            font-size: 1rem;
        }

    h5.fw-bold {
        font-size: 1.1rem;
    }
    /* Fiyat */
    .price-amount {
        font-size: 1.4rem;
    }

    .old-price {
        font-size: 0.9rem;
    }

    .price-period {
        font-size: 0.8rem;
    }
    /* Discount badge */
    .discount-badge .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    /* Plan limitleri */
    .limit-item {
        font-size: 9px;
    }

        .limit-item i {
            font-size: 14px;
        }

        .limit-item .fw-semibold {
            font-size: 11px;
        }
    /* Özellik listesi */
    .feature-list {
        max-height: 200px;
    }

    .features-section h6 {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 9px;
        padding: 0.2rem 0;
    }

        .feature-item i {
            font-size: 10px;
            min-width: 12px;
        }
    /* Buton */
    .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    /* Alt bilgi */
    .info-section h6 {
        font-size: 1rem;
    }

    .info-section .fw-semibold {
        font-size: 10px;
    }
}

/* Çok küçük ekranlar (max-width: 400px) */
@media (max-width: 400px) {
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .subscription-plan-card {
        min-height: 450px;
    }

    .price-amount {
        font-size: 1.2rem;
    }

    .old-price {
        font-size: 0.8rem;
    }

    .feature-list {
        max-height: 180px;
    }

    .feature-item {
        font-size: 8px;
    }

    .limit-item {
        font-size: 8px;
    }

    .btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Landscape mobil düzeni */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .subscription-plan-card {
        min-height: 400px;
    }

    .feature-list {
        max-height: 150px;
    }

    .plan-icon {
        width: 35px;
        height: 35px;
    }

    .price-amount {
        font-size: 1.3rem;
    }
}

/* Hover efektlerini mobilde devre dışı bırak */
@media (hover: none) {
    .subscription-plan-card:hover {
        transform: none;
        box-shadow: none;
    }

    .btn:hover {
        transform: none;
        box-shadow: inherit;
    }

        .btn:hover .button-glow {
            left: -100%;
        }
}
