::view-transition-group(*),
::view-transition-old(*),
::view-transition-new(*) {
    animation-duration: 0.25s;
    animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.plan-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.plan-card.highlighted {
    border-color: #3b82f6;
    background: #f0f7ff;
    transform: scale(1.02);
}

.plan-card.current {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px #3b82f6;
}

.price-box {
    margin: 1.5rem 0;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
}

.features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
}

.features i {
    color: #10b981;
    margin-top: 0.25rem;
}

.recommended-badge {
    text-align: center;
    margin-bottom: 1rem;
}

.recommended-badge span {
    background: #3b82f6;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.plan-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.price-cycle {
    font-size: 0.85rem;
    color: #64748b;
}

.actions {
    margin-top: auto;
}

.btn-current {
    width: 100%;
    padding: 12px;
    background: #f1f5f9;
    color: #94a3b8;
    border: none;
    border-radius: 12px;
    cursor: not-allowed;
    font-weight: 700;
}

.portal-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
}

.btn-upgrade {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upgrade:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-sales {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}
