﻿/* ===== CARD BASE ===== */
.pkg-card {
    flex: 1 1 200px;
    max-width: 240px;
    min-width: 180px;
}

.pkg-card-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pkg-card:hover {
    transform: translateY(-6px);
}

/* ===== CAR IMAGE ===== */
.pkg-card-car {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .pkg-card-car img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
    }

    .pkg-card-car::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60%;
        background: linear-gradient(to top, #0a0015, transparent);
        pointer-events: none;
    }

/* ===== CARD BODY ===== */
.pkg-card-body {
    position: relative;
    padding: 0 16px 20px;
    text-align: center;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pkg-card-label {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 4px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .pkg-card-label i {
        font-size: 0.9rem;
    }

.pkg-card-subtitle {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

/* ===== PRICE ===== */
.pkg-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.pkg-price-old {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: line-through;
    margin-right: 6px;
}

.pkg-price-dollar {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e2e8f0;
    vertical-align: top;
    line-height: 1.5;
}

.pkg-price-main {
    font-size: 3rem;
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1;
}

.pkg-price-cents {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e2e8f0;
    vertical-align: top;
    line-height: 1.5;
}

.pkg-price-total {
    display: block;
    width: 100%;
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ===== FEATURES ===== */
.pkg-card-features {
    text-align: left;
    margin: 8px 0 0;
}

.pkg-feature-item {
    font-size: 0.7rem;
    color: #cbd5e1;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .pkg-feature-item i {
        font-size: 0.6rem;
        width: 14px;
    }

.pkg-card-spacer {
    flex: 1;
}

/* ===== BUTTON ===== */
.pkg-card-form {
    margin-top: auto;
}

.pkg-card-btn {
    width: 100%;
    padding: 4px 6px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

    .pkg-card-btn:hover {
        transform: scale(1.03);
        filter: brightness(1.1);
    }

/* ===== THEME: BLUE ===== */
.theme-blue {
    border: 2px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), inset 0 0 30px rgba(59, 130, 246, 0.05);
}

    .theme-blue:hover {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), inset 0 0 30px rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.8);
    }

    .theme-blue .pkg-card-label {
        color: #60a5fa;
    }

        .theme-blue .pkg-card-label i {
            color: #60a5fa;
        }

    .theme-blue .pkg-card-btn {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
    }

/* ===== THEME: GREEN ===== */
.theme-green {
    border: 2px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15), inset 0 0 30px rgba(34, 197, 94, 0.05);
}

    .theme-green:hover {
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), inset 0 0 30px rgba(34, 197, 94, 0.1);
        border-color: rgba(34, 197, 94, 0.8);
    }

    .theme-green .pkg-card-label {
        color: #4ade80;
    }

        .theme-green .pkg-card-label i {
            color: #4ade80;
        }

    .theme-green .pkg-card-btn {
        background: linear-gradient(135deg, #16a34a, #15803d);
    }

    .theme-green .pkg-feature-item i {
        color: #4ade80;
    }

/* ===== THEME: PURPLE ===== */
.theme-purple {
    border: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 0 30px rgba(168, 85, 247, 0.05);
}

    .theme-purple:hover {
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), inset 0 0 30px rgba(168, 85, 247, 0.1);
        border-color: rgba(168, 85, 247, 0.8);
    }

    .theme-purple .pkg-card-label {
        color: #c084fc;
    }

        .theme-purple .pkg-card-label i {
            color: #c084fc;
        }

    .theme-purple .pkg-card-btn {
        background: linear-gradient(135deg, #9333ea, #7c3aed);
    }

    .theme-purple .pkg-feature-item i {
        color: #c084fc;
    }

/* ===== THEME: ORANGE ===== */
.theme-orange {
    border: 2px solid rgba(249, 115, 22, 0.5);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15), inset 0 0 30px rgba(249, 115, 22, 0.05);
}

    .theme-orange:hover {
        box-shadow: 0 0 30px rgba(249, 115, 22, 0.4), inset 0 0 30px rgba(249, 115, 22, 0.1);
        border-color: rgba(249, 115, 22, 0.8);
    }

    .theme-orange .pkg-card-label {
        color: #fb923c;
    }

        .theme-orange .pkg-card-label i {
            color: #fb923c;
        }

    .theme-orange .pkg-card-btn {
        background: linear-gradient(135deg, #ea580c, #c2410c);
    }

    .theme-orange .pkg-feature-item i {
        color: #fb923c;
    }

/* ===== THEME: GOLD ===== */
.theme-gold {
    border: 2px solid rgba(234, 179, 8, 0.5);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.15), inset 0 0 30px rgba(234, 179, 8, 0.05);
}

    .theme-gold:hover {
        box-shadow: 0 0 30px rgba(234, 179, 8, 0.4), inset 0 0 30px rgba(234, 179, 8, 0.1);
        border-color: rgba(234, 179, 8, 0.8);
    }

    .theme-gold .pkg-card-label {
        background: linear-gradient(90deg, #fde68a, #f59e0b, #eab308);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

        .theme-gold .pkg-card-label i {
            background: linear-gradient(90deg, #fde68a, #f59e0b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

    .theme-gold .pkg-card-btn {
        background: linear-gradient(135deg, #d97706, #b45309);
        color: #fef3c7;
    }

    .theme-gold .pkg-feature-item i {
        background: linear-gradient(90deg, #fde68a, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* ===== BEST VALUE RIBBON ===== */
.pkg-card-best {
    order: 0;
}

.pkg-card-ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(135deg, #84cc16, #65a30d);
    color: #000;
    font-weight: 800;
    font-size: 0.6rem;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pkg-card {
        max-width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }

    .pkg-card-car {
        height: 140px;
    }

    .pkg-price-main {
        font-size: 2.4rem;
    }
}
.pkg-cards-section {
    padding: 30px 0 40px;
}

.pkg-cards-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pkg-cards-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}