/* pricing-cards.css - PlaceZap reusable pricing card styles */

.pz-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    align-items: stretch;
}

.pz-pricing-form {
    display: contents;
}

/* Card is a <button> - reset native button look + make it act like a card */
.pz-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.pz-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.pz-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

.pz-card:active {
    transform: translateY(-1px);
}

.pz-card-featured {
    border-color: #f59e0b;
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.pz-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
}

.pz-card-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.85rem;
}

.pz-card-price {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.pz-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: 2px;
}

.pz-period {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    margin-left: 4px;
}

.pz-card-sub,
.pz-card-scarcity {
    display: block;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    min-height: 1.4em;
}

.pz-card-scarcity s {
    color: #9ca3af;
    margin-right: 4px;
}

.pz-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.pz-card-features li {
    padding: 0.45rem 0;
    color: #374151;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
}

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

.pz-card-features li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    margin-right: 0.6rem;
}

/* CTA pill at bottom of card - looks like the old button, but card itself is the click target */
.pz-card-cta {
    display: block;
    background: #1f2937;
    color: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.pz-card:hover .pz-card-cta {
    background: #111827;
}

.pz-card-featured .pz-card-cta {
    background: #f59e0b;
    color: #1f2937;
}

.pz-card-featured:hover .pz-card-cta {
    background: #d97706;
    color: #ffffff;
}

.pz-pricing-guarantee {
    text-align: center;
    color: #6b7280;
    font-size: 0.92rem;
    margin: 1.5rem 0 2rem;
}

.pz-pricing-guarantee svg {
    vertical-align: middle;
    margin-right: 4px;
}

@media (max-width: 860px) {
    .pz-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pz-card-featured {
        order: -1;
    }
}
