/* Forge Pricing Cards */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    align-items: start;
}

.pricing-card {
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-card-popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: calc(var(--space-3) * -1);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    white-space: nowrap;
}

.pricing-name {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.pricing-credits {
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.pricing-credits-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.pricing-price {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-1);
}

.pricing-unit {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.pricing-description {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    min-height: 40px;
}

.pricing-cta {
    width: 100%;
}

/* Animation on scroll */
.pricing-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp var(--transition-slow) ease forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0ms; }
.pricing-card:nth-child(2) { animation-delay: 100ms; }
.pricing-card:nth-child(3) { animation-delay: 200ms; }
.pricing-card:nth-child(4) { animation-delay: 300ms; }

.pricing-card-popular {
    opacity: 0;
    transform: scale(1.03) translateY(20px);
    animation: pricingPopIn var(--transition-slow) ease forwards;
}

@keyframes pricingPopIn {
    to { opacity: 1; transform: scale(1.03) translateY(0); }
}
