/* FLoCK pricing cards */

.pricing .inner {
    text-align: center;
}

.pricing .inner p em {
    color: #6b7280;
    font-style: italic;
}

.pricing-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1500px;
    margin: 50px auto 0;
}

.pricing-card {
    flex: 1 1 380px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 36px 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(53, 53, 53, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(53, 53, 53, 0.18);
}

/* Featured tier */
.pricing-card--featured {
    position: relative;
    border: 2px solid #1a3d8a;
    box-shadow: 0 16px 34px rgba(26, 61, 138, 0.22);
    transform: translateY(-8px);
}

.pricing-card--featured:hover {
    transform: translateY(-14px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: #1a3d8a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(26, 61, 138, 0.35);
}

.pricing-head {
    margin-bottom: 22px;
}

.pricing-tier {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #1a3d8a;
}

.pricing-tagline {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    min-height: 39px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eceff3;
}

.pricing-amount {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #0a1a3a;
}

.pricing-period {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}

.pricing-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    flex: 1 1 auto;
}

.pricing-features li {
    position: relative;
    padding: 9px 0 9px 28px;
    font-size: 14px;
    line-height: 1.45;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background-color: #1a3d8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.pricing-btn {
    display: block;
    margin-top: auto;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pricing-btn:hover {
    background: #333333;
    border-color: #333333;
}

.pricing-card--featured .pricing-btn {
    background: #1a3d8a;
    border-color: #1a3d8a;
}

.pricing-card--featured .pricing-btn:hover {
    background: #0c1f5e;
    border-color: #0c1f5e;
}

@media (max-width: 760px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        margin-top: 40px;
    }

    .pricing-card {
        width: 100%;
        max-width: 380px;
    }

    .pricing-card--featured,
    .pricing-card--featured:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
    }

    .pricing-tagline {
        min-height: 0;
    }
}
