* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.packages-section {
    padding: 80px 0;
    background: #f3f5fb;
}

/* 3'lü kart dizilimi için esnek yapı */
.pricing-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Kart genişliği 3 taneyi yan yana tam sığdıracak şekilde optimize edildi */
.vps-card {
    width: calc(33.333% - 16px);
    min-width: 320px; /* Çok fazla sıkışmayı önlemek için güvenli sınır */
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    border: 2px solid transparent;
    transition: .3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vps-card.active {
    border-color: #3b82f6;
}

.vps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: #fff;
    padding: 8px 20px;
    border-radius: 0 0 14px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-line {
    width: 4px;
    height: 36px;
    background: #3b82f6;
    border-radius: 20px;
    position: absolute;
    left: 0;
    top: 24px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Başlık font boyutu 40px'den ideal 24px'e düşürüldü */
.plan-title h2 {
    font-size: 24px;
    color: #162033;
    font-weight: 700;
    line-height: 1.2;
}

.plan-title span {
    color: #75809a;
    font-size: 15px;
}

.dots {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 4px;
    margin-top: 6px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6dbea;
}

.dots span.active {
    background: #3b82f6;
}

/* Özellik kutuları ikili düzende kibarlaştırıldı */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.feature-box {
    background: #f5f7fd;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.feature-icon {
    min-width: 38px;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
}

/* Değer fontları (Örn: 4 GB, 100 GB) 28px'den 16px'e dengelendi */
.feature-text strong {
    display: block;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
}

.feature-text span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.2;
}

.price-area {
    margin-top: 25px;
    text-center: left;
}

.old-price {
    color: #7c879c;
    text-decoration: line-through;
    font-size: 18px;
}

/* Fiyat alanı 60px'den ideal 34px değerine çekildi */
.main-price {
    font-size: 34px;
    font-weight: 700;
    color: #162033;
    line-height: 1;
}

.main-price small {
    font-size: 16px;
    color: #7c879c;
    font-weight: 500;
}

.discount {
    display: inline-block;
    background: #eef4ff;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Satın al butonu kaba 78px yükseklikten şık 50px yüksekliğe çekildi */
.order-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    margin-top: 20px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* --- RESPONSIVE TASARIM KATMANLARI --- */

@media(max-width: 1024px) {
    .vps-card {
        width: calc(50% - 12px); /* Tabletlerde ikili düzen */
    }
}

@media(max-width: 768px) {
    body {
        padding: 0;
    }
    
    .packages-section {
        padding: 50px 15px;
    }

    .vps-card {
        width: 100%; /* Mobil cihazlarda tekli tam genişlik */
        min-width: 100%;
    }

    .features {
        grid-template-columns: 1fr 1fr; /* Mobilde de yapıyı çok uzatmamak için ikili korundu */
    }

    .plan-title h2 {
        font-size: 22px;
    }

    .main-price {
        font-size: 30px;
    }
}