﻿/* === PRICING CARDS === */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
    position: relative;
}

.price-card {
    background: var(--ts-white);
    border: 1px solid var(--ts-pricing-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    animation: fadeUp 0.6s ease both;
    width: fit-content;
    min-width: -webkit-fill-available;
}

    .price-card:nth-child(1) {
        animation-delay: 0.15s;
    }

    .price-card:nth-child(2) {
        animation-delay: 0.25s;
    }

    .price-card:nth-child(3) {
        animation-delay: 0.35s;
    }

    .price-card:nth-child(4) {
        animation-delay: 0.45s;
    }

    .price-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
        border-color: var(--ts-pricing-border);
    }

    .price-card.featured {
        border: 2px solid var(--ts-red);
        box-shadow: 0 8px 40px rgba(230,59,46,0.1);
        background: linear-gradient(180deg, var(--ts-white) 0%, var(--ts-red-light) 100%);
    }

        .price-card.featured:hover {
            box-shadow: 0 16px 60px rgba(230,59,46,0.15);
        }

.card-badge.recommented {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(230,59,46,0.3);
    background-color: var(--ts-red);
    text-align: center;
}

.card-badge.selected {
    border-radius: 4px;
    height: 24px !important;
    overflow: hidden;
    padding: 1px 10px;
    position: absolute;
    background-color: var(--checkout-yellow);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    top: 15px;
    font-size: 13px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

    .card-icon.free {
        background: var(--ts-pricing-border);
    }

    .card-icon.freelancer {
        background: #EFF6FF;
    }

    .card-icon.pro {
        background: var(--ts-red-light);
    }

    .card-icon.enterprise {
        background: #F0FDF4;
    }

.card-tier {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--ts-dark);
    margin-bottom: 4px;
    text-align: center;
}

.card-for {
    font-size: 13px;
    color: var(--ts-text-muted);
    margin-bottom: 20px;
}

.card-price {
    gap: 4px;
    margin-bottom: 4px;
    text-align: center;
}

.card-amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 35px;
    color: var(--ts-dark);
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card-currency {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--ts-text-light);
}

.card-period {
    font-size: 14px;
    color: var(--ts-text-muted);
    text-align: center;
}

.card-note {
    font-size: 12px;
    color: var(--ts-text-muted);
    margin-top: 4px;
    margin-bottom: 24px;
    min-height: 18px;
    text-align: center;
}

.card-divider {
    height: 1px;
    background: var(--ts-pricing-border);
    margin-bottom: 24px;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    min-height: 200px;
    padding-left: 0px;
}

    .card-features li {
        font-size: 14px;
        color: var(--ts-text);
        display: flex;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.5;
        text-align: left;
    }

        .card-features li .check {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            margin-top: 2px;
            background: var(--ts-background-color);
            color: var(--ts-success);
        }

.card-btn {
    width: 100%;
}

.card-btn-primary {
    background: var(--ts-red);
    color: white;
    width: 100%;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

    .card-btn-primary:hover {
        background: var(--ts-red-hover);
        box-shadow: 0 4px 20px rgba(230,59,46,0.3);
        transform: translateY(-1px);
    }

.card-btn-outline {
    background: transparent;
    color: var(--ts-dark) !important;
    width: 100%;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border: 1.5px solid var(--ts-pricing-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: auto;
}

    .card-btn-outline:hover {
        border-color: var(--ts-dark);
        background: var(--ts-bg);
    }

.card-btn-dark {
    background: var(--ts-button);
    color: white;
    width: 100%;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
}

    .card-btn-dark:hover {
        background: var(--ts-dark-soft);
        transform: translateY(-1px);
    }
